Suppress -Wformat-security in tst-error1.c.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2
3         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4         generated error format strings.
5
6         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7         -Wformat-extra-args warnings for scanf formats.
8         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
9         test of zero-length format (duh).
10         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11         corner-case scanf format test.
12         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
13         generated fprintf format string.
14         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15         corner-case sprintf format tests.
16         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18         -Wformat-extra-args warnings throughout.
19         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
20         (CFLAGS-scanf4.c): Likewise.
21         (CFLAGS-scanf7.c): Likewise.
22         (CFLAGS-tst-sprintf.c): Likewise.
23         (CFLAGS-tst-printf.c): Likewise.
24         (CFLAGS-tst-printfsz.c): Likewise.
25
26 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27
28         * include/cpio.h: New file.
29         * include/fmtmsg.h: Likewise.
30
31         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32         corresponding format argument to size_t.
33         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34         arguments.
35         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36         corresponding format argument to size_t.
37         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
38         arguments.
39         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40         corresponding format argument to size_t.
41         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
43         (CFLAGS-tst-mbswcs2.c): Likewise.
44         (CFLAGS-tst-mbswcs3.c): Likewise.
45         (CFLAGS-tst-mbswcs4.c): Likewise.
46         (CFLAGS-tst-mbswcs5.c): Likewise.
47         (CFLAGS-tst-trans.c): Likewise
48
49 2014-12-11  Roland McGrath  <roland@hack.frob.com>
50
51         * posix/regexbug1.c (main): Use "%s" format with regerror results,
52         rather than assuming they won't contain any '%'s.
53
54 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
55
56         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
57         inhibit_loop_to_libcall to avoid recursive calls.
58         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
59         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
60
61 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
62
63         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
64         prototype.
65
66 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
67
68         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
69         integer value instead of boolean.
70
71 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
72
73         * malloc/malloc.c: Fix powerof2 check.
74
75 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
76
77         * locale/programs/locfile.h (maybe_swap_uint32):
78         Remove inline and add unused attribute.
79
80 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
81
82         sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
83         Truncating assembler expression to a .long expression.
84
85 2014-12-11  Andreas Schwab  <schwab@suse.de>
86
87         * elf/rtld.c (struct map_args): Constify str member.
88         (do_preload): Constify fname argument.
89
90 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91
92         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
93         constants definition.
94
95 2014-12-11  Andreas Schwab  <schwab@suse.de>
96
97         [BZ #16657]
98         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
99         FORCE_ELISION instead of DO_ELISION.
100         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
101         Remove.
102         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
103         Likewise.
104
105         * iconvdata/gconv-modules: Remove duplicate entry.
106
107 2014-12-11  Will Newton  <will.newton@linaro.org>
108
109         Merge gettext 0.19.3 into intl/.
110
111         This involves a number of cosmetic changes to comments
112         and ANSI function definitions and prototypes throughout
113         all the files. The gettext copyright header is used but
114         with the date ranges taken from the glibc copy.
115
116         * NEWS: Add gettext merge to 2.21.
117         * intl/bindtextdom.c: Switch to gettext copyright.
118         Use ANSI definitions and prototypes.
119         Use gl_* locking primitives rather than __libc_* ones.
120         Use __builtin_expect rather than __glibc_likely/unlikely.
121         * intl/dcgettext.c: Switch to gettext copyright.
122         Use ANSI definitions and prototypes.
123         * intl/dcigettext.c: Switch to gettext copyright.
124         Use ANSI definitions and prototypes.
125         (INTDIV0_RAISES_SIGFPE): New define.
126         Use gl_* locking primitives rather than __libc_* ones.
127         Include eval-plural.h instead of plural-eval.c.
128         Use __builtin_expect rather than __glibc_likely/unlikely.
129         * intl/dcngettext.c: Switch to gettext copyright.
130         Use ANSI definitions and prototypes.
131         * intl/dgettext.c: Likewise.
132         * intl/dngettext.c: Likewise.
133         * intl/plural-eval.c: Renamed to...
134         * intl/eval-plural.h: ...this.
135         * intl/explodename.c: Switch to gettext copyright.
136         Use ANSI definitions and prototypes.
137         (_nl_explode_name): Use strchr instead of __rawmemchr.
138         * intl/finddomain.c: Switch to gettext copyright.
139         Use ANSI definitions and prototypes.
140         Use gl_* locking primitives rather than __libc_* ones.
141         (_nl_find_domain): Use malloc rather than alloca for
142         allocation of temporary locale name.
143         * intl/gettext.c: Switch to gettext copyright.
144         Use ANSI definitions and prototypes.
145         * intl/gettextP.h: Switch to gettext copyright.
146         Use ANSI definitions and prototypes.
147         Use gl_* locking primitives rather than __libc_* ones.
148         * intl/gmo.h: Switch to gettext copyright.
149         (struct sysdep_string): Move struct segment_pair outside of
150         struct definition.
151         * intl/hash-string.c: Use ANSI definitions and prototypes.
152         * intl/hash-string.h: Switch to gettext copyright.
153         Use ANSI definitions and prototypes.
154         * intl/l10nflist.c: Switch to gettext copyright.
155         Use ANSI definitions and prototypes.
156         (_nl_normalize_codeset): Avoid integer overflow.
157         * intl/loadinfo.h: Switch to gettext copyright.
158         Use ANSI definitions and prototypes.
159         (LIBINTL_DLL_EXPORTED): New define.
160         (PATH_SEPARATOR): New define.
161         * intl/loadmsgcat.c: Switch to gettext copyright.
162         * intl/localealias.c: Switch to gettext copyright.
163         Use ANSI definitions and prototypes.
164         (_nl_expand_alias): Use PATH_SEPARATOR.
165         * intl/ngettext.c: Switch to gettext copyright.
166         Use ANSI definitions and prototypes.
167         * intl/plural-exp.c: Likewise.
168         * intl/plural-exp.h: Switch to gettext copyright.
169         Use ANSI definitions and prototypes.
170         (struct expression): Move definition of enum operator outside
171         of struct definition.
172         * intl/plural.c: Regenerate.
173         * intl/plural.y: Switch to gettext copyright.
174         Use ANSI definitions and prototypes.
175         Port to bison 3.0.
176         * intl/textdomain.c: Switch to gettext copyright.
177         Use ANSI definitions and prototypes.
178         Use gl_* locking primitives rather than __libc_* ones.
179
180 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
181
182         * debug/warning-nop.c: Add used atrribute.
183
184 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
185
186         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
187
188         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
189         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
190         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
191
192 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
193             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
194
195         [BZ #17634]
196         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
197         Undefine after defining function.  Define as weak alias of
198         __wcschr.  Use libc_hidden_weak.
199         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
200         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
201         (libc_hidden_def): Also define __GI___wcschr alias.
202         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
203         __wcschr and define as weak alias of __wcschr.
204         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
205         __wcschr.
206         [!WCSCHR] (DEFAULT_WCSCHR): Define.
207         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
208         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
209         libc_hidden_weak.  Do not use libc_hidden_def.
210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
211         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
212         __GI___wcschr alias.
213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
214         [IS_IN (libc)] (wcschr): Define as macro expanding to
215         __redirect_wcschr.
216         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
217         [IS_IN (libc)] (__wcschr_power6): Likewise.
218         [IS_IN (libc)] (__wcschr_power7): Likewise.
219         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
220         instead of wcschr.
221         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
222         __libc_wcschr.
223         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
224         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
225         __wcschr and define as weak alias of __wcschr.  Use
226         libc_hidden_builtin_def.
227         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
228         as weak alias of __wcschr.  Use libc_hidden_weak.
229         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
230         wcschr.
231         * time/era.c (_nl_init_era_entries): Likewise.
232         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
233         variable.
234         (test-xfail-XPG3/time.h/linknamespace): Likewise.
235         (test-xfail-XPG4/time.h/linknamespace): Likewise.
236
237 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
238
239         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
240         format for long int variable.
241
242 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
243
244         [BZ #10672]
245         * manual/search.texi: (Array Sort Function): Remove claim how to make
246         qsort stable.
247
248 2014-12-10  Andreas Schwab  <schwab@suse.de>
249
250         [BZ #12847]
251         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
252         user-controlled locks.
253
254 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
255
256         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
257         register.
258
259 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
260
261         * configure.ac (--disable-werror): New configure option.
262         (enable_werror): New AC_SUBST.
263         * configure: Regenerated.
264         * config.make.in (enable-werror): New variable.
265         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
266         -Wno-error=undef.
267         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
268         * manual/install.texi (Configuring and compiling): Document
269         --disable-werror.
270         * INSTALL: Regenerated.
271         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
272         (CFLAGS-tst-chk2.c): Likewise.
273         (CFLAGS-tst-chk3.c): Likewise.
274         (CFLAGS-tst-chk4.cc): Likewise.
275         (CFLAGS-tst-chk5.cc): Likewise.
276         (CFLAGS-tst-chk6.cc): Likewise.
277         (CFLAGS-tst-lfschk1.c): Likewise.
278         (CFLAGS-tst-lfschk2.c): Likewise.
279         (CFLAGS-tst-lfschk3.c): Likewise.
280         (CFLAGS-tst-lfschk4.cc): Likewise.
281         (CFLAGS-tst-lfschk5.cc): Likewise.
282         (CFLAGS-tst-lfschk6.cc): Likewise.
283
284         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
285         (main): Disable -Wdeprecated-declarations around calls to
286         register_printf_function.
287
288         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
289         (do_test): Disable -Wdiv-by-zero around some calls to
290         fwrite_unlocked and fread_unlocked.
291
292         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
293         (DIAG_POP_NEEDS_COMMENT): Likewise.
294         (_DIAG_STR1): Likewise.
295         (_DIAG_STR): Likewise.
296         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
297         * stdio-common/bug21.c: Include <libc-internal.h>.
298         (do_test): Disable -Wformat around call to sscanf.
299         * stdio-common/scanf14.c: Include <libc-internal.h>.
300         (main): Disable -Wformat around some calls to scanf functions.
301
302 2014-12-09  Torvald Riegel  <triegel@redhat.com>
303
304         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
305
306 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
307
308         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
309         stack variable alignment.
310
311 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
312
313         [BZ #17682]
314         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
315         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
316         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
317         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
318         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
319         __getrlimit instead of getrlimit.
320         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
321         __gettimeofday instead of gettimeofday.
322         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
323         Likewise.
324         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
325         Likewise.
326         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
327         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
328         Remove variable.
329         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
330         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
331
332 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
333
334         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
335         for wide-character tests.
336
337 2014-12-04  Roland McGrath  <roland@hack.frob.com>
338
339         * io/openat64.c: #include <libc-internal.h>
340         (__openat64): Prototypify.  Use ignore_value on MODE.
341         * io/openat.c: Likewise.
342         * misc/reboot.c: #include <libc-internal.h>
343         (reboot): Prototypify.  Use ignore_value on HOWTO.
344         * misc/ptrace.c: #include <libc-internal.h>
345         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
346
347 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
348
349         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
350         XPG4, UNIX98 and XOPEN2K.
351         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
352         Remove variable.
353         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
354
355 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
356
357         * libio/fileops.c: Use ISO C style for function definitions.
358         * libio/iofopen.c: Likewise.
359         * libio/wfileops.c: Likewise.
360
361         [BZ #17653]
362         * libio/fileops.c (_IO_new_file_underflow): Unset cached
363         offset on EOF.
364         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
365         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
366         (fgets_func): Function pointer to fgets and fgetws.
367         (do_ftell_test): Add test to verify ftell value after read
368         EOF.
369         (do_test): Set fgets_func.
370
371         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
372         O_TRUNC flag for w and w+ modes.
373         (do_rewind_test): Likewise.
374         (do_ftell_test): Likewise.
375         (do_write_test): Likewise.
376
377         [BZ #17647]
378         * libio/fileops.c (do_ftell): Seek only when there are
379         unflushed writes.
380         * libio/wfileops.c (do_ftell_wide): Likewise.
381         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
382         test case.
383         (do_one_test): Call it.
384
385 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
386
387         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
388         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
389         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
390         Remove variable.
391         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
392         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
393         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
394
395 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
396
397         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
398         Remove variable.
399         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
400
401         [BZ #17668]
402         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
403         as weak alias of __getifaddrs.  Use libc_hidden_weak.
404         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
405         __freeifaddrs.  Use libc_hidden_weak.
406         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
407         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
408         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
409         __freeifaddrs.  Use libc_hidden_weak.
410         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
411         __getifaddrs and define as weak alias of __getifaddrs.  Use
412         libc_hidden_weak.
413         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
414         __freeifaddrs.  Use libc_hidden_weak.
415         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
416         Remove variable.
417         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
418         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
419
420 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
421
422         [BZ #17601]
423         * sysdeps/mips/start.S (__start): Use indirect jump to call
424         __libc_start_main.
425
426 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
427
428         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
429
430         * nptl/tst-mutex1.c: Include <stdbool.h>.
431         [!ATTR] (ATTR_NULL): New macro.
432         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
433         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
434         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
435
436         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
437         to char *.
438
439         [BZ #17665]
440         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
441         Change conditional to [__USE_MISC].
442
443         [BZ #17664]
444         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
445         fgets_unlocked.
446         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
447         __fgets_unlocked.
448         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
449         fgets_unlocked.
450         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
451         Remove variable.
452         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
453         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
454         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
455         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
456         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
457         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
458         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
459         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
460         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
461
462         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
463
464 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
465
466         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
467         Remove strpbrk objects.
468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
469         (__libc_ifunc_impl_list): Remove strpbrk implementation.
470         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
471         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
472         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
473         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
474
475         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
476         Remove strcspn objects.
477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
478         (__libc_ifunc_impl_list): Remove strcspn implementation.
479         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
480         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
481         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
482         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
483
484         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
485         Remove strspn objetcs.
486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
487         (__libc_ifunc_impl_list): Remove strspn implementation.
488         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
489         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
490         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
491         * sysdeps/powerpc/powerpc64/strspn.S: New file.
492
493 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
494
495         [BZ #17581]
496         * malloc/hooks.c
497         (mem2mem_check): Add a terminator to the chain of checking blocks.
498         (malloc_check_get_size): Use it here.
499         (mem2chunk_check): Ditto.
500
501 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
502
503         * sysdeps/powerpc/powerpc64/strtok.S: New file.
504         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
505
506 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
507
508         * bits/ioctl-types.h: Indent preprocessor directives correctly.
509
510         * nptl/nptl-init.c: Include libc-internal.h.
511         (__pthread_initialize_minimal_internal): Use ROUND_UP.
512
513         * elf/ldconfig.c (search_dir): Expand comment.
514
515 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
516
517         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
518         variable.
519         (linknamespace-symlist-stdlibs-tests): Likewise.
520         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
521         instead of $(objpfx)symlist-stdlibs.
522         (linknamespace-libs-isoc): New variable.
523         (linknamespace-libs): Use $(linknamespace-libs-isoc).
524         (linknamespace-libs-ISO): New variable.
525         (linknamespace-libs-ISO99): Likewise.
526         (linknamespace-libs-ISO11): Likewise.
527         (linknamespace-libs-XPG3): Likewise.
528         (linknamespace-libs-XPG4): Likewise.
529         (linknamespace-libs-POSIX): Likewise.
530         (linknamespace-libs-UNIX98): Likewise.
531         (linknamespace-libs-XOPEN2K): Likewise.
532         (linknamespace-libs-POSIX2008): Likewise.
533         (linknamespace-libs-XOPEN2K8): Likewise.
534         ($(objpfx)symlist-stdlibs): Replace by
535         $(linknamespace-symlist-stdlibs-tests).  Use
536         $(linknamespace-libs-$*) as set of libraries.
537         ($(linknamespace-header-tests)): Update dependencies.  Use
538         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
539         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
540         * conform/linknamespace.pl: Remove comment about considering
541         definitions of symbols from irrelevant libraries.
542
543 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
544
545         [BZ #13862]
546         * elf/dl-tls.c: Include <atomic.h>.
547         (oom): Remove #ifdef SHARED/#endif.
548         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
549         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
550         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
551         big enough.
552         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
553         * nptl/Makefile (tests): Add tst-stack4.
554         (modules-names): Add tst-stack4mod.
555         ($(objpfx)tst-stack4): New.
556         (tst-stack4mod.sos): Likewise.
557         ($(objpfx)tst-stack4.out): Likewise.
558         ($(tst-stack4mod.sos)): Likewise.
559         (clean): Likewise.
560         * nptl/tst-stack4.c: New file.
561         * nptl/tst-stack4mod.c: Likewise.
562
563 2014-11-27  J. Brown  <jb999@gmx.de>
564
565         * sysdeps/x86/bits/string.h: Add recent CPUs.
566
567 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
568
569         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
570         sigblock.
571
572         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
573         feof.
574
575         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
576         variable.
577
578 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
579
580         * nscd/connections.c: Include libc-internal.h because of macro
581         usage ignore_value.
582
583 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
584
585         * string/bits/string3.h (__warn_memset_zero_len): Don't
586         declare for gcc newer than 5.0.
587         (memset): Don't test for zero-length __LEN for gcc newer than
588         5.0.
589
590 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
591
592         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
593         size_t for %zu format.
594
595         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
596         difference, not %ju.
597
598 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
599
600         * include/libc-internal.h (ignore_value): New macro.
601         * nscd/connections.c (restart): Wrap calls to setuid and setgid
602         with ignore_value.
603
604         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
605         definition.
606
607         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
608         pthread_cleanup_push to void *.
609
610         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
611         Undefine.
612
613         [BZ #16619]
614         [BZ #16740]
615         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
616         instead of 1L << 52.
617
618         * libio/bug-rewind.c (do_test): Check fwscanf return values.
619         * libio/bug-rewind2.c (do_test): Likewise.
620
621         * debug/test-stpcpy_chk-ifunc.c: Remove file.
622         * debug/test-strcpy_chk-ifunc.c: Likewise.
623         * wcsmbs/test-wcschr-ifunc.c: Likewise.
624         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
625         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
626         * wcsmbs/test-wcslen-ifunc.c: Likewise.
627         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
628         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
629         * Rules [$(multi-arch) = no] (tests): Do not filter out
630         $(tests-ifunc).
631         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
632         * debug/Makefile (tests-ifunc): Remove variable.
633         (tests): Do not add $(tests-ifunc).
634         * wcsmbs/Makefile (tests-ifunc): Remove variable.
635         (tests): Do not add $(tests-ifunc).
636         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
637         [TEST_IFUNC]: Remove conditionals.
638         * string/test-string.h (TEST_IFUNC): Remove macro.
639         [TEST_IFUNC]: Remove conditionals.
640
641         * string/test-strchr.c [!WIDE] (L): New macro.
642         [WIDE] (L): Likewise.
643         (check1): Use CHAR instead of char.  Use L on string and character
644         constants.
645
646 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
647
648         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
649         tests.
650         * sysdeps/powerpc/bits/atomic.h
651         (__arch_atomic_exchange_and_add_32_acq): Add definition.
652         (__arch_atomic_exchange_and_add_32_rel): Likewise.
653         (atomic_exchange_and_add_acq): Likewise.
654         (atomic_exchange_and_add_rel): Likewise.
655         * sysdeps/powerpc/powerpc32/bits/atomic.h
656         (__arch_atomic_exchange_and_add_64_acq): Add definition.
657         (__arch_atomic_exchange_and_add_64_rel): Likewise.
658         * sysdeps/powerpc/powerpc64/bits/atomic.h
659         (__arch_atomic_exchange_and_add_64_acq): Add definition.
660         (__arch_atomic_exchange_and_add_64_rel): Likewise.
661
662 2014-11-26  Torvald Riegel  <triegel@redhat.com>
663
664         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
665         Change synchronization of __sched_fifo_min_prio and
666         __sched_fifo_max_prio.
667         * nptl/pthread_mutexattr_getprioceiling.c
668         (pthread_mutexattr_getprioceiling): Likewise.
669         * nptl/pthread_mutexattr_setprioceiling.c
670         (pthread_mutexattr_setprioceiling): Likewise.
671         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
672         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
673         Likewise.
674
675 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
676
677         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
678         void.
679
680 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
681
682         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
683         third argument const.
684
685 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
686
687         fnmatch: work around GCC compiler warning bug with uninit var
688         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
689         This works around a bug with x86-64 GCC 4.9.2 and earlier
690         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
691         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
692         used uninitialized in this function [-Wmaybe-uninitialized]".
693
694 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
695
696         * posix/bug-regex31.c (main): Return RES not 0.
697
698 2014-11-25  Anton Blanchard <anton@samba.org>
699
700         * sysdeps/powerpc/bits/atomic.h
701         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
702
703 2014-11-24  Sterling Augustine  <saugustine@google.com>
704
705         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
706
707 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
708
709         [BZ #17608]
710         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
711
712 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
713
714         [BZ #17633]
715         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
716         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
717         variable.
718         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
719         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
720
721 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
722
723         * string/strncpy.c (strncpy): Improve performance by using memset.
724
725 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
726
727         * string/strcpy.c (strcpy):
728         Improve performance by using strlen and memcpy.
729
730 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
731
732         * string/strcoll_l.c (get_next_seq): __always_inline.
733         * string/strcoll_l.c (do_compare): __always_inline.
734
735 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
736
737         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
738         defined.
739         * include/mqueue.h: Likewise.
740         * include/stdlib.h: Likewise.
741
742         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
743         (get_null_defines): Adjust.
744         * sunrpc/Makefile: Adjust comment.
745         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
746         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
747         (CFLAGS-interp.c): Likewise.
748         (CFLAGS-ldconfig.c): Likewise.
749         (CPPFLAGS-.os): Likewise.
750         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
751         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
752         * extra-modules.mk (extra-modules.mk): Likewise.
753         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
754         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
755         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
756         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
757         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
758         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
759         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
760         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
761         * iconvdata/Makefile (CPPFLAGS): Likewise.
762         (cpp-srcs-left): Add libof for all iconvdata routines.
763         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
764         * include/assert.h: Likewise.
765         * include/ctype.h: Likewise.
766         * include/errno.h: Likewise.
767         * include/libc-symbols.h: Likewise.
768         * include/math.h: Likewise.
769         * include/netdb.h: Likewise.
770         * include/resolv.h: Likewise.
771         * include/stdio.h: Likewise.
772         * include/stdlib.h: Likewise.
773         * include/string.h: Likewise.
774         * include/sys/stat.h: Likewise.
775         * include/wctype.h: Likewise.
776         * intl/l10nflist.c: Likewise.
777         * libidn/idn-stub.c: Likewise.
778         * libio/libioP.h: Likewise.
779         * nptl/libc_multiple_threads.c: Likewise.
780         * nptl/pthreadP.h: Likewise.
781         * posix/regex_internal.h: Likewise.
782         * resolv/res_hconf.c: Likewise.
783         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
784         * sysdeps/arm/memmove.S: Likewise.
785         * sysdeps/arm/sysdep.h: Likewise.
786         * sysdeps/generic/_itoa.h: Likewise.
787         * sysdeps/generic/symbol-hacks.h: Likewise.
788         * sysdeps/gnu/errlist.awk: Likewise.
789         * sysdeps/gnu/errlist.c: Likewise.
790         * sysdeps/i386/i586/memcpy.S: Likewise.
791         * sysdeps/i386/i586/memset.S: Likewise.
792         * sysdeps/i386/i686/memcpy.S: Likewise.
793         * sysdeps/i386/i686/memmove.S: Likewise.
794         * sysdeps/i386/i686/mempcpy.S: Likewise.
795         * sysdeps/i386/i686/memset.S: Likewise.
796         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
797         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
798         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
799         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
800         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
801         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
802         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
803         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
804         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
805         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
806         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
807         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
808         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
809         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
810         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
811         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
812         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
813         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
814         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
815         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
816         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
817         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
818         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
819         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
820         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
821         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
822         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
823         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
824         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
825         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
826         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
827         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
830         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
831         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
832         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
833         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
834         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
835         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
836         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
837         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
838         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
839         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
840         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
841         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
842         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
843         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
844         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
845         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
846         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
847         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
848         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
849         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
850         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
851         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
852         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
853         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
854         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
855         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
856         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
857         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
858         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
859         * sysdeps/nptl/bits/libc-lock.h: Likewise.
860         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
861         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
862         * sysdeps/posix/closedir.c: Likewise.
863         * sysdeps/posix/opendir.c: Likewise.
864         * sysdeps/posix/readdir.c: Likewise.
865         * sysdeps/posix/rewinddir.c: Likewise.
866         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
867         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
868         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
869         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
870         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
871         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
872         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
874         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
875         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
877         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
878         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
879         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
880         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
881         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
882         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
883         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
884         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
885         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
886         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
887         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
888         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
889         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
894         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
896         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
900         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
901         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
902         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
903         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
904         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
905         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
906         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
907         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
908         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
909         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
910         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
911         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
912         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
913         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
914         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
915         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
916         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
917         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
918         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
920         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
921         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
922         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
923         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
924         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
925         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
926         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
927         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
929         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
930         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
931         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
932         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
933         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
934         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
935         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
936         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
937         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
938         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
939         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
940         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
941         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
942         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
943         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
944         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
946         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
947         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
948         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
950         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
951         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
952         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
953         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
954         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
956         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
957         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
958         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
959         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
960         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
962         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
964         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
965         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
966         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
967         * sysdeps/unix/alpha/sysdep.S: Likewise.
968         * sysdeps/unix/alpha/sysdep.h: Likewise.
969         * sysdeps/unix/make-syscalls.sh: Likewise.
970         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
972         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
973         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
974         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
975         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
976         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
977         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
978         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
979         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
980         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
981         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
982         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
983         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
984         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
985         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
986         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
987         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
988         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
989         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
990         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
991         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
992         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
993         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
994         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
995         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
999         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1000         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1004         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1006         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1007         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1008         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1009         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1010         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1011         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1012         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1013         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1014         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1017         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1019         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1020         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1021         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1022         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1023         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1024         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1025         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1026         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1028         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1029         * sysdeps/x86_64/memcpy.S: Likewise.
1030         * sysdeps/x86_64/memmove.c: Likewise.
1031         * sysdeps/x86_64/memset.S: Likewise.
1032         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1033         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1034         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1035         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1036         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1038         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1039         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1040         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1041         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1042         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1043         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1044         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1045         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1047         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1048         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1049         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1050         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1051         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1052         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1053         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1054         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1055         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1056         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1057         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1058         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1059         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1060         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1061         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1062         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1063         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1064         * sysdeps/x86_64/strcmp.S: Likewise.
1065
1066         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1067
1068         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1069         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1070         * elf/rtld-Rules: Likewise.
1071         * elf/setup-vdso.h: Likewise.
1072         * include/assert.h: Likewise.
1073         * include/bits/stdlib-float.h: Likewise.
1074         * include/errno.h: Likewise.
1075         * include/sys/stat.h: Likewise.
1076         * include/unistd.h: Likewise.
1077         * sysdeps/aarch64/setjmp.S: Likewise.
1078         * sysdeps/alpha/setjmp.S: Likewise.
1079         * sysdeps/arm/__longjmp.S: Likewise.
1080         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1081         * sysdeps/arm/setjmp.S: Likewise.
1082         * sysdeps/arm/sysdep.h: Likewise.
1083         * sysdeps/generic/_itoa.h: Likewise.
1084         * sysdeps/generic/dl-sysdep.h: Likewise.
1085         * sysdeps/generic/ldsodefs.h: Likewise.
1086         * sysdeps/i386/dl-tls.h: Likewise.
1087         * sysdeps/i386/setjmp.S: Likewise.
1088         * sysdeps/m68k/setjmp.c: Likewise.
1089         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1090         * sysdeps/mach/hurd/opendir.c: Likewise.
1091         * sysdeps/posix/getcwd.c: Likewise.
1092         * sysdeps/posix/opendir.c: Likewise.
1093         * sysdeps/posix/profil.c: Likewise.
1094         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1095         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1096         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1097         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1098         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1101         * sysdeps/s390/dl-tls.h: Likewise.
1102         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1103         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1104         * sysdeps/sh/sh3/setjmp.S: Likewise.
1105         * sysdeps/sh/sh4/setjmp.S: Likewise.
1106         * sysdeps/unix/alpha/sysdep.h: Likewise.
1107         * sysdeps/unix/arm/sysdep.S: Likewise.
1108         * sysdeps/unix/i386/sysdep.S: Likewise.
1109         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1110         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1111         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1112         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1113         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1114         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1115         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1116         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1117         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1118         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1119         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1120         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1124         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1127         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1128         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1133         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1134         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1135         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1136         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1137         * sysdeps/x86_64/setjmp.S: Likewise.
1138
1139         * include/math.h: Use IS_IN instead of IS_IN_libm.
1140         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1141         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1142         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1143         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1144         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1145         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1146         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1147         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1150         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1152         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1154         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1155         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1156         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1157         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1158         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1159         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1160         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1161         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1162         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1163         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1164         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1165         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1166         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1167         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1168         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1169         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1170         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1171         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1172         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1174         Likewise.
1175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1176         Likewise.
1177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1178         Likewise.
1179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1180         Likewise.
1181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1182         Likewise.
1183         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1184         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1185         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1186         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1187         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1188         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1194         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1195         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1196         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1197         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1198         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1199         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1200         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1201         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1202         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1203         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1204         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1205         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1206         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1207         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1209         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1210
1211         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1212         * nptl/pthreadP.h: Likewise.
1213         * nptl_db/structs.def: Likewise.
1214         * sysdeps/arm/sysdep.h: Likewise.
1215         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1216         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1217         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1218         * sysdeps/unix/alpha/sysdep.h: Likewise.
1219         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1220         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1221         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1222         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1223         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1224         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1226         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1227         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1228         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1229         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1230         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1231         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1232         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1236         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1237         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1238         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1240         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1241         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1242         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1243         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1244         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1245
1246         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1247         * nptl/pthreadP.h: Likewise.
1248         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1249         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1250         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1251         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1252         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1253         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1254         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1255         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1256         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1257         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1258         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1259         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1261         Likewise.
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1263         Likewise.
1264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1266         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1269         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1270         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1271         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1272
1273         * dlfcn/dladdr.c: Use IS_IN.
1274         * dlfcn/dladdr1.c: Likewise.
1275         * dlfcn/dlclose.c: Likewise.
1276         * dlfcn/dlerror.c: Likewise.
1277         * dlfcn/dlinfo.c: Likewise.
1278         * dlfcn/dlmopen.c: Likewise.
1279         * dlfcn/dlopen.c: Likewise.
1280         * dlfcn/dlsym.c: Likewise.
1281         * dlfcn/dlvsym.c: Likewise.
1282
1283         * include/ifaddrs.h: Use IS_IN.
1284         * inet/check_pf.c: Likewise.
1285         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1286         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1287
1288         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1289         IS_IN_ldconfig.
1290         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1291         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1292
1293         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1294         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1295         IS_IN (libc).
1296
1297         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1298
1299         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1300         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1301         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1302         * include/libc-symbols.h (IS_IN_LIB): New macro.
1303         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1304         * include/netdb.h: Likewise.
1305         * include/stap-probe.h: Remove all uses of IN_LIB.
1306
1307         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1308         instead of IN_MODULE.
1309         * include/libc-symbols.h (IN_MODULE): Define using
1310         MODULE_NAME.
1311         (PASTE_NAME, PASTE_NAME1): New macros.
1312         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1313         of IN_LIB.
1314         (STAP_PROBE_ASM): Likewise.
1315
1316 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1317
1318         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1319         __mach_init in dlopened libc.
1320
1321 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1322
1323         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1324         * sysdeps/arm/preconfigure: Regenerate.
1325
1326 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1327
1328         * nptl/pthread_create.c (__pthread_create_2_1): Set
1329         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1330         when copying values from IATTR into PD.
1331
1332 2014-11-21  Will Newton  <will.newton@linaro.org>
1333             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1334
1335         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1336         Refactor inline-asm.  Also add comment.
1337
1338         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1339         ElfW macro instead of hardcoded Elf64 types.
1340         (la_aarch64_gnu_pltenter): Likewise.
1341         * sysdeps/aarch64/dl-machine.h
1342         (elf_machine_runtime_setup): Use ElfW(Addr).
1343
1344         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1345         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1346         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1347         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1348         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1349         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1350         (R_AARCH64_TLS_DTPMOD): This.
1351         (R_AARCH64_TLS_DTPREL64): Rename to ...
1352         (R_AARCH64_TLS_DTPREL): This.
1353         (R_AARCH64_TLS_TPREL64): Rename to ...
1354         (R_AARCH64_TLS_TPREL): This.
1355         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1356         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1357         R_AARCH64_TLS_TPREL64.
1358         (elf_machine_rela): Likewise.
1359
1360 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1361
1362         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1363         by setting it to 0.  64b atomics are not supported currently.
1364
1365 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1366
1367         [BZ #16469]
1368         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1369         search domain names.
1370
1371 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1372
1373         [BZ #16469]
1374         * NEWS: Update.
1375         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1376         trailing dot.
1377         * posix/tst-getaddrinfo5.c: New.
1378         * posix/Makefile (tests): Add it.
1379
1380 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1381
1382         [BZ #14498]
1383         * NEWS: Fixed.
1384         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1385         after parsing line but before break_if_match.
1386         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1387         if there is a protocol mismatch.
1388
1389 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1390
1391         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1392         because the potential race is on the user-supplied stream.
1393
1394 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1395
1396         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1397         string literal if not passed a buffer.
1398         * manual/job.texi (ctermid): Update reasoning, note deviation
1399         from posix, suggest mtasurace when not passed a buffer, for
1400         future non-preliminary safety notes.
1401
1402 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1403
1404         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1405         of not passing it a buffer.
1406         Reported by Peng Haitao.
1407
1408 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1409
1410         * manual/Makefile ($(objpfx)stamp-summary): Require
1411         check-safety.sh to pass.
1412         * manual/check-safety.sh: Wish for verification that every
1413         @deftypefn and @deftypefun is followed by a @safety remark.
1414
1415 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1416
1417         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1418
1419         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1420         PTHREAD_CANCEL_ASYNCHRONOUS.
1421         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1422         send SIGCANCEL.
1423
1424         * nptl/default-sched.h: New file.
1425         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1426         * nptl/pthread_create.c: Include it.
1427         (__pthread_create_2_1): Use collect_default_sched instead of making
1428         Linux syscalls here directly.
1429
1430 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1431
1432         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1433         __pthread_once): Use C11 atomics.
1434
1435 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1436
1437         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1438
1439 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1440
1441         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1442         atomic_thread_fence_acquire, atomic_thread_fence_release,
1443         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1444         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1445         atomic_compare_exchange_weak_relaxed,
1446         atomic_compare_exchange_weak_acquire,
1447         atomic_compare_exchange_weak_release,
1448         atomic_exchange_acquire, atomic_exchange_release,
1449         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1450         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1451         atomic_fetch_and_acquire,
1452         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1453
1454 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1455
1456         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1457         USE_ATOMIC_COMPILER_BUILTINS): Define.
1458         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1459         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1460         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1461         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1462         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1463         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1464         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1465         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1466         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1467         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1468         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1469         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1470         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1472         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1474         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1476         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1478         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1480         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1482         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1484         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1486         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1488         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1490         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1492         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1493         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1494         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1496         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1498
1499 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1500
1501         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1502         the sched_priority value here.  It was already checked when the user
1503         called pthread_attr_setschedparam.
1504
1505         * nptl/tst-bad-schedattr.c: New file.
1506         * nptl/Makefile (tests): Add it.
1507
1508 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1509             Florian Weimer  <fweimer@redhat.com>
1510             Joseph Myers  <joseph@codesourcery.com>
1511             Adam Conrad  <adconrad@0c3.net>
1512             Andreas Schwab  <schwab@suse.de>
1513             Brooks  <bmoses@google.com>
1514
1515         [BZ #17625]
1516         * wordexp-test.c (__dso_handle): Add prototype.
1517         (__register_atfork): Likewise.
1518         (__app_register_atfork): New function.
1519         (registered_forks): New global.
1520         (register_fork): New function.
1521         (test_case): Add 3 new tests for WRDE_CMDSUB.
1522         (main): Call __app_register_atfork.
1523         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1524         fork count is non-zero fail the test.
1525         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1526         is set.
1527         (parse_dollars): Remove check for WRDE_NOCMD.
1528         (parse_dquote): Likewise.
1529
1530 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1531
1532         * Makeconfig (built-modules): List non-library modules to be
1533         built.
1534         (module-cppflags): Include libc-modules.h for
1535         everything except shlib-versions.v.i.
1536         (CPPFLAGS): Use it.
1537         (before-compile): Add libc-modules.h.
1538         ($(common-objpfx)libc-modules.h,
1539         $(common-objpfx)libc-modules.stmp): New targets.
1540         (common-generated): Add libc-modules.h and libc-modules.stmp.
1541         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1542         * include/libc-symbols.h: Don't include libc-modules.h.
1543         * include/libc-modules.h: Remove file.
1544         * scripts/gen-libc-modules.awk: New script to generate
1545         libc-modules.h.
1546         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1547         Depend on libc-modules.stmp.
1548
1549         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1550
1551         * Makeconfig (in-module): Get value of libof set for the
1552         translation unit.
1553         (CPPFLAGS): Use $(in-module).
1554         * Makerules: Don't suffix routine names for nonlib.
1555         * include/libc-modules.h: New file.
1556         * include/libc-symbols.h: Include libc-modules.h
1557         (IS_IN): New macro to replace IS_IN_* macros.
1558         * elf/Makefile: Set libof-* for each routine.
1559         * elf/rtld-Rules: Likewise.
1560         * extra-modules.mk: Likewise.
1561         * iconv/Makefile: Likewise.
1562         * iconvdata/Makefile: Likewise.
1563         * locale/Makefile: Likewise.
1564         * malloc/Makefile: Likewise.
1565         * nss/Makefile: Likewise.
1566         * sysdeps/gnu/Makefile: Likewise.
1567         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1568         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1569         * sysdeps/s390/s390-64/Makefile: Likewise.
1570         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1571         CPPFLAGS for nscd instead of nonlib.
1572
1573 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1574
1575         * nptl/createthread.c: New file.
1576
1577         * nptl/createthread.c: Moved ...
1578         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1579
1580         * nptl/createthread.c: Add proper top-line comment.
1581         (do_clone): Folded into ...
1582         (create_thread): ... here.  Take new arguments STOPPED_START and
1583         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1584         increment __nptl_threads, do event-reporting logic, do
1585         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1586         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1587         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1588         just send SIGCANCEL.
1589         * nptl/pthread_create.c: Forward-declare create_thread before
1590         including createthread.c.
1591         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1592         declaration, and new macro START_THREAD_SELF to replace argument.
1593         Remove return statement.
1594         (report_thread_creation): New function.
1595         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1596         synchronization logic, and __nptl_nthreads increment here, around
1597         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1598         PD->parent_cancelhandling here, before create_thread.  When
1599         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1600         __deallocate_stack, and ENOMEM translation here.
1601
1602 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1603
1604         [BZ #17616]
1605         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1606         (mptwo): Rename to __mptwo.
1607         (__inv): Use __mptwo instead of mptwo.
1608         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1609         (mptwo): Rename to __mptwo.
1610         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1611         of mpone and __mptwo instead of mptwo.
1612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1613         instead of mpone.
1614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1615         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1616         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1617         of mpone and __mptwo instead of mptwo.
1618         (__mpranred): Use __mpone instead of mpone.
1619         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1620         variable.
1621         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1622         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1623         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1624         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1625         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1626         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1627         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1628         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1629         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1630         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1631         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1632         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1633         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1634         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1635         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1636         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1637         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1638         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1639         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1640
1641 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1642
1643         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1644         replace BSD Handler xref with BSD Signal Handling.
1645
1646 2014-11-17  Richard Henderson  <rth@redhat.com>
1647
1648         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1649         (_FP_PACK_RAW_2): Remove.
1650         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1651         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1652         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1653         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1654         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1655         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1656         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1657         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1658         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1659         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1660         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1661         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1662         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1663         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1664         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1665         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1666
1667 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1668
1669         * signal/signal.h [__USE_MISC]
1670         (struct sigvec): Remove type.
1671         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1672         (sigvec): Remove declaration.
1673         * sysdeps/posix/sigvec.c: Moved ...
1674         * signal/sigvec.c: ... here, replacing old file.
1675         (struct sigvec): New type, copied from old signal.h definition.
1676         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1677         (__sigvec): Convert definition to prototype.
1678         (sigvec): Replace weak_alias with compat_symbol.
1679         * signal/Versions (libc: GLIBC_2.21): New version set.
1680         * include/signal.h: Remove __sigvec declaration.
1681         * sysdeps/unix/bsd/sigvec.c: Remove file.
1682         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1683         * manual/signal.texi (BSD Handler): Remove subsection.
1684         Move siginterrupt up to ...
1685         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1686         (Blocking in BSD): Fold subsection into its parent.
1687         * NEWS: Mention sigvec removal.
1688
1689 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1690
1691         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1692         (DLA_FMS): Make definition conditional only on [__FMA4__].
1693         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1694         definition.
1695
1696         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1697         Make definition conditional only on [PROF].
1698         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1699         definition.
1700         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1701         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1702
1703         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1704         !__GNUC__].
1705         * include/signal.h (__sigpause): Move declaration above call to
1706         libc_hidden_proto.
1707         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1708         variable.
1709         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1710         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1711
1712 2014-11-14  David S. Miller  <davem@davemloft.net>
1713
1714         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1715         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1716
1717 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1718
1719         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1720         * configure: Regenerated.
1721         * manual/install.texi (Tools for Compilation): Document a
1722         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1723         compiler verified to work.
1724         * INSTALL: Regenerated.
1725
1726         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1727         redeclare with asm name.
1728         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1729         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1730         including <string.h>.
1731         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1732         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1733         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1735         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1736         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1737         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1738
1739 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1740
1741         * stdlib/strtol.c (__strtol): Use prototype definition.
1742
1743         [BZ #17594]
1744         * stdlib/strtol.c (SYM__): New macro.
1745         (SYM__1): Likewise.
1746         (__strtol): Likewise.
1747         (strtol): Rename to __strtol and define as weak alias of
1748         __strtol.  Use libc_hidden_weak.
1749
1750 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1751
1752         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1753         Use numbered labels in inline assembly.
1754
1755 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1756
1757         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1758         Add setjmp LIBC_PROBE.
1759         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1760         Likewise.
1761         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1762         Add longjmp, longjmp_target LIBC_PROBE.
1763         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1764         Likewise.
1765
1766 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1767
1768         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1769         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1770         to get rid of unused variable warning.
1771
1772 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1773
1774         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1775         Check for unwind_backtrace ==  NULL only in SHARED case.
1776         (__backchain_backtrace): Compile only in SHARED case.
1777         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1778         Likewise.
1779         (__backchain_backtrace): Declare as static.
1780
1781 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1782
1783         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1784         (__libc_multiple_threads_ptr): Variable moved ...
1785         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1786
1787 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1788
1789         * conform/GlibcConform.pm: New file.
1790         * conform/conformtest.pl: Use GlibcConform module.
1791         * conform/linknamespace.pl: New file.
1792         * conform/list-header-symbols.pl: Likewise.
1793         * conform/Makefile (linknamespace-symlists-base): New variable.
1794         (linknamespace-symlists-tests): Likewise.
1795         (linknamespace-header-base): Likewise.
1796         (linknamespace-header-tests): Likewise.
1797         (tests-special): Add new tests.
1798         ($(linknamespace-symlists-tests)): New rule.
1799         (linknamespace-libs): New variable.
1800         ($(objpfx)symlist-stdlibs): New rule.
1801         ($(linknamespace-header-tests)): Likewise.
1802         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1803         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1804         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1805         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1806         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1807         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1808         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1809         (test-xfail-ISO/math.h/linknamespace): Likewise.
1810         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1811         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1812         (test-xfail-ISO/time.h/linknamespace): Likewise.
1813         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1814         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1815         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1816         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1817         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1818         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1819         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1820         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1821         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1822         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1823         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1824         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1825         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1826         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1827         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1828         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1829         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1830         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1831         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1832         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1833         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1834         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1835         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1836         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1837         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1838         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1839         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1840         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1841         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1842         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1843         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1844         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1845         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1846         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1847         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1848         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1849         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1850         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1851         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1852         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1853         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1854         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1855         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1856         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1857         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1858         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1859         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1860         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1861         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1862         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1863         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1864         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1865         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1866         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1867         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1868         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1869         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1870         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1871         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1872         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1873         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1874         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1875         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1876         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1877         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1878         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1879         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1880         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1881         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1882         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1883         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1884         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1885         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1886         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1887         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1888         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1889         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1890         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1891         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1892         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1893         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1894         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1895         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1896         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1897         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1898         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1899         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1900         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1901         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1902         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1903         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1904         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1905         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1906         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1907         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1908         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1909         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1910         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1911         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1912         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1913         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1914         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1915         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1916         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1917         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1918         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1919         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1920         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1921         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1922         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1923         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1924         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1925         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1926         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1927         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1928         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1929         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1930         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1931         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1932         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1933         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1934         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1935         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1936         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1937         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1938         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1939         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1940         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1941         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1942         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1943         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1944         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1945         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1946         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1947         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1948         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1949         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1950         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1951         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1952         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1953         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1954         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1955         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1956         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1957         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1958         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1959         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1960         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1961         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1962         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1963
1964         [BZ #17589]
1965         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1966         of fgets_unlocked.
1967
1968         [BZ #17585]
1969         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1970         (memmem): Rename to __memmem and define as weak alias of
1971         __memmem.  Use libc_hidden_weak.
1972         (__memmem): Use libc_hidden_def.
1973         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1974         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1975         memmem.
1976
1977         [BZ #17582]
1978         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1979         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1980         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1981         and define as weak alias of __fgets_unlocked.  Use
1982         libc_hidden_weak.
1983         (__fgets_unlocked): Use libc_hidden_def.
1984         * include/stdio.h (__fgets_unlocked): Declare.  Use
1985         libc_hidden_proto.
1986         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1987         __fgets_unlocked instead of fgets_unlocked.
1988         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1989         (GET_NPROCS_CONF_PARSER): Likewise.
1990         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1991         (GET_NPROCS_CONF_PARSER): Likewise.
1992
1993         [BZ #17574]
1994         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1995         weak alias of __wmemset.  Use libc_hidden_weak.
1996         (__wmemset): Use libc_hidden_def.
1997         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1998         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1999         of wmemset.
2000
2001         [BZ #17573]
2002         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2003         with asm name __mempcpy.
2004         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2005
2006         [BZ #17572]
2007         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2008         and define as weak alias of __rawmemchr.
2009         (__rawmemchr): Do not define as strong alias of rawmemchr.
2010
2011         [BZ #17571]
2012         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2013         alias of __qsort_r.
2014         (qsort): Call __qsort_r instead of qsort_r.
2015         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2016         (__qsort_r): Declare.  Call libc_hidden_proto.
2017         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2018         instead of qsort_r.
2019         * nscd/gai.c (__qsort_r): Define to qsort_r.
2020         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2021         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2022         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2023
2024         [BZ #17570]
2025         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2026         define as weak alias of __malloc_info.
2027
2028         [BZ #17584]
2029         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2030         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2031         (__rewinddir): Use libc_hidden_def.
2032         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2033         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2034         (__rewinddir): Use libc_hidden_def.
2035         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2036         weak alias of __rewinddir.  Don't use libc_hidden_def.
2037         (__rewinddir): Use libc_hidden_def.
2038         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2039         (__rewinddir): Use libc_hidden_proto.
2040         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2041         rewinddir.
2042         (__getcwd): Use __rewinddir instead of rewinddir.
2043
2044         [BZ #17583]
2045         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2046         alias of __fileno.  Use libc_hidden_weak.
2047         (__fileno): Use libc_hidden_def.
2048         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2049         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2050         alias of __ftello.
2051         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2052         __ftello.
2053         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2054         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2055         libc_hidden_def.
2056         (fread_unlocked): Don't use libc_hidden_ver.
2057         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2058         and define as weak alias of __fread_unlocked.  Don't use
2059         libc_hidden_def.
2060         (__fread_unlocked): Use libc_hidden_def.
2061         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2062         (ftello): Don't use libc_hidden_proto.
2063         (__ftello): Declare.  Use libc_hidden_proto.
2064         (fread_unlocked): Don't use libc_hidden_proto.
2065         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2066         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2067         and __ftello instead of fileno, fread_unlocked and ftello.
2068
2069 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2070
2071         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2072         GOT12.
2073         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2074         Likewise.
2075         (_dl_start_user): Likewise.
2076         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2077
2078 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2079             Siddhesh Poyarekar  <siddhesh@redhat.com>
2080
2081         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2082         Move argv and envp down instead of moving argc up.
2083         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2084
2085 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2086
2087         [BZ #17506]
2088         * test-skeleton.c (main): Return successful if one of
2089         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2090         * string/tst-strcoll-overflow.c: Define expected status.
2091
2092 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2093
2094         [BZ #17475]
2095         * locale/iso-639.def: Define Bhili and Tulu language codes.
2096
2097 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2098
2099         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2100
2101 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2102
2103         [BZ #17555]
2104         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2105
2106 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2107
2108         * configure.ac: Updated check of minimal required version to
2109         2.22.
2110         * manual/install.texi (Tools for Compilation): Updated version
2111         number.
2112         * configure: Regenerated.
2113         * INSTALL: Likewise.
2114
2115 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2116
2117         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2118         __tls_get_addr.
2119
2120 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2121
2122         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2123         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2124         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2125         libc_hidden_weak.
2126         (waitpid): Define as alias of __waitpid.
2127         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2128         __waitpid.
2129         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2130         libc_hidden_weak.
2131         (waitpid): Define as alias of __waitpid.
2132         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2133         __libc_waitpid alias.
2134         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2135         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2136         Likewise.
2137         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2138         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2139         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2140         alias.
2141         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2142         __waitpid.
2143         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2144         libc_hidden_weak.
2145         (waitpid): Define as alias of __waitpid.
2146
2147 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2148
2149         * manual/llio.texi: Add comment that write safety has been
2150         fixed in Linux.
2151
2152         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2153         (localplt-build-dso): Add elf/ld.so.
2154         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2155         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2156         and free for ld.so.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2158         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2160         Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2162         Likewise.
2163         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2164         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2165         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2166         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2167         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2168         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2169         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2170         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2171         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2172         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2173         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2174
2175 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2176
2177         [BZ #14132]
2178         * include/libc-symbols.h (INTUSE): Remove macro.
2179         (INTDEF): Likewise.
2180         (INTVARDEF): Likewise.
2181         (_INTVARDEF): Likewise.
2182         (INTDEF2): Likewise.
2183         (INTVARDEF2): Likewise.
2184         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2185         rtld_hidden_def instead of INTVARDEF.
2186         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2187         (_dl_starting_up_internal): Remove declaration.
2188         (_dl_starting_up): Use rtld_hidden_proto.
2189         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2190         declaration.
2191         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2192         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2193         _dl_starting_up.
2194         * elf/dl-writev.h (_dl_writev): Likewise.
2195         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2196         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2197         _dl_starting_up_internal.
2198
2199 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2200
2201         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2202         test-skeleton.c.
2203
2204 2014-11-05  Will Newton  <will.newton@linaro.org>
2205
2206         * benchtests/Makefile: (bench-malloc): Add malloc thread
2207         scalability benchmark.
2208         * benchtests/bench-malloc-threads.c: New file.
2209
2210 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2211
2212         * sysdeps/aarch64/strchrnul.S: New file.
2213
2214 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2215
2216         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2217         definition.
2218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2219         Likwise.
2220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2221         Likewise.
2222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2223         Likewise.
2224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2225         Likewise.
2226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2227         Likewise.
2228
2229 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2230
2231         * catgets/test-gencat.c: Use test-skeleton.c.
2232         * catgets/tst-catgets.c: Likewise.
2233         * csu/tst-empty.c: Likewise.
2234         * elf/tst-audit2.c: Likewise.
2235         * elf/tst-global1.c: Likewise.
2236         * elf/tst-pathopt.c: Likewise.
2237         * elf/tst-piemod1.c: Likewise.
2238         * elf/tst-tls10.c: Likewise.
2239         * elf/tst-tls11.c: Likewise.
2240         * elf/tst-tls12.c: Likewise.
2241         * gnulib/tst-gcc.c: Likewise.
2242         * iconvdata/tst-e2big.c: Likewise.
2243         * iconvdata/tst-loading.c: Likewise.
2244         * iconv/tst-iconv1.c: Likewise.
2245         * iconv/tst-iconv2.c: Likewise.
2246         * inet/test-inet6_opt.c: Likewise.
2247         * inet/tst-gethnm.c: Likewise.
2248         * inet/tst-network.c: Likewise.
2249         * inet/tst-ntoa.c: Likewise.
2250         * intl/tst-codeset.c: Likewise.
2251         * intl/tst-gettext2.c: Likewise.
2252         * intl/tst-gettext3.c: Likewise.
2253         * intl/tst-ngettext.c: Likewise.
2254         * intl/tst-translit.c: Likewise.
2255         * io/test-stat.c: Likewise.
2256         * libio/test-fmemopen.c: Likewise.
2257         * libio/tst-freopen.c: Likewise.
2258         * libio/tst-sscanf.c: Likewise.
2259         * libio/tst-ungetwc1.c: Likewise.
2260         * libio/tst-ungetwc2.c: Likewise.
2261         * libio/tst-widetext.c: Likewise.
2262         * localedata/tst-ctype.c: Likewise.
2263         * localedata/tst-digits.c: Likewise.
2264         * localedata/tst-leaks.c: Likewise.
2265         * localedata/tst-mbswcs1.c: Likewise.
2266         * localedata/tst-mbswcs2.c: Likewise.
2267         * localedata/tst-mbswcs3.c: Likewise.
2268         * localedata/tst-mbswcs4.c: Likewise.
2269         * localedata/tst-mbswcs5.c: Likewise.
2270         * localedata/tst-setlocale.c: Likewise.
2271         * localedata/tst-trans.c: Likewise.
2272         * localedata/tst-wctype.c: Likewise.
2273         * localedata/tst-xlocale1.c: Likewise.
2274         * login/tst-grantpt.c: Likewise.
2275         * malloc/tst-calloc.c: Likewise.
2276         * malloc/tst-malloc.c: Likewise.
2277         * malloc/tst-mallocstate.c: Likewise.
2278         * malloc/tst-mcheck.c: Likewise.
2279         * malloc/tst-mtrace.c: Likewise.
2280         * malloc/tst-obstack.c: Likewise.
2281         * math/atest-exp2.c: Likewise.
2282         * math/atest-exp.c: Likewise.
2283         * math/atest-sincos.c: Likewise.
2284         * math/test-matherr.c: Likewise.
2285         * math/test-misc.c: Likewise.
2286         * math/test-powl.c: Likewise.
2287         * math/tst-definitions.c: Likewise.
2288         * misc/tst-dirname.c: Likewise.
2289         * misc/tst-efgcvt.c: Likewise.
2290         * misc/tst-fdset.c: Likewise.
2291         * misc/tst-hsearch.c: Likewise.
2292         * misc/tst-mntent2.c: Likewise.
2293         * nptl/tst-sem7.c: Likewise.
2294         * nptl/tst-sem8.c: Likewise.
2295         * nptl/tst-sem9.c: Likewise.
2296         * nss/test-netdb.c: Likewise.
2297         * posix/tst-fnmatch.c: Likewise.
2298         * posix/tst-getlogin.c: Likewise.
2299         * posix/tst-gnuglob.c: Likewise.
2300         * posix/tst-mmap.c: Likewise.
2301         * pwd/tst-getpw.c: Likewise.
2302         * resolv/tst-inet_ntop.c: Likewise.
2303         * rt/tst-timer.c: Likewise.
2304         * stdio-common/test-fseek.c: Likewise.
2305         * stdio-common/test-popen.c: Likewise.
2306         * stdio-common/test-vfprintf.c: Likewise.
2307         * stdio-common/tst-cookie.c: Likewise.
2308         * stdio-common/tst-fileno.c: Likewise.
2309         * stdio-common/tst-gets.c: Likewise.
2310         * stdio-common/tst-obprintf.c: Likewise.
2311         * stdio-common/tst-perror.c: Likewise.
2312         * stdio-common/tst-sprintf2.c: Likewise.
2313         * stdio-common/tst-sprintf3.c: Likewise.
2314         * stdio-common/tst-sprintf.c: Likewise.
2315         * stdio-common/tst-swprintf.c: Likewise.
2316         * stdio-common/tst-tmpnam.c: Likewise.
2317         * stdio-common/tst-unbputc.c: Likewise.
2318         * stdio-common/tst-wc-printf.c: Likewise.
2319         * stdlib/tst-environ.c: Likewise.
2320         * stdlib/tst-fmtmsg.c: Likewise.
2321         * stdlib/tst-limits.c: Likewise.
2322         * stdlib/tst-rand48-2.c: Likewise.
2323         * stdlib/tst-rand48.c: Likewise.
2324         * stdlib/tst-random2.c: Likewise.
2325         * stdlib/tst-random.c: Likewise.
2326         * stdlib/tst-strtol.c: Likewise.
2327         * stdlib/tst-strtoll.c: Likewise.
2328         * stdlib/tst-tls-atexit.c: Likewise.
2329         * stdlib/tst-xpg-basename.c: Likewise.
2330         * string/test-ffs.c: Likewise.
2331         * string/tst-bswap.c: Likewise.
2332         * string/tst-inlcall.c: Likewise.
2333         * string/tst-strtok.c: Likewise.
2334         * string/tst-strxfrm.c: Likewise.
2335         * sysdeps/x86_64/tst-audit10.c: Likewise.
2336         * sysdeps/x86_64/tst-audit3.c: Likewise.
2337         * sysdeps/x86_64/tst-audit4.c: Likewise.
2338         * sysdeps/x86_64/tst-audit5.c: Likewise.
2339         * time/tst-ftime_l.c: Likewise.
2340         * time/tst-getdate.c: Likewise.
2341         * time/tst-mktime3.c: Likewise.
2342         * time/tst-mktime.c: Likewise.
2343         * time/tst-posixtz.c: Likewise.
2344         * time/tst-strptime2.c: Likewise.
2345         * time/tst-strptime3.c: Likewise.
2346         * wcsmbs/tst-btowc.c: Likewise.
2347         * wcsmbs/tst-mbrtowc.c: Likewise.
2348         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2349         * wcsmbs/tst-wchar-h.c: Likewise.
2350         * wcsmbs/tst-wcpncpy.c: Likewise.
2351         * wcsmbs/tst-wcrtomb.c: Likewise.
2352         * wcsmbs/tst-wcsnlen.c: Likewise.
2353         * wcsmbs/tst-wcstof.c: Likewise.
2354
2355 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2356
2357         [BZ #14132]
2358         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2359         INTDEF.
2360         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2361         declaration.
2362         (_dl_mcount): Use rtld_hidden_proto.
2363         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2364         _dl_mcount.
2365         * elf/rtld.c (_rtld_global_ro): Likewise.
2366
2367         [BZ #14132]
2368         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2369         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2370         of _dl_init_internal.
2371         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2372         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2373         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2374         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2375         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2376         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2377         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2378         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2379         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2380         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2381         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2382         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2383         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2384         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2385         * sysdeps/tile/dl-start.S (_start): Likewise.
2386         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2387         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2388
2389         [BZ #14132]
2390         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2391         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2392         (rtld_progname): Make macro definition unconditional.
2393         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2394         INTDEF.
2395         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2396         (dl_main): Likewise.
2397         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2398         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2399         instead of _dl_argv_internal.
2400         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2401         __GI__dl_argv instead of INTUSE(_dl_argv).
2402         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2403         __GI__dl_argv instead of _dl_argv_internal.
2404
2405         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2406         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2407         macro.
2408         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2409         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2410         New macro.
2411         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2412         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2413         macro.
2414         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2415         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2416
2417 2014-11-04  Andreas Schwab  <schwab@suse.de>
2418
2419         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2420
2421 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2422
2423         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2424         mtvsrd instruction in binary form.
2425
2426 2014-11-03  Andreas Schwab  <schwab@suse.de>
2427
2428         [BZ #17522]
2429         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2430         for less than MB_LEN_MAX use a local buffer of that size.
2431         * libio/tst-fputws.c: New file.
2432         * libio/Makefile (tests): Add tst-fputws.
2433
2434 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2435
2436         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2437         the size of the fpu_fr.fpu_dregs[] array.
2438
2439 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2440
2441         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2442         (__nanosleep): Do not define as alias.
2443         (nanosleep): Define as alias of __nanosleep.
2444         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2445         __libc_nanosleep name.
2446
2447 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2448
2449         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2450         install.texi in comment.
2451
2452 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2453
2454         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2455         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2456         ... add here and use lwsync or sync ...
2457         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2458         ... and add here using lwsync.
2459
2460 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2461
2462         * elf/dl-machine-reject-phdr.h: New file.
2463         * elf/dl-load.c: #include that.
2464         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2465         if that returned true.
2466
2467 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2468
2469         [BZ #17496]
2470         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2471         gen-as-const-headers chunk.  Add a big scare comment after the last
2472         safe place to touch before-compile.
2473
2474 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2475
2476         * manual/install.texi (Tools for Compilation): Update autoconf
2477         version requirements.
2478         * INSTALL: Regenerated.
2479
2480         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2481         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2482         (__libc_pselect): Likewise.
2483
2484         [BZ #14138]
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2489
2490 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2491
2492         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2493         correct barrier instruction.
2494         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2495         Likewise.
2496         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2497         Likewise.
2498
2499 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2500
2501         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2502         after defining inlines.  Instead, just use parens to defeat macro
2503         expansion of __isctype in its declaration.
2504
2505 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2506
2507         * include/sys/uio.h (__libc_readv): Remove declaration.
2508         (__libc_writev): Likewise.
2509         * misc/readv.c (__libc_readv): Rename to __readv.
2510         (__readv): Do not define as alias.
2511         (readv): Define as alias of __readv.
2512         * misc/writev.c (__libc_writev): Rename to __writev.
2513         (__writev): Do not define as alias.
2514         (writev): Define as alias of __writev.
2515         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2516         (__readv): Do not define as alias.
2517         (readv): Define unconditionally as alias of __readv.
2518         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2519         (__writev): Do not define as alias.
2520         (writev): Define unconditionally as alias of __writev.
2521         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2522         name.
2523         (writev): Do not define __libc_writev name.
2524
2525 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2526
2527         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2528         (convert_charseq): New function, broken out of ...
2529         (use_from_charmap): ... here.  Call it.
2530         (use_to_charmap): Use convert_charseq and free instead of duplicating
2531         its code with a variable-length stack struct.
2532
2533 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2534
2535         * include/fcntl.h (__libc_creat): Remove declaration.
2536         * io/creat.c (__libc_creat): Rename to creat.
2537         (creat): Do not define as alias.
2538         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2539         of creat instead of __libc_creat.
2540         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2541         to creat.
2542         (creat): Do not define as alias.
2543         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2544         __libc_creat.
2545         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2546         __libc_creat name.
2547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2548         Likewise.
2549
2550 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2551
2552         * manual/llio.texi: Add comments discussing why write() may be
2553         considered MT-unsafe on Linux.
2554
2555 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2556
2557         * dl-load.c (local_strdup): Remove.
2558         (expand_dynamic_string_token): Use __strdup.
2559         (decompose_rpath): Likewise.
2560         (_dl_map_object): Likewise.
2561
2562 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2563
2564         [BZ #14132]
2565         * sysdeps/generic/unwind-dw2-fde.c
2566         (__register_frame_info_bases_internal): Do not declare.
2567         (__register_frame_info_table_bases_internal): Likewise.
2568         (__deregister_frame_info_bases_internal): Likewise.
2569         (__register_frame_info_bases): Declare and use hidden_proto before
2570         definition.  Use hidden_def instead of INTDEF.
2571         (__register_frame_info_table_bases): Likewise.
2572         (__deregister_frame_info_bases): Likewise.
2573         (__register_frame_info): Do not use INTUSE.
2574         (__register_frame): Likewise.
2575         (__register_frame_info_table): Likewise.
2576         (__register_frame_table): Likewise.
2577         (__deregister_frame_info): Likewise.
2578         (__deregister_frame): Likewise.
2579
2580 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2581
2582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2583         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2584         not undefine.
2585         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2586         Likewise.
2587         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2588         Likewise.
2589
2590 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2591
2592         [BZ #14138]
2593         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2594         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2595         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2596         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2597         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2598         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2599         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2600         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2601         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2602         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2603         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2604         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2605         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2606         syscall.
2607         (setfsuid): Likewise.
2608         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2609         (setfsuid): Likewise.
2610         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2611         (setfsuid): Likewise.
2612         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2613         Likewise.
2614         (setfsuid): Likewise.
2615         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2616         (setfsuid): Likewise.
2617         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2618         Likewise.
2619         (setfsuid): Likewise.
2620
2621 2014-10-27  Andreas Schwab  <schwab@suse.de>
2622
2623         [BZ #17501]
2624         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2625         check for Slow_SSE4_2 feature bit.
2626         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2627         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2628         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2629         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2630
2631 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2632
2633         * configure.ac: Validate compiler version with a empirical test of
2634         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2635         $CC -v output.
2636         * configure: Regenerated.
2637
2638         * inet/htons.c (htons): Prototypify.
2639         * inet/htonl.c (htonl): Likewise.
2640
2641 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2642
2643         * string/strncat.c (strncat): Improve performance by using strlen.
2644
2645 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2646
2647         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2648
2649 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2650
2651         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2652         Call libc_fetestexcept_aarch64.
2653
2654 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2655
2656         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2657         Call libc_feholdexcept_aarch64.
2658
2659 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2660
2661         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2662         Call get_rounding_mode.
2663
2664 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2665
2666         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2667         Simplify logic.
2668
2669 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2670
2671         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2672         Simplify logic.
2673
2674 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2675
2676         [BZ #14138]
2677         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2678         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2679         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2680         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2681         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2682         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2683         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2684         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2685         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2686         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2687         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2688         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2689         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2690         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2691         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2692         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2693         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2694         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2695         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2696         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2697         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2698         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2699         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2700         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2701         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2702         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2703         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2704         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2705         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2706         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2707         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2708         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2709         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2710         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2711         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2712         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2713         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2714         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2715         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2716         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2717         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2718         syscall.
2719         (geteuid): Likewise.
2720         (getgid): Likewise.
2721         (getuid): Likewise.
2722         (getresgid): Likewise.
2723         (getresuid): Likewise.
2724         (getgroups): Likewise.
2725         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2726         (geteuid): Likewise.
2727         (getgid): Likewise.
2728         (getuid): Likewise.
2729         (getresgid): Likewise.
2730         (getresuid): Likewise.
2731         (getgroups): Likewise.
2732         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2733         (geteuid): Likewise.
2734         (getgid): Likewise.
2735         (getuid): Likewise.
2736         (getresgid): Likewise.
2737         (getresuid): Likewise.
2738         (getgroups): Likewise.
2739         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2740         Likewise.
2741         (geteuid): Likewise.
2742         (getgid): Likewise.
2743         (getuid): Likewise.
2744         (getresgid): Likewise.
2745         (getresuid): Likewise.
2746         (getgroups): Likewise.
2747         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2748         (geteuid): Likewise.
2749         (getgid): Likewise.
2750         (getuid): Likewise.
2751         (getresgid): Likewise.
2752         (getresuid): Likewise.
2753         (getgroups): Likewise.
2754         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2755         Likewise.
2756         (geteuid): Likewise.
2757         (getgid): Likewise.
2758         (getuid): Likewise.
2759         (getgroups): Likewise.
2760
2761         [BZ #14138]
2762         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2763         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2764         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2765         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2766         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2767         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2768         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2769         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2770         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2771         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2772         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2773         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2774         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2775         __chown.
2776         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2777         (lchown): Likewise.
2778         (fchown): Likewise.
2779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2780         Likewise.
2781         (lchown): Likewise.
2782         (fchown): Likewise.
2783         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2784         (lchown): Likewise.
2785         (fchown): Likewise.
2786         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2787         Likewise.
2788         (lchown): Likewise.
2789         (fchown): Likewise.
2790
2791 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2792
2793         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2794         Simplify logic.
2795
2796 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2797
2798         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2799         Cleanup logic.
2800
2801 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2802
2803         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2804         Remove unused include.
2805
2806 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2807
2808         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2809         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2810         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2811         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2812
2813 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2814             Helge Deller <deller@gmx.de>
2815
2816         [BZ #17508]
2817         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2818         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2819         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2820
2821 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2822
2823         [BZ #14132]
2824         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2825         Remove macro definition.
2826         (__ashrdi3_v_glibc20): Likewise.
2827         (__lshrdi3_v_glibc20): Likewise.
2828         (__cmpdi2_v_glibc20): Likewise.
2829         (__ucmpdi2_v_glibc20): Likewise.
2830         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2831         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2832         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2833         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2834         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2835         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2836
2837 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2838
2839         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2840         old GNU extension [0] syntax.
2841         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2842         alloca rather than an array member with variable length.
2843         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2844         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2845         (parse_opt): ... here.  Likewise use alloca there.
2846         Validate the -i argument before checking for rootness.
2847         (send_shutdown): New function, broken out of ...
2848         (parse_opt): ... here.
2849
2850 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2851
2852         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2853         macro to get at the _rt_local_ro field.
2854         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2855         ([PIC] case) or _dl_hwcap ([!PIC] case).
2856         * sysdeps/arm/setjmp.S: Likewise.
2857
2858         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2859         * sysdeps/arm/configure.ac: New check to define it.
2860         * sysdeps/arm/configure: Regenerated.
2861         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2862         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2863         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2864         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2865         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2866         Use move/movt pair instead of a load.
2867         (LDST_GLOBAL): Macro removed.
2868         (LDR_GLOBAL): New macro replaces it.
2869         (LDR_HIDDEN): New macro.
2870         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2871         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2872
2873         * setjmp/tst-setjmp-static.c: New file.
2874         * setjmp/Makefile (tests): Add it.
2875         (tests-static): New variable.
2876
2877 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2878
2879         [BZ #17485]
2880         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2881
2882 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2883
2884         [BZ #14132]
2885         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2886
2887 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2888
2889         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2890
2891 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2892
2893         * io/fts.c (dirent_not_directory): New function.
2894         (fts_build): Call it.
2895
2896 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2897
2898         * nptl/version.c (__nptl_main): Use normal __write rather than
2899         INTERNAL_SYSCALL.
2900         (banner): Update copyright years.
2901
2902         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2903         gettimeofday.
2904         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2905         * nptl/pthread_cond_timedwait.c: Likewise.
2906         * nptl/pthread_mutex_timedlock.c: Likewise.
2907         * nptl/sem_timedwait.c: Likewise.
2908
2909         * sysdeps/nptl/bits/libc-lock.h
2910         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2911         (__libc_lock_init_recursive): Return void, not 0.
2912         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2913         (__libc_rwlock_init): Likewise.
2914         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2915
2916 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2917
2918         [BZ #15215]
2919         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2920         (__pthread_once_slow): ... here.
2921         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2922         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2923
2924 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2925
2926         [BZ #15215]
2927         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2928         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2929         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2930         * nptl/pthread_once.c (__pthread_once): Likewise.
2931         Update comments.
2932
2933 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2934
2935         [BZ #14138]
2936         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2937         name.
2938         (writev): Use __libc_writev as strong name.
2939         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2940         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2941
2942 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2943
2944         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2945
2946         * sysdeps/i386/nptl/tls.h
2947         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2948         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2949         New macros.
2950         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2951         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2952         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2953         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2954         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2955         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2956
2957         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2958         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2959         on [__NR_futex].
2960         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2961         broken out of ...
2962         (__pthread_mutex_init): ... here.  Call it.
2963         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2964         Conditionalize PI cases on [__NR_futex].
2965         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2966         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2967         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2968
2969         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2970         conditional on [SIGSETXID].
2971         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2972         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2973         is defined.  Likewise for SIGSETXID.
2974         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2975         Conditionalize definitions on [SIGSETXID].
2976         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2977         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2978         unblocking on [SIGCANCEL].
2979
2980         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2981         [__NR_set_robust_list].
2982
2983 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2984
2985         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2986         (do_compare): Likewise.
2987
2988 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2989
2990         [BZ #15884]
2991         * string/strcoll_l.c: Don't include stdio.h.
2992         (coll_seq): Remove members idxarr and rulearr.
2993         (get_next_seq_cached): Remove function.
2994         (get_next_seq): Likewise.
2995         (get_next_seq_nocache): Rename to get_next_seq.
2996         (do_compare): Remove function.
2997         (do_compare_nocache): Rename to do_compare.
2998         (STRCOLL): Remove weight and rules cache.
2999
3000 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3001
3002         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3003         * sysdeps/arm/sfp-machine.h: ... to here.
3004         * sysdeps/arm/Implies: Remove arm/soft-fp.
3005
3006 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3007
3008         * conform/data/sys/utsname.h-data (*_t): Allow.
3009         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3010         [POSIX] (WEXITED): Do not expect constant.
3011         [POSIX] (WSTOPPED): Likewise.
3012         [POSIX] (WNOHANG): Likewise.
3013         [POSIX] (WNOWAIT): Likewise.
3014         [POSIX] (siginfo_t): Do not expect type or elements.
3015         [POSIX] (pid_t): Do not expect type.
3016         [POSIX] (signal.h): Do not allow header.
3017         [POSIX] (sys/resource.h): Likewise.
3018         [POSIX] (si_*): Do not allow pattern.
3019         [POSIX] (W*): Likewise.
3020         [POSIX] (P_*): Likewise.
3021         [POSIX] (BUS_*): Likewise.
3022         [POSIX] (CLD_*): Likewise.
3023         [POSIX] (FPE_*): Likewise.
3024         [POSIX] (ILL_*): Likewise.
3025         [POSIX] (POLL_*): Likewise.
3026         [POSIX] (SEGV_*): Likewise.
3027         [POSIX] (SI_*): Likewise.
3028         [POSIX] (TRAP_*): Likewise.
3029         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3030         variable.
3031
3032 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3033
3034         [BZ #12926]
3035         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3036         infinite loop when __recvmsg returns 0.
3037
3038 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3039
3040         * CANCEL-FCT-WAIVE: Remove file.
3041         * CANCEL-FILE-WAIVE: Likewise.
3042
3043         [BZ #14132]
3044         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3045         instead of INTVARDEF.
3046         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3047         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3048         rtld_hidden_data_def instead of INTVARDEF.
3049         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3050         * elf/dl-deps.c (expand_dst): Likewise.
3051         * elf/dl-load.c (_dl_dst_count): Likewise.
3052         (_dl_dst_substitute): Likewise.
3053         (decompose_rpath): Likewise.
3054         (_dl_init_paths): Likewise.
3055         (open_path): Likewise.
3056         (_dl_map_object): Likewise.
3057         * elf/rtld.c (dl_main): Likewise.
3058         (process_dl_audit): Likewise.
3059         (process_envvars): Likewise.
3060         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3061         Remove declaration.
3062         (__libc_enable_secure): Use rtld_hidden_proto.
3063
3064 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3065
3066         * elf/dl-load.c
3067         (add_path): New function broken out of _dl_rtld_di_serinfo.
3068         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3069
3070 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3071
3072         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3073         parentheses around macro arguments.
3074         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3075         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3076         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3077         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3078         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3079         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3080         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3081         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3082         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3083         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3084         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3085         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3086         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3087         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3088         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3089         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3090         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3091         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3092         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3093         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3094         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3095         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3096         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3097         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3098         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3099         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3100         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3101         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3102         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3103         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3104         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3105         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3106         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3107         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3108         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3109         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3110         Likewise.
3111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3112         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3113         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3116         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3117         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3118         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3119         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3120         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3121         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3122         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3123         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3124         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3126         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3127         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3128         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3129         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3132         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3133         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3134         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3135         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3136         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3137         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3138         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3139         (_FP_FRAC_SRS_1): Likewise.
3140         (_FP_FRAC_CLZ_1): Likewise.
3141         (_FP_MUL_MEAT_1_imm): Likewise.
3142         (_FP_MUL_MEAT_1_wide): Likewise.
3143         (_FP_MUL_MEAT_1_hard): Likewise.
3144         (_FP_SQRT_MEAT_1): Likewise.
3145         (_FP_FRAC_ASSEMBLE_1): Likewise.
3146         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3147         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3148         (__FP_CLZ_2): Likewise.
3149         (_FP_MUL_MEAT_2_wide): Likewise.
3150         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3151         (_FP_MUL_MEAT_2_gmp): Likewise.
3152         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3153         (_FP_SQRT_MEAT_2): Likewise.
3154         (_FP_FRAC_ASSEMBLE_2): Likewise.
3155         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3156         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3157         (_FP_FRAC_CLZ_4): Likewise.
3158         (_FP_MUL_MEAT_4_wide): Likewise.
3159         (_FP_MUL_MEAT_4_gmp): Likewise.
3160         (_FP_SQRT_MEAT_4): Likewise.
3161         (_FP_FRAC_ASSEMBLE_4): Likewise.
3162         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3163         * soft-fp/op-common.h (_FP_CMP): Likewise.
3164         (_FP_CMP_EQ): Likewise.
3165         (_FP_CMP_UNORD): Likewise.
3166         (_FP_TO_INT): Likewise.
3167         (_FP_FROM_INT): Likewise.
3168         [!__FP_CLZ] (__FP_CLZ): Likewise.
3169         (_FP_DIV_HELP_imm): Likewise.
3170         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3171         Likewise.
3172         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3174         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3175         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3176         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3177         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3178         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3179         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3181         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3182         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3183         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3184         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3185         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3186         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3187         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3188         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3189         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3190         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3195         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3196         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3199         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3200         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3201         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3202         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3203         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3204         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3205         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3206         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3207         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3208         (FP_UNPACK_RAW_SP): Likewise.
3209         (FP_PACK_RAW_S): Likewise.
3210         (FP_PACK_RAW_SP): Likewise.
3211         (FP_UNPACK_S): Likewise.
3212         (FP_UNPACK_SP): Likewise.
3213         (FP_UNPACK_SEMIRAW_S): Likewise.
3214         (FP_UNPACK_SEMIRAW_SP): Likewise.
3215         (FP_PACK_S): Likewise.
3216         (FP_PACK_SP): Likewise.
3217         (FP_PACK_SEMIRAW_S): Likewise.
3218         (FP_PACK_SEMIRAW_SP): Likewise.
3219         (_FP_SQRT_MEAT_S): Likewise.
3220         (FP_CMP_S): Likewise.
3221         (FP_CMP_EQ_S): Likewise.
3222         (FP_CMP_UNORD_S): Likewise.
3223         (FP_TO_INT_S): Likewise.
3224         (FP_FROM_INT_S): Likewise.
3225
3226         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3227
3228         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3229         (FP_EX_INVALID_IMZ): Likewise.
3230         (FP_EX_INVALID_IMZ_FMA): Likewise.
3231         (FP_EX_INVALID_ISI): Likewise.
3232         (FP_EX_INVALID_ZDZ): Likewise.
3233         (FP_EX_INVALID_IDI): Likewise.
3234         (FP_EX_INVALID_SQRT): Likewise.
3235         (FP_EX_INVALID_CVI): Likewise.
3236         (FP_EX_INVALID_VC): Likewise.
3237         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3238         "invalid" exceptions.
3239         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3240         (_FP_ADD_INTERNAL): Likewise.
3241         (_FP_MUL): Likewise.
3242         (_FP_FMA): Likewise.
3243         (_FP_DIV): Likewise.
3244         (_FP_CMP_CHECK_NAN): Likewise.
3245         (_FP_SQRT): Likewise.
3246         (_FP_TO_INT): Likewise.
3247         (FP_EXTEND): Likewise.
3248
3249 2014-10-09  Allan McRae  <allan@archlinux.org>
3250
3251         * po/fr.po: Update French translation from translation project.
3252
3253 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3254
3255         [BZ #14132]
3256         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3257         of INTDEF.
3258         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3259         (__cxa_atexit): Use libc_hidden_proto.
3260         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3261
3262         [BZ #14132]
3263         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3264         declaration.
3265         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3266         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3267         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3268         [!_ISOMAC] (__iswctype_internal): Likewise.
3269         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3270         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3271         alias.
3272         (fcntl): Remove __fcntl_internal alias.
3273         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3274         __connect_internal alias.
3275         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3276         Likewise.
3277
3278         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3279         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3280         FP_DENORM_ZERO.
3281         (_FP_CHECK_FLUSH_ZERO): New macro.
3282         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3283         (_FP_CMP): Likewise.
3284         (_FP_CMP_EQ): Likewise.
3285         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3286         FP_DENORM_ZERO.
3287         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3288         (FP_TRUNC): Likewise.
3289
3290         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3291         treated as invalid conversion, not as normal exponent.
3292
3293         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3294         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3295         (_FP_CMP_EQ): Likewise.
3296         (_FP_CMP_UNORD): Likewise.
3297         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3298         (FP_CMP_EQ_D): Likewise.
3299         (FP_CMP_UNORD_D): Likewise.
3300         * soft-fp/extended.h (FP_CMP_E): Likewise.
3301         (FP_CMP_EQ_E): Likewise.
3302         (FP_CMP_UNORD_E): Likewise.
3303         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3304         (FP_CMP_EQ_Q): Likewise.
3305         (FP_CMP_UNORD_Q): Likewise.
3306         * soft-fp/single.h (FP_CMP_S): Likewise.
3307         (FP_CMP_EQ_S): Likewise.
3308         (FP_CMP_UNORD_S): Likewise.
3309         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3310         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3311         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3312         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3313         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3314         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3315         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3316         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3317         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3318         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3319         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3320         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3321         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3322         to FP_CMP_Q.
3323         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3324         FP_CMP_Q.
3325         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3326         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3327         FP_CMP_EQ_Q.
3328         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3329         FP_CMP_Q.
3330         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3331         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3332         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3333         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3334         FP_CMP_EQ_Q.
3335         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3336         FP_CMP_Q.
3337         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3338         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3339         FP_CMP_EQ_Q.
3340         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3341         FP_CMP_Q.
3342         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3343         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3344         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3345         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3346         FP_CMP_EQ_Q.
3347
3348         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3349         a subnormal result, set the underflow exception if trapping on
3350         underflow is enabled.
3351         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3352         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3353         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3354         redefine to 0.
3355         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3356         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3357         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3358         * soft-fp/extendxftf2.c (__extendxftf2): Use
3359         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3360
3361         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3362         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3363         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3364         FP_HANDLE_EXCEPTIONS.
3365         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3366         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3367         FP_HANDLE_EXCEPTIONS.
3368         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3369         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3370         FP_HANDLE_EXCEPTIONS.
3371         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3372         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3373         FP_HANDLE_EXCEPTIONS.
3374
3375 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3376
3377         [BZ #14132]
3378         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3379         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3380         use INTUSE.
3381         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3382         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3383         Remove alias.
3384         (__adjtimex): Define using libc_hidden_ver.
3385         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3386         Remove declaration.
3387         (ntp_gettime): Call __adjtimex directly.
3388         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3389         Remove declaration.
3390         (ntp_gettimex): Call __adjtimex directly.
3391         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3392         __adjtimex_internal alias.
3393
3394 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3395
3396         [BZ #17460]
3397         * nscd/nscd.c (more_help): Rewrite list of tables collection
3398         using xstrdup and asprintf.
3399
3400         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3401
3402 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3403             Roland McGrath  <roland@hack.frob.com>
3404
3405         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3406         (do_lookup_unique): ... local function 'enter' here; update callers.
3407
3408 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3409
3410         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3411         compat_symbol calls on [SHARED].
3412         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3413         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3414         Remove.
3415         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3416         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3417         (oldsetrlimit): Remove.
3418         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3420         (lchown): New syscall entry.
3421         (oldsetrlimit): Remove.
3422         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3423         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3424         (oldsetrlimit): Remove.
3425         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3426
3427         [BZ #14138]
3428         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3429         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3430         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3431         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3432         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3433         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3434         (fchown): Likewise.
3435         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3436         (fchown): Likewise.
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3438         Likewise.
3439
3440 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3441
3442         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3443         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3444         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3445         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3446         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3447         Likewise.
3448         (__old_sem_post): Likewise.
3449
3450 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3451
3452         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3453         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3454         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3455         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3456         Use INLINE_VSYSCALL macro.
3457         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3458         __vdso_clock_gettime.
3459         * sysdeps/unix/sysv/linux/tile/init-first.c
3460         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3461         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3462         __vdso_clock_gettime.
3463
3464         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3465         to set up frame more cleanly.
3466
3467         * sysdeps/tile/memcmp.c: New file.
3468
3469         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3470
3471         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3472         * sysdeps/tile/tilegx/strcasestr.c: New file.
3473         * sysdeps/tile/tilegx/strnlen.c: New file.
3474         * sysdeps/tile/tilegx/strstr.c: New file.
3475
3476         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3477
3478 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3479
3480         * nptl/tst-setuid3.c: Write errors to stdout.
3481
3482 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3483
3484         * elf/dl-deps.c
3485         (preload): New functions broken out of _dl_map_object_deps.
3486         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3487
3488 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3489
3490         [BZ #14138]
3491         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3492         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3493
3494 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3495
3496         * sysdeps/mips/strcmp.S: New.
3497
3498 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3499
3500         [BZ #14138]
3501         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3502         (linkat): Likewise.
3503         (mkdirat): Likewise.
3504         (readlinkat): Likewise.
3505         (renameat): Likewise.
3506         (symlinkat): Likewise.
3507         (unlinkat): Likewise.
3508         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3509         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3510         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3511         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3512         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3513         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3514         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3515
3516 2014-09-30  Will Newton  <will.newton@linaro.org>
3517
3518         * math/math.h: Define long double math functions if
3519         _LIBC_TEST is defined.
3520         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3521
3522         * localedata/Makefile: Move assignment to tests-special
3523         into an ifdef testing run-built-tests.
3524         * timezone/Makefile: Likewise.
3525
3526 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3527
3528         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3529         with $(BASH) not $(SHELL).
3530
3531 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3532             Matthew LeGendre  <legendre1@llnl.gov>
3533
3534         [BZ #17411]
3535         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3536         l_reloc_result.
3537
3538 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3539
3540         * stdio-common/printf_fp.c
3541         (hack_digit): New function, broken out of ...
3542         (__printf_fp): ... local function here.  Update call sites.
3543         hack_digit now takes an additional parameter that is a pointer
3544         to a struct of the referenced locals.  Those locals moved inside
3545         the struct and references updated.
3546
3547 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3548
3549         * aclocal.m4: Require autoconf 2.69.
3550         * configure: Regenerated.
3551         * sysdeps/aarch64/configure: Likewise.
3552         * sysdeps/alpha/configure: Likewise.
3553         * sysdeps/arm/armv7/configure: Likewise.
3554         * sysdeps/arm/configure: Likewise.
3555         * sysdeps/ia64/configure: Likewise.
3556         * sysdeps/mach/configure: Likewise.
3557         * sysdeps/mips/configure: Likewise.
3558         * sysdeps/s390/configure: Likewise.
3559         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3561
3562         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3563         file.
3564         * sysdeps/ia64/configure.ac: Likewise.
3565
3566 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3567
3568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3569         specify symbol version for ld.so.  Do not include entry for
3570         libpthread.
3571         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3572         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3573         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3574
3575         [BZ #14171]
3576         * Makeconfig [$(build-shared) = yes]
3577         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3578         makefiles.
3579         [$(build-shared) = yes && $(soversions.mk-done) = t]
3580         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3581         [$(build-shared) = yes && $(soversions.mk-done) = t]
3582         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3583         to Makerules.
3584         [$(build-shared) = yes && $(soversions.mk-done) = t]
3585         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3586         here.
3587         [$(build-shared) = yes && $(soversions.mk-done) = t]
3588         (common-generated): Don't append gnu/lib-names.h and
3589         gnu/lib-names.stmp here.
3590         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3591         (lib-names-h-abi): New variable.
3592         [$(build-shared) = yes && $(soversions.mk-done) = t]
3593         (lib-names-stmp-abi): Likewise.
3594         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3595         abi-variants] (before-compile): Append
3596         $(common-objpfx)$(lib-names-h-abi).
3597         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3598         abi-variants] (common-generated): Append gnu/lib-names.h.
3599         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3600         abi-variants] (install-others-nosubdir): Depend on
3601         $(inst_includedir)/$(lib-names-h-abi).
3602         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3603         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3604         [$(build-shared) = yes && $(soversions.mk-done) = t]
3605         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3606         [$(build-shared) = yes && $(soversions.mk-done) = t]
3607         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3608         [$(build-shared) = yes && $(soversions.mk-done) = t]
3609         (common-generated): Append $(lib-names-h-abi) and
3610         $(lib-names-stmp-abi).
3611         * scripts/lib-names.awk: Do not handle multi being set.
3612         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3613         Remove variable.
3614         (abi-lp64_be-ld-soname): Likewise.
3615         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3616         Likewise.
3617         (abi-hard-ld-soname): Likewise.
3618         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3619         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3620         Remove variable.
3621         (abi-o32_hard-ld-soname): Likewise.
3622         (abi-o32_soft_2008-ld-soname): Likewise.
3623         (abi-o32_hard_2008-ld-soname): Likewise.
3624         (abi-n32_soft-ld-soname): Likewise.
3625         (abi-n32_hard-ld-soname): Likewise.
3626         (abi-n32_soft_2008-ld-soname): Likewise.
3627         (abi-n32_hard_2008-ld-soname): Likewise.
3628         (abi-n64_soft-ld-soname): Likewise.
3629         (abi-n64_hard-ld-soname): Likewise.
3630         (abi-n64_soft_2008-ld-soname): Likewise.
3631         (abi-n64_hard_2008-ld-soname): Likewise.
3632         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3633         Likewise.
3634         (abi-64-v2-ld-soname): Likewise.
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3636         ld.so entries.
3637         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3638         variable.
3639         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3640         entry.
3641         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3642         variable.
3643         (abi-64-ld-soname): Likewise.
3644         (abi-x32-ld-soname): Likewise.
3645         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3646         entry.
3647         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3648
3649 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3650
3651         [BZ #14138]
3652         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3653         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3654         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3655         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3656         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3657         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3658         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3659         syscall entry for GLIBC_2.2 symbol version.
3660         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3661         Likewise.
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3663         (setrlimit): Likewise.
3664         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3665         Likewise.
3666
3667 2014-09-23  Will Newton  <will.newton@linaro.org>
3668
3669         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3670         _LINUX_ARM_SYSDEP_H include guard too.
3671         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3672         define.
3673
3674 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3675
3676         * sysdeps/unix/sysv/linux/eventfd.c:
3677         Make first argument unsigned.
3678         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3679         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3680
3681 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3682
3683         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3684         * socket/sys/socket.h: Likewise
3685         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3686
3687 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3688
3689         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3690
3691 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3692
3693         * time/tst-ftime.c: New test.
3694         * time/Makefile (tests): Add tst-ftime.
3695
3696 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3697
3698         * soft-fp/extended.h: Fix comment formatting.
3699         * soft-fp/op-1.h: Likewise.
3700         * soft-fp/op-2.h: Likewise.
3701         * soft-fp/op-4.h: Likewise.
3702         * soft-fp/op-8.h: Likewise.
3703         * soft-fp/op-common.h: Likewise.
3704         * soft-fp/soft-fp.h: Likewise.
3705
3706         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3707
3708 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3709
3710         [BZ #6652]
3711         * Makeconfig (soversions-default-setname): Remove variable.
3712         ($(common-objpfx)soversions.i): Don't pass default_setname to
3713         soversions.awk.
3714         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3715         oldest_abi to abi-versions.awk.
3716         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3717         * config.make.in (oldest-abi): Remove variable.
3718         * configure.ac (--enable-oldest-abi): Remove configure option.
3719         * configure: Regenerated.
3720         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3721         text.
3722         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3723         * scripts/soversions.awk: Do not handle default_setname variable.
3724         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3725         variable.
3726         * sysdeps/mach/hurd/configure: Regenerated.
3727         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3728         variable.
3729         * sysdeps/unix/sysv/linux/configure: Regenerated.
3730
3731 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3732
3733         * elf/Makefile (CFLAGS-interp.c): Remove.
3734         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3735         path string.
3736         * elf/interp.c: Include generated runtime-linker.h
3737
3738         * Makerules (lib%.so): Don't include $(+interp) in
3739         prerequisites.
3740         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3741         * dlfcn/eval.c: Remove file.
3742
3743         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3744         macros.
3745
3746         [BZ #17266]
3747         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3748         4.2 and newer.
3749
3750         [BZ #17370]
3751         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3752
3753 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3754             Jakub Jelinek  <jakub@redhat.com>
3755
3756         [BZ #17266]
3757         * libio/stdio.h: Check definition of __fortify_function
3758         instead of __extern_always_inline to include bits/stdio2.h.
3759         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3760         check if __extern_always_inline is defined.
3761         [__USE_MISC || __USE_XOPEN]: Likewise.
3762         [__USE_ISOC99] Likewise.
3763         * misc/sys/cdefs.h (__fortify_function): Define only if
3764         __extern_always_inline is defined.
3765         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3766         __extern_always_inline and __extern_inline only for g++-4.3
3767         and newer or a compatible gcc.
3768
3769 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3770
3771         [BZ #17371]
3772         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3773         last change to handle zero prefix length.
3774
3775 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3776
3777         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3778         _SC_REGEX_VERSION.
3779
3780         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3781         _POSIX_RAW_SOCKETS.
3782
3783 2014-09-13  Allan McRae  <allan@archlinux.org>
3784
3785         * po/ru.po: Update Russian translation from translation project.
3786
3787 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3788
3789         * locale/programs/locale.c (show_locale_vars): Inline local function
3790         into its sole call site.  Clean up some style nits.
3791         (print_item): New function, broken out of ...
3792         (show_info): ... local function here.  Clean up style nits.
3793
3794         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3795         out of ...
3796         (set_class_defaults): ... local function set_default here.
3797         Define set_default as a macro locally to pass constant parameters.
3798         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3799         rather than a shared local.
3800
3801         * stdlib/rpmatch.c (try): New function, broken out of ...
3802         (rpmatch): ... local function here.  Also, prototypify definition.
3803
3804 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3805
3806         * scripts/soversions.awk: Do not handle configuration names.
3807         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3808         vendor and os variables to soversions.awk.
3809         * configure.ac: Do not modify gnu-* host_os.
3810         * configure: Regenerated
3811         * shlib-versions: Remove first column with configuration names.
3812         * nptl/shlib-versions: Likewise.
3813         * nptl_db/shlib-versions: Likewise.
3814         * sysdeps/hppa/shlib-versions: Likewise.
3815         * sysdeps/m68k/shlib-versions: Likewise.
3816         * sysdeps/mach/hurd/shlib-versions: Likewise.
3817         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3818         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3819         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3820         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3821         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3822         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3823         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3824         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3826         Likewise.
3827         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3828         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3829         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3830         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3831         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3832         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3833         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3834         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3835
3836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3837         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3839         Regenerated.
3840         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3842         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3843
3844         * shlib-versions: Remove OS-specific entries.  Moved to files in
3845         sysdeps.
3846         * sysdeps/mach/hurd/shlib-versions: New file.
3847         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3848
3849         * nptl/shlib-versions: Remove architecture-specific entries.
3850         Moved to files in sysdeps.
3851         * shlib-versions: Likewise.
3852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3853         file.
3854         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3855         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3856         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3857         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3858
3859         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3860         (UDP_NO_CHECK6_RX): Likewise.
3861
3862 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3863
3864         * sysdeps/posix/sysconf.c (__sysconf): Spell
3865         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3866
3867 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3868
3869         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3870         loading.
3871         * iconv/Versions (__gconv_transliterate): Export for use from
3872         gconv modules.
3873         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3874         (struct __gconv_trans_data, __gconv_trans_fct,
3875         __gconv_trans_context_fct, __gconv_trans_query_fct,
3876         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3877         definitions.
3878         (struct __gconv_step_data): Remove __trans member.
3879         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3880         longer hidden.  Remove unused trans_data argument.
3881         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3882         (__gconv_translit_find): Remove declaration.
3883         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3884         prototype.
3885         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3886         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3887         trans_data argument.  Add hidden definition.
3888         (__gconv_translit_find): Remove.
3889         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3890         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3891         * iconv/skeleton.c: Remove transliteration initialization.
3892         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3893         __gconv_step_data initialization.
3894         * libio/iofwide.c (__libio_translit_): Remove.
3895         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3896         * wcsmbs/btowc.c (__btowc): Likewise.
3897         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3898         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3899         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3900         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3901         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3902         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3903         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3904         * wcsmbs/wctob.c (wctob): Likewise.
3905
3906 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3907
3908         [BZ #16194]
3909         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3910         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3911         register usage.
3912         * sysdeps/x86/Makefile: Adjust.
3913
3914 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3915             Roland McGrath  <roland@hack.frob.com>
3916
3917         * locale/weight.h: Add include guard.
3918         (findidx): Make static rather than auto; take new parameters
3919         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3920         * locale/weightwc.h: Likewise.
3921         * posix/fnmatch_loop.c
3922         (FCT): Change type of EXTRA from int32_t to wint_t.
3923         Don't include either header inside the function.
3924         Call FINDIDX rather than findidx, and pass new arguments.
3925         #undef FINDIDX at the end of the file.
3926         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3927         FINDIDX before including fnmatch_loop.c for the non-wide version.
3928         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3929         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3930         for the wide version.
3931         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3932         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3933         Pass new arguments to findidx.
3934         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3935         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3936         Don't #include it inside the function.  Pass new arguments to findidx.
3937         * posix/regex_internal.h
3938         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3939         (re_string_elem_size_at): Don't #include it inside the function.
3940         Pass new arguments to findidx.
3941         * string/strcoll_l.c: #include WEIGHT_H at top level.
3942         (get_next_seq): Don't #include it inside the function.
3943         Pass new arguments to findidx.
3944         (get_next_seq_nocache): Likewise.
3945         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3946         (STRXFRM): Don't #include it inside the function.
3947         Pass new arguments to findidx.
3948
3949 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3950
3951         [BZ #17344]
3952         * malloc/malloc.c (unlink): Turn asserts into a call to
3953         malloc_printerr.
3954
3955 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3956
3957         [BZ #17370]
3958         * libio/wfileops (do_ftell_wide): Free OUT.
3959
3960 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3961
3962         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3963
3964 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3965
3966         [BZ #17363]
3967         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3968         group if the current group is empty.
3969
3970 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3971
3972         * benchtests/bench-memset.c (test_main): Add more test from size
3973         from 32 to 512 bytes.
3974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3975         Add POWER8 memset object.
3976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3977         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3978         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3979         implementation.
3980         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3981         Likewise.
3982         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3983         multiarch POWER8 memset optimization.
3984         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3985         POWER8 memset optimization.
3986
3987         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3988         Remove bzero multiarch objects.
3989         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3990         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3991         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3992         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3993         Remove define.
3994         [__bzero]: Redefine to specific name.
3995         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3996         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3997         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3998         define.
3999         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4000         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4001
4002 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4003
4004         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4005         warnings into errors.
4006
4007         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4008         __cxa_thread_atexit_impl prototype.
4009
4010 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4011
4012         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4013         Fix capitalization of error message.
4014
4015 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4016
4017         * sysdeps/mips/preconfigure: Modify ABI tests.
4018
4019 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4020
4021         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4022
4023 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4024             Carlos O'Donell  <carlos@systemhalted.org>
4025
4026         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4027         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4028         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4029         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4030         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4031         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4032         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4033         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4034         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4035         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4036         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4037         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4038         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4039         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4040         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4041         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4042         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4043         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4044         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4045         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4046         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4047         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4048         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4049         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4050         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4051         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4052         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4053         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4054         Deconditionalize the code that was previously under [RESET_PID].
4055         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4056         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4057         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4058         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4059         include sysdep.h.
4060
4061 2014-09-08  Allan McRae  <allan@archlinux.org>
4062
4063         * version.h (RELEASE): Set to "development".
4064         (VERSION): Set to "2.20.90"
4065
4066 2014-09-07  Allan McRae  <allan@archlinux.org
4067
4068         * version.h (RELEASE): Set to "stable".
4069         (VERSION): Set to "2.20"
4070         * include/features.h (__GLIBC_MINOR__): Set to 20.
4071
4072         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4073         Liebler.
4074
4075         * po/ko.po: Update Korean translation from translation project.
4076
4077 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4078
4079         [BZ #17354]
4080         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4081         macro for handling signed relocations.
4082
4083 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4084
4085         [BZ #17325]
4086         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4087         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4088         assert.
4089         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4090         * iconvdata/ibm935.c (BODY): Likewise.
4091         * iconvdata/ibm937.c (BODY): Likewise.
4092         * iconvdata/ibm939.c (BODY): Likewise.
4093         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4094         assert.
4095         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4096         script.
4097         * iconvdata/run-iconv-test.sh: New test loop for checking for
4098         decoder crashers.
4099
4100 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4101
4102         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4103         libm_hidden_ver.
4104
4105 2014-09-01  Allan McRae  <allan@archlinux.org>
4106
4107         * po/eo.po: Update Esperanto translation from translation project.
4108
4109         * po/ca.po: Update Catalan translation from translation project.
4110
4111 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4112
4113         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4114         __proc_dostop call.
4115
4116 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4117
4118         [BZ #17319]
4119         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4120         to call set_thread_area instead of hand written asm.
4121         (__NR_set_thread_area): Removed define.
4122         (TLS_FLAG_WRITABLE): Likewise.
4123         (__ASSUME_SET_THREAD_AREA): Remove check.
4124         (TLS_EBX_ARG): Remove define.
4125         (TLS_LOAD_EBX): Likewise.
4126
4127 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4128
4129         Simplify atomicity of socket creation in bind.
4130
4131         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4132         looking up the name after linking the file.
4133
4134 2014-08-27  Allan McRae  <allan@archlinux.org>
4135
4136         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4137
4138 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4139
4140         [BZ #17187]
4141         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4142         trans_compare, open_translit, __gconv_translit_find):
4143         Remove module loading code.
4144
4145 2014-08-26  Allan McRae  <allan@archlinux.org>
4146
4147         * po/vi.po: Update Vietnamese translation from translation project.
4148
4149         * po/uk.po: Update Ukrainian translation from translation project.
4150
4151         * po/fr.po: Update French translation from translation project.
4152
4153         * po/ru.po: Update Russian translation from translation project.
4154
4155         * po/pl.po: Update Polish translation from translation project.
4156
4157         * po/cs.po: Update Czech translation from translation project.
4158
4159         * po/de.po: Update German translation from translation project.
4160
4161         * po/bg.po: Update Bulgarian translation from translation project.
4162
4163         * po/sv.po: Update Sweedish translation from translation project.
4164
4165         * po/nl.po: Update Dutch translation from translation project.
4166
4167         * po/es.po: Update Spanish translation from translation project.
4168
4169 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4170
4171         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4172
4173         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4174         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4175         (CPPFLAGS-iconvconfig): Likewise.
4176         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4177
4178         * include/libc-symbols.h: Remove unnecessary check for
4179         NOT_IN_libc.
4180         * nptl/pthreadP.h: Likewise.
4181         * sysdeps/aarch64/setjmp.S: Likewise.
4182         * sysdeps/alpha/setjmp.S: Likewise.
4183         * sysdeps/arm/sysdep.h: Likewise.
4184         * sysdeps/i386/setjmp.S: Likewise.
4185         * sysdeps/m68k/setjmp.c: Likewise.
4186         * sysdeps/posix/getcwd.c: Likewise.
4187         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4188         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4189         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4190         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4191         * sysdeps/sh/sh3/setjmp.S: Likewise.
4192         * sysdeps/sh/sh4/setjmp.S: Likewise.
4193         * sysdeps/unix/alpha/sysdep.h: Likewise.
4194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4195         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4196         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4197         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4201         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4202         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4205         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4207         * sysdeps/x86_64/setjmp.S: Likewise.
4208
4209 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4210
4211         [BZ #17263]
4212         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4213         <stdint.h>.
4214         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4215         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4216
4217 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4218
4219         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4220
4221         [BZ #17262]
4222         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4223         and __x86_64__ when disabling x87 inline functions.
4224
4225 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4226
4227         [BZ #17259]
4228         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4229         asm statement with __cpuid_count.
4230
4231 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4232
4233         * configure.ac: Change __ehdr_start code to dereference the struct.
4234         Run readelf on the output to look for relocations.
4235         * configure: Regenerated.
4236
4237 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4238
4239         [BZ #17261]
4240         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4241         value to 0.
4242         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4243
4244 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4245
4246         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4247
4248 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4249
4250         [BZ #16892]
4251         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4252         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4253
4254 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4255
4256         * malloc/malloc.c: Fix typo in comment.
4257
4258 2014-08-09  Allan McRae  <allan@archlinux.org>
4259
4260         * Regenerate libc.po.
4261
4262 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4263
4264         * intl/tst-gettext2.sh: Check every lang file for creation.
4265
4266 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4267
4268         * sysdeps/aarch64/fpu/math_private.h
4269         (libc_feholdsetround_noex_aarch64_ctx): New function.
4270
4271 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4272
4273         * sysdeps/arm/armv6/strcpy.S (strcpy):
4274         Fix performance issue in misaligned cases.
4275
4276 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4277
4278         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4279         Move definition from termios.h.
4280         (struct termio): Likewise.
4281         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4282         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4283         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4284         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4285         Likewise.
4286         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4287         Move definition to ioctl-types.h
4288         (struct termio): Likewise.
4289         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4290         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4291         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4292         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4293         Likewise.
4294
4295 2014-08-05  Richard Henderson  <rth@redhat.com>
4296
4297         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4298         exceptions.
4299         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4300         Add fraiseexcpt.
4301         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4302         Use __feraiseexcept.
4303         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4304         Protect libm symbols with IS_IN_libm.
4305
4306         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4307
4308 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4309
4310         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4311
4312 2014-08-04  Will Newton  <will.newton@linaro.org>
4313
4314         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4315         file.
4316
4317 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4318
4319         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4320         variants for each function.
4321
4322 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4323
4324         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4325         appended ...
4326         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4327         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4328         appended ...
4329         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4330         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4331         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4332         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4333         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4334         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4335         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4336         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4337         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4338         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4339         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4340         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4341         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4342         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4343         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4344         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4345         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4346         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4347         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4348         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4349         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4350         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4351         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4352         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4353         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4354         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4355         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4356         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4357         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4358         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4359         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4360         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4361         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4362         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4363         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4364         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4365         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4366         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4367         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4368         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4369         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4370         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4371         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4372         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4373         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4375         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4376         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4377         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4378         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4379         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4380         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4381         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4382         Update #include.
4383         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4384         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4385
4386 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4387
4388         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4389         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4390         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4391         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4392         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4393         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4394
4395 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4396
4397         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4398         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4399         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4400         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4401
4402 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4403
4404         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4405         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4406         (__libc_vfork): Define function under this name.
4407         (__vfork): Define as an alias.
4408         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4409         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4410
4411 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4412
4413         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4414         that was previously under [RESET_PID].
4415         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4416
4417 2014-08-04  Andreas Schwab  <schwab@suse.de>
4418
4419         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4420
4421 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4422
4423         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4424         (main): Likewise.
4425
4426 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4427
4428         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4429
4430 2014-08-01  Richard Henderon  <rth@redhat.com>
4431
4432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4433         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4434         typo in exact zero test.
4435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4438
4439 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4440
4441         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4442         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4443         * sysdeps/arm/sysdep.h: ... here.
4444         [!__ASSEMBLER__]: Include <stdint.h>.
4445
4446 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4447
4448         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4449         (HAVE_WCTYPE_H): Likewise.
4450         (HAVE_ISWCTYPE): Likewise.
4451         (ENABLE_NLS): Likewise.
4452         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4453         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4454
4455         * posix/regex_internal.c: Check if DEBUG is defined and is
4456         set.
4457
4458         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4459         (HAVE_MBSRTOWCS): Likewise.
4460         * posix/fnmatch.c: Include string.h unconditionally.
4461
4462 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4463
4464         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4465         reversal.
4466
4467 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4468
4469         * sysdeps/generic/safe-fatal.h: New file.
4470         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4471         * nptl/forward.c: Include it.
4472         (__pthread_unwind): Use __safe_fatal as default action, rather
4473         than a bogus use of INTERNAL_SYSCALL that could never work.
4474
4475         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4476         * configure.ac (libc_cv_builtin_trap): New test.
4477         * configure: Regenerated.
4478         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4479         (ABORT_INSTRUCTION): Define using __builtin_trap.
4480
4481         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4482         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4483         * sysdeps/nptl/nptl-signals.h: New file.
4484         * nptl/pthreadP.h: Include <nptl-signals.h>.
4485
4486 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4487
4488         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4489         (ONE_DIRECTION): Define.
4490         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4491         (ONE_DIRECTION): Define.
4492         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4493         (ONE_DIRECTION): Define.
4494
4495 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4496
4497         * sysdeps/s390/Makefile: Delete file.
4498         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4499         * sysdeps/s390/__longjmp.c: Delete file.
4500         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4501         Remove fields __flags and __reserved.
4502         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4503         and add versioning.
4504         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4505         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4506         * sysdeps/s390/rtld-setjmp.S: Likewise.
4507         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4508         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4509         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4510         * sysdeps/s390/s390-32/setjmp.S: ... here.
4511         Add versioning.
4512         (__sigsetjmp): Remove setting __flags field.
4513         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4514         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4515         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4516         * sysdeps/s390/s390-64/setjmp.S: ... here.
4517         Add versioning.
4518         (__sigsetjmp): Remove setting __flags field.
4519         * sysdeps/s390/setjmp.S: Delete file.
4520         * sysdeps/s390/sigjmp.c: Likewise.
4521         * sysdeps/s390/v1-longjmp.c: Likewise.
4522         * sysdeps/s390/v1-setjmp.h: Likewise.
4523         * sysdeps/s390/v1-sigjmp.c: Likewise.
4524         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4525         Remove v1-longjmp_chk.
4526         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4527         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4528         Include debug/longjmp_chk.c and add versioning.
4529         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4530         Include nptl/pt-longjmp.c and add versioning.
4531         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4532         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4533         Include __longjmp.c.
4534         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4535         Move to ...
4536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4537         (__getcontext): Remove setting __flags field.
4538         Add versioning.
4539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4540         Don't restore upper high grps.
4541         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4542         Likewise.
4543         (__swapcontext): Remove setting uc_flags field.
4544         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4545         Delete file.
4546         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4547         Include __longjmp.c.
4548         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4549         Move to ...
4550         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4551         (__getcontext): Remove setting __flags field.
4552         Add versioning.
4553         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4554         (__swapcontext): Remove setting uc_flags field.
4555         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4556         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4557         Remove fields uc_high_gprs and __reserved.
4558         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4559         New file with reverted content.
4560         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4561         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4562         Regenerated.
4563         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4564         Regenerated.
4565
4566 2014-07-31  Andreas Schwab  <schwab@suse.de>
4567
4568         * config.h.in (HAVE_IFUNC): Define to 0.
4569         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4570         definedness.
4571
4572 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4573
4574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4575         memmove-avx-unaligned, memcpy-avx-unaligned and
4576         mempcpy-avx-unaligned.
4577         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4578         Add tests for AVX memcpy functions.
4579         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4580         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4581         memcpy_chk.
4582         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4583         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4584         memmove_chk.
4585         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4586         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4587         mempcpy_chk.
4588         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4589         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4590         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4591
4592 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4593
4594         [BZ #17213]
4595         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4596         powerpc64le.
4597
4598 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4599
4600         [BZ #16839]
4601         * manual/llio.texi: Add section about open file description locks.
4602         * manual/examples/ofdlocks.c: Example of open file description
4603         lock usage.
4604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4605         F_OFD_SETLK, and F_OFD_SETLKW.
4606
4607 2014-07-23  Allan McRae  <allan@archlinux.org>
4608
4609         * po/es.po: Update Spanish translation from translation project.
4610
4611 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
4612
4613         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4614
4615 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
4616
4617         [BZ #17078]
4618         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4619         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4620         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4621
4622 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4623
4624         [BZ #17088]
4625         * math/fesetenv.c (__fesetenv)
4626         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4627         * math/feupdateenv.c (__feupdateenv)
4628         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4629
4630         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4631         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4632         (__ASSUME_SOCKETCALL): Do not define.
4633
4634         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4635         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4636         (__ASSUME_SOCKETCALL): Do not define.
4637         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4638         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4639         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4640         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4641         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4642         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4644         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4645
4646         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4647         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4648         (__ASSUME_SOCKETCALL): Do not define.
4649         (__ASSUME_IPC64): Define unconditionally.
4650         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4651         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4652         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4654         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4656         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4657         Likewise.
4658
4659         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4660         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4661         (__ASSUME_SOCKETCALL): Do not define.
4662         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4663         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4664         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4665         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4666         (__ASSUME_REQUEUE_PI): Define unconditionally.
4667         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4668         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4669         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4670         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4671         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4672         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4673
4674         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4675         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4676         (__ASSUME_SOCKETCALL): Do not define.
4677         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4678         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4679         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4680         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4682         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4683
4684         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4685         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4686         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4687         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4688         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4689         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4691         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4692         (__ASSUME_GETCPU_SYSCALL): Likewise.
4693
4694         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4695         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4696         cases for individual architectures.
4697         * sysdeps/gnu/configure: Regenerated.
4698         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4699         LIBC_SLIBDIR_RTLDDIR.
4700         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4701         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4702         LIBC_SLIBDIR_RTLDDIR.
4703         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4705         LIBC_SLIBDIR_RTLDDIR.
4706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4707         Regenerated.
4708         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4709         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4710         file.
4711         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4712         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4713         file.
4714         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4715         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4716         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4717         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4718
4719         * sysdeps/aarch64/shlib-versions: Move to ...
4720         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4721         * sysdeps/alpha/shlib-versions: Move to ...
4722         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4723         * sysdeps/arm/shlib-versions: Move to ...
4724         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4725         * sysdeps/hppa/shlib-versions: Move all contents except for
4726         libgcc_s entry to ...
4727         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4728         entry from ...
4729         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4730         * sysdeps/ia64/shlib-versions: Move to ...
4731         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4732         entry from ...
4733         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4734         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4735         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4736         * sysdeps/microblaze/shlib-versions: Move to ...
4737         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4738         * sysdeps/mips/shlib-versions: Move to ...
4739         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4740         entry from ...
4741         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4742         * sysdeps/tile/shlib-versions: Move to ...
4743         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4744         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4745         from ...
4746         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4747         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4748         entry from ...
4749         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4750
4751 2014-07-17  Will Newton  <will.newton@linaro.org>
4752
4753         * sysdeps/arm/bits/atomic.h
4754         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4755         (__arch_compare_and_exchange_bool_16_int): Likewise.
4756         (__arch_compare_and_exchange_bool_64_int): Likewise.
4757
4758         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4759         into an #else block.
4760
4761 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4762
4763         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4764         just Linux configurations.  Test empirically that the compiler sets
4765         __ARM_EABI__, rather than using the tuple to decide.
4766         * sysdeps/arm/preconfigure: Regenerated.
4767         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4768         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4769         contents appended ...
4770         * sysdeps/arm/configure.ac: ... here.
4771         * sysdeps/arm/configure: Regenerated.
4772
4773 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4774
4775         * nptl/pthread_kill.c: New file.
4776         * nptl/pthread_sigmask.c: New file.
4777         * nptl/pthread_sigqueue.c: New file.
4778
4779         * sysdeps/nptl/lowlevellock.h: New file.
4780         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4781         * sysdeps/nptl/lowlevellock-futex.h: New file.
4782
4783         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4784         Remove dead declarations.
4785
4786 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4787
4788         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4789         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4790         config-cflags-avx2.
4791         * sysdeps/x86_64/configure.ac: Likewise.
4792         * sysdeps/i386/configure: Regenerated.
4793         * sysdeps/x86_64/configure: Likewise.
4794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4795         memset-avx2 only if config-cflags-avx2 is yes.
4796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4797         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4798         defined.
4799         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4800         only if HAVE_AVX2_SUPPORT is defined.
4801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4802
4803 2014-07-14  Alan Modra  <amodra@gmail.com>
4804
4805         [BZ #17153]
4806         * elf/elf.h (DT_PPC64_NUM): Correct value.
4807         * NEWS: Add to fixed bug list.
4808
4809 2014-07-13  Jim Meyering  <meyering@fb.com>
4810
4811         [BZ 17150]
4812         regex: don't deref NULL upon heap allocation failure
4813         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4814         failure in one more place.
4815         To trigger the segfault, configure grep -with-included-regex,
4816         build it, and run these commands:
4817         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4818
4819 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4820
4821         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4822
4823 2014-07-11  Richard Henderson  <rth@redhat.com>
4824
4825         * sysdeps/aarch64/libm-test-ulps: Update.
4826
4827 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4828
4829         [BZ #17135]
4830         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4831         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4832         (__nptl_setxid): Initialize error member.  Call
4833         __nptl_setxid_error.
4834         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4835         * nptl/descr.h (struct xid_command): Add error member.
4836         * nptl/tst-setuid3.c: New file.
4837         * nptl/Makefile (tests): Add it.
4838
4839 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4840
4841         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4842         New define.
4843         (__lll_trylock): Use __lll_base_trylock.
4844         (__lll_cond_trylock): Likewise.
4845
4846 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4847
4848         * nptl/pthread_create.c (start_thread): Use atomic_or and
4849         lll_futex_wake directly rather than lll_robust_dead.
4850         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4851         (lll_robust_dead): Macro removed.
4852         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4853         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4854         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4855         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4856         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4857         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4858         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4859         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4860         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4861         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4862         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4863         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4864         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4865         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4867
4868         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4869         Use atomic_compare_and_exchange_val_acq directly rather than
4870         lll_robust_trylock.
4871         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4872         (__lll_robust_trylock, lll_robust_trylock): Removed.
4873         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4874         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4875         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4876         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4877         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4878         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4879         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4880         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4882         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4883         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4884         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4885         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4886         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4887
4888 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4889
4890         * manual/locale.texi (Locale Names): New section documenting
4891         locale name syntax.  Adjust menu and node chaining accordingly.
4892         (Choosing Locale): Reference Locale Names, Locale Categories.
4893         Mention setting LC_ALL=C.  Reflect that name syntax is now
4894         documented.
4895         (Locale Categories): New section title.  Reference Locale Names.
4896         LC_ALL is an environment variable, but not a category.
4897         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4898         description, now in Locale Name.  Reference that section.  Locale
4899         name syntax is now documented.
4900
4901 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4902
4903         [BZ #17137]
4904         * locale/findlocale.c (name_present, valid_locale_name): New
4905         functions.
4906         (_nl_find_locale): Use the loc_name variable to store name
4907         candidates.  Call name_present and valid_locale_name to check and
4908         validate locale names.  Return an error if the locale is invalid.
4909
4910 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4911
4912         * locale/setlocale.c (setlocale): Use strdup for allocating
4913         composite name copy.
4914
4915 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4916
4917         Sync up with gnulib.
4918         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4919         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4920         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4921         and _GL_ARG_NONNULL.
4922         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4923         [!_LIBC]: Include code for Windows and Cygwin.
4924         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4925         Include prototype for int strerror_r.
4926         [!_LIBC] (is_open): New function.
4927         (flush_stdout): New function.
4928         (print_errno_message): Use it.
4929         (error): Likewise.
4930         (error_at_line): Likewise.
4931         (error_tail) Add function attribute macros.  Use
4932         __builtin_expect.
4933
4934         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4935
4936         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4937
4938         * io/ftw.c: Include sys/param.h unconditionally.
4939
4940         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4941
4942         [BZ #17125]
4943         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4944         libc_freeres_ptr.
4945         (freecache): New function to free CACHE on exit.
4946
4947         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4948         initialization.
4949
4950 2014-07-09  David S. Miller  <davem@davemloft.net>
4951
4952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4953
4954         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4955         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4956         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4957         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4958         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4959         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4960         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4961         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4962         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4963         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4964         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4965         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4966         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4967
4968 2014-07-09  Andreas Schwab  <schwab@suse.de>
4969
4970         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4971         output.
4972         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4973         (do_test): Likewise.
4974
4975         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4976
4977 2014-07-09  Will Newton  <will.newton@linaro.org>
4978
4979         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4980         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4981         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4982         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4983         * sysdeps/hppa/start.S (_start): Likewise.
4984
4985 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4986
4987         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4988
4989         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4990         defined.
4991
4992 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4993
4994         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4995         after checking that it is non-NULL.
4996
4997         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4998
4999 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5000
5001         * sysdeps/powerpc/memmove.c: Remove file.
5002         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5003         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5004         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5005         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5006         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5007         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5008         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5009         string memmove instead of removed powerpc one.
5010
5011         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5012         [weak_alias]: Fix compiler warning due trailing data.
5013         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5014         [weak_alias]: Likewise.
5015         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5016         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5017
5018         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5019         (__libc_ifunc_impl_list): Add memmove functions.
5020
5021 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5022
5023         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5024         Remove code.
5025         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5026         Likewise
5027         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5028         Likewise
5029         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5030         Likewise
5031         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5032         Likewise
5033         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5034         Likewise
5035         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5036         Likewise
5037         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5038         Likewise
5039         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5040         Likewise
5041         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5042         Likewise
5043         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5044         Likewise
5045         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5046         Likewise
5047         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5048         Likewise
5049         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5050         Likewise
5051         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5052         Likewise
5053         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5054         Likewise
5055         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5056         Likewise
5057
5058 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5059
5060         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5061         to avoid alignment traps in non-cacheable memory.
5062         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5063
5064         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5065         multiarch objects.
5066         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5067         file: multiarch power7 memmove.
5068         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5069         multiarch default memmove.
5070         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5071         multiarch memove for powerpc32/power4.
5072
5073         * string/bcopy.c: Use full path to include memmove.c.
5074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5075         multiarch objects.
5076         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5077         bcopy for powerpc64.
5078         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5079         bcopy for powerpc64.
5080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5081         and memmove implementations.
5082         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5083         optimized multiarch memmove for POWER7/powerpc64.
5084         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5085         default multiarch memmove for powerpc64.
5086         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5087         multiarch for powerpc64.
5088         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5089         for POWER7/powerpc64.
5090         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5091         memmove for POWER7/powerpc64.
5092
5093         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5094         glibc default one.
5095
5096         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5097         __ELF_NATIVE_CLASS equal to 64.
5098
5099 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5100
5101         * sysdeps/nptl/lowlevellock.h: File removed.
5102
5103         * NEWS: NPTL is no longer an add-on!
5104         * nptl/internaltypes.h: Moved ...
5105         * sysdeps/nptl/internaltypes.h: ... here.
5106         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5107         * sysdeps/nptl/fork.c: Likewise.
5108         * sysdeps/nptl/gai_misc.h: Likewise.
5109         * sysdeps/nptl/librt-cancellation.c: Likewise.
5110         * sysdeps/nptl/jmp-unwind.c: Likewise.
5111         * sysdeps/nptl/setxid.h: Likewise.
5112         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5113         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5114         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5115         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5116         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5117         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5118         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5119         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5120         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5121         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5122         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5123         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5124         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5125         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5126         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5127         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5128         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5129         * nptl/Makeconfig: Moved ...
5130         * sysdeps/nptl/Makeconfig: ... here.
5131         * nptl/configure: File removed.
5132         * nptl/ANNOUNCE: File removed.
5133         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5134         * sysdeps/unix/sysv/linux/configure: Regenerated.
5135
5136         * nptl/Makefile (routines): Add libc_pthread_init,
5137         libc_multiple_threads, register-atfork and unregister-atfork.
5138         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5139         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5140         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5141         pthread-pi-defines.sym, structsem.sym.
5142         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5143         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5144         [$(subdir) = nptl] (tests): Add tst-setgetname.
5145         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5146         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5147         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5148         [!LIBC_SIGACTION]: Remove aliases.
5149         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5150         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5151         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5152         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5153         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5154         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5155         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5156         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5157         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5158         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5159         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5160         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5161         __libc_allocate_rtsig_private.
5162         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5163         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5164         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5165         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5166         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5167         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5168         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5169         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5170         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5171         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5172         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5173         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5174         * nptl/internaltypes.h: ... here.
5175         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5176         * sysdeps/nptl/jmp-unwind.c: ... here.
5177         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5178         * nptl/libc-lowlevellock.c: ... here.
5179         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5180         * nptl/libc_multiple_threads.c: ... here.
5181         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5182         * nptl/libc_pthread_init.c: ... here.
5183         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5184         * nptl/lowlevelbarrier.sym: ... here.
5185         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5186         * nptl/lowlevelcond.sym: ... here.
5187         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5188         * nptl/lowlevellock.c: ... here.
5189         * nptl/lowlevellock.h: Moved ...
5190         * sysdeps/nptl/lowlevellock.h: ... here.
5191         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5192         * nptl/lowlevelrobustlock.c: ... here.
5193         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5194         * nptl/lowlevelrobustlock.sym: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5196         * nptl/lowlevelrwlock.sym: ... here.
5197         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5198         * nptl/pt-fork.c: ... here.
5199         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5200         * nptl/pthread-pi-defines.sym: ... here.
5201         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5202         * nptl/pthread_attr_getaffinity.c: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5204         * nptl/pthread_attr_setaffinity.c: ... here.
5205         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5206         * nptl/pthread_mutex_cond_lock.c: ... here.
5207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5208         Update #include.
5209         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5210         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5211         * nptl/pthread_once.c: ... here, replacing old file.
5212         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5213         * nptl/pthread_yield.c: ... here.
5214         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5215         * nptl/register-atfork.c: ... here.
5216         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5217         * nptl/sem_post.c: ... here.
5218         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5219         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5220         * nptl/sem_timedwait.c: ... here.
5221         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5222         * nptl/sem_trywait.c: ... here.
5223         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5224         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5225         * nptl/sem_wait.c: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5227         * nptl/structsem.sym: ... here.
5228         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5229         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5230         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5231         * nptl/unregister-atfork.c: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5233         * nptl/unwindbuf.sym: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5235         * sysdeps/nptl/fork.c: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5237         * sysdeps/nptl/fork.h: ... here.
5238         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5239         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5240         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5241         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5242         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5243         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5244         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5245         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5246         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5247         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5248         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5249         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5250         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5251         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5252         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5253         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5254         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5255         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5256         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5257         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5258         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5259         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5260         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5261         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5262         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5263         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5264         * sysdeps/unix/sysv/linux/raise.c: ... here.
5265         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5266         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5267         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5268         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5269         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5270         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5271         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5272         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5273         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5274         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5275         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5276         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5277         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5278         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5279         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5280
5281 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5282
5283         * sysdeps/generic/memcopy.h: Add comment for
5284         MEMCPY_OK_FOR_FWD_MEMMOVE.
5285
5286 2014-07-04  Will Newton  <will.newton@linaro.org>
5287
5288         * string/memchr.c: Merge from gnulib.
5289         [_LIBC]: Remove conditionals.
5290         (__ptr_t): Remove define.
5291         (LONG_MAX_32_BITS): Likewise.
5292         (LONG_MAX): Likewise.
5293         (MEMCHR): Use ANSI prototype and optimize algorithm.
5294
5295         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5296
5297 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5298
5299         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5300         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5301
5302         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5303         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5304         in a bare environment with no <stdlib.h> installed.
5305         * sysdeps/nptl/configure: Regenerated.
5306
5307         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5308
5309         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5310         AC_EGREP_CPP for kernel header checks, so they only succeed if
5311         including <linux/version.h> actually works right.
5312         * sysdeps/unix/sysv/linux/configure: Regenerated.
5313
5314         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5315         value so it's not diagnosed as unused.
5316
5317         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5318         thing) with "ifeq ($(subdir),rt)".
5319
5320 2014-07-03  Richard Henderson  <rth@redhat.com>
5321
5322         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5323         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5324         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5325
5326         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5327         (math_force_eval): New.
5328
5329         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5330         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5331
5332         * sysdeps/alpha/fpu/s_round.c: Remove file.
5333         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5334
5335         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5336         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5337         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5338         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5339         (_dl_start, print_statistics): Likewise.
5340         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5341         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5342
5343         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5344         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5345         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5346         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5347         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5348         (HP_SMALL_TIMING_AVAIL): Define.
5349         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5350         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5351         (HP_SMALL_TIMING_AVAIL): Define.
5352         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5353         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5354
5355         * sysdeps/aarch64/hp-timing.h: New file.
5356
5357         * sysdeps/generic/hp-timing.h: Remove dead comment.
5358         * sysdeps/generic/hp-timing-common.h: New file.
5359         * sysdeps/alpha/hp-timing.h: Include it.
5360         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5361         * sysdeps/i386/i686/hp-timing.h: Likewise.
5362         * sysdeps/ia64/hp-timing.h: Likewise.
5363         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5365         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5366         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5367         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5368         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5369         (hp_timing_t): New.
5370
5371         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5372         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5373         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5374         * elf/rtld.c (_dl_start_final): Likewise.
5375         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5376         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5377         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5378         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5379         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5381         (HP_TIMING_DIFF_INIT): Remove.
5382         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5383         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5384         (HP_TIMING_DIFF_INIT): Remove.
5385         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5386         * sysdeps/i386/i686/hp-timing.c: Remove file.
5387         * sysdeps/x86_64/hp-timing.c: Remove file.
5388         * sysdeps/ia64/hp-timing.c: Remove file.
5389         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5390         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5391         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5392         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5393
5394         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5395         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5396         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5397         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5398         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5399         (HP_TIMING_ACCUM): Remove.
5400         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5401         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5402         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5403
5404         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5405         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5406         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5407         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5408         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5409         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5410         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5411         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5412
5413         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5414
5415 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5416
5417         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5418
5419 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5420
5421         Sync up with gettext.
5422         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5423         [_MSC_VER]: Include malloc.h
5424         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5425         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5426         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5427         TEMP_FAILURE_RETRY.  Cast return of alloca.
5428         [!_LIBC] Call gl_rwlock_init.
5429         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5430
5431 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5432
5433         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5434         before checking its value.
5435
5436 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5437
5438         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5439
5440         * debug/memcpy_chk.c: Don't include pagecopy.h.
5441         * debug/mempcpy_chk.c: Likewise.
5442         * string/memcpy.c: Likewise.
5443         * string/memmove.c: Likewise.
5444         * sysdeps/powerpc/memmove.c: Likewise.
5445         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5446         definition of PAGE_COPY_FWD_MAYBE here...
5447         * sysdeps/generic/pagecopy.h: ... from here.
5448         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5449
5450 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5451             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5452
5453         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5455         optimizations.
5456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5457         (__libc_ifunc_impl_list): Likewise.
5458         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5459         multiarch strcat for PPC64.
5460         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5461         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5462
5463 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5464
5465         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5466
5467 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5468
5469         * intl/loadmsgcat.c: Remove declaration of
5470         get_sysdep_segment_value.
5471         (get_sysdep_segment_value): Use ISO C style.
5472         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5473         semicolon.  Fix typo and formatting in comment.
5474         (_nl_unload_domain): Use ISO C style.
5475
5476         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5477
5478 2014-07-02  Will Newton  <will.newton@linaro.org>
5479
5480         * malloc/obstack.c: Merge from gnulib master.
5481         [HAVE_CONFIG_H]: Remove conditional code.
5482         [!_LIBC]: Include config.h.
5483         [!ELIDE_CODE]: Don't include inttypes.h, include
5484         stdint.h unconditionally.
5485         (print_and_abort): Mark as _Noreturn.
5486         (_obstack_allocated_p): Mark as __attribute_pure__.
5487         (obstack_free): Rename to __obstack_free.
5488         [!__attribute__]: Remove conditional code.
5489         * malloc/obstack.h: Merge from gnulib master.
5490         [__cplusplus]: Move conditional down.
5491         [!__attribute_pure__]: Define __attribute_pure__ here
5492         if it is not already defined.
5493         (_obstack_memory_used): Mark as __attribute_pure__.
5494         [!__obstack_free]: Define as obstack_free.
5495         [__GNUC__]: Remove check for ancient NeXT gcc.
5496
5497 2014-07-02  Will Newton  <will.newton@linaro.org>
5498             Paul Eggert  <eggert@cs.ucla.edu>
5499
5500         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5501
5502 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5503
5504         * resolv/gethnamaddr.c: Add comment warning that the file is
5505         not maintained.
5506
5507 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5508
5509         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5510         entries.
5511
5512         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5513         entry for aio_cancel and aio_cancel64.
5514         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5515         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5516         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5517         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5518         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5519         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5520         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5521         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5522         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5523         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5524         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5525         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5526         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5527
5528 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5529
5530         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5531         * nptl/pthread_mutex_lock.c: Likewise.
5532         * nptl/pthread_mutex_timedlock.c: Likewise.
5533         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5534
5535 2014-07-01  Richard henderson  <rth@redhat.com>
5536
5537         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5538         (__isnan, __isnanl): Remove.
5539         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5540
5541         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5542
5543 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5544
5545         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5546
5547 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5548
5549         * resolv/nss_dns/dns-host.c (getanswer_r)
5550         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5551
5552 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5553
5554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5555         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5556         undefine.
5557         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5558         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5559
5560 2014-07-01  Roland McGrath <roland@hack.frob.com>
5561
5562         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5563         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5564
5565         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5566         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5567
5568         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5569         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5570         ... here.
5571         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5572         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5573
5574         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5575         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5576         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5577         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5578
5579         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5580         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5581         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5582         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5583         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5584         Moved ...
5585         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5586         ... here.
5587         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5588         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5589         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5590         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5591         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5592         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5593         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5594         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5595         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5596         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5597         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5598         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5599         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5600         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5601         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5602         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5603         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5604         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5605         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5606         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5607         ... here.
5608         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5609         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5610         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5611         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5612         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5613         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5614         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5615         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5616
5617 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5618
5619         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5620         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5621         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5622         Add sysdep.
5623
5624 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5625
5626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5627
5628 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5629
5630         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5631         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5632
5633         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5634
5635         * sysdeps/arm/libm-test-ulps: Regenerated.
5636
5637 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5638             Roland McGrath <roland@hack.frob.com>
5639
5640         * test-skeleton.c (signal_handler): Kill the whole process group
5641         before killing the child individually.
5642         (main): Report any failure on `setpgid'.
5643
5644 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5645
5646         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5647         from _TLS_H to _ARM_NPTL_TLS_H.
5648         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5649         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5650
5651 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5652
5653         [BZ #16539]
5654         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5655         (__expm1l): Return argument unchanged when small but not
5656         subnormal.
5657
5658         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5659         include macro name.
5660         (_FP_UNPACK_RAW_1_P): Likewise.
5661         (_FP_PACK_RAW_1): Likewise.
5662         (_FP_PACK_RAW_1_P): Likewise.
5663         (_FP_MUL_MEAT_1_wide): Likewise.
5664         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5665         (_FP_MUL_MEAT_1_hard): Likewise.
5666         (_FP_DIV_MEAT_1_imm): Likewise.
5667         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5668         (_FP_DIV_MEAT_1_udiv): Likewise.
5669         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5670         (_FP_UNPACK_RAW_2): Likewise.
5671         (_FP_UNPACK_RAW_2_P): Likewise.
5672         (_FP_PACK_RAW_2): Likewise.
5673         (_FP_PACK_RAW_2_P): Likewise.
5674         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5675         (_FP_MUL_MEAT_2_wide): Likewise.
5676         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5677         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5678         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5679         (_FP_MUL_MEAT_2_gmp): Likewise.
5680         (_FP_DIV_MEAT_2_udiv): Likewise.
5681         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5682         (_FP_FRAC_SRL_4): Likewise.
5683         (_FP_FRAC_SRST_4): Likewise.
5684         (_FP_FRAC_SRS_4): Likewise.
5685         (_FP_UNPACK_RAW_4): Likewise.
5686         (_FP_UNPACK_RAW_4_P): Likewise.
5687         (_FP_PACK_RAW_4): Likewise.
5688         (_FP_PACK_RAW_4_P): Likewise.
5689         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5690         (_FP_MUL_MEAT_4_wide): Likewise.
5691         (_FP_MUL_MEAT_4_gmp): Likewise.
5692         (umul_ppppmnnn): Likewise.
5693         (_FP_DIV_MEAT_4_udiv): Likewise.
5694         (__FP_FRAC_ADD_4): Likewise.
5695         (__FP_FRAC_SUB_3): Likewise.
5696         (__FP_FRAC_SUB_4): Likewise.
5697         (__FP_FRAC_DEC_3): Likewise.
5698         (__FP_FRAC_DEC_4): Likewise.
5699         (__FP_FRAC_ADDI_4): Likewise.
5700         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5701         (_FP_FRAC_SRL_8): Likewise.
5702         (_FP_FRAC_SRS_8): Likewise.
5703
5704         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5705         include macro name.
5706         (FP_UNPACK_RAW_EP): Likewise.
5707         (FP_PACK_RAW_E): Likewise.
5708         (FP_PACK_RAW_EP): Likewise.
5709         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5710         (_FP_ISSIGNAN): Likewise.
5711         (_FP_ADD_INTERNAL): Likewise.
5712         (_FP_FMA): Likewise.
5713         (_FP_CMP): Likewise.
5714         (_FP_SQRT): Likewise.
5715         (_FP_TO_INT): Likewise.
5716         (_FP_FROM_INT): Likewise.
5717         (FP_EXTEND): Likewise.
5718         (_FP_DIV_MEAT_N_loop): Likewise.
5719
5720 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5721
5722         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5723         throughout.
5724
5725 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5726
5727         [BZ #17097]
5728         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5729         result with correct sign in case of exponents that produce
5730         overflow except for X very close to 1.
5731
5732 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5733
5734         mktime: merge #if/#ifdef usage from glibc
5735         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5736         as that works with both Glibc's and Gnulib's style.
5737         See thread starting at Siddhesh Poyarekar's bug report at:
5738         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5739
5740 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5741
5742         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5743         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5744         * sysdeps/tile/tilegx/memmove.c: Remove file.
5745
5746 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5747
5748         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5749         abi-name definition.
5750         * scripts/soversions.awk: Do not handle or generate ABI lines.
5751         * shlib-versions: Remove ABI entries.
5752         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5753         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5754
5755 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5756
5757         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5758         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5759         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5762         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5763         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5764         Moved ...
5765         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5766         ... here.
5767         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5770         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5774         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5776         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5780         Moved ...
5781         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5785         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5786         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5787         Moved ...
5788         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5790         Moved ...
5791         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5795         Moved ...
5796         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5798         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5799         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5800         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5802         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5804         Moved ...
5805         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5807         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5808         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5809         Moved ...
5810         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5812         Moved ...
5813         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5814         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5815         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5816         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5817         Moved ...
5818         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5819         ... here.
5820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5821         Identical file removed.
5822         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5823         Moved ...
5824         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5826         Identical file removed.
5827         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5828         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5830         Moved ...
5831         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5833         Identical file removed.
5834         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5835         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5836         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5837         Identical file removed.
5838         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5839         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5840         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5841         Identical file removed.
5842         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5843         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5845         Identical file removed.
5846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5847         Moved ...
5848         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5849         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5850         Identical file removed.
5851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5852         Moved ...
5853         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5855         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5857         Identical file removed.
5858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5859         Moved ...
5860         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5861         ... here.
5862         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5863         Identical file removed.
5864         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5865         Moved ...
5866         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5868         Identical file removed.
5869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5870         Moved ...
5871         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5873         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5875         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5876         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5877         Moved ...
5878         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5879         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5880         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5881
5882         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5883         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5884         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5885         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5886         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5887
5888 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5889
5890         [BZ #17092]
5891         * nscd/nscd.c (monitor_child): Return exit status of child
5892         instead of return value from wait syscall.
5893
5894 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5895
5896         * configure.ac (libc_commonpagesize): Remove variable.
5897         (libc_relro_required): Likewise.
5898         (libc_cv_z_relro): Remove configure test.
5899         * configure: Regenerated.
5900         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5901         variable.
5902         (libc_relro_required): Likewise.
5903         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5904         (libc_relro_required): Likewise.
5905         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5906         (libc_relro_required): Likewise.
5907         * sysdeps/arm/preconfigure: Regenerated.
5908         * sysdeps/ia64/preconfigure: Remove file.
5909         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5910         variable.
5911         (libc_relro_required): Likewise.
5912
5913         [BZ #16561]
5914         [BZ #16562]
5915         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5916         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5917         recompute overflowing results in original rounding mode.
5918         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5919         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5920         recompute overflowing results in original rounding mode.
5921         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5922         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5923         recompute overflowing results in original rounding mode.
5924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5925         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5926         recompute overflowing results in original rounding mode.
5927         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5928         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5929         recompute overflowing results in original rounding mode.
5930         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5931         (libc_feholdsetround_ctx): New macro.
5932         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5933         * sysdeps/i386/fpu/libm-test-ulps: Update.
5934         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5935
5936 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5937
5938         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5939         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5940         corresponding .cpsetup call.
5941
5942 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5943
5944         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5945         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5946         * sysdeps/arm/Makefile [$(subdir) = csu]
5947         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5948         (static-only-routines): Add aeabi_read_tp here.
5949         (shared-only-routines): Add libc-aeabi_read_tp here.
5950         (CFLAGS-libc-start.c): Add -fexceptions here.
5951         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5952         (sysdep_routines, static-only-routines, shared-only-routines):
5953         Don't add to these here.
5954         (CFLAGS-libc-start.c): Likewise.
5955
5956         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5957         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5958         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5959         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5960         * sysdeps/arm/Makefile [$(subdir) = rt]
5961         (librt-sysdep_routines, librt-shared-only-routines):
5962         Append rt-aeabi_unwind_cpp_pr1 here.
5963         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5964         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5965         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5966         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5967         Append nptl-aeabi_unwind_cpp_pr1 here.
5968         (tests): Filter out tst-cleanupx4 here.
5969         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5970         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5971         Don't do those here.
5972
5973 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5974
5975         * scripts/list-sources.sh: Do not handle ports specially.
5976
5977 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5978
5979         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5980         * sysdeps/arm/feupdateenv.c: Likewise.
5981
5982         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5983
5984 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5985
5986         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5987         trailing whitespace removed.
5988         * scripts/config.guess: Update to version 2014-03-23.
5989         * scripts/config.sub: Update to version 2014-05-01
5990         * scripts/install-sh: Update to version 2013-12-25.23.
5991         * scripts/move-if-change: Update from gnulib.
5992
5993 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5994
5995         * debug/memmove_chk.c: Remove pagecopy.h include.
5996
5997 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5998
5999         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6000         identical to gnulib mktime.
6001
6002 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6003
6004         * configure.ac: Do not test for machine being rs6000.  Do not test
6005         for powerpc*-*soft.
6006         * configure: Regenerated.
6007
6008         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6009         test.
6010         * configure: Regenerated.
6011         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6012         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6013         Remove configure test.
6014         * sysdeps/arm/configure: Regenerated.
6015         * sysdeps/nptl/configure.ac: Do not check
6016         libc_cv_asm_cfi_directives.
6017         * sysdeps/nptl/configure: Regenerated.
6018         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6019         * sysdeps/x86_64/nptl/configure: Remove generated file.
6020         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6021         unconditional.
6022         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6023
6024 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6025
6026         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6027         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6028         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6029         it is defined.
6030
6031         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6032         instead of whether it is defined.
6033         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6034         * sysdeps/hppa/dl-machine.h: Likewise.
6035         * sysdeps/ia64/dl-machine.h: Likewise.
6036         * sysdeps/m68k/dl-machine.h: Likewise.
6037         * sysdeps/microblaze/dl-machine.h: Likewise.
6038         * sysdeps/mips/dl-machine.: Likewise.
6039         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6040         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6041         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6042         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6043         * sysdeps/sh/dl-machine.h: Likewise.
6044         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6045         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6046         * sysdeps/tile/dl-machine.h: Likewise.
6047         * sysdeps/x86_64/dl-machine.h: Likewise.
6048
6049         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6050         code.
6051         (verify_persistent_db): Likewise.
6052
6053 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6054
6055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6056         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6058         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6060         Moved ...
6061         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6062         ... here.
6063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6064         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6066         Identical file removed.
6067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6068         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6070         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6072         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6074         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6076         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6078         Moved ...
6079         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6081         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6083         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6085         Moved ...
6086         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6088         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6090         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6091         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6092         Identical file removed.
6093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6094         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6096         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6098         Moved ...
6099         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6100         ... here.
6101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6104         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6106         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6112         Moved ...
6113         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6115         Moved ...
6116         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6118         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6120         Moved ...
6121         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6123         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6124
6125         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6126         folded into ...
6127         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6128         * sysdeps/unix/sysv/linux/s390/Versions
6129         (libpthread: GLIBC_2.19): New version set.
6130         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6131         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6132         (librt: GLIBC_2.3.3): New version set.
6133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6134         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6135         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6136         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6137         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6138         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6139         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6141         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6142         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6143         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6144         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6145         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6146         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6147         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6148         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6149         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6150         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6152         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6153         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6154         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6155         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6156         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6157         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6158         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6159         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6160         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6161         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6163         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6164         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6168         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6169         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6170         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6171         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6173         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6175         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6177         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6178
6179         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6180         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6181         (__libc_vfork): Define the function under this name.
6182         [!NOT_IN_libc] (__vfork): Make this an alias.
6183         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6185         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6186         (__libc_vfork): Define the function under this name.
6187         [!NOT_IN_libc] (__vfork): Make this an alias.
6188         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6189         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6190         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6192         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6193         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6194
6195         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6196         code that was previously under [RESET_PID].
6197         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6198         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6200
6201         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6202         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6203         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6204         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6205         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6206         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6207         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6208         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6209         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6210         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6211         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6212         Moved ...
6213         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6214         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6215         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6216         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6217         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6218         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6219         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6220         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6221         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6222         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6223         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6224         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6225         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6226         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6227         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6228         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6229         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6231         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6232         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6233         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6234         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6235         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6237         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6238         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6239         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6240         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6241         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6242
6243 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6244
6245         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6246         that was previously under [RESET_PID].
6247         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6248
6249 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6250
6251         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6252         not undefine and redefine.
6253         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6254         [O_CLOEXEC]: Make code unconditional.
6255         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6256         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6257         <kernel-features.h>.
6258         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6259         conditional variable definition.
6260         (shm_open) [O_CLOEXEC]: Make code unconditional.
6261         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6262         code.
6263
6264         * configure.ac (USE_REGPARMS): Don't define here.
6265         * configure: Regenerated.
6266         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6267         * sysdeps/i386/configure: Regenerated.
6268
6269         * nptl/createthread.c: Don't include kernel-features.h.
6270         * nptl/pthread_cancel.c: Likewise.
6271         * nptl/pthread_condattr_setclock.c: Likewise.
6272         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6273         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6274         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6275         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6276         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6278         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6281         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6282         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6283         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6284         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6285         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6286         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6287         * nscd/gai.c: Likewise.
6288         * nss/nss_db/db-open.c: Likewise.
6289         * sysdeps/generic/ldsodefs.h: Likewise.
6290         * sysdeps/sh/nptl/tls.h: Likewise.
6291         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6292         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6293         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6294         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6295         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6296         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6297         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6298         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6300         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6301         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6302         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6303         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6304         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6305         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6306         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6307         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6308         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6309         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6310         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6313         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6314         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6319         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6320         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6321         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6322         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6324         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6325         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6326         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6327         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6328         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6329         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6330         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6331         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6332         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6333         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6334         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6335         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6336         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6337         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6338         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6339         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6340         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6341         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6342         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6343         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6344         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6345         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6346         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6347         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6348         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6371         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6372         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6373         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6374         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6375         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6376         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6377         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6378         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6379         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6380         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6381         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6382         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6383         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6384         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6385         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6386         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6387         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6388         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6389         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6390         * sysdeps/unix/sysv/linux/system.c: Likewise.
6391         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6392         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6393         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6394         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6395         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6396         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6397         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6398
6399         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6400         * configure: Regenerated.
6401         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6402
6403         * configure.ac (base_machine): Do not set specially for particular
6404         machines here.
6405         * configure: Regenerated.
6406         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6407         settings from configure.ac.
6408         * sysdeps/i386/preconfigure: New file.
6409         * sysdeps/s390/preconfigure: Likewise.
6410         * sysdeps/sh/preconfigure: Likewise.
6411         * sysdeps/sparc/preconfigure: Likewise.
6412
6413 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6414
6415         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6416         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6417         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6418         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6419         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6420         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6421         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6422         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6423         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6424         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6425         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6426         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6427         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6428         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6429         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6430         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6431         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6432         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6433         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6434
6435         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6436         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6437         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6438         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6439         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6440         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6441         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6442         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6443         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6444         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6445         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6446         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6447         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6448         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6449         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6450         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6451         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6452         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6453         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6454         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6455         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6456         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6457         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6458         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6460         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6461         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6462         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6464         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6466         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6467         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6468         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6469         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6470         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6471         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6472         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6473
6474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6475         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6477         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6479         Moved ...
6480         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6481         ... here.
6482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6483         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6485         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6487         Moved ...
6488         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6490         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6492         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6496         Moved ...
6497         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6499         Moved ...
6500         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6502         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6504         Moved ...
6505         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6509         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6511         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6515         Moved ...
6516         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6517         ... here.
6518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6519         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6523         Moved ...
6524         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6526         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6528         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6530         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6532         Moved ...
6533         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6535         Moved ...
6536         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6538         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6540         Moved ...
6541         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6543         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6545         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6546
6547 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6548
6549         * timezone/checktab.awk: Update from tzcode 2014e.
6550         * timezone/private.h: Likewise.
6551         * timezone/tzfile.h: Likewise.
6552         * timezone/zdump.c: Likewise.
6553         * timezone/zic.c: Likewise.
6554
6555         * sysdeps/unix/sysv/linux/kernel-features.h
6556         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6557         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6558         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6559         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6560         Remove conditional code.
6561
6562 2014-06-25  Will Newton  <will.newton@linaro.org>
6563
6564         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6565         (_dl_arm_cap_flags): Add HWCAP2 values.
6566         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6567         (_DL_HWCAP_COUNT): Increase to 37.
6568         (_DL_HWCAP_LAST): New define.
6569         (_DL_HWCAP2_LAST): New define.
6570         (_dl_procinfo): Add support for printing
6571         AT_HWCAP2 entries.
6572         (_dl_string_hwcap): Use _dl_hwcap_string.
6573
6574 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6575
6576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6577
6578 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6579
6580         * README: Do not mention ports directory.
6581
6582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6583         Remove macro.
6584         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6585         <kernel-features.h>.
6586         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6587         conditional variable definition.
6588         (__futimes): Update comment.
6589         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6590         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6591
6592         [BZ #16560]
6593         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6594         arguments close to 0.
6595         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6596         Likewise.
6597         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6598         Likewise.
6599         * math/auto-libm-test-in: Add more tests of exp10.
6600         * math/auto-libm-test-out: Regenerated.
6601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6602
6603         * sysdeps/unix/sysv/linux/kernel-features.h
6604         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6605         * sysdeps/unix/sysv/linux/readv.c: Do not include
6606         <kernel-features.h>.
6607         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6608         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6609         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6610         unconditional.
6611         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6612         conditional code.
6613         * sysdeps/unix/sysv/linux/writev.c: Do not include
6614         <kernel-features.h>.
6615         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6616         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6617         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6618         unconditional.
6619         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6620         conditional code.
6621
6622 2014-06-25  Will Newton  <will.newton@linaro.org>
6623
6624         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6625         comment changes throughout the file.  Remove checks
6626         for HAVE_*_H definitions that are not required.
6627         (__gen_tempname): Call abort if an unknown kind value is
6628         passed.
6629
6630 2014-06-25  Andreas Schwab  <schwab@suse.de>
6631
6632         [BZ #17086]
6633         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6634         scalbln, scalblnf, scalblnl in libc.
6635
6636 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6637
6638         [BZ #17086]
6639         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6640         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6641         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6642
6643 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6644
6645         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6646         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6647         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6648         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6649         Update #include.
6650         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6651         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6652         Update #include.
6653         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6654         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6655         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6656         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6657         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6658         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6659         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6660         * sysdeps/x86/bits/semaphore.h: ... here.
6661         * sysdeps/x86/nptl/elide.h: Moved ...
6662         * sysdeps/x86/elide.h: ... here.
6663         * sysdeps/x86_64/nptl/Implies: File removed.
6664         * sysdeps/i386/nptl/Implies: File removed.
6665
6666 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6667
6668         [BZ #16539]
6669         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6670         return the argument for normal arguments with exponent below -64.
6671         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6672         Likewise.
6673         * math/auto-libm-test-in: Add another test of expm1.
6674         * math/auto-libm-test-out: Regenerated.
6675
6676         [BZ #16287]
6677         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6678         calling __erfcl for arguments at least 16.
6679         * math/auto-libm-test-in: Add more tests of erf.
6680         * math/auto-libm-test-out: Regenerated.
6681
6682         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6683         individual architectures.
6684         * sysdeps/unix/sysv/linux/configure: Regenerated.
6685         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6686         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6687         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6688         (ldd_rewrite_script): Define variable.
6689         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6691         file.
6692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6693         generated file.
6694         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6695         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6696         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6697         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6698         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6699         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6700         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6701         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6702
6703 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6704
6705         [BZ #17084]
6706         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6707         Rename member __data.d to __data.__elision_data.
6708
6709 2014-06-24  Wilco  <wdijkstr@arm.com>
6710
6711         * NEWS: Add 16918 to fixed bug list.
6712
6713 2014-06-24  Wilco  <wdijkstr@arm.com>
6714
6715         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6716
6717 2014-06-24  Wilco  <wdijkstr@arm.com>
6718
6719         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6720         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6721         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6722         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6723         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6724         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6725         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6726         Use _FPU_MASK_RM.
6727
6728 2014-06-24  Wilco  <wdijkstr@arm.com>
6729
6730         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6731
6732 2014-06-24  Wilco  <wdijkstr@arm.com>
6733
6734         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6735         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6736         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6737         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6738
6739 2014-06-24  Wilco  <wdijkstr@arm.com>
6740
6741         [BZ #16918]
6742         * sysdeps/arm/feupdateenv.c (feupdateenv):
6743         Rewrite to reduce FPSCR accesses and fix return value.
6744
6745 2014-06-24  Wilco  <wdijkstr@arm.com>
6746
6747         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6748         Optimize to avoid unnecessary FPSCR writes.
6749         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6750         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6751         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6752         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6753
6754 2014-06-24  Wilco  <wdijkstr@arm.com>
6755
6756         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6757         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6758         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6759         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6760         Call libc_fetestexcept_vfp.
6761         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6762         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6763         __SOFTFP__ ifdef so that they can be built for softfp.
6764
6765 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6766
6767         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6768         argument type signed char.
6769
6770         * Makerules (check-abi): Dump diff of symlist if the test
6771         fails.
6772
6773 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6774
6775         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6776         using abort.
6777
6778         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6779         Remove unused variable ST.
6780
6781 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6782
6783         [BZ #16354]
6784         [BZ #17061]
6785         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6786         small arguments before calling __expm1.
6787         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6788         small arguments before calling __expm1f.
6789         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6790         small arguments before calling __expm1l.
6791         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6792         Likewise.
6793         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6794         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6795         spurious underflow for some cosh tests.
6796         * math/auto-libm-test-out: Regenerated.
6797         * sysdeps/i386/fpu/libm-test-ulps: Update.
6798
6799         [BZ #17050]
6800         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6801         (__ieee754_y1): Set errno if return value overflows.
6802         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6803         (__ieee754_y1f): Set errno if return value overflows.
6804         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6805         (__ieee754_y1l): Set errno if return value overflows.
6806         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6807         (__ieee754_y1l): Set errno if return value overflows.
6808         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6809         * math/auto-libm-test-out: Regenerated.
6810
6811         * math/gen-auto-libm-tests.c: Document use of
6812         ignore-zero-inf-sign.
6813         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6814         (input_flags): Add ignore-zero-inf-sign.
6815         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6816         * math/gen-libm-test.pl (generate_testfile): Handle
6817         ignore-zero-inf-sign.
6818         * math/auto-libm-test-in: Mark some cpow tests with
6819         ignore-zero-inf-sign and some with xfail-rounding.
6820         * math/auto-libm-test-out: Regenerated.
6821         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6822         * sysdeps/i386/fpu/libm-test-ulps: Update.
6823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6824
6825         [BZ #16315]
6826         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6827         overflowing or underflowing operations take place with sign of
6828         result.
6829         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6830         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6831         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6832         (__ieee754_pow): Recompute overflowing and underflowing results in
6833         original rounding mode.
6834         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6835         (__powl_helper): Allow negative argument X and scale negated value
6836         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6837         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6838         overflowing or underflowing operations take place with sign of
6839         result.
6840         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6841         Include <math.h>.
6842         * math/auto-libm-test-in: Add more tests of pow.
6843         * math/auto-libm-test-out: Regenerated.
6844         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6845         (pow_tonearest_test_data): Remove.
6846         (pow_test_tonearest): Likewise.
6847         (pow_towardzero_test_data): Likewise.
6848         (pow_test_towardzero): Likewise.
6849         (pow_downward_test_data): Likewise.
6850         (pow_test_downward): Likewise.
6851         (pow_upward_test_data): Likewise.
6852         (pow_test_upward): Likewise.
6853         (main): Don't call removed functions.
6854         * sysdeps/i386/fpu/libm-test-ulps: Update.
6855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6856
6857 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6858
6859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6860         Moved ...
6861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6863         Moved ...
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6866         Moved ...
6867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6869         Moved ...
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6872         File removed.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6874         File removed.
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6876         File removed.
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6878         File removed.
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6880         File removed.
6881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6882         File removed.
6883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6884         File removed.
6885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6886         File removed.
6887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6888         File removed.
6889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6890         File removed.
6891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6892         File removed.
6893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6894         File removed.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6896         Moved ...
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6899         Moved ...
6900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6901         ... here.
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6903         Moved ...
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6906         Moved ...
6907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6909         Moved ...
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6912         Moved ...
6913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6915         Moved ...
6916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6918         Moved ...
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6921         Moved ...
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6925         ... here.
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6927         Moved ...
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6930         Moved ...
6931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6932         ... here.
6933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6934         Moved ...
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6936         ... here.
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6938         Moved ...
6939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6940         ... here.
6941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6942         Moved ...
6943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6945         Moved ...
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6950         Moved ...
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6952         ... here.
6953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6954         Moved ...
6955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6956         ... here.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6958         Moved ...
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6961         Moved ...
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6964         Moved ...
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6967         Moved ...
6968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6970         Moved ...
6971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6972         ... here.
6973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6974         Moved ...
6975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6977         Moved ...
6978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6980         Moved ...
6981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6983         Moved ...
6984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6988         Moved ...
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6991         Moved ...
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6994         Moved ...
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6996         ... here.
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6998         Moved ...
6999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7000         ... here.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7002         Moved ...
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7004         ... here.
7005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7006         Moved ...
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7009         Moved ...
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7012         Moved ...
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7015         Moved ...
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7017         ... here.
7018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7019         Moved ...
7020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7021         ... here.
7022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7023         Moved ...
7024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7025         ... here.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7027         Moved ...
7028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7030         Moved ...
7031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7032
7033 2014-06-23  Will Newton  <will.newton@linaro.org>
7034             Wilco  <wdijkstr@arm.com>
7035
7036         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7037         implementation.  Include get-rounding-mode.h.
7038         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7039         [!libc_feholdsetround_noex_ctx]: Define
7040         libc_feholdsetround_noex_ctx.
7041         [!libc_feholdsetround_noexf_ctx]: Define
7042         libc_feholdsetround_noexf_ctx.
7043         [!libc_feholdsetround_noexl_ctx]: Define
7044         libc_feholdsetround_noexl_ctx.
7045         (libc_feholdsetround_ctx): New function.
7046         (libc_feresetround_ctx): New function.
7047         (libc_feholdsetround_noex_ctx): New function.
7048         (libc_feresetround_noex_ctx): New function.
7049
7050 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7051
7052         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7053         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7054         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7055         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7056         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7057         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7058
7059         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7060         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7061         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7062         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7063         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7064         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7065         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7066         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7068         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7070         Moved ...
7071         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7072         ... here.
7073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7074         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7076         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7078         Moved ...
7079         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7081         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7083         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7085         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7087         Moved ...
7088         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7089         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7090         Moved ...
7091         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7093         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7095         Moved ...
7096         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7098         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7099         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7100         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7101         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7102         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7104         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7105         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7106         Moved ...
7107         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7108         ... here.
7109         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7110         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7112         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7114         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7115         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7116         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7117         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7120         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7122         Moved ...
7123         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7125         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7127         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7129         Moved ...
7130         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7131         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7132         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7133         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7134         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7135
7136         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7137         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7138         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7139         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7140         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7141         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7142         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7143         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7144         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7145         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7146         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7147         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7148         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7149         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7150         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7151         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7152         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7153         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7154         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7155         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7156         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7157         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7158         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7159         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7160         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7161         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7162         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7163         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7164
7165 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7166
7167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7168         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7169         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7170         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7171         (IPV6_PMTUDISC_INTERFACE): Likewise.
7172         (IPV6_PMTUDISC_OMIT): Likewise.
7173
7174 2014-06-23  Andreas Schwab  <schwab@suse.de>
7175
7176         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7177         Remove unused errout label.
7178
7179 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7180
7181         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7182         macro: hardware supports Vector Crypto instructions.
7183
7184 2014-06-23  Will Newton  <will.newton@linaro.org>
7185
7186         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7187         rather than __builtin_expect.
7188
7189         * elf/dl-lookup.c (undefined_msg): Remove variable.
7190         (_dl_lookup_symbol_x): Replace undefined_msg with string
7191         literal.
7192
7193         * elf/dl-lookup.c (do_lookup_unique): New function.
7194         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7195         to a separate function.
7196
7197 2014-06-23  Andreas Schwab  <schwab@suse.de>
7198
7199         [BZ #17079]
7200         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7201         before reading the next line.
7202
7203 2014-06-23  Will Newton  <will.newton@linaro.org>
7204
7205         * test-skeleton.c (signal_handler): Use printf and %m
7206         rather than perror.  Use printf rather than fprintf to
7207         stderr.  Use puts rather than fputs to stderr.
7208         (main): Likewise.
7209
7210 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7211
7212         * nscd/nscd.c (thread_info_t): Remove typedef.
7213         (thread_info): Remove variable.
7214
7215 2014-06-21  Allan McRae  <allan@archlinux.org>
7216
7217         * NEWS: Mention CVE-2014-4043.
7218
7219 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7220
7221         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7222         * nptl/smp.h: ... here.
7223
7224         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7225
7226         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7227         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7228         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7229         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7230
7231         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7232         * nptl/stack-aliasing.h: New file.
7233         * sysdeps/i386/i686/stack-aliasing.h: New file.
7234         * sysdeps/i386/i686/nptl/Makefile: File removed.
7235         * sysdeps/x86_64/stack-aliasing.h: New file.
7236         * sysdeps/x86_64/nptl/Makefile
7237         (CFLAGS-pthread_create.c): Variable removed.
7238
7239         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7240         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7241         old file.
7242         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7243         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7244         old file.
7245
7246 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7247
7248         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7249         (__ASSUME_SIGFRAME_V2): Remove macro.
7250         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7251         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7252         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7253         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7254         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7255         Declare as function.  Remove conditional macro definitions.
7256         (__default_rt_sa_restorer): Likewise.
7257         (__default_sa_restorer_v1): Remove declaration.
7258         (__default_sa_restorer_v2): Likewise.
7259         (__default_rt_sa_restorer_v1): Likewise.
7260         (__default_rt_sa_restorer_v2): Likewise.
7261         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7262         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7263         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7264
7265 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7266
7267         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7268         (libpthread-routines): Add sysdep.
7269         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7270         * sysdeps/unix/sysv/linux/sparc/Versions
7271         (libpthread: GLIBC_2.3.3): New version set.
7272         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7273         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7274         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7275         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7276         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7277         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7278         Moved ...
7279         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7280         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7281         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7282         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7283         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7284         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7285         * sysdeps/sparc/nptl/sem_init.c: ... here.
7286         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7287         * sysdeps/sparc/nptl/sem_post.c: ... here.
7288         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7289         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7290         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7291         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7292         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7293         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7294         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7295         (libpthread-routines): Add cpu_relax.
7296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7297         File removed.
7298         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7299         (librt: GLIBC_2.3.3): New version set.
7300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7301         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7302         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7303         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7306         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7308         Moved ...
7309         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7310         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7311         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7313         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7315         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7317         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7319         Moved ...
7320         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7321         Update #include.
7322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7323         Moved ...
7324         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7325         Update #include.
7326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7327         Moved ...
7328         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7329         Update #include.
7330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7331         Moved ...
7332         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7333         Update #include.
7334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7335         Moved ...
7336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7337         Update #include.
7338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7339         Moved ...
7340         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7341         Update #include.
7342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7343         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7345         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7349         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7351         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7353         Moved ...
7354         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7356         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7358         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7359
7360 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7361
7362         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7363         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7364         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7365         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7366         * nscd/nscd.c: Likewise.
7367         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7368         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7369         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7370         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7371
7372         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7373         <kernel-features.h>.
7374         (init_mq_netlink): Remove conditional have_sock_cloexec
7375         definitions.  Remove code conditional on have_sock_cloexec < 0.
7376         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7377         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7378         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7379         <kernel-features.h>.
7380         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7381         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7382
7383 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7384
7385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7386         Add tests for memset_chk and memset.
7387
7388         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7389         with AVX2_Usable.
7390
7391 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7392
7393         [BZ #16046]
7394         * elf/tst-dl-iter-static.c: New file.
7395         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7396
7397         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7398         error.
7399
7400 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7401
7402         * sysdeps/unix/sysv/linux/kernel-features.h
7403         (__ASSUME_F_GETOWN_EX): Remove macro.
7404         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7405         <kernel-features.h>.
7406         (miss_F_GETOWN_EX): Remove variable or macro.
7407         (do_fcntl): Do not check miss_F_GETOWN_EX.
7408         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7409
7410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7411         Remove macro.
7412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7413         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7414         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7415
7416         * sysdeps/unix/sysv/linux/kernel-features.h
7417         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7418         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7419         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7420         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7421
7422 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7423
7424         [BZ #17075]
7425         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7426         Fix calculation of the symbol's value.
7427         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7428         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7429         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7430         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7431         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7432         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7433         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7434         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7435         (modules-names): Add `tst-armtlsdescmod',
7436         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7437         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7438         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7439         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7440         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7441         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7442         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7443         ($(objpfx)tst-armtlsdescloc): New dependency.
7444         ($(objpfx)tst-armtlsdescextnow): Likewise.
7445         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7446         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7447         TLS scheme support.
7448         * sysdeps/arm/configure: Regenerate.
7449
7450 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7451
7452         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7453         (__atfct_seterrno_2): Likewise.
7454         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7455         <kernel-features.h>.
7456         (__ASSUME_ATFCTS): Do not undefine and redefine.
7457         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7458         (__have_atfcts): Remove conditional definition.
7459         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7460         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7461         unreachable if [__ASSUME_ATFCTS].
7462         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7463         not undefine and redefine.
7464         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7465         <kernel-features.h>.
7466         (faccessat) [__NR_faccessat]: Make code unconditional.
7467         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7468         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7469         <kernel-features.h>.
7470         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7471         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7472         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7473         <kernel-features.h>.
7474         (fchownat) [__NR_fchownat]: Make code unconditional.
7475         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7476         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7477         <kernel-features.h>.
7478         (futimesat) [__NR_futimesat]: Make code unconditional.
7479         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7480         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7481         <kernel-features.h>.
7482         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7483         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7484         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7485         <kernel-features.h>.
7486         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7487         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7488         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7489         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7490         <kernel-features.h>.
7491         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7492         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7493         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7494         <kernel-features.h>.
7495         (linkat) [__NR_linkat]: Make code unconditional.
7496         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7497         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7498         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7499         <kernel-features.h>.
7500         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7501         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7502         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7503         <kernel-features.h>.
7504         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7505         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7506         * sysdeps/unix/sysv/linux/openat.c: Do not include
7507         <kernel-features.h>.
7508         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7509         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7510         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7511         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7512         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7513         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7514         <kernel-features.h>.
7515         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7516         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7517         result of INLINE_SYSCALL directly, not via int variable.
7518         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7519         <kernel-features.h>.
7520         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7521         (renameat) [__NR_renameat]: Make code unconditional.
7522         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7523         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7524         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7525         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7526         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7527         (__ASSUME_ATFCTS): Do not undefine and redefine.
7528         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7529         <kernel-features.h>.
7530         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7531         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7532         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7533         <kernel-features.h>.
7534         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7535         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7536         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7537         (__ASSUME_ATFCTS): Do not undefine and redefine.
7538         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7539         <kernel-features.h>.
7540         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7541         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7542         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7543         <kernel-features.h>.
7544         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7545         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7546
7547 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7548
7549         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7550
7551 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7552
7553         [BZ #17069]
7554         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7555         constructed tree before returning error.
7556         * posix/bug-regexp36.c: Expand test case.
7557
7558 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7559
7560         [BZ #6803]
7561         * math/libm-test.inc (scalbln_test_date):
7562         Add errno expectations.
7563         * math/w_scalblnf.c: New File.
7564         Add wrapper which checks for setting errno to ERANGE.
7565         Add weak_alias for corresponding scalbln function.
7566         * math/w_scalbln.c: Likewise.
7567         * math/w_scalblnl.c: Likewise.
7568         * math/Makefile (libm-calls): Add w_scalbln.
7569         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7570         Remove weak_alias for corresponding scalbln function.
7571         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7572         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7573         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7574         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7575         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7576         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7577         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7578         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7579         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7580         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7581         Remove long_double_symbol for scalblnl function in libm, libc.
7582         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7583         Add wrapper which checks for setting errno to ERANGE.
7584         Add long_double_symbol for scalblnl function in libm, libc.
7585         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7586         Remove long_double_symbol for scalblnl in libm.
7587         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7588         Add wrapper which checks for setting errno to ERANGE.
7589         Add long_double_symbol for scalblnl function in libm.
7590         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7591         Do not use wrapper because of own implementation.
7592
7593 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7594
7595         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7596         3 bytes for __pad1 for x32.
7597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7598
7599 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7600             H.J. Lu  <hongjiu.lu@intel.com>
7601
7602         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7603         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7604         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7605         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7606         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7607
7608 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7609
7610         [BZ #17069]
7611         * posix/regcomp.c (parse_expression): Deallocate partially
7612         constructed tree before returning error.
7613         * posix/Makefile.c (tests): Add bug-regex36.
7614         (generated): Add bug-regex36.mtrace.
7615         (tests-special): Add $(objpfx)bug-regex36-mem.out
7616         (bug-regex36-ENV): New variable.
7617         ($(objpfx)bug-regex36-mem.out): New rule.
7618         * posix/bug-regex36.c: New file.
7619
7620 2014-06-19  Will Newton  <will.newton@linaro.org>
7621
7622         * malloc/malloc.c (systrim): If extra is zero then return
7623         early.
7624
7625 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7626
7627         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7628
7629 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7630
7631         * sysdeps/aarch64/strchr.S: New file.
7632
7633 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7634
7635         [BZ #17022]
7636         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7637         from arguments -2 or below.
7638         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7639         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7640
7641 2014-06-18  Andreas Schwab  <schwab@suse.de>
7642
7643         [BZ #17062]
7644         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7645         of a bracket expr not to run off the end of the string.
7646         * posix/Makefile (tests): Add tst-fnmatch3.
7647         * posix/tst-fnmatch3.c: New file.
7648
7649 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7650
7651         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7652         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7653         [$(cross-compiling) = no]: Likewise.
7654         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7655         [$(cross-compiling) = no]: Likewise.
7656
7657 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7658
7659         [BZ #17031]
7660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7661         double, adjusted for any remainder from the high double.
7662         * math/libm-test.inc (nearbyint): Add tests.
7663         (rint): Likewise.
7664
7665 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7666
7667         * nptl/sysdeps/powerpc/Makefile: Moved ...
7668         * sysdeps/powerpc/nptl/Makefile: ... here.
7669         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7670         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7671         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7672         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7673         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7674         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7675         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7676         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7677         * nptl/sysdeps/powerpc/tls.h: Moved ...
7678         * sysdeps/powerpc/nptl/tls.h: ... here.
7679
7680 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7681
7682         [BZ #16681]
7683         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7684         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7685         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7686         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7687         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7688         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7689         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7690         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7691         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7692
7693 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7694
7695         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7696
7697 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7698
7699         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7700         defined operator.
7701
7702         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7703         $TIMEOUTFACTOR.
7704
7705 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7706
7707         [BZ #17058]
7708         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7709         non-executed part of the test.
7710
7711 2014-06-16  Andreas Schwab  <schwab@suse.de>
7712
7713         * string/bits/string2.h (strdup, strndup): Update feature guard.
7714
7715 2014-06-14  David S. Miller  <davem@davemloft.net>
7716
7717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7718
7719 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7720
7721         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7722         that was previously under [RESET_PID].
7723         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7724
7725         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7726         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7727         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7728         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7729         (__libc_vfork): New strong alias.
7730         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7731
7732 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7733
7734         * sysdeps/generic/elide.h: New file.
7735
7736 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7737
7738         * Makefile (installed-headers): Adjust path of pthread.h header.
7739
7740 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7741
7742         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7743         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7744         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7745         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7746
7747         * nptl/sysdeps/s390/Makefile: Moved ...
7748         * sysdeps/s390/nptl/Makefile: ... here.
7749         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7750         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7751         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7752         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7753         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7754         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7755         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7756         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7757         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7758         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7759         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7760         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7761         * nptl/sysdeps/s390/tls.h: Moved ...
7762         * sysdeps/s390/nptl/tls.h: ... here.
7763
7764         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7765         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7766
7767 2014-06-13  David S. Miller  <davem@davemloft.net>
7768
7769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7772         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7776         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7777         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7778         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7779         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7780         Remove RESET_PID cpp guards.
7781         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7782         Remove RESET_PID cpp guards.
7783         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7784
7785 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7786
7787         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7788         __sp to uintptr_t.
7789
7790 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7791
7792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7793         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7794         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7795         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7798         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7799         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7800         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7801         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7804         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7805         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7806         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7808         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7809         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7810         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7811         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7812
7813         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7814         (pthread_rwlock_rdlock): Add elision.
7815         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7816         (pthread_rwlock_wrlock): Add elision.
7817         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7818         (pthread_rwlock_trywrlock): Add elision.
7819         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7820         (pthread_rwlock_tryrdlock): Add elision.
7821         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7822         (pthread_rwlock_tryrdlock): Add elision unlock.
7823         * nptl/sysdeps/pthread/pthread.h:
7824         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7825         (PTHREAD_RWLOCK_INITIALIZER,
7826         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7827         Handle new elision field.
7828         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7829         * sysdeps/arm/nptl/bits/pthreadtypes.h
7830         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7831         * sysdeps/sh/nptl/bits/pthreadtypes.h
7832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7833         * sysdeps/tile/nptl/bits/pthreadtypes.h
7834         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7835         * sysdeps/a/nptl/bits/pthreadtypes.h
7836         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7837         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7839         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7841         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7843         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7845         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7847         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7849         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7851         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7853         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7854         (elision_init): Set try_xbegin to zero when no RTM.
7855         * sysdeps/x86/nptl/bits/pthreadtypes.h
7856         (pthread_rwlock_t): Change __pad1 to __rwelision.
7857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7858
7859 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7860
7861         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7862         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7863         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7864         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7865
7866 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7867
7868         [BZ #16996]
7869         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7870         that the cached result has been set before returning it.
7871
7872 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7873
7874         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7875         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7876         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7877         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7878         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7879         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7880
7881         * nptl/sysdeps/sparc/Makefile: Moved ...
7882         * sysdeps/sparc/nptl/Makefile: ... here.
7883         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7884         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7885         * nptl/sysdeps/sparc/tls.h: Moved ...
7886         * sysdeps/sparc/nptl/tls.h: ... here.
7887         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7888         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7889         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7890         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7891         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7892         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7893         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7894         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7895         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7896         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7897         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7898         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7899         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7900         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7901         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7902         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7903         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7905         Update #include.
7906         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7907         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7908         Update #include.
7909         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7911         Update #include.
7912         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7914         Update #include.
7915
7916         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7917
7918         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7919         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7920
7921         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7922         (struct list_links): Type removed.
7923         (struct thread_node, struct timer_node): Replace struct list_links
7924         with struct list_head.
7925         (list_unlink_ip): Likewise.
7926         * sysdeps/pthread/timer_routines.c
7927         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7928         (list_append, list_insbefore): Likewise.
7929         (list_init): Function removed.
7930         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7931         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7932         * sysdeps/pthread/Makefile: ... here, new file.
7933
7934         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7935         * sysdeps/nptl/Implies: ... here.
7936         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7937         * nptl/sysdeps/pthread/list.h: Moved ...
7938         * include/list.h: ... here.
7939         * nptl/sysdeps/pthread/createthread.c: Moved ...
7940         * nptl/createthread.c: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7942         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7943         * nptl/pt-longjmp.c: ... here.
7944         * nptl/sysdeps/pthread/Makefile: Moved ...
7945         * sysdeps/nptl/Makefile: ... here.
7946         * nptl/sysdeps/pthread/Subdirs: Moved ...
7947         * sysdeps/nptl/Subdirs: ... here.
7948         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7949         * sysdeps/nptl/aio_misc.h: ... here.
7950         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7951         * sysdeps/nptl/bits/libc-lock.h: ... here.
7952         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7953         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7954         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7955         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7956         * nptl/sysdeps/pthread/configure: Moved ...
7957         * sysdeps/nptl/configure: ... here.
7958         * nptl/sysdeps/pthread/configure.ac: Moved ...
7959         * sysdeps/nptl/configure.ac: ... here.
7960         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7961         * sysdeps/nptl/gai_misc.h: ... here.
7962         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7963         * sysdeps/nptl/librt-cancellation.c: ... here.
7964         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7965         * sysdeps/nptl/malloc-machine.h: ... here.
7966         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7967         * sysdeps/nptl/pthread-functions.h: ... here.
7968         * nptl/sysdeps/pthread/pthread.h: Moved ...
7969         * sysdeps/nptl/pthread.h: ... here.
7970         * nptl/sysdeps/pthread/setxid.h: Moved ...
7971         * sysdeps/nptl/setxid.h: ... here.
7972         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7973         * sysdeps/nptl/sigfillset.c: ... here.
7974         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7975         * sysdeps/nptl/tcb-offsets.h: ... here.
7976         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7977         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7978         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7979         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7980         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7981         * sysdeps/pthread/allocalim.h: ... here.
7982         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7983         * sysdeps/pthread/bits/sigthread.h: ... here.
7984         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7985         * sysdeps/pthread/flockfile.c: ... here.
7986         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7987         * sysdeps/pthread/ftrylockfile.c: ... here.
7988         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7989         * sysdeps/pthread/funlockfile.c: ... here.
7990         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7991         * sysdeps/pthread/posix-timer.h: ... here.
7992         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7993         * sysdeps/pthread/timer_create.c: ... here.
7994         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7995         * sysdeps/pthread/timer_delete.c: ... here.
7996         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7997         * sysdeps/pthread/timer_getoverr.c: ... here.
7998         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7999         * sysdeps/pthread/timer_gettime.c: ... here.
8000         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8001         * sysdeps/pthread/timer_routines.c: ... here.
8002         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8003         * sysdeps/pthread/timer_settime.c: ... here.
8004         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8005         * sysdeps/pthread/tst-timer.c: ... here.
8006         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8007         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8008
8009         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8010         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8011
8012         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8013         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8014         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8015         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8016         Update #include target.
8017         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8018         * sysdeps/i386/i686/nptl/Makefile: ... here.
8019         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8020         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8021         Update #include target.
8022         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8023         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8024         * nptl/sysdeps/i386/Makefile: Moved ...
8025         * sysdeps/i386/nptl/Makefile: ... here.
8026         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8027         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8028         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8029         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8030         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8031         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8032         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8033         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8034         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8035         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8036         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8037         * nptl/sysdeps/i386/tls.h: Moved ...
8038         * sysdeps/i386/nptl/tls.h: ... here.
8039
8040         * sysdeps/sh/Makefile [$(subdir) = csu]
8041         (gen-as-const-headers): Add tcb-offsets.sym.
8042         * nptl/sysdeps/sh/Makefile: File removed.
8043         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8044         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8045         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8046         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8047         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8048         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8049         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8050         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8051         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8052         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8053         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8054         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8055         * nptl/sysdeps/sh/tls.h: Moved ...
8056         * sysdeps/sh/nptl/tls.h: ... here.
8057         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8058         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8059         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8060         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8061         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8062         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8063         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8064         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8065         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8066         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8067         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8068         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8069         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8070         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8071         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8072         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8073         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8074         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8076         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8078         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8082         Moved ...
8083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8085         Moved ...
8086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8090         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8091         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8092         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8093         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8094         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8095         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8096         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8097         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8098         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8099         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8100         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8101         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8102         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8103         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8104         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8105
8106 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8107
8108         * posix/spawn_faction_addopen.c: Include string.h.
8109
8110 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8111
8112         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8113         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8114         * nptl/sysdeps/x86_64/Makefile: Moved ...
8115         * sysdeps/x86_64/nptl/Makefile: ... here.
8116         * nptl/sysdeps/x86_64/configure: Moved ...
8117         * sysdeps/x86_64/nptl/configure: ... here.
8118         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8119         * sysdeps/x86_64/nptl/configure.ac: ... here.
8120         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8121         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8122         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8123         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8124         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8125         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8126         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8127         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8128         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8129         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8130         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8131         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8132         * nptl/sysdeps/x86_64/tls.h: Moved ...
8133         * sysdeps/x86_64/nptl/tls.h: ... here.
8134         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8135         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8136         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8137         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8138
8139         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8140
8141 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8142
8143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8144
8145 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8146
8147         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8148         type.
8149         [POSIX] (off_t): Likewise.
8150         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8151         [POSIX] (S_ISBLK): Require macro.
8152         [POSIX] (S_ISCHR): Likewise.
8153         [POSIX] (S_ISDIR): Likewise.
8154         [POSIX] (S_ISFIFO): Likewise.
8155         [POSIX] (S_ISREG): Likewise.
8156         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8157         optional-macro.
8158         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8159         type.
8160         [POSIX] (time_t): Likewise.
8161         [POSIX] (timer_t): Likewise.
8162
8163 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8164
8165         [BZ #17048]
8166         * posix/spawn_int.h (struct __spawn_action): Make the path string
8167         non-const to support deallocation.
8168         * posix/spawn_faction_addopen.c
8169         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8170         * posix/spawn_faction_destroy.c
8171         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8172         path in all spawn_do_open actions.
8173         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8174         posix_spawn_file_actions_addopen.
8175
8176 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8177
8178         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8179         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8180         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8181         conditional code always true.
8182         (__libc_vfork): New alias.
8183
8184 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8185
8186         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8187         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8188
8189         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8190
8191         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8192         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8193
8194         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8195         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8196
8197         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8198         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8199
8200 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8201
8202         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8203         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8204         multiarch strcmp for PPC64.
8205         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8206         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8208         multiarch optimizations.
8209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8210         (__libc_ifunc_impl_list): Likewise.
8211
8212 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8213
8214         * benchtests/scripts/validate_benchout.py: New script.
8215         * benchtests/Makefile (bench-func): Call it.
8216         * benchtests/scripts/benchout.schema.json: New file.
8217
8218 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8219
8220         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8221         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8222         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8223         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8224         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8225         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8226         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8227         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8228         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8229         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8230         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8231         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8232         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8233         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8234         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8235         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8237         Moved ...
8238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8239         ... here.
8240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8241         Moved ...
8242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8244         Moved ...
8245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8246         ... here.
8247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8248         Moved ...
8249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8250         ... here.
8251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8252         Moved ...
8253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8255         Moved ...
8256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8257         ... here.
8258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8259         Moved ...
8260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8261         ... here.
8262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8263         Moved ...
8264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8266         Moved ...
8267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8268         ... here.
8269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8270         Moved ...
8271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8272         ... here.
8273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8274         Moved ...
8275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8276         ... here.
8277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8278         Moved ...
8279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8281         Moved ...
8282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8283         ... here.
8284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8285         Moved ...
8286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8287         ... here.
8288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8289         Moved ...
8290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8291         ... here.
8292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8293         Moved ...
8294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8296         Moved ...
8297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8298         ... here.
8299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8300         Moved ...
8301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8302         ... here.
8303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8304         Moved ...
8305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8307         Moved ...
8308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8309         ... here.
8310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8311         Moved ...
8312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8314         Moved ...
8315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8317         Moved ...
8318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8319         ... here.
8320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8321         Moved ...
8322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8323         ... here.
8324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8325         Moved ...
8326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8327         ... here.
8328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8329         Moved ...
8330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8332         Moved ...
8333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8334         ... here.
8335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8336         Moved ...
8337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8338         ... here.
8339         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8340         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8341         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8342         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8343         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8344         Moved ...
8345         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8346         ... here.
8347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8348         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8352         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8353         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8354         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8356         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8358         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8360         Moved ...
8361         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8363         Moved ...
8364         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8366         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8368         Moved ...
8369         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8371         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8372         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8373         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8374         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8375         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8376
8377 2014-06-10  Wilco  <wdijkstr@arm.com>
8378
8379         * math/test-fenv-return.c: New file.
8380         * math/Makefile: Add new test test-fenv-return.
8381
8382 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8383
8384         [BZ #17042]
8385         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8386         when x - 1 is zero.
8387         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8388         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8389         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8390         0.0L for an argument of 1.0L.
8391         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8392         Likewise.
8393         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8394         value when x - 1 is zero.
8395         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8396         * sysdeps/i386/fpu/libm-test-ulps: Update.
8397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8398
8399 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8400
8401         [BZ #15119]
8402         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8403
8404 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8405
8406         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8407         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8408
8409 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8410
8411         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8412         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8413
8414         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8415         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8416
8417         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8418         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8419
8420         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8421         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8422
8423         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8424         if not already defined.
8425         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8426         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8427         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8428         (TLS_INIT_TP): Use it.
8429         (TLS_DEFINE_INIT_TP): New macro.
8430         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8431
8432 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8433
8434         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8435         constant.
8436         [POSIX] (IXANY): Likewise.
8437         [POSIX] (OLCUC): Likewise.
8438         [POSIX || POSIX2008] (CBAUD): Do not allow.
8439         [POSIX || POSIX2008] (DEFECHO): Likewise.
8440         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8441         [POSIX || POSIX2008] (ECHOKE): Likewise.
8442         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8443         [POSIX || POSIX2008] (EXTA): Likewise.
8444         [POSIX || POSIX2008] (EXTB): Likewise.
8445         [POSIX || POSIX2008] (FLUSHO): Likewise.
8446         [POSIX || POSIX2008] (LOBLK): Likewise.
8447         [POSIX || POSIX2008] (PENDIN): Likewise.
8448         [POSIX || POSIX2008] (SWTCH): Likewise.
8449         [POSIX || POSIX2008] (VDISCARD): Likewise.
8450         [POSIX || POSIX2008] (VDSUSP): Likewise.
8451         [POSIX || POSIX2008] (VLNEXT): Likewise.
8452         [POSIX || POSIX2008] (VREPRINT): Likewise.
8453         [POSIX || POSIX2008] (VSTATUS): Likewise.
8454         [POSIX || POSIX2008] (VWERASE): Likewise.
8455         (B*): Change to B[0123456789]*.
8456         * conform/data/time.h-data [POSIX || UNIX98]
8457         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8458         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8459         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8460         [POSIX] (tm_*): Do not allow.
8461
8462 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8463
8464         * Makefile (install): Don't set LANGUAGE.
8465         * Makefile.in (install): Likewise.
8466         * assert/Makefile (test-assert-ENV): Remove variable.
8467         (test-assert-perr-ENV): Likewise.
8468         * elf/Makefile (neededtest4-ENV): Likewise.
8469         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8470         [$(cross-compiling) = no]: Don't set LANGUAGE.
8471         * io/ftwtest-sh (LANG): Remove variable.
8472         * libio/Makefile (tst-widetext-ENV): Likewise.
8473         * manual/install.texi (Running make install): Don't refer to
8474         environment settings for make install.
8475         * INSTALL: Regenerated.
8476         * nptl/tst-tls6.sh: Don't set LANG.
8477         * posix/globtest.sh (LANG): Remove variable.
8478         * string/Makefile (tester-ENV): Likewise.
8479         (inl-tester-ENV): Likewise.
8480         (noinl-tester-ENV): Likewise.
8481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8482         [$(cross-compiling) = no]: Don't set LANGUAGE.
8483         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8484         without explicit environment settings.
8485
8486 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8487
8488         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8489         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8490         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8491         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8492
8493 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8494
8495         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8496         other files in the crypt directory.
8497         * crypt/crypt.c: Remove duplicate includes.
8498         * crypt/crypt-entry.c: Likewise.
8499         * crypt/crypt_util.c: Likewise.
8500
8501 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8502
8503         * Makeconfig (run-program-env): New variable.
8504         (run-program-prefix-before-env): Likewise.
8505         (run-program-prefix-after-env): Likewise.
8506         (run-program-prefix): Define in terms of new variables.
8507         (built-program-cmd-before-env): New variable.
8508         (built-program-cmd-after-env): Likewise.
8509         (built-program-cmd): Define in terms of new variables.
8510         (test-program-prefix-before-env): New variable.
8511         (test-program-prefix-after-env): Likewise.
8512         (test-program-prefix): Define in terms of new variables.
8513         (test-program-cmd-before-env): New variable.
8514         (test-program-cmd-after-env): Likewise.
8515         (test-program-cmd): Define in terms of new variables.
8516         * Rules (make-test-out): Use $(run-program-env).
8517         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8518         (help): Do not mention environment variables.  Mention
8519         --timeoutfactor option.
8520         (timeoutfactor): New variable.
8521         (blacklist_exports): Remove function.
8522         (exports): Remove variable.
8523         (command): Do not include ${exports}.
8524         * manual/install.texi (Configuring and compiling): Do not mention
8525         test wrappers preserving environment variables.  Mention that last
8526         assignment to a variable must take precedence.
8527         * INSTALL: Regenerated.
8528         * benchtests/Makefile (run-bench): Use $(run-program-env).
8529         * catgets/Makefile ($(objpfx)test1.cat): Use
8530         $(built-program-cmd-before-env), $(run-program-env) and
8531         $(built-program-cmd-after-env).
8532         ($(objpfx)test2.cat): Do not specify environment variables
8533         explicitly.
8534         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8535         $(run-program-env) and $(built-program-cmd-after-env).
8536         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8537         $(run-program-env) and $(test-program-cmd-after-env).
8538         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8539         explicitly.
8540         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8541         run_program_env and test_program_cmd_after_env arguments.
8542         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8543         * elf/tst-pathopt.sh: Use run_program_env argument.
8544         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8545         $(test-wrapper-env) and $(run-program-env).
8546         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8547         run_program_env arguments.
8548         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8549         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8550         $(test-program-prefix-before-env), $(run-program-env) and
8551         $(test-program-prefix-after-env).
8552         ($(objpfx)tst-gettext2.out): Likewise.
8553         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8554         run_program_env and test_program_prefix_after_env arguments.
8555         * intl/tst-gettext2.sh: Likewise.
8556         * intl/tst-gettext4.sh: Do not set environment variables
8557         explicitly.
8558         * intl/tst-gettext6.sh: Likewise.
8559         * intl/tst-translit.sh: Likewise.
8560         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8561         $(test-program-prefix-before-env), $(run-program-env) and
8562         $(test-program-prefix-after-env).
8563         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8564         run_program_env and test_program_prefix_after_env arguments.
8565         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8566         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8567         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8568         explicitly with each use of ${test_wrapper_env}.
8569         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8570         $(test-program-prefix-before-env), $(run-program-env) and
8571         $(test-program-prefix-after-env).
8572         * posix/tst-getconf.sh: Do not set environment variables
8573         explicitly.
8574         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8575         run_program_env and test_program_prefix_after_env arguments.
8576         * stdio-common/tst-printf.sh: Do not set environment variables
8577         explicitly.
8578         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8579         $(test-program-prefix-before-env), $(run-program-env) and
8580         $(test-program-prefix-after-env).
8581         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8582         run_program_env and test_program_prefix_after_env arguments.
8583         Split $test calls into $test_pre and $test.
8584         * timezone/Makefile (build-testdata): Use
8585         $(built-program-cmd-before-env), $(run-program-env) and
8586         $(built-program-cmd-after-env).
8587
8588 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8589
8590         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8591         strlen for non SHARED builds.
8592
8593 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8594
8595         * nptl/allocatestack.c (check_list): Inlined function...
8596         (__reclaim_stacks): ... here.
8597
8598 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8599
8600         [BZ #15698]
8601         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8602         memory overrun.
8603
8604 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8605
8606         * Rules (make-test-out): Include
8607         LOCPATH=$(common-objpfx)localedata in default environment.
8608         * debug/Makefile (tst-chk1-ENV): Remove variable.
8609         (tst-chk2-ENV): Likewise.
8610         (tst-chk3-ENV): Likewise.
8611         (tst-chk4-ENV): Likewise.
8612         (tst-chk5-ENV): Likewise.
8613         (tst-chk6-ENV): Likewise.
8614         (tst-lfschk1-ENV): Likewise.
8615         (tst-lfschk2-ENV): Likewise.
8616         (tst-lfschk3-ENV): Likewise.
8617         (tst-lfschk4-ENV): Likewise.
8618         (tst-lfschk5-ENV): Likewise.
8619         (tst-lfschk6-ENV): Likewise.
8620         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8621         (tst-iconv7-ENV): Likewise.
8622         * intl/Makefile (LOCPATH-ENV): Likewise.
8623         (tst-codeset-ENV): Likewise.
8624         (tst-gettext3-ENV): Likewise.
8625         (tst-gettext5-ENV): Likewise.
8626         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8627         (tst-fopenloc-ENV): Likewise.
8628         (tst-fgetws-ENV): Remove variable.
8629         (tst-ungetwc1-ENV): Likewise.
8630         (tst-ungetwc2-ENV): Likewise.
8631         (bug-ungetwc2-ENV): Likewise.
8632         (tst-swscanf-ENV): Likewise.
8633         (bug-ftell-ENV): Likewise.
8634         (tst-fgetwc-ENV): Likewise.
8635         (tst-fseek-ENV): Likewise.
8636         (tst-ftell-partial-wide-ENV): Likewise.
8637         (tst-ftell-active-handler-ENV): Likewise.
8638         (tst-ftell-append-ENV): Likewise.
8639         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8640         (tst-regexloc-ENV): Likewise.
8641         (bug-regex1-ENV): Likewise.
8642         (tst-regex-ENV): Likewise.
8643         (tst-regex2-ENV): Likewise.
8644         (bug-regex5-ENV): Likewise.
8645         (bug-regex6-ENV): Likewise.
8646         (bug-regex17-ENV): Likewise.
8647         (bug-regex18-ENV): Likewise.
8648         (bug-regex19-ENV): Likewise.
8649         (bug-regex20-ENV): Likewise.
8650         (bug-regex22-ENV): Likewise.
8651         (bug-regex23-ENV): Likewise.
8652         (bug-regex25-ENV): Likewise.
8653         (bug-regex26-ENV): Likewise.
8654         (bug-regex30-ENV): Likewise.
8655         (bug-regex32-ENV): Likewise.
8656         (bug-regex33-ENV): Likewise.
8657         (bug-regex34-ENV): Likewise.
8658         (bug-regex35-ENV): Likewise.
8659         (tst-rxspencer-ENV): Likewise.
8660         (tst-rxspencer-no-utf8-ENV): Likewise.
8661         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8662         (tst-sscanf-ENV): Likewise.
8663         (tst-swprintf-ENV): Likewise.
8664         (tst-swscanf-ENV): Likewise.
8665         (test-vfprintf-ENV): Likewise.
8666         (scanf13-ENV): Likewise.
8667         (bug14-ENV): Likewise.
8668         (tst-grouping-ENV): Likewise.
8669         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8670         (tst-strtod3-ENV): Likewise.
8671         (tst-strtod4-ENV): Likewise.
8672         (tst-strtod5-ENV): Likewise.
8673         (testmb2-ENV): Likewise./
8674         * string/Makefile (tst-strxfrm-ENV): Likewise.
8675         (tst-strxfrm2-ENV): Likewise.
8676         (bug-strcoll1-ENV): Likewise.
8677         (test-strcasecmp-ENV): Likewise.
8678         (test-strncasecmp-ENV): Likewise.
8679         * time/Makefile (tst-strptime-ENV): Likewise.
8680         (tst-ftime_l-ENV): Likewise.
8681         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8682         (tst-mbrtowc-ENV): Likewise.
8683         (tst-wcrtomb-ENV): Likewise.
8684         (tst-mbrtowc2-ENV): Likewise.
8685         (tst-c16c32-1-ENV): Likewise.
8686         (tst-mbsnrtowcs-ENV): Likewise.
8687
8688 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8689
8690         * manual/resource.texi (How to get information about the memory
8691         subsystem?): Fix typo.
8692         Reported by Peon de la Parra Ivan <peon@keba.com>
8693
8694 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8695
8696         [BZ #16882]
8697         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8698         (pthread_spin_lock): Branch out of spin loop to proper location.
8699         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8700         (pthread_spin_lock): Likewise.
8701
8702         * nptl/tst-spin4.c: New test.
8703         * nptl/Makefile (tests): Add tst-spin4.
8704
8705 2014-06-03  Andreas Schwab  <schwab@suse.de>
8706
8707         [BZ #15946]
8708         * resolv/res_send.c (send_dg): Reload file descriptor after
8709         calling reopen.
8710
8711 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8712
8713         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8714
8715 2014-06-03  Richard Henderson  <rth@redhat.com>
8716
8717         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8718         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8719         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8720         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8721         in the SAVE_PID block.
8722         (__libc_vfork): New alias.
8723         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8724
8725         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8726         child in registers, not on the stack.  Remove RESET_PID conditionals.
8727         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8728
8729 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8730
8731         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8732
8733 2014-06-03  Wilco  <wdijkstr@arm.com>
8734
8735         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8736         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8737         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8738         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8739         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8740         Likewise.
8741
8742 2014-06-03  Wilco  <wdijkstr@arm.com>
8743
8744         * sysdeps/aarch64/fpu/math_private.h
8745         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8746         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8747         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8748         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8749         Fix declarations.
8750
8751 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8752
8753         * crypt/crypt-private.h: Include ufc-crypt.h.
8754         (__b64_from_24bit): Declare extern.
8755         * crypt/crypt_util.c(__b64_from_24bit): New function.
8756         (b64t): New static const variable.
8757         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8758         (b64t): Remove variable.
8759         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8760         * crypt/sha256-crypt.c: Include crypt-private.h.
8761         (b64t): Remove variable.
8762         (__sha256_crypt_r): Remove b64_from_24bit and replace
8763         with __b64_from_24bit.
8764         * crypt/sha512-crypt.c: Likewise.
8765
8766 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8767
8768         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8769         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8770         Label the code __libc_vfork rather than __vfork.
8771         [!NOT_IN_libc] (vfork): Define as weak alias.
8772         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8773         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8774         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8775
8776 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8777
8778         * malloc/malloc.c (malloc_info): Fix format specifier for
8779         n_mmaps.
8780
8781 2014-06-02  Wilco  <wdijkstr@arm.com>
8782
8783         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8784         FPCR write.
8785
8786 2014-06-02  Wilco  <wdijkstr@arm.com>
8787
8788         [BZ #17009]
8789         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8790         Rewrite to reduce FPCR/FPSR accesses.
8791
8792 2014-06-01  David S. Miller  <davem@davemloft.net>
8793
8794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8795
8796 2014-05-31  David S. Miller  <davem@davemloft.net>
8797
8798         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8799         to occur in round to nearest mode when |x| >= 2.0
8800
8801 2014-05-30  Richard Henderson  <rth@twiddle.net>
8802
8803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8804         (PSEUDO_RET_NOERRNO): Remove.
8805         (ret): Don't redefine.
8806         (ret_NOERRNO): Define in terms of ret.
8807         (ret_ERRVAL): Likewise.
8808
8809         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8810         use of PSEUDO_RET; perform the error check directly.
8811
8812 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8813
8814         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8815         with __int128_t.
8816
8817 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8818
8819         * malloc/malloc (malloc_info): Fix formatting.
8820
8821 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8822             Roland McGrath  <roland@hack.frob.com>
8823
8824         * malloc/malloc (malloc_info): Also print mmapped statistics.
8825
8826 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8827
8828         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8829         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8830
8831 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8832
8833         * malloc/malloc.c (malloc_info): Inline mi_arena.
8834
8835 2014-05-29  Richard Henderson  <rth@twiddle.net>
8836
8837         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8838         Remove comma before expanding ASM_ARGS_##nr.
8839         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8840         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8841         of ASM_ARGS_##nr.
8842         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8843         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8844         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8845         (ASM_ARGS_1): Add leading comma.
8846
8847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8848         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8849         to __errno_location.
8850         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8851         Remove the expected plt for __errno_location.
8852
8853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8854         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8855         call to __read_tp.
8856
8857         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8858         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8859         it and break it down.
8860         (DOCARGS_0, DOCARGS_1): Do nothing.
8861         (DOCARGS_2): Update to store into the new stack frame.
8862         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8863         (UNDOCARGS_1): Update to restore from the new stack frame.
8864         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8865         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8866
8867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8868         (SINGLE_THREAD_P): New parameter for result regno.
8869         (PSEUDO): Update to match; use cbz instead of beq.
8870
8871         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8872         Use ENTRY to define the _nocancel entry point.  Share the syscall
8873         and syscall error check paths with the cancel path.
8874         (PSEUDO_END): New.
8875
8876         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8877         whitespace; tabs before and after asm mnemonics.
8878
8879 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8880
8881         [BZ #15132]
8882         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8883         Call fstat64 or stat64 internally, depending on arguments passed.
8884         Replace stat buffer argument with file descriptor argument.
8885         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8886         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8887         Pass fd to __internal_statvfs instead of calling fstat64.
8888         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8889         Pass fd to __internal_statvfs64 instead of calling fstat64.
8890         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8891         Pass -1 to __internal_statvfs instead of calling stat64.
8892         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8893         Pass -1 to __internal_statvfs64 instead of calling stat64.
8894
8895 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8896
8897         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8898         that was previously under [RESET_PID].
8899         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8900
8901         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8902         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8903
8904 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8905
8906         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8907
8908         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8909         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8910
8911 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8912
8913         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8914
8915 2014-05-27  Andreas Schwab  <schwab@suse.de>
8916
8917         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8918         TLS_INIT_TP macro.
8919         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8920         * elf/rtld.c (init_tls, dl_main): Likewise.
8921         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8922         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8923         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8924         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8925         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8926         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8927         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8928         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8929         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8930         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8931         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8932         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8933         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8934         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8935         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8936         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8937         * sysdeps/generic/tls.h: Update description.
8938
8939 2014-05-27  Will Newton  <will.newton@linaro.org>
8940
8941         [BZ #16990]
8942         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8943         and restore r2 rather than just restoring.
8944
8945 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8946
8947         [BZ #16724]
8948         * libio/tst-ftell-append.c: New test case.
8949         * libio/Makefile (tests): Add test case.
8950         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8951         append mode.
8952         * libio/wfileops.c (do_ftell_wide): Likewise.
8953
8954 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8955
8956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8957
8958         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8959         ...
8960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8962         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8963         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8964         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8965         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8966         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8969         Moved ...
8970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8972         Moved ...
8973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8974         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8975         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8976         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8977         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8978         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8979         ...
8980         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8981         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8982         Moved ...
8983         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8984         here.
8985         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8986         ...
8987         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8988         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8989         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8990
8991         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8992         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8994         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8995
8996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8997         merge into ...
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8999         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9000         ...
9001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9003         ...
9004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9006         Moved ...
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9008         here.
9009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9010         Moved ...
9011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9013         Moved ...
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9015
9016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9017         conditional [RESET_PID].
9018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9020         removed.
9021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9022         removed.
9023
9024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9025         <tcb-offsets.h>.
9026         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9027         (__libc_vfork): New strong alias.
9028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9029         removed.
9030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9031         Removed.
9032
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9034         <tcb-offsets.h>.
9035         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9036         (__libc_vfork): New strong alias.
9037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9038         removed.
9039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9040         removed.
9041
9042 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9043
9044         * malloc/malloc.c (mi_arena): New function.
9045         (malloc_info): Remove nested function mi_arena. Call non-nosted
9046         function mi_arena.
9047
9048 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9049
9050         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9051         by insrwi.
9052         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9053         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9054         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9055         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9056         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9057         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9058         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9059
9060 2014-05-26  Andreas Schwab  <schwab@suse.de>
9061
9062         [BZ #16984]
9063         * locale/programs/repertoire.c (repertoire_read): Add slash
9064         between I18NPATH element and file name.
9065         * locale/programs/locfile.c (locfile_read): Likewise.
9066
9067 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9068
9069         * nptl/pthread_mutexattr_settype.c
9070         (__pthread_mutexattr_settype):
9071         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9072
9073 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9074
9075         * nptl/tst-mutex5 (do_test):
9076         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9077
9078 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9079
9080         * benchtests/README: Document 'init' directive.
9081         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9082         BENCH_INIT.
9083         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9084         (parse_file): Recognize 'init' directive.
9085
9086 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9087
9088         [BZ #16796]
9089         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9090         alignment of struct pthread.
9091
9092 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093
9094         [BZ #16878]
9095         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9096         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9097         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9098         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9099
9100 2014-05-25  Richard Henderson  <rth@twiddle.net>
9101
9102         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9103         (SINGLE_THREAD_P_PIC): Remove.
9104         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9105         (SINGLE_THREAD_P_PIC): Remove.
9106
9107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9108         branch to syscall error ...
9109         (PSEUDO): ... here.
9110         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9111         from __local_syscall_error to .Lsyscall_error.
9112         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9113         (SYSCALL_ERROR): Update label name.
9114
9115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9116         Do not use DOARGS/UNDOARGS.
9117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9118         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9119         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9120         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9121         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9122
9123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9124         block comment.
9125
9126         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9127         define if !NOT_IN_libc.
9128         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9129         define with non-default symbol versions.
9130
9131 2014-05-23  Richard Henderson  <rth@twiddle.net>
9132
9133         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9134         (vfork, __vfork): Define via compat_symbol.
9135
9136         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9137         [!HAVE_IFUNC] (vfork_compat): Remove.
9138         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9139
9140 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9141
9142         [BZ #16978]
9143         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9144         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9145         variable.
9146
9147 2014-05-23  Richard Henderson  <rth@twiddle.net>
9148
9149         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9150         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9151         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9152         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9153
9154         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9155         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9156         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9157         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9158         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9159         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9160         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9161         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9162         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9163         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9164         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9165         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9166         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9167         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9168         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9169         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9170         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9171         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9172         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9173         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9174         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9175         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9176         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9177         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9178         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9179         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9180         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9181         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9182         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9183         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9184         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9185         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9186         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9187         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9188         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9189         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9190         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9191         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9192         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9193         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9194         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9195         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9196         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9197         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9198         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9199         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9201         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9203         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9205         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9207         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9209         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9210
9211         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9212         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9213         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9214         before exiting on error.
9215         (__libc_vfork): New strong alias.
9216         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9217         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9218
9219         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9220         that was previously under [RESET_PID].
9221         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9222
9223         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9224
9225 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9226
9227         [BZ #16977]
9228         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9229         value when x - 1 is zero.
9230         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9231         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9232         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9233         0.0L for an argument of 1.0L.
9234         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9235         Likewise.
9236         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9237         value when x - 1 is zero.
9238         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9239         * sysdeps/i386/fpu/libm-test-ulps: Update.
9240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9241
9242 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9243
9244         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9245         alphasort and versionsort.
9246
9247 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9248
9249         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9250         macro.
9251         [copysignf]: Likewise.
9252
9253 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9254
9255         * crypt/md5-crypt.c: Fix formatting.
9256
9257 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9258
9259         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9260         (b64_from_24bit): New function.
9261
9262 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9263
9264         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9265         libc_hidden_builtin_def to ifunc.
9266         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9267         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9268
9269 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9270
9271         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9272         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9273
9274 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9275
9276         * nscd/Depend (linuxthreads): Remove.
9277         (nptl): Add.
9278         * resolv/Depend (linuxthreads): Remove.
9279         * rt/Depend (linuxthreads): Remove.
9280
9281         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9282         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9283         $(common-objpfx)elf/.
9284         (link-libc-before-gnulib): Likewise.
9285         (elfobjdir): Remove variable.
9286         * Makefile (install): Use $(elf-objpfx) instead of
9287         $(common-objpfx)elf/.
9288         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9289         $(elfobjdir)/.
9290         (link-libc-deps): Likewise.
9291         ($(common-objpfx)libc.so): Likewise.
9292         ($(common-objpfx)linkobj/libc.so): Likewise.
9293         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9294         instead of $(common-objpfx)elf/.
9295         (symbolic-link-list): Likewise.
9296         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9297         [$(cross-compiling) = no]: Likewise.
9298         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9299         $(elfobjdir)/.
9300         (static-gnulib-arch): Likewise.
9301         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9302         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9303         $(common-objpfx)elf/.
9304
9305 2014-05-21  Richard Henderson  <rth@redhat.com>
9306
9307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9308         (SINGLE_THREAD_P): Use the correct width load.  Fold
9309         into the ldr offset.
9310
9311         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9312         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9313
9314 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9315
9316         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9317         (libgcc_s_resume): Use __attribute_used__.
9318         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9319         Likewise.
9320
9321 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9322
9323         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9324         optimization when used with float constants.
9325
9326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9327
9328 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9329
9330         [BZ #16915]
9331         * locale/nl_langinfo_l.c: Make direct reference to every
9332         _nl_current_CATEGORY symbol.
9333         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9334         (tests-static): Add tst-langinfo-static.
9335         (tests-special): Add tst-langinfo-static.out.
9336         ($(objpfx)tst-langinfo.out): Redirect output.
9337         ($(objpfx)tst-langinfo-static.out): New.
9338         * localedata/tst-langinfo.sh: Send output to stdout.
9339         * localedata/tst-langinfo-static.c: New file.
9340
9341         [BZ #16965]
9342         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9343         when the shift amount is modulo the limb size.
9344
9345 2014-05-20  Richard Henderson  <rth@redhat.com>
9346
9347         [BZ #16967]
9348         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9349         Change type of sa_flags from unsigned int to int.
9350
9351         [BZ #16966]
9352         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9353
9354         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9355
9356 2014-05-20  Will Newton  <will.newton@linaro.org>
9357
9358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9359         Test the return value of the system call in the nocancel case.
9360
9361 2014-05-20  Will Newton  <will.newton@linaro.org>
9362             Yvan Roux  <yvan.roux@linaro.org>
9363
9364         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9365         #include of asm/ptrace.h.
9366         (PTRACE_GET_THREAD_AREA): Remove #undef.
9367         (PTRACE_GETHBPREGS): Likewise.
9368         (PTRACE_SETHBPREGS): Likewise.
9369         (struct user_regs_struct): New structure.
9370         (struct user_fpsimd_struct): New structure.
9371         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9372         #include of asm/ptrace.h and second #include of sys/user.h.
9373         (PTRACE_GET_THREAD_AREA): Remove #undef.
9374         (PTRACE_GETHBPREGS): Likewise.
9375         (PTRACE_SETHBPREGS): Likewise.
9376         (ELF_NGREG): Use new struct user_regs_struct.
9377         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9378
9379 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9380
9381         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9382         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9383
9384 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9385
9386         [BZ #16958]
9387         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9388         membar to avoid block loads/stores to overlap previous stores.
9389
9390 2014-05-17  Richard Henderson  <rth@redhat.com>
9391
9392         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9393         Create the __##syscall_name##_nocancel entry point.
9394         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9395         Remove; let the sysdep-cancel.h code create it.
9396
9397 2014-05-17  David S. Miller  <davem@davemloft.net>
9398
9399         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9400         Protect with __USE_GNU.
9401         (TIOCSET_TEMPT): Likewise.
9402         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9403         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9404         these are already provided in bits/ioctl-types.h
9405
9406 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9407
9408         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9409         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9410
9411         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9412         Use wait4 regardless of [__NR_waitpid].
9413
9414 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9415
9416         PR libgcc/60166
9417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9418         (_FP_NANSIGN_Q): Set the quiet bit.
9419
9420 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9421
9422         * benchtests/Makefile
9423         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9424         not $(common-objpfx)math/libm.so.
9425         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9426         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9427         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9428         $(common-objpfx)dlfcn/libdl.so.
9429         ($(objpfx)tst-audit8): Depend on $(libm), not
9430         $(common-objpfx)math/libm.so.
9431         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9432         not $(common-objpfx)dlfcn/libdl.so.
9433         * math/Makefile
9434         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9435         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9436         [$(build-shared) = yes].
9437         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9438         $(common-objpfx)nptl/libpthread.so.
9439         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9440         $(common-objpfx)math/libm.so$(libm.so-version) or
9441         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9442         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9443         $(common-objpfx)dlfcn/libdl.so.
9444         * setjmp/Makefile (link-libm): Remove variable.
9445         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9446         * stdio-common/Makefile (link-libm): Remove variable.
9447         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9448         * stdlib/Makefile (link-libm): Remove variable.
9449         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9450         ($(objpfx)tst-strtod-round): Likewise.
9451         ($(objpfx)tst-tininess): Likewise.
9452         ($(objpfx)tst-strtod-underflow): Likewise.
9453         ($(objpfx)tst-strtod6): Likewise.
9454         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9455         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9456         $(common-objpfx)dlfcn/libdl.so.
9457
9458 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9459
9460         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9461         BSD terminal modes definitions.
9462
9463 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9464
9465         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9466         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9467
9468         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9469         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9470         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9471         Don't do #include_next.
9472         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9473         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9474         Don't do #include_next.
9475         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9476         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9477         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9478         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9479
9480 2014-05-16  Allan McRae  <allan@archlinux.org>
9481
9482         * po/sv.po: Update Swedish translation from translation project.
9483
9484         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9485         in sed expression.
9486
9487 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9488
9489         [BZ #16917]
9490         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9491         errno if the TIOCGPTN ioctl fails with an error different than
9492         EINVAL.
9493         * login/tst-ptsname.c: New file.
9494         * login/Makefile (tests): Add tst-ptsname.
9495
9496         [BZ #16943]
9497         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9498         and prlimit64.
9499
9500 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9501
9502         [BZ #16849]
9503         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9504         herrno to return EAI_AGAIN.
9505
9506 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9507
9508         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9509         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9510         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9511         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9512         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9513         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9514         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9515         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9517         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9518         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9519         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9520         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9521         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9522         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9525         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9526         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9527         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9528         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9529         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9530         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9531         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9533         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9534         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9535         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9536         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9537         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9539         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9543         Moved ...
9544         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9546         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9548         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9550         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9552         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9554         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9556         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9558         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9560         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9562         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9564         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9566         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9568         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9569         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9570         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9572         Moved ...
9573         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9575         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9577         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9579         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9581         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9583         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9585         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9587         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9589         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9591         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9593         Moved ...
9594         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9596         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9597
9598         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9599         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9600         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9601         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9602         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9603         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9604         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9605         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9606         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9607         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9608         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9609         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9610         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9611         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9612         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9613         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9614         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9615         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9616         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9617         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9618         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9619         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9620         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9621         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9622         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9623         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9624         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9625         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9626         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9627         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9628         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9629
9630         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9631         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9632
9633         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9634         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9635         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9636         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9637         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9638         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9639         Moved ...
9640         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9641         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9642         Moved ...
9643         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9644         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9645         Moved ...
9646         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9648         Moved ...
9649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9650         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9651         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9652         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9653         Moved ...
9654         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9655         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9656         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9658         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9659         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9660         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9661         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9662         Moved ...
9663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9664         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9665         Moved ...
9666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9667         ... here.
9668         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9669         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9670         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9671         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9673         Moved ...
9674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9675         ... here.
9676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9677         Moved ...
9678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9679         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9680         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9681         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9682         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9683         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9684         Moved ...
9685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9686         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9687         Moved ...
9688         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9689         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9690         Moved ...
9691         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9693         Moved ...
9694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9695         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9696         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9697         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9698         Moved ...
9699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9700         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9701         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9703         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9704         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9705         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9706         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9707         Moved ...
9708         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9709         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9710         Moved ...
9711         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9712         ... here.
9713         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9714         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9715         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9716         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9718         Moved ...
9719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9720         ... here.
9721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9722         Moved ...
9723         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9724         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9725         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9726         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9727         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9728         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9731         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9733         Moved ...
9734         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9736         Moved ...
9737         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9738         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9739         Moved ...
9740         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9741         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9742         Moved ...
9743         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9744         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9745         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9746         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9747         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9749         Moved ...
9750         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9751         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9752         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9753         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9754         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9755         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9756         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9757         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9758         Moved ...
9759         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9760         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9761         Moved ...
9762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9763         ... here.
9764         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9765         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9766         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9767         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9769         Moved ...
9770         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9771         ... here.
9772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9773         Moved ...
9774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9775         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9776         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9777         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9778         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9779         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9780         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9781         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9782         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9783         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9784         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9785
9786         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9787         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9788
9789         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9790         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9791
9792         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9793         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9794         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9795         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9796         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9797         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9798         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9799         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9800         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9801         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9802         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9803         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9805         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9806         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9807         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9808         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9809         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9810         Moved ...
9811         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9812         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9814         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9815         Moved ...
9816         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9818         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9819         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9820         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9823         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9824         Moved ...
9825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9826         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9827         Moved ...
9828         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9830         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9834         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9835         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9836         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9837         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9838         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9839         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9840         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9841         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9842         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9843         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9844         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9845
9846         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9847         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9848         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9849         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9850         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9851
9852         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9853         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9854         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9855         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9856         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9857         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9858         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9859         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9860         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9861         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9862
9863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9865
9866         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9867         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9868         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9869         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9870         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9871         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9872         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9873         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9874         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9875         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9876         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9877         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9878         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9879         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9881         Update #include.
9882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9883         Likewise.
9884         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9885         Likewise.
9886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9887         Likewise.
9888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9889         Likewise.
9890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9891         Likewise.
9892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9893         Likewise.
9894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9895         Likewise.
9896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9897         Likewise.
9898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9899         Likewise.
9900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9902         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9903         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9904         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9906         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9910         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9911         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9912         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9913         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9914         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9915
9916         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9917         that was previously under [RESET_PID].
9918         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9919         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9920         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9921
9922         * sysdeps/i386/nptl/Implies: New file.
9923         * sysdeps/x86_64/nptl/Implies: New file.
9924         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9925         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9926         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9927         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9928
9929         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9930         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9931         (__libc_vfork): New strong alias.
9932         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9933         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9934
9935         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9936         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9937         (__libc_vfork): New strong alias.
9938         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9939         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9940
9941         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9942         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9943         (__libc_vfork): New strong alias.
9944         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9945         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9946         * nptl/pt-vfork.c: New file.
9947         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9948         (libpthread: GLIBC_2.20): New version set (empty).
9949
9950 2014-05-14  Will Newton  <will.newton@linaro.org>
9951
9952         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9953         rather than #if.
9954
9955 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9956
9957         [BZ #16564]
9958         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9959         arguments with exponent 65 or above.
9960         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9961         arguments 0x1p113L or above.
9962         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9963         to arguments 0x1p107L or above.
9964         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9965         positive arguments with exponent 65 or above.
9966         * math/auto-libm-test-in: Add more tests of log1p.
9967         * math/auto-libm-test-out: Regenerated.
9968
9969         [BZ #16928]
9970         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9971         non-finite arguments is +0.
9972         * math/s_cacosf.c (__cacosf): Likewise.
9973         * math/s_cacosl.c (__cacosl): Likewise.
9974         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9975         * sysdeps/i386/fpu/libm-test-ulps: Update.
9976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977
9978         [BZ #16927]
9979         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9980         value.
9981         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9982         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9983         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9984         for explicit high bit of mantissa when testing for argument equal
9985         to 1.
9986         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9987         * sysdeps/i386/fpu/libm-test-ulps: Update.
9988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9989
9990         [BZ #16516]
9991         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9992         (__erf): Scale by 16 instead of 8 in potentially underflowing
9993         case.  Ensure exception if result actually underflows.
9994         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9995         (__erff): Scale by 16 instead of 8 in potentially underflowing
9996         case.  Ensure exception if result actually underflows.
9997         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9998         (efx8): Remove variable.
9999         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10000         case.  Ensure exception if result actually underflows.
10001         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10002         (efx8): Remove variable.
10003         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10004         case.  Ensure exception if result actually underflows.
10005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10006         (efx8): Remove variable.
10007         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10008         case.  Ensure exception if result actually underflows.
10009         * math/auto-libm-test-in: Add more tests of erf.
10010         * math/auto-libm-test-out: Regenerated.
10011
10012 2014-05-14  Andreas Schwab  <schwab@suse.de>
10013
10014         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10015         Remove code conditionalized on USE___THREAD.
10016
10017         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10018         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10019         not definedness.
10020
10021 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10022
10023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10024         Define unconditionally.
10025         (__ASSUME_O_CLOEXEC): Likewise.
10026         (__ASSUME_SOCK_CLOEXEC): Likewise.
10027         (__ASSUME_IN_NONBLOCK): Likewise.
10028         (__ASSUME_PIPE2): Likewise.
10029         (__ASSUME_EVENTFD2): Likewise.
10030         (__ASSUME_SIGNALFD4): Likewise.
10031         (__ASSUME_DUP3): Likewise.
10032         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10033         (__ASSUME_DUP3): Do not define.
10034         (__ASSUME_EVENTFD2): Likewise.
10035         (__ASSUME_IN_NONBLOCK): Likewise.
10036         (__ASSUME_O_CLOEXEC): Likewise.
10037         (__ASSUME_PIPE2): Likewise.
10038         (__ASSUME_SIGNALFD4): Likewise.
10039         (__ASSUME_SOCK_CLOEXEC): Likewise.
10040         (__ASSUME_UTIMES): Undefine.
10041         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10042         (__ASSUME_UTIMES): Do not define.
10043         (__ASSUME_O_CLOEXEC): Likewise.
10044         (__ASSUME_SOCK_CLOEXEC): Likewise.
10045         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10046         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10047         0x020621].
10048         (__ASSUME_PIPE2): Likewise.
10049         (__ASSUME_EVENTFD2): Likewise.
10050         (__ASSUME_SIGNALFD4): Likewise.
10051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10052         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10053         Do not define.
10054         (__ASSUME_EVENTFD2): Likewise.
10055         (__ASSUME_SIGNALFD4): Likewise.
10056         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10057         (__ASSUME_32BITUIDS): Likewise.
10058         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10059         (__ASSUME_IPC64): Likewise.
10060         (__ASSUME_ST_INO_64_BIT): Likewise.
10061         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10062         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10063         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10064         (__ASSUME_UTIMES): Do not define.
10065         (__ASSUME_PSELECT): Likewise.
10066         (__ASSUME_PPOLL): Likewise.
10067         (__ASSUME_O_CLOEXEC): Likewise.
10068         (__ASSUME_SOCK_CLOEXEC): Likewise.
10069         (__ASSUME_IN_NONBLOCK): Likewise.
10070         (__ASSUME_PIPE2): Likewise.
10071         (__ASSUME_EVENTFD2): Likewise.
10072         (__ASSUME_SIGNALFD4): Likewise.
10073         (__ASSUME_DUP3): Likewise.
10074         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10075         (__ASSUME_UTIMES): Likewise.
10076         (__ASSUME_O_CLOEXEC): Likewise.
10077         (__ASSUME_SOCK_CLOEXEC): Likewise.
10078         (__ASSUME_IN_NONBLOCK): Likewise.
10079         (__ASSUME_PIPE2): Likewise.
10080         (__ASSUME_EVENTFD2): Likewise.
10081         (__ASSUME_SIGNALFD4): Likewise.
10082         (__ASSUME_DUP3): Likewise.
10083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10084         (__ASSUME_UTIMES): Likewise.
10085         (__ASSUME_O_CLOEXEC): Likewise.
10086         (__ASSUME_SOCK_CLOEXEC): Likewise.
10087         (__ASSUME_IN_NONBLOCK): Likewise.
10088         (__ASSUME_PIPE2): Likewise.
10089         (__ASSUME_EVENTFD2): Likewise.
10090         (__ASSUME_SIGNALFD4): Likewise.
10091         (__ASSUME_DUP3): Likewise.
10092         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10093         Likewise.
10094         (__ASSUME_UTIMES): Likewise.
10095         (__ASSUME_EVENTFD2): Likewise.
10096         (__ASSUME_SIGNALFD4): Likewise.
10097         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10098         (__ASSUME_O_CLOEXEC): Likewise.
10099         (__ASSUME_SOCK_CLOEXEC): Likewise.
10100         (__ASSUME_IN_NONBLOCK): Likewise.
10101         (__ASSUME_PIPE2): Likewise.
10102         (__ASSUME_EVENTFD2): Likewise.
10103         (__ASSUME_SIGNALFD4): Likewise.
10104         (__ASSUME_DUP3): Likewise.
10105         (__ASSUME_UTIMES): Undefine.
10106
10107         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10108         feclearexcept.  Remove symbol versioning code.
10109         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10110         symbol versioning code.
10111         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10112         symbol versioning code.
10113         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10114         feupdateenv.  Remove symbol versioning code.
10115         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10116         fegetexceptflag.  Remove symbol versioning code.
10117         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10118         fesetexceptflag.  Remove symbol versioning code.
10119         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10120         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10121         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10122         (__posix_fadvise64_l32): Remove prototype.
10123         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10124         code.
10125
10126 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10127
10128         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10129         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10130         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10131         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10132
10133 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10134
10135         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10136         current working directory
10137
10138 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10139
10140         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10141         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10142         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10143         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10144         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10145         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10146         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10147         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10148         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10149         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10150         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10151         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10152         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10153         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10154         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10155         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10156         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10157         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10158         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10159         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10161         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10162         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10163         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10164         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10165         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10166         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10167         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10169         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10170         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10171         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10172         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10173         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10174         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10175         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10176         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10177         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10178         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10179         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10180         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10181         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10182
10183         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10184         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10185
10186         * sysdeps/unix/sysv/linux/arm/Makefile
10187         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10188         Add rt-aeabi_unwind_cpp_pr1.
10189         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10190         Add nptl-aeabi_unwind_cpp_pr1.
10191         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10192         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10193         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10194         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10195         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10196         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10197
10198         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10199         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10200         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10201         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10202
10203         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10204         Deconditionalize the code that was previously under [RESET_PID].
10205         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10206
10207         * sysdeps/generic/exit-thread.h: New file.
10208         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10209         * include/unistd.h (__exit_thread): Remove declaration.
10210         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10211         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10212         * csu/libc-start.c: Include <exit-thread.h>.
10213         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10214         * nptl/pthread_create.c: Include <exit-thread.h>.
10215         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10216         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10217         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10218         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10219         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10220         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10221         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10222         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10223         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10224         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10225         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10226         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10227         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10228         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10229         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10230         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10231         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10232
10233 2014-05-13  Andreas Schwab  <schwab@suse.de>
10234
10235         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10236
10237 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10238
10239         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10240         (__ASSUME_UTIMES): Do not condition on kernel version.
10241         (__ASSUME_PSELECT): Define unconditionally.
10242         (__ASSUME_PPOLL): Likewise.
10243         (__ASSUME_ATFCTS): Likewise.
10244         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10245         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10246         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10247         (__ASSUME_UTIMENSAT): Define unconditionally.
10248         (__ASSUME_PRIVATE_FUTEX): Likewise.
10249         (__ASSUME_FALLOCATE): Likewise.
10250         (__ASSUME_O_CLOEXEC): Likewise.
10251         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10252         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10253         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10254         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10255         (__ASSUME_IN_NONBLOCK): Likewise.
10256         (__ASSUME_PIPE2): Likewise.
10257         (__ASSUME_EVENTFD2): Likewise.
10258         (__ASSUME_SIGNALFD4): Likewise.
10259         (__ASSUME_DUP3): Likewise.
10260         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10261         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10262         (__ASSUME_AT_RANDOM): Likewise.
10263         (__ASSUME_PREADV): Likewise.
10264         (__ASSUME_PWRITEV): Likewise.
10265         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10266         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10267         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10268         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10269         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10271         (__ASSUME_O_CLOEXEC): Define unconditionally.
10272         (__ASSUME_PSELECT): Do not undefine conditionally.
10273         (__ASSUME_PPOLL): Likewise.
10274         (__ASSUME_ATFCTS): Likewise.
10275         (__ASSUME_SET_ROBUST_LIST): Likewise.
10276         (__ASSUME_UTIMENSAT): Likewise.
10277         (__ASSUME_FDATASYNC): Define unconditionally.
10278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10279         (__ASSUME_SIGFRAME_V2): Likewise.
10280         )__ASSUME_EVENTFD2): Likewise.
10281         (__ASSUME_SIGNALFD4): Likewise.
10282         (__ASSUME_PSELECT): Do not undefine conditionally.
10283         (__ASSUME_PPOLL): Likewise.
10284         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10285         (__ASSUME_PSELECT): Define unconditionally.
10286         (__ASSUME_PPOLL): Likewise.
10287         (__ASSUME_O_CLOEXEC): Likewise.
10288         (__ASSUME_SOCK_CLOEXEC): Likewise.
10289         (__ASSUME_IN_NONBLOCK): Likewise.
10290         (__ASSUME_PIPE2): Likewise.
10291         (__ASSUME_EVENTFD2): Likewise.
10292         (__ASSUME_SIGNALFD4): Likewise.
10293         (__ASSUME_DUP3): Likewise.
10294         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10295         (__ASSUME_O_CLOEXEC): Likewise.
10296         (__ASSUME_SOCK_CLOEXEC): Likewise.
10297         (__ASSUME_IN_NONBLOCK): Likewise.
10298         (__ASSUME_PIPE2): Likewise.
10299         (__ASSUME_EVENTFD2): Likewise.
10300         (__ASSUME_SIGNALFD4): Likewise.
10301         (__ASSUME_DUP3): Likewise.
10302         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10303         (__ASSUME_EVENTFD2): Likewise.
10304         (__ASSUME_SIGNALFD4): Likewise.
10305         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10306
10307 2014-05-12  Andreas Schwab  <schwab@suse.de>
10308
10309         [BZ #16932]
10310         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10311         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10312         than maximum RPC packet size.
10313         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10314         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10315         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10316         (_nss_nis_getservbyport_r): Likewise.
10317
10318 2014-05-12  Will Newton  <will.newton@linaro.org>
10319
10320         * malloc/Makefile (tests): Add tst-mallopt.
10321         * malloc/tst-mallopt.c: New file.
10322
10323 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10324
10325         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10326         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10327
10328 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10329
10330         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10331         (tst-tlsmod6.so): Likewise.
10332
10333 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10334
10335         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10336
10337 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10338
10339         [BZ #16064]
10340         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10341         and <dl-procinfo.h>.
10342         (__fegetenv): Save SSE state in envp->__eip if supported.
10343         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10344         envp->__eip if supported.
10345         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10346         and <dl-procinfo.h>.
10347         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10348         __data_offset and __data_selector in environment to 0.  Set SSE
10349         state if supported.
10350         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10351         test-fenv-sse.
10352         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10353         -mfpmath=sse.
10354         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10355
10356 2014-05-09  Will Newton  <will.newton@linaro.org>
10357
10358         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10359         and libc_relro_required for ARM.
10360         * sysdeps/arm/preconfigure: Regenerate.
10361
10362 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10363             Stefan Liebler  <stli@linux.vnet.ibm.com>
10364
10365         * config.make.in (enable-lock-elision): New Makefile variable.
10366         * configure.ac: Likewise.
10367         * configure: Regenerate.
10368         * sysdeps/s390/configure.ac:
10369         Add check for gcc transactions support.
10370         * sysdeps/s390/configure: Regenerate.
10371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10372         Build elision files if enabled.
10373         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10374         Add lock elision support for s390.
10375         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10376         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10377         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10378         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10379         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10380         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10381         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10382         Likewise.
10383         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10384         Likewise.
10385         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10386         Likewise.
10387         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10388         Likewise.
10389         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10390         (__lll_timedlock_elision, __lll_lock_elision)
10391         (__lll_unlock_elision, __lll_trylock_elision)
10392         (lll_timedlock_elision, lll_lock_elision)
10393         (lll_unlock_elision, lll_trylock_elision): Add.
10394         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10395         (pthread_mutex_t): Add lock elision support for s390.
10396
10397 2014-05-14  Wilco  <wdijkstr@arm.com>
10398
10399         * sysdeps/arm/fclrexcpt.c: Cleanup.
10400         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10401         * sysdeps/arm/feenablxcpt.c: Cleanup.
10402         * sysdeps/arm/fegetenv.c: Cleanup.
10403         * sysdeps/arm/fegetexcept.c: Cleanup.
10404         * sysdeps/arm/fegetround.c: Cleanup.
10405         * sysdeps/arm/feholdexcpt.c: Cleanup.
10406         * sysdeps/arm/fesetenv.c: Cleanup.
10407         * sysdeps/arm/fesetround.c: Cleanup.
10408         * sysdeps/arm/feupdateenv.c: Cleanup.
10409         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10410         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10411         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10412         * sysdeps/arm/ftestexcept.c: Cleanup.
10413         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10414         * sysdeps/arm/setfpucw.c: Cleanup.
10415
10416 2014-05-09  Will Newton  <will.newton@linaro.org>
10417
10418         * sysdeps/arm/armv7/strcmp.S: New file.
10419         * NEWS: Mention addition of ARMv7 optimized strcmp.
10420
10421 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10422
10423         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10424         look for %.ac rather than %.in.
10425
10426         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10427         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10428         * sysdeps/mach/hurd/configure: Regenerated.
10429         * sysdeps/unix/sysv/linux/configure: Regenerated.
10430
10431         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10432
10433 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10434
10435         [BZ# 16922]
10436         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10437         (LONG_SUB): Ditto.
10438         (PTR_SUB): Ditto.
10439
10440 2014-05-07  Andreas Schwab  <schwab@suse.de>
10441
10442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10443         when skipping over non-matching result from nscd.
10444
10445 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10446
10447         [BZ #16876]
10448         * nptl/sockperf.c (client): Check socket return value.
10449
10450         [BZ #16877]
10451         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10452         nscd security class.
10453
10454 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10455
10456         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10457         * sysdeps/arm/unwind.h: ... here.
10458
10459 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10460
10461         [BZ# 16916]
10462         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10463         Define.
10464
10465 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10466
10467         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10468         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10469         multiarch strncpy for PPC64.
10470         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10471         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10473         multiarch optimizations.
10474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10475         (__libc_ifunc_impl_list): Likewise.
10476         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10477         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10478         multiarch stpncpy for PPC64.
10479         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10480         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10481
10482 2014-05-06  Andreas Schwab  <schwab@suse.de>
10483
10484         [BZ #16912]
10485         * gmon/mcount.c (_MCOUNT_DECL): Use
10486         atomic_compare_and_exchange_bool_acq instead of
10487         catomic_compare_and_exchange_bool_acq.
10488
10489 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10490
10491         * elf/Makefile (others, install-bin): Remove pldd.
10492         (pldd-modules): Variable removed.
10493         ($(objpfx)pldd): Target removed.
10494         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10495         (others, install-bin): Append pldd here.
10496         ($(objpfx)pldd): New target.
10497
10498         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10499         to 0, so the first #if test emitted later doesn't see it undefined.
10500         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10501         * sysdeps/gnu/errlist.c: Regenerated.
10502
10503 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10504
10505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10506         [libc_hidden_builtin_def]: Define to empty value.
10507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10508         [libc_hidden_builtin_def]: Likewise.
10509         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10510         [libc_hidden_builtin_def]: Likewise.
10511         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10512         [libc_hidden_builtin_def]: Likewise.
10513         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10514         __redirect_memcpy and define ifunc as default hidden symbol.
10515         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10516         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10517
10518 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10519
10520         * locale/iso-4217.def: Reintroduce XDR currency.
10521
10522 2014-05-04  Allan McRae  <allan@archlinux.org>
10523
10524         * po/eo.po: Update Esperanto translation from translation project.
10525
10526 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10527
10528         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10529         and FEATURE_INDEX_MAX to 1.
10530         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10531
10532 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10533
10534         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10535         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10536         * iconvdata/big5.c (ONE_DIRECTION): Define.
10537         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10538         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10539         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10540         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10541         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10542         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10543         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10544         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10545         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10546         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10547         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10548         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10549         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10550         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10551         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10552         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10553         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10554         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10555         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10556         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10557         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10558         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10559         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10560         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10561         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10562         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10563         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10564         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10565         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10566         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10567         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10568         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10569         * iconvdata/johab.c (ONE_DIRECTION): Define.
10570         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10571         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10572         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10573         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10574         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10575         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10576         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10577         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10578         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10579         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10580
10581 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10582
10583         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10584         (_IO_JUMPS_OFFSET): Define to 0.
10585
10586         * nptl/sysdeps/pthread/bits/libc-lock.h
10587         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10588         (__libc_lock_define_initialized_recursive): Always define using
10589         initializer.  Modern compilers treat uninitialized (implicit zero) and
10590         explicit zero initializers the same (i.e. put the datum in bss).
10591
10592 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10593
10594         * nscd/nscd-client.h: Include <string.h>.
10595
10596 2014-05-01  David S. Miller  <davem@davemloft.net>
10597
10598         [BZ #16885]
10599         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10600         multiple zero bytes exist at the end of a string.
10601         Reported by Aurelien Jarno <aurelien@aurel32.net>
10602
10603         * string/test-strcmp.c (check): Add explicit test for situations where
10604         there are multiple zero bytes after the first.
10605
10606 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10607
10608         [BZ #16890]
10609         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10610         when compiling wprintf.
10611         * stdio-common/tstdiomisc.c (t3): New function.
10612         (main): Call it.
10613
10614 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10615
10616         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10617         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10618         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10619         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10620
10621 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10622
10623         * stdlib/longlong.h: Updated from GCC.
10624
10625 2014-05-01  Will Newton  <will.newton@linaro.org>
10626             Bernard Ogden  <bernie.ogden@linaro.org>
10627
10628         * NEWS: Update fixed bug list.
10629
10630         [BZ #15119]
10631         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10632
10633 2014-04-30  David S. Miller  <davem@davemloft.net>
10634
10635         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10636         (libc_feholdexcept_setround_sparc_ctx): New function.
10637         (libc_fesetenv_sparc_ctx): Likewise.
10638         (libc_feupdateenv_sparc_ctx): Likewise.
10639         (libc_feholdsetround_sparc_ctx): Likewise.
10640         (libc_feholdexcept_setround_ctx): Define.
10641         (libc_feholdexcept_setroundf_ctx): Likewise.
10642         (libc_feholdexcept_setroundl_ctx): Likewise.
10643         (libc_fesetenv_ctx): Likewise.
10644         (libc_fesetenvf_ctx): Likewise.
10645         (libc_fesetenvl_ctx): Likewise.
10646         (libc_feupdateenv_ctx): Likewise.
10647         (libc_feupdateenvf_ctx): Likewise.
10648         (libc_feupdateenvl_ctx): Likewise.
10649         (libc_feresetround_ctx): Likewise.
10650         (libc_feresetroundf_ctx): Likewise.
10651         (libc_feresetroundl_ctx): Likewise.
10652         (libc_feholdsetround_ctx): Likewise.
10653         (libc_feholdsetroundf_ctx): Likewise.
10654         (libc_feholdsetroundl_ctx): Likewise.
10655
10656         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10657         with __USE_GNU instead of XOPEN cpp guards.
10658
10659         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10660         0.
10661
10662         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10663         with XOPEN cpp guards.
10664
10665 2014-04-30  Julian Brown  <julian@codesourcery.com>
10666
10667         [BZ #16888]
10668         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10669         handling.
10670
10671 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10672
10673         [BZ #9894]
10674         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10675         Change to 2.6.32.
10676         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10677         * sysdeps/unix/sysv/linux/configure: Regenerated.
10678         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10679         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10680         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10681         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10682         * README: Update reference to required Linux kernel version.
10683         * manual/install.texi (Linux): Update reference to required Linux
10684         kernel headers version.
10685         * INSTALL: Regenerated.
10686
10687         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10688         header inclusion.
10689         [POSIX] (limits.h): Likewise.
10690         [POSIX] (math.h): Likewise.
10691         [POSIX] (sys/wait.h): Likewise.
10692         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10693         function.
10694         [POSIX] (stddef.h): Do not allow header inclusion.
10695
10696 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10697
10698         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10699
10700 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10701
10702         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10703         Return immediately after lll_futex_wake.
10704
10705 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10706
10707         [BZ #16791]
10708         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10709         structure.
10710         (datahead_init_pos): Call datahead_init_common early.
10711         (datahead_init_neg): Likewise.
10712
10713         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10714         datahead_init_neg): New functions.
10715         * nscd/aicache.c (addhstaiX): Use them.
10716         * nscd/grpcache.c (cache_addgr): Likewise.
10717         * nscd/hstcache.c (cache_addhst): Likewise.
10718         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10719         * nscd/netgroupcache.c (do_notfound): Likewise.
10720         (addgetnetgrentX): Likewise.
10721         (addinnetgrX): Likewise.
10722         * nscd/pwdcache.c (cache_addpw): Likewise.
10723         * nscd/servicescache.c (cache_addserv): Likewise.
10724
10725 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10726             Atsushi Onoe  <atsushi@onoe.org>
10727
10728         [BZ #14308]
10729         [BZ #12994]
10730         [BZ #13651]
10731         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10732         one response is valid.
10733         * resolv/res_send.c (send_dg): Check for validity of other
10734         response if the current response is a referral.
10735
10736 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10737
10738         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10739
10740 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10741
10742         [BZ #16823]
10743         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10744         Always divide by positive zero when computing -Inf result.
10745         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10746         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10747
10748 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10749
10750         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10751         FPSCR if value do not change.
10752         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10753         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10754         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10755         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10756         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10757         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10758         function.
10759
10760 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10761
10762         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10763         * sysdeps/unix/sysv/linux/hppa: Move directory from
10764         ports/systeps/unix/sysv/linux/hppa.
10765         * README: Update listing for hppa-*-linux-gnu.
10766
10767 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10768
10769         [BZ #16754]
10770         * manual/stdio.texi (Hook functions): Fix types of stream hook
10771         functions.
10772         [BZ #16854]
10773         * socket/sys/socket.h: Fix typo in comment.
10774
10775 2014-04-28  Wilco  <wdijkstr@arm.com>
10776
10777         * sysdeps/arm/fenv_private.h: New file.
10778         * sysdeps/arm/math_private.h: New file.
10779         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10780
10781 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10782
10783         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10784         with __int128_t.
10785         (La_x86_64_retval): Likewise.
10786
10787 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10788
10789         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10790         fpsr if value didn't change.
10791         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10792         to fpcr if value didn't change.
10793         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10794         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10795         fpsr or fpcr if value didn't change.
10796         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10797         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10798         fpcr if value didn't change.
10799         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10800         to fpsr if value didn't change.
10801
10802 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10803
10804         * nptl/tst-sem3.c: Use test-skeleton.c
10805         (main): Rename to do_test.  Use return instead of
10806         exit.
10807         * nptl/tst-sem4.c: Use test-skeleton.c
10808         (main): Rename to do_test.
10809
10810 2014-04-22  David S. Miller  <davem@davemloft.net>
10811
10812         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10813         (struct sigaction): New struct member __glibc_reserved0, change
10814         type of sa_flags to int.
10815
10816 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10817
10818         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10819         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10820
10821 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10822
10823         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10824         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10825
10826 2014-04-22  Will Newton  <will.newton@linaro.org>
10827             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10828
10829         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10830         (__longjmp): Add longjmp and longjmp_target SystemTap
10831         probes.
10832         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10833         (__sigsetjmp): Add setjmp SystemTap probe.
10834
10835 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10836
10837         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10838         match manual order.
10839
10840 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10841
10842         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10843
10844         * sysdeps/powerpc/fpu/fenv_private.h
10845         (libc_feholdexcept_setroundl_ctx): Define to
10846         libc_feholdexcept_setround_ppc_ctx.
10847         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10848         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10849         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10850         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10851
10852 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10853
10854         * sysdeps/aarch64/math-tests.h: New file.
10855
10856 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10857
10858         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10859         New.
10860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10861         Check and set bit_AVX2_Usable.
10862         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10863         macro.
10864         (bit_AVX2): Likewise.
10865         (index_AVX2_Usable): Likewise.
10866         (CPUID_AVX2): Likewise.
10867         (HAS_AVX2): Likewise.
10868
10869 2014-04-17  Will Newton  <will.newton@linaro.org>
10870
10871         * manual/setjmp.texi (System V contexts): Add note that
10872         calling setcontext on a context created by a call to a
10873         signal handler is undefined.  Update text to note that
10874         setcontext from a signal handler is possible but not
10875         recommended.
10876
10877         [BZ #16629]
10878         * stdlib/tst-setcontext.c: Include signal.h.
10879         (main): Check that the signal stack before and
10880         after swapcontext is the same.
10881
10882         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10883         Re-implement to restore registers in user code and avoid
10884         rt_sigreturn system call.
10885
10886 2014-04-17  Wilco  <wdijkstr@arm.com>
10887
10888         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10889         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10890         * math/test-fenv.c: Skip exception trap tests on targets which only
10891         support non-stop mode.
10892
10893 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10894             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10895
10896         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10897         (libc_feholdsetround_aarch64_ctx)
10898         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10899         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10900         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10901         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10902         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10903         (libc_feresetround_noexl_ctx): Define.
10904
10905 2014-04-16  Richard Henderson  <rth@redhat.com>
10906
10907         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10908
10909         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10910         unwind tables.
10911
10912         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10913         const from the non-libc, non-ldso copy.
10914
10915         * sysdeps/alpha/libm-test-ulps: Regenerate.
10916
10917 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10918             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10919
10920         * sysdeps/aarch64/fpu/math_private.h: New file.
10921
10922 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10923
10924         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10925
10926 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10927
10928         [BZ #16275]
10929         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10930         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10931         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10932         Intel MPX bound registers before _dl_profile_fixup.
10933         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10934         registers after _dl_profile_fixup.  Save and restore bound
10935         registers bnd0/bnd1 when calling _dl_call_pltexit.
10936         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10937         (LR_BND_OFFSET): Likewise.
10938         (LRV_BND0_OFFSET): Likewise.
10939         (LRV_BND1_OFFSET): Likewise.
10940
10941 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10942
10943         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10944         to...
10945         * sysdeps/mach/hurd/i386/tls.h: ... here.
10946         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10947         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10948         fields.
10949
10950 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10951
10952         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10953
10954 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10955
10956         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10957
10958 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10959
10960         [BZ #14770]
10961         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10962         * sysdeps/s390/configure: Regenerate.
10963
10964         [BZ #16824]
10965         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10966         Set round-to-nearest internally to reduce error accumulation.
10967
10968 2014-04-16  Alan Modra  <amodra@gmail.com>
10969
10970         [BZ #16740]
10971         [BZ #16619]
10972         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10973         * math/libm-test.inc (frexp_test_data): Add tests.
10974         * NEWS: Update fixed bug list.
10975
10976 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10977
10978         * benchtests/Makefile: Depend on libraries in build directory.
10979         (bench-math): Separate out math tests.
10980         (bench-pthread): Separate out pthread tests.
10981         (bench): Include math and pthread tests.
10982
10983 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10984
10985         [BZ #16831]
10986         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10987         _dl_debug_initialize.
10988
10989         * configure.ac: Remove SELinux header check.
10990         * configure: Regenerate.
10991         * nscd/selinux.c (perms): Array of const char* to permission names.
10992         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10993         default policy. Call string_to_security_class and string_to_av_perm to
10994         translate strings. Enforce default policy and call avs_has_perm with
10995         results of translated strings.
10996
10997 2014-04-13  David S. Miller  <davem@davemloft.net>
10998
10999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11000
11001 2014-04-12  Allan McRae  <allan@archlinux.org>
11002
11003         [BZ #16838]
11004         * manual/string.texi (Collation Functions): Fix qsort argument
11005         order in example.
11006         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11007
11008 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11009
11010         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11011         Make the test a no-op if there are no exceptions defined.
11012
11013 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11014
11015         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11016         enable-hardcoded-path-in-tests
11017
11018 2014-04-11  Will Newton  <will.newton@linaro.org>
11019
11020         * benchtests/Makefile (extra-objs): Add json-lib.o.
11021         (bench-func): Tidy up JSON output.
11022         * benchtests/bench-skeleton.c: Include json-lib.h.
11023         (main): Use JSON library functions to do output of
11024         benchmark results.
11025         * benchtests/bench-timing-type.c (main): Output the
11026         timing type simply, leaving formatting to the user.
11027         * benchtests/json-lib.c: New file.
11028         * benchtests/json-lib.h: Likewise.
11029
11030 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11031
11032         [BZ #15215]
11033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11034         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11035         memory barriers.  Add comments.
11036         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11037         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11038         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11039         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11040         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11041         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11042
11043 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11044
11045         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11046         * sysdeps/s390/s390-64/configure.ac: ... this ...
11047         * sysdeps/s390/configure.ac: ... to here.
11048         * sysdeps/s390/s390-32/configure: Delete file.
11049         * sysdeps/s390/s390-64/configure: Delete file.
11050         * sysdeps/s390/configure: Regenerate.
11051
11052 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11053
11054         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11055
11056 2014-04-11  Will Newton  <will.newton@linaro.org>
11057
11058         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11059         to zero if it is not defined elsewhere.  (mtrim): Test
11060         the value of MALLOC_DEBUG with #if rather than #ifdef.
11061
11062 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11063
11064         * benchtests/pthread_once-inputs: New file.
11065         * benchtests/pthread_once-source.c: New file.
11066         * benchtests/README: Update documentation.
11067
11068 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11069             H.J. Lu  <hongjiu.lu@intel.com>
11070
11071         [BZ #16275]
11072         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11073         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11074         * sysdeps/x86_64/configure: Regenerated.
11075         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11076         macro.
11077         (REGISTER_SAVE_RAX): Likewise.
11078         (REGISTER_SAVE_RCX): Likewise.
11079         (REGISTER_SAVE_RDX): Likewise.
11080         (REGISTER_SAVE_RSI): Likewise.
11081         (REGISTER_SAVE_RDI): Likewise.
11082         (REGISTER_SAVE_R8): Likewise.
11083         (REGISTER_SAVE_R9): Likewise.
11084         (REGISTER_SAVE_BND0): Likewise.
11085         (REGISTER_SAVE_BND1): Likewise.
11086         (REGISTER_SAVE_BND2): Likewise.
11087         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11088         bound registers when calling _dl_fixup.
11089
11090 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11091
11092         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11093         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11094         of its definition.
11095         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11096         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11097         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11098         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11099         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11100         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11101         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11102
11103 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11104
11105         [BZ #15514]
11106         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11107         pathconf(_PC_NAME_MAX).
11108
11109 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11110
11111         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11112         Remove macro usage.
11113         (__PTHREAD_SPINS): Move definition to ...
11114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11115         (__PTHREAD_SPINS): ... here.
11116         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11117         (__PTHREAD_SPIN): Likewise.
11118         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11119         (__PTHREAD_SPIN): Likewise.
11120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11121         (__PTHREAD_SPIN): Likewise.
11122         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11123         (__PTHREAD_SPIN): Likewise.
11124         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11125         (__PTHREAD_SPIN): Likewise.
11126         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11127         (__PTHREAD_SPIN): Likewise.
11128         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11129         (__PTHREAD_SPIN): Likewise.
11130         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11131         (__PTHREAD_SPIN): Likewise.
11132         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11133         (__PTHREAD_SPIN): Likewise.
11134         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11135         (__PTHREAD_SPIN): Likewise.
11136         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11137         (__PTHREAD_SPIN): Likewise.
11138         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11139         (__PTHREAD_SPIN): Likewise.
11140
11141         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11142         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11143         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11144         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11145         imply folder.
11146         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11147         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11148         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11149         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11150         correct imply path.
11151         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11152         strlen symbol for non multi-arch builds.
11153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11154         missing hidden_def and weak_alias.
11155
11156 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11157
11158         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11159
11160 2014-04-07  Will Newton  <will.newton@linaro.org>
11161
11162         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11163         and contents.  [!_LIBC] Remove #ifndef and contents.
11164         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11165         * string/memccpy.c (__memccpy): Use ANSI prototype.
11166         * string/memfrob.c (memfrob): Likewise.
11167         * string/strcoll.c (STRCOLL): Likewise.
11168         * string/strlen.c (strlen): Likewise.
11169         * string/strtok.c (STRTOK): Likewise.
11170         * string/strcat.c: Remove unused #include of memcopy.h.
11171         (strcat): Use ANSI prototype.
11172         * string/strchr.c: Remove unused #include of memcopy.h.
11173         (strchr): Use ANSI prototype.
11174         * string/strcmp.c: Remove unused #include of memcopy.h.
11175         (strcmp): Use ANSI prototype.
11176         * string/strcpy.c: Remove unused #include of memcopy.h.
11177         (strcpy): Use ANSI prototype.
11178
11179 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11180
11181         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11182         * config.make.in (config-extra-cppflags): Set it from
11183         libc_extra_cppflags.
11184         * configure.ac (libc_extra_cflags): Make it accumulate over
11185         configure fragments.
11186         (libc_extra_cppflags): New flag.
11187         * configure. Regenerate.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11189         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11190         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11192
11193         [BZ #16815]
11194         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11195         result for FE_DOWNWARD rounding mode.
11196         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11197         Likewise.
11198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11199
11200 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11201
11202         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11203         in function argument name.
11204
11205 2014-04-03  David Svoboda  <svoboda@cert.org>
11206
11207         [BZ #5666]
11208         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11209         explicitly.
11210
11211 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11212
11213         * elf/dl-unmap-segments.h: New file.
11214         * sysdeps/generic/ldsodefs.h
11215         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11216         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11217         * elf/dl-fptr.c: Likewise.
11218         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11219         * sysdeps/aarch64/tlsdesc.c: Likewise.
11220         * sysdeps/arm/tlsdesc.c: Likewise.
11221         * sysdeps/i386/tlsdesc.c: Likewise.
11222         * sysdeps/tile/dl-runtime.c: Likewise.
11223         * sysdeps/x86_64/tlsdesc.c: Likewise.
11224         * elf/dl-load.h: New file.
11225         * elf/dl-load.c: Include it.
11226         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11227         Macros moved to dl-load.h.
11228         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11229         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11230         Use _dl_unmap_segments in place of __munmap.
11231         Break out segment-mapping loop into ...
11232         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11233
11234 2014-04-03  Will Newton  <will.newton@linaro.org>
11235
11236         * elf/dl-lookup.c (do_lookup_x): Remove comment
11237         referring to nested function and move variable
11238         declarations down to before first use.
11239
11240 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11241
11242         [BZ #16799]
11243         [BZ #16800]
11244         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11245         with 0 numerator.
11246         * math/s_catanf.c (__catanf): Likewise.
11247         * math/s_catanh.c (__catanh): Likewise.
11248         * math/s_catanhf.c (__catanhf): Likewise.
11249         * math/s_catanhl.c (__catanhl): Likewise.
11250         * math/s_catanl.c (__catanl): Likewise.
11251         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11252         by positive zero when computing -Inf result.
11253         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11254         (catanh_test): Likewise.
11255         * sysdeps/i386/fpu/libm-test-ulps: Update.
11256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11257
11258         [BZ #16789]
11259         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11260         instead of using underflowing value in computing result.
11261         * math/s_clog10.c (__clog10): Likewise.
11262         * math/s_clog10f.c (__clog10f): Likewise.
11263         * math/s_clog10l.c (__clog10l): Likewise.
11264         * math/s_clogf.c (__clogf): Likewise.
11265         * math/s_clogl.c (__clogl): Likewise.
11266         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11267         (clog10_test): Likewise.
11268         * sysdeps/i386/fpu/libm-test-ulps: Update.
11269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11270
11271 2014-04-02  Alan Modra  <amodra@gmail.com>
11272
11273         [BZ #16739]
11274         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11275         output when value is near a power of two.  Use int64_t for lx and
11276         remove casts.  Use decimal rather than hex exponent constants.
11277         Don't use long double multiplication when double will suffice.
11278         * math/libm-test.inc (nextafter_test_data): Add tests.
11279         * NEWS: Add 16739 and 16786 to bug list.
11280
11281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11282
11283         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11284
11285 2014-04-01  Will Newton  <will.newton@linaro.org>
11286
11287         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11288         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11289
11290 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11291
11292         [BZ #13347]
11293         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11294         * nptl/tst-setuid2.c: New file.
11295         * nptl/Makefile (xtests): Add tst-setuid2.
11296
11297 2014-04-01  Alan Modra  <amodra@gmail.com>
11298
11299         [BZ #16786]
11300         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11301
11302 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11303
11304         [BZ #6803]
11305         [BZ #6804]
11306         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11307         set errno as appropriate.
11308         * math/w_scalbf.c (__scalbf): Likewise.
11309         * math/w_scalbl.c (__scalbl): Likewise.
11310         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11311         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11312         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11313         Add more NaN tests.
11314
11315         [BZ #16349]
11316         * math/w_atan2.c: Include <errno.h>.
11317         (__atan2): Set errno for result underflowing to zero.
11318         * math/w_atan2f.c: Include <errno.h>.
11319         (__atan2f): Set errno for result underflowing to zero.
11320         * math/w_atan2l.c: Include <errno.h>.
11321         (__atan2l): Set errno for result underflowing to zero.
11322         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11323         tests.
11324         * math/auto-libm-test-out: Regenerated.
11325
11326 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11327
11328         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11329         Encode instruction correctly in little endian.
11330         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11331         Likewise.
11332         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11333         Likewise.
11334         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11335         Likewise.
11336         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11337         Likewise.
11338
11339 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11340
11341         [BZ #9894]
11342         * sysdeps/unix/sysv/linux/kernel-features.h
11343         [__sparc__ && !__arch64__ && !__sparc_v9__]
11344         (__ASSUME_SET_ROBUST_LIST): Do not define.
11345         [__sparc__ && !__arch64__ && !__sparc_v9__]
11346         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11347         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11348         Likewise.
11349         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11350         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11351         (__ASSUME_REQUEUE_PI): Likewise.
11352         (__ASSUME_SET_ROBUST_LIST): Likewise.
11353         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11354         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11355         Undefine.
11356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11357         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11358         Likewise.
11359         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11360         Likewise.
11361         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11362         Likewise.
11363         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11364         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11365         Undefine.
11366         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11367         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11368         Likewise.
11369
11370         [BZ #16648]
11371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11372         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11373         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11374
11375 2014-03-31  Will Newton  <will.newton@linaro.org>
11376
11377         * benchtests/Makefile (bench): Add ffs and ffsll to list
11378         of tests.
11379         * benchtests/ffs-inputs: New file.
11380         * benchtests/ffsll-inputs: Likewise.
11381
11382 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11383
11384         [BZ #16770]
11385         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11386         too large before casting to int.
11387         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11388         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11389         * math/libm-test.inc (scalb_test_data): Add more tests.
11390
11391 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11392
11393         * benchtests/Makefile (DETAILED_OPT): New make option.
11394         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11395         set.
11396         * benchtests/bench-skeleton.c: Include stdbool.h.
11397         (main): Store and print timings per input.
11398         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11399         member to each argument value.
11400         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11401         (_print_arg_data): Initialize per-input timing to 0.
11402
11403         * benchtests/Makefile (timing-type): New binary.
11404         (bench-clean): Also remove bench-timing-type.
11405         (bench): New target for timing-type.
11406         (bench-func): Print output in JSON format.
11407         * benchtests/bench-skeleton.c (main): Print output in JSON
11408         format.
11409         * benchtests/bench-timing-type.c: New file.
11410         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11411         (TIMING_PRINT_STATS): Remove.
11412         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11413         name separately.
11414
11415         * benchtests/bench-modf.c: Remove.
11416         * benchtests/modf-inputs: New inputs file.
11417
11418 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11419
11420         [BZ #16362]
11421         * math/s_clog10.c (M_PI_LOG10E): New macro.
11422         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11423         imaginary parts are 0.
11424         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11425         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11426         imaginary parts are 0.
11427         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11428         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11429         imaginary parts are 0.
11430         * math/libm-test.inc (clog10_test_data): Update expected results
11431         for when real and imaginary parts are 0.
11432
11433 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11434
11435         * elf/dl-load.c: Finish conversion of __builtin_expect into
11436         __glibc_{un}likely.
11437
11438 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11439
11440         [BZ #16348]
11441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11442         1+x for argument with exponent below -67.
11443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11444         Likewise.
11445         * math/auto-libm-test-in: Add more tests of exp.
11446         * math/auto-libm-test-out: Regenerated.
11447
11448 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11449
11450         [BZ #16759]
11451         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11452         (nscd_getnetgrent): Use it.
11453
11454         [BZ #16760]
11455         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11456         of stpcpy.
11457
11458 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11459
11460         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11461         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11462         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11463         (lll_robust_unlock): Remove out of line section. Use cfi
11464         intrinsics.
11465         (LLL_STUB_UNWIND_INFO*): Remove.
11466         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11467         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11468         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11469         (lll_robust_unlock): Remove out of line section. Use cfi
11470         intrinsics.
11471         (LLL_STUB_UNWIND_INFO*): Remove.
11472
11473 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474
11475         [BZ #16758]
11476         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11477         blank values.
11478
11479 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11480
11481         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11482
11483 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11484
11485         [BZ #16198]
11486         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11487         fnstenv.
11488         * math/test-fenv-preserve.c: New file.
11489         * math/Makefile (tests): Add test-fenv-preserve.
11490
11491 2014-03-26  Will Newton <will.newton@linaro.org>
11492
11493         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11494
11495 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11496
11497         * scripts/versionlist.awk: Partition the version sets and emit all
11498         GLIBC_* (sorted) before all others (sorted).
11499
11500 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11501
11502         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11503         GLIBC_2.2.5 version.
11504
11505 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11506
11507         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11508         calls.
11509
11510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11511         previous change.
11512
11513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11514
11515 2014-03-25  Andreas Schwab  <schwab@suse.de>
11516
11517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11518         label to be used after in6ailist is initialized.
11519
11520 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11521
11522         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11523         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11524
11525 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11526
11527         [BZ #16357]
11528         [BZ #16599]
11529         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11530         min_plus_half.
11531         (fp_formats): Update initializers.
11532         (init_fp_formats): Initialize new field.
11533         (output_for_one_input_case): Allow underflow for results up to
11534         min_plus_half.
11535         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11536         * math/auto-libm-test-in: Don't mark some underflows from asin and
11537         atanh as spurious.
11538         * math/auto-libm-test-out: Regenerated.
11539         * sysdeps/i386/fpu/libm-test-ulps: Update.
11540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541
11542 2014-03-25  Andreas Schwab  <schwab@suse.de>
11543
11544         * libio/Makefile (tst-ftell-partial-wide-ENV)
11545         (tst-ftell-active-handler-ENV): Define.
11546
11547 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11548
11549         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11550
11551 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11552
11553         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11554
11555 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11556
11557         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11558         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11559         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11560
11561 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11562
11563         [BZ #16634]
11564         * elf/dl-load.c (open_verify): Add mode parameter.
11565         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11566         (open_path): Change from boolean 'secure' to complete flag 'mode'
11567         (_dl_map_object): Adjust.
11568         * elf/Makefile (tests): Add tst-dlopen-aout.
11569         * elf/tst-dlopen-aout.c: New test.
11570
11571 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11572
11573         [BZ #16714]
11574         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11575         (struct stat): Rename member pad0 to __glibc_reserved0.
11576
11577         [BZ #16712]
11578         * sysdeps/s390/s390-32/bits/wordsize.h
11579         (__WORDSIZE32_SIZE_ULONG): New define.
11580         * sysdeps/s390/s390-64/bits/wordsize.h
11581         (__WORDSIZE32_SIZE_ULONG): Likewise.
11582         * sysdeps/generic/stdint.h (SIZE_MAX):
11583         Define as UL if __WORDSIZE32_SIZE_ULONG.
11584
11585         [BZ #16713]
11586         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11587         (__glibc_reserved0): New variable.
11588         (sa_flags): Change type to int.
11589
11590         * posix/Makefile (before-compile): Use += before-compile instead
11591         of a :=.
11592
11593         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11594         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11595
11596 2014-03-20  Andreas Schwab  <schwab@suse.de>
11597
11598         [BZ #16743]
11599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11600         non-matching result from nscd.
11601
11602 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11603
11604         * scripts/bench.py: Moved to ...
11605         * benchtests/scripts/bench.py: ... here.
11606         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11607
11608 2014-03-24  Andreas Schwab  <schwab@suse.de>
11609
11610         [BZ #16002]
11611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11612         alloca_account and account alloca use for struct in6ailist.
11613
11614 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11615
11616         [BZ #16284]
11617         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11618         rounding mode to recompute results that overflow to infinity or
11619         underflow to zero.
11620         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11621         bug 16284.
11622         * math/auto-libm-test-out: Regenerated.
11623         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11624         (ccosh_test): Likewise.
11625         (csin_test_data): Use plus_oflow.
11626         (csin_test): Use ALL_RM_TEST.
11627         (csinh_test_data): Use plus_oflow.
11628         (csinh_test): Use ALL_RM_TEST.
11629         * sysdeps/i386/fpu/libm-test-ulps: Update.
11630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11631
11632 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11633
11634         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11635         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11636         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11637
11638         [BZ #16731]
11639         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11640         when x - 1 is zero.
11641         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11642         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11643         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11644         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11645         argument is 1.
11646         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11647         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11648         zero.
11649         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11650         * sysdeps/i386/fpu/libm-test-ulps: Update.
11651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11652
11653 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11654
11655         * scripts/bench.pl: Remove file.
11656         * scripts/bench.py: New benchmark script.
11657         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11658         * benchtests/README: Mention python dependency.
11659         * scripts/pylintrc: New file.
11660         * scripts/pylint: New file.
11661
11662         * bits/mathdef.h: Use #ifdef instead of #if.
11663         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11664         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11665         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11666         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11667         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11668         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11669
11670 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11671             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11672
11673         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11675         and strpbrk-ppc64 objects.
11676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11677         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11678         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11679         multiarch strpbrk for POWER7.
11680         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11681         multiarch strpbrk for PPC64.
11682         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11683         ifunc selector.
11684         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11685         strpbrk for POWER7.
11686
11687 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11688
11689         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11690         (atan_test): Likewise.
11691         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11692         (atanh_test): Use ALL_RM_TEST.
11693         (atan2_test_data): Likewise.
11694         (cabs_test): Likewise.
11695         (cacosh_test): Likewise.
11696         (carg_test): Likewise.
11697         (casin_test): Likewise.
11698         (casinh_test): Likewise.
11699         (cbrt_test): Likewise.
11700         (csqrt_test): Likewise.
11701         (erf_test): Likewise.
11702         (erfc_test): Likewise.
11703         (pow10_test): Likewise.
11704         (exp2_test): Likewise.
11705         (hypot_test): Likewise.
11706         (j0_test): Likewise.
11707         (j1_test): Likewise.
11708         (lgamma_test): Likewise.
11709         (gamma_test): Likewise.
11710         (sincos_test): Likewise.
11711         (tanh_test): Likewise.
11712         (y0_test): Likewise.
11713         (y1_test): Likewise.
11714         * sysdeps/i386/fpu/libm-test-ulps: Update.
11715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11716
11717 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11718
11719         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11721         and strcspn-ppc64 objects.
11722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11723         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11724         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11725         multiarch strcspn for POWER7.
11726         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11727         multiarch strcspn for PPC64.
11728         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11729         ifunc selector.
11730         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11731         strcspn for POWER7.
11732
11733 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11734
11735         * math/gen-libm-test.pl (generate_testfile): Expect only function
11736         name as argument to AUTO_TESTS_* and pass results for all rounding
11737         modes to parse_args.
11738         (parse_auto_input): Separate inputs of automatic tests from
11739         outputs before storing in %auto_tests.
11740         * math/libm-test.inc (acos_test_data): Update call to
11741         AUTO_TESTS_f_f.
11742         (acos_test): Use ALL_RM_TEST.
11743         (acos_tonearest_test_data): Remove.
11744         (acos_test_tonearest): Likewise.
11745         (acos_towardzero_test_data): Likewise.
11746         (acos_test_towardzero): Likewise.
11747         (acos_downward_test_data): Likewise.
11748         (acos_test_downward): Likewise.
11749         (acos_upward_test_data): Likewise.
11750         (acos_test_upward): Likewise.
11751         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11752         (asin_test_data): Likewise.
11753         (asin_test): Use ALL_RM_TEST.
11754         (asin_tonearest_test_data): Remove.
11755         (asin_test_tonearest): Likewise.
11756         (asin_towardzero_test_data): Likewise.
11757         (asin_test_towardzero): Likewise.
11758         (asin_downward_test_data): Likewise.
11759         (asin_test_downward): Likewise.
11760         (asin_upward_test_data): Likewise.
11761         (asin_test_upward): Likewise.
11762         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11763         (atan_test_data): Likewise.
11764         (atanh_test_data): Likewise.
11765         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11766         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11767         (carg_test_data): Likewise.
11768         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11769         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11770         (ccosh_test_data): Likewise.
11771         (cexp_test_data): Likewise.
11772         (clog_test_data): Likewise.
11773         (clog10_test_data): Likewise.
11774         (cos_test_data): Update call to AUTO_TESTS_f_f.
11775         (cos_test): Use ALL_RM_TEST.
11776         (cos_tonearest_test_data): Remove.
11777         (cos_test_tonearest): Likewise.
11778         (cos_towardzero_test_data): Likewise.
11779         (cos_test_towardzero): Likewise.
11780         (cos_downward_test_data): Likewise.
11781         (cos_test_downward): Likewise.
11782         (cos_upward_test_data): Likewise.
11783         (cos_test_upward): Likewise.
11784         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11785         (cosh_test): Use ALL_RM_TEST.
11786         (cosh_tonearest_test_data): Remove.
11787         (cosh_test_tonearest): Likewise.
11788         (cosh_towardzero_test_data): Likewise.
11789         (cosh_test_towardzero): Likewise.
11790         (cosh_downward_test_data): Likewise.
11791         (cosh_test_downward): Likewise.
11792         (cosh_upward_test_data): Likewise.
11793         (cosh_test_upward): Likewise.
11794         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11795         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11796         (ctan_test_data): Likewise.
11797         (ctan_test): Use ALL_RM_TEST.
11798         (ctan_tonearest_test_data): Remove.
11799         (ctan_test_tonearest): Likewise.
11800         (ctan_towardzero_test_data): Likewise.
11801         (ctan_test_towardzero): Likewise.
11802         (ctan_downward_test_data): Likewise.
11803         (ctan_test_downward): Likewise.
11804         (ctan_upward_test_data): Likewise.
11805         (ctan_test_upward): Likewise.
11806         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11807         (ctanh_test): Use ALL_RM_TEST.
11808         (ctanh_tonearest_test_data): Remove.
11809         (ctanh_test_tonearest): Likewise.
11810         (ctanh_towardzero_test_data): Likewise.
11811         (ctanh_test_towardzero): Likewise.
11812         (ctanh_downward_test_data): Likewise.
11813         (ctanh_test_downward): Likewise.
11814         (ctanh_upward_test_data): Likewise.
11815         (ctanh_test_upward): Likewise.
11816         (erf_test_data): Update call to AUTO_TESTS_f_f.
11817         (erfc_test_data): Likewise.
11818         (exp_test_data): Likewise.
11819         (exp_test): Use ALL_RM_TEST.
11820         (exp_tonearest_test_data): Remove.
11821         (exp_test_tonearest): Likewise.
11822         (exp_towardzero_test_data): Likewise.
11823         (exp_test_towardzero): Likewise.
11824         (exp_downward_test_data): Likewise.
11825         (exp_test_downward): Likewise.
11826         (exp_upward_test_data): Likewise.
11827         (exp_test_upward): Likewise.
11828         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11829         (exp10_test): Use ALL_RM_TEST.
11830         (exp10_tonearest_test_data): Remove.
11831         (exp10_test_tonearest): Likewise.
11832         (exp10_towardzero_test_data): Likewise.
11833         (exp10_test_towardzero): Likewise.
11834         (exp10_downward_test_data): Likewise.
11835         (exp10_test_downward): Likewise.
11836         (exp10_upward_test_data): Likewise.
11837         (exp10_test_upward): Likewise.
11838         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11839         (expm1_test_data): Likewise.
11840         (expm1_test): Use ALL_RM_TEST.
11841         (expm1_tonearest_test_data): Remove.
11842         (expm1_test_tonearest): Likewise.
11843         (expm1_towardzero_test_data): Likewise.
11844         (expm1_test_towardzero): Likewise.
11845         (expm1_downward_test_data): Likewise.
11846         (expm1_test_downward): Likewise.
11847         (expm1_upward_test_data): Likewise.
11848         (expm1_test_upward): Likewise.
11849         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11850         (fma_test): Use ALL_RM_TEST.
11851         (fma_towardzero_test_data): Remove.
11852         (fma_test_towardzero): Likewise.
11853         (fma_downward_test_data): Likewise.
11854         (fma_test_downward): Likewise.
11855         (fma_upward_test_data): Likewise.
11856         (fma_test_upward): Likewise.
11857         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11858         (j0_test_data): Update call to AUTO_TESTS_f_f.
11859         (j1_test_data): Likewise.
11860         (jn_test_data): Update call to AUTO_TESTS_if_f.
11861         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11862         (log_test_data): Update call to AUTO_TESTS_f_f.
11863         (log10_test_data): Likewise.
11864         (log1p_test_data): Likewise.
11865         (log2_test_data): Likewise.
11866         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11867         (pow_tonearest_test_data): Likewise.
11868         (sin_test_data): Update call to AUTO_TESTS_f_f.
11869         (sin_test): Use ALL_RM_TEST.
11870         (sin_tonearest_test_data): Remove.
11871         (sin_test_tonearest): Likewise.
11872         (sin_towardzero_test_data): Likewise.
11873         (sin_test_towardzero): Likewise.
11874         (sin_downward_test_data): Likewise.
11875         (sin_test_downward): Likewise.
11876         (sin_upward_test_data): Likewise.
11877         (sin_test_upward): Likewise.
11878         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11879         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11880         (sinh_test): Use ALL_RM_TEST.
11881         (sinh_tonearest_test_data): Remove.
11882         (sinh_test_tonearest): Likewise.
11883         (sinh_towardzero_test_data): Likewise.
11884         (sinh_test_towardzero): Likewise.
11885         (sinh_downward_test_data): Likewise.
11886         (sinh_test_downward): Likewise.
11887         (sinh_upward_test_data): Likewise.
11888         (sinh_test_upward): Likewise.
11889         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11890         (sqrt_test): Use ALL_RM_TEST.
11891         (sqrt_tonearest_test_data): Remove.
11892         (sqrt_test_tonearest): Likewise.
11893         (sqrt_towardzero_test_data): Likewise.
11894         (sqrt_test_towardzero): Likewise.
11895         (sqrt_downward_test_data): Likewise.
11896         (sqrt_test_downward): Likewise.
11897         (sqrt_upward_test_data): Likewise.
11898         (sqrt_test_upward): Likewise.
11899         (tan_test_data): Update call to AUTO_TESTS_f_f.
11900         (tan_test): Use ALL_RM_TEST.
11901         (tan_tonearest_test_data): Remove.
11902         (tan_test_tonearest): Likewise.
11903         (tan_towardzero_test_data): Likewise.
11904         (tan_test_towardzero): Likewise.
11905         (tan_downward_test_data): Likewise.
11906         (tan_test_downward): Likewise.
11907         (tan_upward_test_data): Likewise.
11908         (tan_test_upward): Likewise.
11909         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11910         (tgamma_test_data): Likewise.
11911         (y0_test_data): Likewise.
11912         (y1_test_data): Likewise.
11913         (yn_test_data): Update call to AUTO_TESTS_if_f.
11914         (main): Do not call removed functions.
11915
11916 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11917
11918         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11919         (ldexp_test_data): Remove.
11920         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11921         scalbn_test_data.
11922         (scalb_test): Use ALL_RM_TEST.
11923
11924 2014-03-19  Andreas Schwab  <schwab@suse.de>
11925
11926         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11927
11928 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11929
11930         [BZ #16649]
11931         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11932         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11933         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11935         (__ASSUME_PREADV): Undefine.
11936         (__ASSUME_PWRITEV): Likewise.
11937
11938 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11939
11940         * bits/mman-linux.h: Add comment about non-Linux use.
11941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11942         bits/mman-linux.h resting place.
11943
11944         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11945         * bits/mman-linux.h: ... here.
11946
11947 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11948
11949         * conform/conformtest.pl: Add standard definition when calling C
11950         preprocessor on data files.
11951         (checknamespace): Remove unused variable.
11952
11953 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11954
11955         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11956         minus_oflow, plus_uflow and minus_uflow in expected results.
11957         * math/libm-test.inc (scalbn_test_data): Add more tests of
11958         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11959         minus_uflow.
11960         (scalbn_test): Use ALL_RM_TEST.
11961         (scalbln_test_data): Add more tests of negative arguments.  Use
11962         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11963         (scalbln_test): Use ALL_RM_TEST.
11964
11965 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11966
11967         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11968
11969 2014-03-18  Will Newton  <will.newton@linaro.org>
11970
11971         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11972         inaccurate comment.
11973
11974 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11975
11976         * Makerules [!subdir] (check-abi): Exit with error status if a
11977         test failed.
11978
11979 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11980
11981         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11982         for rint.  Include results for all rounding modes.
11983         (nearbyint_test): Use ALL_RM_TEST.
11984         (rint_test_data): Include all tests used for nearbyint.
11985
11986 2014-03-17  Will Newton  <will.newton@linaro.org>
11987
11988         * nptl/sysdeps/pthread/pthread.h: Revert previous
11989         change.
11990
11991         * sysdeps/generic/ldsodefs.h: Revert previous
11992         change.
11993
11994         * libio/genops.c: Revert previous change.
11995         * libio/libioP.h: Likewise.
11996         * stdio-common/vfprintf.c: Likewise.
11997
11998         * sysdeps/generic/math_private.h: Revert previous
11999         change.
12000
12001         * sysdeps/generic/math_private.h: Check whether
12002         HAVE_RM_CTX is defined with #ifdef rather
12003         than #if.
12004
12005         * argp/argp-fmtstream.h: Check whether
12006         __STRICT_ANSI__ is defined with #ifdef rather
12007         than #if.
12008         * argp/argp.h: Likewise.
12009
12010         * libio/genops.c: Check whether
12011         _IO_JUMPS_OFFSET is defined with #ifdef rather
12012         than #if.
12013         * libio/libioP.h: Likewise.
12014         * stdio-common/vfprintf.c: Likewise.
12015
12016         * sysdeps/generic/ldsodefs.h: Check whether
12017         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12018         than #if.
12019
12020         * nptl/sysdeps/pthread/pthread.h: Check
12021         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12022         its value.
12023
12024 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12025
12026         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12027         setting O_APPEND.
12028         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12029         test case.
12030
12031         [BZ #16680]
12032         * libio/fileops.c (_IO_file_open): Seek to end of file but
12033         don't cache the offset.
12034         (get_file_offset): Remove function.
12035         (do_ftell): Use cached offset when available.
12036         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12037         don't cache the offset.
12038         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12039         case.
12040         (do_one_test): Call it.
12041         (do_ftell_test): Fix up expected old offset for a+ mode.
12042         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12043         available.
12044
12045         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12046         up test status with function return status.
12047         (do_write_test): Likewise.
12048         (do_append_test): Likewise.
12049
12050         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12051         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12052         Remove.
12053
12054 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12055
12056         * math/gen-libm-test.pl (parse_args): Handle results specified for
12057         each rounding mode separately.
12058         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12059         tests and results from lrint_tonearest_test_data,
12060         lrint_towardzero_test_data, lrint_downward_test_data and
12061         lrint_upward_test_data.
12062         (lrint_test): Use ALL_RM_TEST.
12063         (lrint_tonearest_test_data): Remove.
12064         (lrint_test_tonearest): Likewise.
12065         (lrint_towardzero_test_data): Likewise.
12066         (lrint_test_towardzero): Likewise.
12067         (lrint_downward_test_data): Likewise.
12068         (lrint_test_downward): Likewise.
12069         (lrint_upward_test_data): Likewise.
12070         (lrint_test_upward): Likewise.
12071         (llrint_test_data): Merge in per-rounding-mode tests and results
12072         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12073         llrint_downward_test_data and llrint_upward_test_data.
12074         (llrint_test): Use ALL_RM_TEST.
12075         (llrint_tonearest_test_data): Remove.
12076         (llrint_test_tonearest): Likewise.
12077         (llrint_towardzero_test_data): Likewise.
12078         (llrint_test_towardzero): Likewise.
12079         (llrint_downward_test_data): Likewise.
12080         (llrint_test_downward): Likewise.
12081         (llrint_upward_test_data): Likewise.
12082         (llrint_test_upward): Likewise.
12083         (rint_test_data): Merge in per-rounding-mode tests and results
12084         from rint_tonearest_test_data, rint_towardzero_test_data,
12085         rint_downward_test_data and rint_upward_test_data.  Add
12086         per-rounding-mode results for tests not in those arrays.
12087         (rint_test): Use ALL_RM_TEST.
12088         (rint_tonearest_test_data): Remove.
12089         (rint_test_tonearest): Likewise.
12090         (rint_towardzero_test_data): Likewise.
12091         (rint_test_towardzero): Likewise.
12092         (rint_downward_test_data): Likewise.
12093         (rint_test_downward): Likewise.
12094         (rint_upward_test_data): Likewise.
12095         (rint_test_upward): Likewise.
12096         (main): Don't call removed functions.
12097
12098 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12099
12100         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12101         "Compiled on ..." crapola.  It is anti-useful.
12102
12103 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12104
12105         * scripts/evaluate-test.sh: Handle fourth argument to determine
12106         whether test run should stop on failure.
12107         * Makeconfig (stop-on-test-failure): New variable.
12108         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12109         $(stop-on-test-failure).
12110         * Makefile (tests): Give a summary of results from testing and
12111         exit with failure status if they include an ERROR or FAIL.
12112         (xtests): Likewise.
12113         * manual/install.texi (Configuring and compiling): Mention
12114         stop-on-test-failure=y.
12115         * INSTALL: Regenerated.
12116
12117 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12118
12119         * scripts/versionlist.awk: New file.
12120         * Makerules [$(build-shared) = yes]
12121         (postclean-generated): Add Versions.def, not Versions.def.v and
12122         Versions.def.v.i.
12123         ($(common-objpfx)Versions.def.v.i): Target removed.
12124         ($(common-objpfx)Versions.def): New target.
12125         ($(common-objpfx)Versions.all): Depend on that rather that
12126         $(common-objpfx)Versions.def.v.
12127         * Versions.def: File removed.
12128
12129         * Makeconfig (+gccwarn): Add -Wundef.
12130         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12131         a dl-sysdep.h breaking its contract.
12132         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12133         * include/stackinfo.h: New file.
12134         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12135         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12136         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12137         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12138         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12139         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12140         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12141         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12142         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12143         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12144         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12145         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12146         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12147         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12148         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12149
12150 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12151
12152         [BZ #16707]
12153         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12154         implementation.
12155         * math/libm-test.inc (round_test_data): Add more tests.
12156
12157         [BZ #16706]
12158         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12159         implementation.
12160         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12161
12162         [BZ #16701]
12163         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12164         implementation.
12165         * math/libm-test.inc (ceil_test_data): Add more tests.
12166
12167         * math/libm-test.inc (trunc_test_data): Add more tests related to
12168         BZ#16414.
12169
12170 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12171
12172         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12173         with #if rather than #ifdef.
12174         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12175
12176 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12177
12178         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12179         first.  Disable AVX-512 GCC support if assembler doesn't support
12180         it.
12181         * sysdeps/x86_64/configure: Regenerated.
12182
12183 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12184
12185         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12186         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12187         (__old_pthread_attr_setstack): Likewise.
12188         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12189         [!_STACK_GROWS_DOWN]: Likewise.
12190
12191 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12192
12193         * config.make.in (have-bash2): Delete.
12194         * configure.ac (libc_cv_have_bash2): Delete.
12195         * configure: Regenerate.
12196         * elf/Makefile (common-ldd-rewrite): Rename to ...
12197         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12198         (sh-ldd-rewrite): Delete.
12199         (bash-ldd-rewrite): Delete.
12200         (have-bash2): Delete checks.
12201         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12202         ldd-rewrite.
12203
12204         * config.make.in (have-ksh): Delete.
12205         (KSH): Delete.
12206         * configure.ac (libc_cv_have_ksh): Delete.
12207         * configure: Regenerate.
12208
12209         * elf/Makefile: Delete $(have-ksh) check.
12210         ($(objpfx)sotruss): Change KSH to BASH.
12211         * elf/sotruss.ksh: Rename to ...
12212         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12213         function style to match POSIX.  Drop ksh vim mode setting.
12214
12215         * manual/time.texi (Specifying the Time Zone with TZ): Change
12216         Tuesday to Thursday.
12217
12218         * debug/tst-longjmp_chk2.c: Update header comment.
12219         (stackoverflow_handler): Add comment.  Call assert on pass value.
12220
12221 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12222
12223         [BZ #16194]
12224         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12225         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12226         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12227         (La_x86_64_vector): Add zmm.
12228         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12229         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12230         ($(objpfx)tst-audit10): New target.
12231         ($(objpfx)tst-audit10.out): Likewise.
12232         (tst-audit10-ENV): New.
12233         (AVX512-CFLAGS): Likewise.
12234         (CFLAGS-tst-audit10.c): Likewise.
12235         (CFLAGS-tst-auditmod10a.c): Likewise.
12236         (CFLAGS-tst-auditmod10b.c): Likewise.
12237         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12238         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12239         * sysdeps/x86_64/configure: Regenerated.
12240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12241         AVX-512 zmm register support.
12242         (_dl_x86_64_save_sse): Likewise.
12243         (_dl_x86_64_restore_sse): Likewise.
12244         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12245         size vector registers.
12246         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12247         (ZMM_SIZE): Likewise.
12248         * sysdeps/x86_64/tst-audit10.c: New file.
12249         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12250         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12251
12252 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12253
12254         * configure.ac (HAVE_EHDR_START): New check.
12255         * configure: Regenerated.
12256         * config.h.in (HAVE_EHDR_START): New #undef.
12257         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12258         assuming the lowest-addressed segment maps the start of the file.
12259
12260 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12261
12262         * INSTALL: Regenerated.
12263
12264 2014-03-13  Will Newton  <will.newton@linaro.org>
12265
12266         * manual/setjmp.texi (System V contexts): Improve
12267         clarity and grammar of documentation.
12268
12269 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12270
12271         [BZ #16381]
12272         * elf/Makefile (tests): Add tst-pie2.
12273         (tests-pie): Add tst-pie2.
12274         * elf/tst-pie2.c: New file.
12275         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12276         for ET_EXEC.
12277         * elf/rtld.c (map_doit): Load executable as lt_executable.
12278         (dl_main): Likewise.
12279
12280 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12281
12282         [BZ #16642]
12283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12284         (__ASSUME_PSELECT): Undefine.
12285
12286 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12287
12288         [BZ #16689]
12289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12290         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12291         static build.
12292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12293         selector for static builds.
12294
12295 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12296
12297         [BZ #16695]
12298         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12299         key in the buffer.
12300
12301 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12302
12303         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12304         IFUNC selector for static builds.
12305
12306 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12307
12308         * sysdeps/mips/math_private.h [__mips_hard_float]
12309         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12310         libc_feresetround_mips_ctx.
12311         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12312         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12313         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12314
12315         [BZ #16677]
12316         * math/s_nextafter.c (__nextafter): Do not return value from
12317         overflowing computation.
12318         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12319         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12320         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12321         Likewise.
12322         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12323         Likewise.
12324         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12325         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12326
12327 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12328
12329         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12330         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12331         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12332         the new mov targetting sp.
12333
12334 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12335
12336         [BZ #16683]
12337         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12338         Define it for static builds as well.
12339         (NO_BZERO_IMPL): Likewise.
12340
12341 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12342
12343         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12344         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12345         multiarch strspn for PPC64.
12346         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12347         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12349         (__libc_ifunc_impl_list): Likewise.
12350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12351         multiarch optimizations
12352         * string/strspn.c (strspn): Using macro to redefine symbol name.
12353
12354 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12355             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12356
12357         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12358         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12359         multiarch strncat for PPC64.
12360         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12361         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12363         (__libc_ifunc_impl_list): Likewise.
12364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12365         multiarch optimizations
12366
12367 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12368
12369         [BZ #16639]
12370         * nscd/nscd.service: Make service type forking.
12371
12372 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12373
12374         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12375         sign in non default rounding modes.
12376         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12377
12378 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12379
12380         * math/libm-test.inc (ALL_RM_TEST): New macro.
12381         (ceil_test): Use ALL_RM_TEST.
12382         (cimag_test): Likewise.
12383         (conj_test): Likewise.
12384         (copysign_test): Likewise.
12385         (cproj_test): Likewise.
12386         (creal_test): Likewise.
12387         (fabs_test): Likewise.
12388         (floor_test): Likewise.
12389         (fmax_test): Likewise.
12390         (fmin_test): Likewise.
12391         (fmod_test): Likewise.
12392         (fpclassify_test): Likewise.
12393         (frexp_test): Likewise.
12394         (ilogb_test): Likewise.
12395         (isfinite_test): Likewise.
12396         (finite_test): Likewise.
12397         (isgreater_test): Likewise.
12398         (isgreaterequal_test): Likewise.
12399         (isinf_test): Likewise.
12400         (isless_test): Likewise.
12401         (islessequal_test): Likewise.
12402         (islessgreater_test): Likewise.
12403         (isnan_test): Likewise.
12404         (isnormal_test): Likewise.
12405         (issignaling_test): Likewise.
12406         (isunordered_test): Likewise.
12407         (logb_test): Likewise.
12408         (logb_downward_test_data): Remove.
12409         (logb_test_downward): Likewise.
12410         (lround_test): Use ALL_RM_TEST.
12411         (llround_test): Likewise.
12412         (modf_test): Likewise.
12413         (nexttoward_test): Likewise.
12414         (remainder_test): Likewise.
12415         (drem_test): Likewise.
12416         (remainder_tonearest_test_data): Likewise.
12417         (remainder_test_tonearest): Likewise.
12418         (drem_test_tonearest): Likewise.
12419         (remainder_towardzero_test_data): Likewise.
12420         (remainder_test_towardzero): Likewise.
12421         (drem_test_towardzero): Likewise.
12422         (remainder_downward_test_data): Likewise.
12423         (remainder_test_downward): Likewise.
12424         (drem_test_downward): Likewise.
12425         (remainder_upward_test_data): Likewise.
12426         (remainder_test_upward): Likewise.
12427         (drem_test_upward): Likewise.
12428         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12429         (round_test): Use ALL_RM_TEST.
12430         (signbit_test): Likewise.
12431         (trunc_test): Likewise.
12432         (significand_test): Likewise.
12433         (main): Don't call removed functions.
12434
12435 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12436
12437         [BZ #16674]
12438         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12439         || __USE_XOPEN2K8].
12440         (ILL_ILLOPN): Likewise.
12441         (ILL_ILLADR): Likewise.
12442         (ILL_ILLTRP): Likewise.
12443         (ILL_PRVOPC): Likewise.
12444         (ILL_PRVREG): Likewise.
12445         (ILL_COPROC): Likewise.
12446         (ILL_BADSTK): Likewise.
12447         (FPE_INTDIV): Likewise.
12448         (FPE_INTOVF): Likewise.
12449         (FPE_FLTDIV): Likewise.
12450         (FPE_FLTOVF): Likewise.
12451         (FPE_FLTUND): Likewise.
12452         (FPE_FLTRES): Likewise.
12453         (FPE_FLTINV): Likewise.
12454         (FPE_FLTSUB): Likewise.
12455         (SEGV_MAPERR): Likewise.
12456         (SEGV_ACCERR): Likewise.
12457         (BUS_ADRALN): Likewise.
12458         (BUS_ADRERR): Likewise.
12459         (BUS_OBJERR): Likewise.
12460         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12461         (TRAP_TRACE): Likewise.
12462         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12463         __USE_XOPEN2K8].
12464         (CLD_KILLED): Likewise.
12465         (CLD_DUMPED): Likewise.
12466         (CLD_TRAPPED): Likewise.
12467         (CLD_STOPPED): Likewise.
12468         (CLD_CONTINUED): Likewise.
12469         (POLL_IN): Likewise.
12470         (POLL_OUT): Likewise.
12471         (POLL_MSG): Likewise.
12472         (POLL_ERR): Likewise.
12473         (POLL_PRI): Likewise.
12474         (POLL_HUP): Likewise.
12475         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12476         Likewise.
12477         (ILL_ILLOPN): Likewise.
12478         (ILL_ILLADR): Likewise.
12479         (ILL_ILLTRP): Likewise.
12480         (ILL_PRVOPC): Likewise.
12481         (ILL_PRVREG): Likewise.
12482         (ILL_COPROC): Likewise.
12483         (ILL_BADSTK): Likewise.
12484         (FPE_INTDIV): Likewise.
12485         (FPE_INTOVF): Likewise.
12486         (FPE_FLTDIV): Likewise.
12487         (FPE_FLTOVF): Likewise.
12488         (FPE_FLTUND): Likewise.
12489         (FPE_FLTRES): Likewise.
12490         (FPE_FLTINV): Likewise.
12491         (FPE_FLTSUB): Likewise.
12492         (SEGV_MAPERR): Likewise.
12493         (SEGV_ACCERR): Likewise.
12494         (BUS_ADRALN): Likewise.
12495         (BUS_ADRERR): Likewise.
12496         (BUS_OBJERR): Likewise.
12497         (BUS_MCEERR_AR): Likewise.
12498         (BUS_MCEERR_AO): Likewise.
12499         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12500         (TRAP_TRACE): Likewise.
12501         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12502         __USE_XOPEN2K8].
12503         (CLD_KILLED): Likewise.
12504         (CLD_DUMPED): Likewise.
12505         (CLD_TRAPPED): Likewise.
12506         (CLD_STOPPED): Likewise.
12507         (CLD_CONTINUED): Likewise.
12508         (POLL_IN): Likewise.
12509         (POLL_OUT): Likewise.
12510         (POLL_MSG): Likewise.
12511         (POLL_ERR): Likewise.
12512         (POLL_PRI): Likewise.
12513         (POLL_HUP): Likewise.
12514         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12515         (ILL_ILLOPN): Likewise.
12516         (ILL_ILLADR): Likewise.
12517         (ILL_ILLTRP): Likewise.
12518         (ILL_PRVOPC): Likewise.
12519         (ILL_PRVREG): Likewise.
12520         (ILL_COPROC): Likewise.
12521         (ILL_BADSTK): Likewise.
12522         (FPE_INTDIV): Likewise.
12523         (FPE_INTOVF): Likewise.
12524         (FPE_FLTDIV): Likewise.
12525         (FPE_FLTOVF): Likewise.
12526         (FPE_FLTUND): Likewise.
12527         (FPE_FLTRES): Likewise.
12528         (FPE_FLTINV): Likewise.
12529         (FPE_FLTSUB): Likewise.
12530         (SEGV_MAPERR): Likewise.
12531         (SEGV_ACCERR): Likewise.
12532         (BUS_ADRALN): Likewise.
12533         (BUS_ADRERR): Likewise.
12534         (BUS_OBJERR): Likewise.
12535         (BUS_MCEERR_AR): Likewise.
12536         (BUS_MCEERR_AO): Likewise.
12537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12538         (TRAP_TRACE): Likewise.
12539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12540         __USE_XOPEN2K8].
12541         (CLD_KILLED): Likewise.
12542         (CLD_DUMPED): Likewise.
12543         (CLD_TRAPPED): Likewise.
12544         (CLD_STOPPED): Likewise.
12545         (CLD_CONTINUED): Likewise.
12546         (POLL_IN): Likewise.
12547         (POLL_OUT): Likewise.
12548         (POLL_MSG): Likewise.
12549         (POLL_ERR): Likewise.
12550         (POLL_PRI): Likewise.
12551         (POLL_HUP): Likewise.
12552         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12553         Likewise.
12554         (ILL_ILLOPN): Likewise.
12555         (ILL_ILLADR): Likewise.
12556         (ILL_ILLTRP): Likewise.
12557         (ILL_PRVOPC): Likewise.
12558         (ILL_PRVREG): Likewise.
12559         (ILL_COPROC): Likewise.
12560         (ILL_BADSTK): Likewise.
12561         (ILL_BADIADDR): Likewise.
12562         (ILL_BREAK): Likewise.
12563         (FPE_INTDIV): Likewise.
12564         (FPE_INTOVF): Likewise.
12565         (FPE_FLTDIV): Likewise.
12566         (FPE_FLTOVF): Likewise.
12567         (FPE_FLTUND): Likewise.
12568         (FPE_FLTRES): Likewise.
12569         (FPE_FLTINV): Likewise.
12570         (FPE_FLTSUB): Likewise.
12571         (FPE_DECOVF): Likewise.
12572         (FPE_DECDIV): Likewise.
12573         (FPE_DECERR): Likewise.
12574         (FPE_INVASC): Likewise.
12575         (FPE_INVDEC): Likewise.
12576         (SEGV_MAPERR): Likewise.
12577         (SEGV_ACCERR): Likewise.
12578         (SEGV_PSTKOVF): Likewise.
12579         (BUS_ADRALN): Likewise.
12580         (BUS_ADRERR): Likewise.
12581         (BUS_OBJERR): Likewise.
12582         (BUS_MCEERR_AR): Likewise.
12583         (BUS_MCEERR_AO): Likewise.
12584         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12585         (TRAP_TRACE): Likewise.
12586         (TRAP_BRANCH): Likewise.
12587         (TRAP_HWBKPT): Likewise.
12588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12589         __USE_XOPEN2K8].
12590         (CLD_KILLED): Likewise.
12591         (CLD_DUMPED): Likewise.
12592         (CLD_TRAPPED): Likewise.
12593         (CLD_STOPPED): Likewise.
12594         (CLD_CONTINUED): Likewise.
12595         (POLL_IN): Likewise.
12596         (POLL_OUT): Likewise.
12597         (POLL_MSG): Likewise.
12598         (POLL_ERR): Likewise.
12599         (POLL_PRI): Likewise.
12600         (POLL_HUP): Likewise.
12601         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12602         (ILL_ILLOPN): Likewise.
12603         (ILL_ILLADR): Likewise.
12604         (ILL_ILLTRP): Likewise.
12605         (ILL_PRVOPC): Likewise.
12606         (ILL_PRVREG): Likewise.
12607         (ILL_COPROC): Likewise.
12608         (ILL_BADSTK): Likewise.
12609         (FPE_INTDIV): Likewise.
12610         (FPE_INTOVF): Likewise.
12611         (FPE_FLTDIV): Likewise.
12612         (FPE_FLTOVF): Likewise.
12613         (FPE_FLTUND): Likewise.
12614         (FPE_FLTRES): Likewise.
12615         (FPE_FLTINV): Likewise.
12616         (FPE_FLTSUB): Likewise.
12617         (SEGV_MAPERR): Likewise.
12618         (SEGV_ACCERR): Likewise.
12619         (BUS_ADRALN): Likewise.
12620         (BUS_ADRERR): Likewise.
12621         (BUS_OBJERR): Likewise.
12622         (BUS_MCEERR_AR): Likewise.
12623         (BUS_MCEERR_AO): Likewise.
12624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12625         (TRAP_TRACE): Likewise.
12626         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12627         __USE_XOPEN2K8].
12628         (CLD_KILLED): Likewise.
12629         (CLD_DUMPED): Likewise.
12630         (CLD_TRAPPED): Likewise.
12631         (CLD_STOPPED): Likewise.
12632         (CLD_CONTINUED): Likewise.
12633         (POLL_IN): Likewise.
12634         (POLL_OUT): Likewise.
12635         (POLL_MSG): Likewise.
12636         (POLL_ERR): Likewise.
12637         (POLL_PRI): Likewise.
12638         (POLL_HUP): Likewise.
12639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12640         (ILL_ILLOPN): Likewise.
12641         (ILL_ILLADR): Likewise.
12642         (ILL_ILLTRP): Likewise.
12643         (ILL_PRVOPC): Likewise.
12644         (ILL_PRVREG): Likewise.
12645         (ILL_COPROC): Likewise.
12646         (ILL_BADSTK): Likewise.
12647         (FPE_INTDIV): Likewise.
12648         (FPE_INTOVF): Likewise.
12649         (FPE_FLTDIV): Likewise.
12650         (FPE_FLTOVF): Likewise.
12651         (FPE_FLTUND): Likewise.
12652         (FPE_FLTRES): Likewise.
12653         (FPE_FLTINV): Likewise.
12654         (FPE_FLTSUB): Likewise.
12655         (SEGV_MAPERR): Likewise.
12656         (SEGV_ACCERR): Likewise.
12657         (BUS_ADRALN): Likewise.
12658         (BUS_ADRERR): Likewise.
12659         (BUS_OBJERR): Likewise.
12660         (BUS_MCEERR_AR): Likewise.
12661         (BUS_MCEERR_AO): Likewise.
12662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12663         (TRAP_TRACE): Likewise.
12664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12665         __USE_XOPEN2K8].
12666         (CLD_KILLED): Likewise.
12667         (CLD_DUMPED): Likewise.
12668         (CLD_TRAPPED): Likewise.
12669         (CLD_STOPPED): Likewise.
12670         (CLD_CONTINUED): Likewise.
12671         (POLL_IN): Likewise.
12672         (POLL_OUT): Likewise.
12673         (POLL_MSG): Likewise.
12674         (POLL_ERR): Likewise.
12675         (POLL_PRI): Likewise.
12676         (POLL_HUP): Likewise.
12677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12678         (ILL_ILLOPN): Likewise.
12679         (ILL_ILLADR): Likewise.
12680         (ILL_ILLTRP): Likewise.
12681         (ILL_PRVOPC): Likewise.
12682         (ILL_PRVREG): Likewise.
12683         (ILL_COPROC): Likewise.
12684         (ILL_BADSTK): Likewise.
12685         (FPE_INTDIV): Likewise.
12686         (FPE_INTOVF): Likewise.
12687         (FPE_FLTDIV): Likewise.
12688         (FPE_FLTOVF): Likewise.
12689         (FPE_FLTUND): Likewise.
12690         (FPE_FLTRES): Likewise.
12691         (FPE_FLTINV): Likewise.
12692         (FPE_FLTSUB): Likewise.
12693         (SEGV_MAPERR): Likewise.
12694         (SEGV_ACCERR): Likewise.
12695         (BUS_ADRALN): Likewise.
12696         (BUS_ADRERR): Likewise.
12697         (BUS_OBJERR): Likewise.
12698         (BUS_MCEERR_AR): Likewise.
12699         (BUS_MCEERR_AO): Likewise.
12700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12701         (TRAP_TRACE): Likewise.
12702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12703         __USE_XOPEN2K8].
12704         (CLD_KILLED): Likewise.
12705         (CLD_DUMPED): Likewise.
12706         (CLD_TRAPPED): Likewise.
12707         (CLD_STOPPED): Likewise.
12708         (CLD_CONTINUED): Likewise.
12709         (POLL_IN): Likewise.
12710         (POLL_OUT): Likewise.
12711         (POLL_MSG): Likewise.
12712         (POLL_ERR): Likewise.
12713         (POLL_PRI): Likewise.
12714         (POLL_HUP): Likewise.
12715         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12716         (ILL_ILLOPN): Likewise.
12717         (ILL_ILLADR): Likewise.
12718         (ILL_ILLTRP): Likewise.
12719         (ILL_PRVOPC): Likewise.
12720         (ILL_PRVREG): Likewise.
12721         (ILL_COPROC): Likewise.
12722         (ILL_BADSTK): Likewise.
12723         (ILL_DBLFLT): Likewise.
12724         (ILL_HARDWALL): Likewise.
12725         (FPE_INTDIV): Likewise.
12726         (FPE_INTOVF): Likewise.
12727         (FPE_FLTDIV): Likewise.
12728         (FPE_FLTOVF): Likewise.
12729         (FPE_FLTUND): Likewise.
12730         (FPE_FLTRES): Likewise.
12731         (FPE_FLTINV): Likewise.
12732         (FPE_FLTSUB): Likewise.
12733         (SEGV_MAPERR): Likewise.
12734         (SEGV_ACCERR): Likewise.
12735         (BUS_ADRALN): Likewise.
12736         (BUS_ADRERR): Likewise.
12737         (BUS_OBJERR): Likewise.
12738         (BUS_MCEERR_AR): Likewise.
12739         (BUS_MCEERR_AO): Likewise.
12740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12741         (TRAP_TRACE): Likewise.
12742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12743         __USE_XOPEN2K8].
12744         (CLD_KILLED): Likewise.
12745         (CLD_DUMPED): Likewise.
12746         (CLD_TRAPPED): Likewise.
12747         (CLD_STOPPED): Likewise.
12748         (CLD_CONTINUED): Likewise.
12749         (POLL_IN): Likewise.
12750         (POLL_OUT): Likewise.
12751         (POLL_MSG): Likewise.
12752         (POLL_ERR): Likewise.
12753         (POLL_PRI): Likewise.
12754         (POLL_HUP): Likewise.
12755         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12756         (ILL_ILLOPN): Likewise.
12757         (ILL_ILLADR): Likewise.
12758         (ILL_ILLTRP): Likewise.
12759         (ILL_PRVOPC): Likewise.
12760         (ILL_PRVREG): Likewise.
12761         (ILL_COPROC): Likewise.
12762         (ILL_BADSTK): Likewise.
12763         (FPE_INTDIV): Likewise.
12764         (FPE_INTOVF): Likewise.
12765         (FPE_FLTDIV): Likewise.
12766         (FPE_FLTOVF): Likewise.
12767         (FPE_FLTUND): Likewise.
12768         (FPE_FLTRES): Likewise.
12769         (FPE_FLTINV): Likewise.
12770         (FPE_FLTSUB): Likewise.
12771         (SEGV_MAPERR): Likewise.
12772         (SEGV_ACCERR): Likewise.
12773         (BUS_ADRALN): Likewise.
12774         (BUS_ADRERR): Likewise.
12775         (BUS_OBJERR): Likewise.
12776         (BUS_MCEERR_AR): Likewise.
12777         (BUS_MCEERR_AO): Likewise.
12778         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12779         (TRAP_TRACE): Likewise.
12780         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12781         __USE_XOPEN2K8].
12782         (CLD_KILLED): Likewise.
12783         (CLD_DUMPED): Likewise.
12784         (CLD_TRAPPED): Likewise.
12785         (CLD_STOPPED): Likewise.
12786         (CLD_CONTINUED): Likewise.
12787         (POLL_IN): Likewise.
12788         (POLL_OUT): Likewise.
12789         (POLL_MSG): Likewise.
12790         (POLL_ERR): Likewise.
12791         (POLL_PRI): Likewise.
12792         (POLL_HUP): Likewise.
12793         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12794         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12795
12796         [BZ #16670]
12797         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12798         before #include of <time.h>.
12799         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12800         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12801         (test-xfail-UNIX98/sched.h/conform): Likewise.
12802
12803 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12804
12805         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12806         error absence of trapping exception support.
12807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12808
12809 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12810
12811         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12812         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12813         * timezone/Makefile (testdata): Move definition above include of
12814         Rules.
12815         (test-zones): New variable.
12816         (tests-special): Add zone files.
12817         (build-testdata): Use $(evaluate-test).
12818
12819         * elf/Makefile (tests-special): Rename tests to end with .out.
12820         ($(objpfx)noload-mem): Likewise.
12821         ($(objpfx)tst-leaks1-mem): Likewise.
12822         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12823         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12824         $(objpfx)test-iconvconfig.out.
12825         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12826         set -e inside subshell and redirect output to file.
12827         * iconvdata/Makefile (generated): Rename tests to end with .out.
12828         Correct type.
12829         (tests-special): Rename tests to end with .out.
12830         ($(objpfx)mtrace-tst-loading): Likewise.
12831         * intl/Makefile (generated): Likewise.
12832         (tests-special): Likewise.
12833         ($(objpfx)mtrace-tst-gettext): Likewise.
12834         * misc/Makefile (generated): Likewise.
12835         (tests-special): Likewise.
12836         ($(objpfx)tst-error1-mem): Likewise.
12837         * nptl/Makefile (tests-special): Likewise.
12838         ($(objpfx)tst-stack3-mem): Likewise.
12839         (generated): Likewise.
12840         * posix/Makefile (generated): Likewise.
12841         (tests-special): Likewise.
12842         (xtests-special): Likewise.
12843         ($(objpfx)tst-fnmatch-mem): Likewise.
12844         ($(objpfx)bug-regex2-mem): Likewise.
12845         ($(objpfx)bug-regex14-mem): Likewise.
12846         ($(objpfx)bug-regex21-mem): Likewise.
12847         ($(objpfx)bug-regex31-mem): Likewise.
12848         ($(objpfx)tst-vfork3-mem): Likewise.
12849         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12850         ($(objpfx)tst-pcre-mem): Likewise.
12851         ($(objpfx)tst-boost-mem): Likewise.
12852         ($(objpfx)bug-ga2-mem): Likewise.
12853         ($(objpfx)bug-glob2-mem): Likewise.
12854         * resolv/Makefile (generate): Likewise.
12855         (tests-special): Likewise.
12856         (xtests-special): Likewise.
12857         (generated): Likewise.
12858         ($(objpfx)mtrace-tst-leaks): Likewise.
12859         ($(objpfx)mtrace-tst-leaks2): Likewise.
12860
12861         * scripts/merge-test-results.sh: New file.
12862         * Makefile (tests-special-notdir): New variable.
12863         (tests): Run merge-test-results.sh.
12864         (xtests): Likewise.
12865         * Rules (tests-special-notdir): New variable.
12866         (xtests-special-notdir): Likewise.
12867         (tests): Run merge-test-results.sh
12868         (xtests): Likewise.
12869
12870         * Makeconfig (test-xfail-name): New variable.
12871         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12872         compute variable name for expected failures.
12873         * conform/Makefile (conformtest-headers-data): New variable.
12874         (conformtest-standards): Likewise.
12875         (conformtest-headers-ISO): Likewise.
12876         (conformtest-headers-ISO99): Likewise.
12877         (conformtest-headers-ISO11): Likewise.
12878         (conformtest-headers-POSIX): Likewise.
12879         (conformtest-headers-XPG3): Likewise.
12880         (conformtest-headers-XPG4): Likewise.
12881         (conformtest-headers-UNIX98): Likewise.
12882         (conformtest-headers-XOPEN2K): Likewise.
12883         (conformtest-headers-POSIX2008): Likewise.
12884         (conformtest-headers-XOPEN2K8): Likewise.
12885         (conformtest-header-list-base): Likewise.
12886         (conformtest-header-list-tests): Likewise.
12887         (conformtest-header-base): Likewise.
12888         (conformtest-header-tests): Likewise.
12889         (tests-special): Add $(conformtest-header-list-tests).  If
12890         [$(fast-check) && !$(cross-compiling)], add
12891         $(conformtest-header-tests) instead of
12892         $(objpfx)run-conformtest.out.
12893         (generated): Add $(conformtest-header-list-base).  If
12894         [$(fast-check) && !$(cross-compiling)], add
12895         $(conformtest-header-base).  Remove previous setting.
12896         ($(conformtest-header-list-tests)): New target.
12897         (test-xfail-run-conformtest): Remove variable.
12898         ($(objpfx)run-conformtest.out): Remove target.
12899         (test-xfail-ISO11/complex.h/conform): New variable.
12900         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12901         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12902         (test-xfail-XPG3/varargs.h/conform): Likewise.
12903         (test-xfail-XPG4/varargs.h/conform): Likewise.
12904         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12905         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12906         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12907         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12908         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12909         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12910         (test-xfail-XPG3/ftw.h/conform): Likewise.
12911         (test-xfail-XPG3/grp.h/conform): Likewise.
12912         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12913         (test-xfail-XPG3/limits.h/conform): Likewise.
12914         (test-xfail-XPG3/pwd.h/conform): Likewise.
12915         (test-xfail-XPG3/search.h/conform): Likewise.
12916         (test-xfail-XPG3/signal.h/conform): Likewise.
12917         (test-xfail-XPG3/stdio.h/conform): Likewise.
12918         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12919         (test-xfail-XPG3/string.h/conform): Likewise.
12920         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12921         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12922         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12923         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12924         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12925         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12926         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12927         (test-xfail-XPG3/termios.h/conform): Likewise.
12928         (test-xfail-XPG3/time.h/conform): Likewise.
12929         (test-xfail-XPG3/unistd.h/conform): Likewise.
12930         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12931         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12932         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12933         (test-xfail-XPG4/netdb.h/conform): Likewise.
12934         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12935         (test-xfail-XPG4/signal.h/conform): Likewise.
12936         (test-xfail-XPG4/stdio.h/conform): Likewise.
12937         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12938         (test-xfail-XPG4/stropts.h/conform): Likewise.
12939         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12940         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12941         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12942         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12943         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12944         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12945         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12946         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12947         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12948         (test-xfail-XPG4/termios.h/conform): Likewise.
12949         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12950         (test-xfail-XPG4/unistd.h/conform): Likewise.
12951         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12952         (test-xfail-POSIX/sched.h/conform): Likewise.
12953         (test-xfail-POSIX/signal.h/conform): Likewise.
12954         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12955         (test-xfail-POSIX/tar.h/conform): Likewise.
12956         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12957         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12958         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12959         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12960         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12961         (test-xfail-UNIX98/sched.h/conform): Likewise.
12962         (test-xfail-UNIX98/signal.h/conform): Likewise.
12963         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12964         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12965         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12966         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12967         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12968         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12969         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12970         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12971         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12972         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12973         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12974         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12975         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12976         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12977         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12978         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12979         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12980         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12981         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12982         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12983         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12984         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12985         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12986         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12987         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12988         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12989         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12990         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12991         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12992         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12993         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12994         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12995         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12996         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12997         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12998         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12999         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13000         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13001         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13002         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13003         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13004         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13005         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13006         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13007         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13008         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13009         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13010         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13011         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13012         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13013         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13014         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13015         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13016         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13017         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13018         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13019         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13020         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13021         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13022         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13023         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13024         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13025         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13026         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13027         (conformtest-cc-flags): Likewise.
13028         ($(conformtest-header-tests): New target.
13029         * conform/check-header-lists.sh: New file.
13030         * conform/run-conformtest.sh: Remove.
13031
13032         * conform/conformtest.pl: Allow ' and \ in values given for
13033         constants.
13034         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13035         inclusion.
13036         [POSIX] (sys/types.h): Likewise.
13037         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13038         inclusion.
13039         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13040         inclusion.
13041         * conform/data/signal.h-data (SIGIO): Remove expectation.
13042         [XPG3] (SIGBUS): Do not expect.
13043         [POSIX || XPG3] (SIGPOLL): Likewise.
13044         [POSIX || XPG3] (SIGPROF): Likewise.
13045         [POSIX || XPG3] (SIGSYS): Likewise.
13046         [XPG3] (SIGTRAP): Likewise.
13047         [POSIX || XPG3] (SIGURG): Likewise.
13048         [POSIX || XPG3] (SIGVTALRM): Likewise.
13049         [POSIX || XPG3] (SIGXCPU): Likewise.
13050         [POSIX || XPG3] (SIGXFSZ): Likewise.
13051         [POSIX] (SA_SIGINFO): Expect.
13052         [XPG3] (siginfo_t): Do not expect type or contents.
13053         [POSIX] (si_pid): Do not expect element.
13054         [POSIX] (si_uid): Likewise.
13055         [POSIX] (si_addr): Likewise.
13056         [POSIX] (si_status): Likewise.
13057         [POSIX] (si_band): Likewise.
13058         [XPG4] (si_value): Likewise.
13059         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13060         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13061         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13062         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13063         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13064         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13065         [POSIX || XPG3] (ILL_COPROC): Likewise.
13066         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13067         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13068         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13069         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13070         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13071         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13072         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13073         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13074         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13075         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13076         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13077         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13078         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13079         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13080         [POSIX || XPG3] (CLD_EXITED): Likewise.
13081         [POSIX || XPG3] (CLD_KILLED): Likewise.
13082         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13083         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13084         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13085         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13086         [POSIX || XPG3] (POLL_IN): Likewise.
13087         [POSIX || XPG3] (POLL_OUT): Likewise.
13088         [POSIX || XPG3] (POLL_MSG): Likewise.
13089         [POSIX || XPG3] (POLL_ERR): Likewise.
13090         [POSIX || XPG3] (POLL_PRI): Likewise.
13091         [POSIX || XPG3] (POLL_HUP): Likewise.
13092         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13093         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13094         (SIG*): Do not allow.
13095         [XPG3] (si_*): Likewise.
13096         [XPG3] (SI_*): Likewise.
13097         [XPG3 || XPG4] (sigev_*): Likewise.
13098         [XPG3 || XPG4] (SIGEV_*): Likewise.
13099         [XPG3 || XPG4] (sival_*): Likewise.
13100         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13101         [POSIX || XPG3] (BUS_*): Likewise.
13102         [POSIX || XPG3] (CLD_*): Likewise.
13103         [POSIX || XPG3] (FPE_*): Likewise.
13104         [POSIX || XPG3] (ILL_*): Likewise.
13105         [POSIX || XPG3] (POLL_*): Likewise.
13106         [POSIX || XPG3] (SEGV_*): Likewise.
13107         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13108         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13109         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13110         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13111         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13112         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13113         Specify type and value.
13114         (TVERSLEN): Likewise.
13115         (REGTYPE): Likewise.
13116         (AREGTYPE): Likewise.
13117         (LNKTYPE): Likewise.
13118         (SYMTYPE): Likewise.
13119         (CHRTYPE): Likewise.
13120         (BLKTYPE): Likewise.
13121         (DIRTYPE): Likewise.
13122         (FIFOTYPE): Likewise.
13123         (CONTTYPE): Likewise.
13124         (TSUID): Likewise.
13125         (TSGID): Likewise.
13126         (TSVTX): Likewise.
13127         (TUREAD): Likewise.
13128         (TUWRITE): Likewise.
13129         (TUEXEC): Likewise.
13130         (TGREAD): Likewise.
13131         (TGWRITE): Likewise.
13132         (TGEXEC): Likewise.
13133         (TOREAD): Likewise.
13134         (TOWRITE): Likewise.
13135         (TOEXEC): Likewise.
13136         [POSIX] (TSVTX): Expect constant.
13137
13138 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13139
13140         * Makefile (tests): Change dependencies to ....
13141         (tests-special): ... additions to this variable.
13142         (tests): Depend on $(tests-special).
13143         * Makerules (check-abi-list): New variable.
13144         (check-abi): Depend on $(check-abi-list).
13145         [$(subdir) = elf] (tests-special): Add
13146         $(objpfx)check-abi-libc.out.
13147         [$(build-shared) = yes && subdir] (tests-special): Add
13148         $(check-abi-list).
13149         [$(build-shared) = yes && subdir] (tests): Do not depend on
13150         check-abi.
13151         * Rules (tests): Depend on $(tests-special).
13152         (xtests): Depend on $(xtests-special).
13153         * catgets/Makefile (tests): Change dependencies to ....
13154         (tests-special): ... additions to this variable.
13155         * conform/Makefile (tests): Change dependencies to ....
13156         (tests-special): ... additions to this variable.
13157         * elf/Makefile (tests): Change dependencies to ....
13158         (tests-special): ... additions to this variable.
13159         * grp/Makefile (tests): Change dependencies to ....
13160         (tests-special): ... additions to this variable.
13161         * iconv/Makefile (xtests): Change dependencies to ....
13162         (xtests-special): ... additions to this variable.
13163         * iconvdata/Makefile (tests): Change dependencies to ....
13164         (tests-special): ... additions to this variable.
13165         * intl/Makefile (tests): Change dependencies to ....
13166         (tests-special): ... additions to this variable.  Also add
13167         $(objpfx)tst-gettext.out.
13168         * io/Makefile (tests): Change dependencies to ....
13169         (tests-special): ... additions to this variable.
13170         * libio/Makefile (tests): Change dependencies to ....
13171         (tests-special): ... additions to this variable.
13172         * malloc/Makefile (tests): Change dependencies to ....
13173         (tests-special): ... additions to this variable.
13174         * misc/Makefile (tests): Change dependencies to ....
13175         (tests-special): ... additions to this variable.
13176         * nptl/Makefile (tests): Change dependencies to ....
13177         (tests-special): ... additions to this variable.
13178         * nptl_db/Makefile (tests): Change dependencies to ....
13179         (tests-special): ... additions to this variable.
13180         * posix/Makefile (tests): Change dependencies to ....
13181         (tests-special): ... additions to this variable.
13182         (xtests): Change dependencies to ....
13183         (xtests-special): ... additions to this variable.
13184         * resolv/Makefile (tests): Change dependencies to ....
13185         (tests-special): ... additions to this variable.
13186         (xtests): Change dependencies to ....
13187         (xtests-special): ... additions to this variable.
13188         * stdio-common/Makefile (tests): Change dependencies to ....
13189         (tests-special): ... additions to this variable.
13190         (do-tst-unbputc): Remove target.
13191         (do-tst-printf): Likewise.
13192         * stdlib/Makefile (tests): Change dependencies to ....
13193         (tests-special): ... additions to this variable.
13194         * string/Makefile (tests): Change dependencies to ....
13195         (tests-special): ... additions to this variable.
13196         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13197         (tests-special): ... additions to this variable.
13198
13199         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13200         whole file.
13201         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13202         whole file.
13203         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13204         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13205
13206         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13207         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13208         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13209         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13210         * conform/data/libgen.h-data [XPG3]: Likewise.
13211         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13212         * conform/data/ndbm.h-data [XPG3]: Likewise.
13213         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13214         * conform/data/netdb.h-data [XPG3]: Likewise.
13215         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13216         * conform/data/poll.h-data [XPG3]: Likewise.
13217         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13218         * conform/data/strings.h-data [XPG3]: Likewise.
13219         * conform/data/stropts.h-data [XPG3]: Likewise.
13220         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13221         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13222         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13223         Likewise.
13224         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13225         * conform/data/sys/time.h-data [XPG3]: Likewise.
13226         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13227         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13228         * conform/data/sys/un.h-data [XPG3]: Likewise.
13229         * conform/data/syslog.h-data [XPG3]: Likewise.
13230         * conform/data/ucontext.h-data [XPG3]: Likewise.
13231         * conform/data/utmpx.h-data [XPG3]: Likewise.
13232         * conform/data/varargs.h-data [UNIX98]: Enable file.
13233
13234         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13235
13236         * math/libm-test.inc (struct test_f_f_data): Move expected results
13237         into structure for each rounding mode.
13238         (struct test_ff_f_data): Likewise.
13239         (struct test_ff_f_data_nexttoward): Likewise.
13240         (struct test_fi_f_data): Likewise.
13241         (struct test_fl_f_data): Likewise.
13242         (struct test_if_f_data): Likewise.
13243         (struct test_fff_f_data): Likewise.
13244         (struct test_c_f_data): Likewise.
13245         (struct test_f_f1_data): Likewise.
13246         (struct test_fF_f1_data): Likewise.
13247         (struct test_ffI_f1_data): Likewise.
13248         (struct test_c_c_data): Likewise.
13249         (struct test_cc_c_data): Likewise.
13250         (struct test_f_i_data): Likewise.
13251         (struct test_ff_i_data): Likewise.
13252         (struct test_f_l_data): Likewise.
13253         (struct test_f_L_data): Likewise.
13254         (struct test_fFF_11_data): Likewise.
13255         (RM_): New macro.
13256         (RM_FE_DOWNWARD): Likewise.
13257         (RM_FE_TONEAREST): Likewise.
13258         (RM_FE_TOWARDZERO): Likewise.
13259         (RM_FE_UPWARD): Likewise.
13260         (RUN_TEST_LOOP_f_f): Update references to expected results.
13261         (RUN_TEST_LOOP_2_f): Likewise.
13262         (RUN_TEST_LOOP_fff_f): Likewise.
13263         (RUN_TEST_LOOP_c_f): Likewise.
13264         (RUN_TEST_LOOP_f_f1): Likewise.
13265         (RUN_TEST_LOOP_fF_f1): Likewise.
13266         (RUN_TEST_LOOP_fI_f1): Likewise.
13267         (RUN_TEST_LOOP_ffI_f1): Likewise.
13268         (RUN_TEST_LOOP_c_c): Likewise.
13269         (RUN_TEST_LOOP_cc_c): Likewise.
13270         (RUN_TEST_LOOP_f_i): Likewise.
13271         (RUN_TEST_LOOP_f_i_tg): Likewise.
13272         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13273         (RUN_TEST_LOOP_f_b): Likewise.
13274         (RUN_TEST_LOOP_f_b_tg): Likewise.
13275         (RUN_TEST_LOOP_f_l): Likewise.
13276         (RUN_TEST_LOOP_f_L): Likewise.
13277         (RUN_TEST_LOOP_fFF_11): Likewise.
13278         * math/gen-libm-test.pl (parse_args): Output four copies of
13279         expected results for each test.
13280
13281         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13282         (__ASSUME_UTIMES): Remove.
13283         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13284         (__ASSUME_UTIMES): Likewise.
13285
13286         * math/gen-auto-libm-tests.c: Update comment on output format.
13287         (output_for_one_input_case): Generate before-rounding and
13288         after-rounding information as conditions on output flags not
13289         floating-point format.
13290         * math/auto-libm-test-out: Regenerated.
13291         * math/gen-libm-test.pl (cond_value): New function.
13292         (or_cond_value): Use cond_value.
13293         (generate_testfile): Handle conditional exceptions.
13294
13295 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13296
13297         * math/libm-test.inc (max_valid_error): New variable.
13298         (init_max_error): Take new argument specifying whether function
13299         results are exactly determined.  Set max_valid_error and bound
13300         other variables for errors based on this argument.
13301         (set_max_error): Do not record results above max_valid_error.
13302         (check_float_internal): Only accept errors of up to 0.5ulps if
13303         also at most max_valid_error.
13304         (START): Take new argument EXACT and pass it to init_max_error.
13305         (acos_test): Update call to START.
13306         (acos_test_tonearest): Likewise.
13307         (acos_test_towardzero): Likewise.
13308         (acos_test_downward): Likewise.
13309         (acos_test_upward): Likewise.
13310         (acosh_test): Likewise.
13311         (asin_test): Likewise.
13312         (asin_test_tonearest): Likewise.
13313         (asin_test_towardzero): Likewise.
13314         (asin_test_downward): Likewise.
13315         (asin_test_upward): Likewise.
13316         (asinh_test): Likewise.
13317         (atan_test): Likewise.
13318         (atanh_test): Likewise.
13319         (atan2_test): Likewise.
13320         (cabs_test): Likewise.
13321         (cacos_test): Likewise.
13322         (cacosh_test): Likewise.
13323         (carg_test): Likewise.
13324         (casin_test): Likewise.
13325         (casinh_test): Likewise.
13326         (catan_test): Likewise.
13327         (catanh_test): Likewise.
13328         (cbrt_test): Likewise.
13329         (ccos_test): Likewise.
13330         (ccosh_test): Likewise.
13331         (ceil_test): Likewise.
13332         (cexp_test): Likewise.
13333         (cimag_test): Likewise.
13334         (clog_test): Likewise.
13335         (clog10_test): Likewise.
13336         (conj_test): Likewise.
13337         (copysign_test): Likewise.
13338         (cos_test): Likewise.
13339         (cos_test_tonearest): Likewise.
13340         (cos_test_towardzero): Likewise.
13341         (cos_test_downward): Likewise.
13342         (cos_test_upward): Likewise.
13343         (cosh_test): Likewise.
13344         (cosh_test_tonearest): Likewise.
13345         (cosh_test_towardzero): Likewise.
13346         (cosh_test_downward): Likewise.
13347         (cosh_test_upward): Likewise.
13348         (cpow_test): Likewise.
13349         (cproj_test): Likewise.
13350         (creal_test): Likewise.
13351         (csin_test): Likewise.
13352         (csinh_test): Likewise.
13353         (csqrt_test): Likewise.
13354         (ctan_test): Likewise.
13355         (ctan_test_tonearest): Likewise.
13356         (ctan_test_towardzero): Likewise.
13357         (ctan_test_downward): Likewise.
13358         (ctan_test_upward): Likewise.
13359         (ctanh_test): Likewise.
13360         (ctanh_test_tonearest): Likewise.
13361         (ctanh_test_towardzero): Likewise.
13362         (ctanh_test_downward): Likewise.
13363         (ctanh_test_upward): Likewise.
13364         (erf_test): Likewise.
13365         (erfc_test): Likewise.
13366         (exp_test): Likewise.
13367         (exp_test_tonearest): Likewise.
13368         (exp_test_towardzero): Likewise.
13369         (exp_test_downward): Likewise.
13370         (exp_test_upward): Likewise.
13371         (exp10_test): Likewise.
13372         (exp10_test_tonearest): Likewise.
13373         (exp10_test_towardzero): Likewise.
13374         (exp10_test_downward): Likewise.
13375         (exp10_test_upward): Likewise.
13376         (pow10_test): Likewise.
13377         (exp2_test): Likewise.
13378         (expm1_test): Likewise.
13379         (expm1_test_tonearest): Likewise.
13380         (expm1_test_towardzero): Likewise.
13381         (expm1_test_downward): Likewise.
13382         (expm1_test_upward): Likewise.
13383         (fabs_test): Likewise.
13384         (fdim_test): Likewise.
13385         (floor_test): Likewise.
13386         (fma_test): Likewise.
13387         (fma_test_towardzero): Likewise.
13388         (fma_test_downward): Likewise.
13389         (fma_test_upward): Likewise.
13390         (fmax_test): Likewise.
13391         (fmin_test): Likewise.
13392         (fmod_test): Likewise.
13393         (fpclassify_test): Likewise.
13394         (frexp_test): Likewise.
13395         (hypot_test): Likewise.
13396         (ilogb_test): Likewise.
13397         (isfinite_test): Likewise.
13398         (finite_test): Likewise.
13399         (isgreater_test): Likewise.
13400         (isgreaterequal_test): Likewise.
13401         (isinf_test): Likewise.
13402         (isless_test): Likewise.
13403         (islessequal_test): Likewise.
13404         (islessgreater_test): Likewise.
13405         (isnan_test): Likewise.
13406         (isnormal_test): Likewise.
13407         (issignaling_test): Likewise.
13408         (isunordered_test): Likewise.
13409         (j0_test): Likewise.
13410         (j1_test): Likewise.
13411         (jn_test): Likewise.
13412         (ldexp_test): Likewise.
13413         (lgamma_test): Likewise.
13414         (gamma_test): Likewise.
13415         (lrint_test): Likewise.
13416         (lrint_test_tonearest): Likewise.
13417         (lrint_test_towardzero): Likewise.
13418         (lrint_test_downward): Likewise.
13419         (lrint_test_upward): Likewise.
13420         (llrint_test): Likewise.
13421         (llrint_test_tonearest): Likewise.
13422         (llrint_test_towardzero): Likewise.
13423         (llrint_test_downward): Likewise.
13424         (llrint_test_upward): Likewise.
13425         (log_test): Likewise.
13426         (log10_test): Likewise.
13427         (log1p_test): Likewise.
13428         (log2_test): Likewise.
13429         (logb_test): Likewise.
13430         (logb_test_downward): Likewise.
13431         (lround_test): Likewise.
13432         (llround_test): Likewise.
13433         (modf_test): Likewise.
13434         (nearbyint_test): Likewise.
13435         (nextafter_test): Likewise.
13436         (nexttoward_test): Likewise.
13437         (pow_test): Likewise.
13438         (pow_test_tonearest): Likewise.
13439         (pow_test_towardzero): Likewise.
13440         (pow_test_downward): Likewise.
13441         (pow_test_upward): Likewise.
13442         (remainder_test): Likewise.
13443         (drem_test): Likewise.
13444         (remainder_test_tonearest): Likewise.
13445         (drem_test_tonearest): Likewise.
13446         (remainder_test_towardzero): Likewise.
13447         (drem_test_towardzero): Likewise.
13448         (remainder_test_downward): Likewise.
13449         (drem_test_downward): Likewise.
13450         (remainder_test_upward): Likewise.
13451         (drem_test_upward): Likewise.
13452         (remquo_test): Likewise.
13453         (rint_test): Likewise.
13454         (rint_test_tonearest): Likewise.
13455         (rint_test_towardzero): Likewise.
13456         (rint_test_downward): Likewise.
13457         (rint_test_upward): Likewise.
13458         (round_test): Likewise.
13459         (scalb_test): Likewise.
13460         (scalbn_test): Likewise.
13461         (scalbln_test): Likewise.
13462         (signbit_test): Likewise.
13463         (sin_test): Likewise.
13464         (sin_test_tonearest): Likewise.
13465         (sin_test_towardzero): Likewise.
13466         (sin_test_downward): Likewise.
13467         (sin_test_upward): Likewise.
13468         (sincos_test): Likewise.
13469         (sinh_test): Likewise.
13470         (sinh_test_tonearest): Likewise.
13471         (sinh_test_towardzero): Likewise.
13472         (sinh_test_downward): Likewise.
13473         (sinh_test_upward): Likewise.
13474         (sqrt_test): Likewise.
13475         (sqrt_test_tonearest): Likewise.
13476         (sqrt_test_towardzero): Likewise.
13477         (sqrt_test_downward): Likewise.
13478         (sqrt_test_upward): Likewise.
13479         (tan_test): Likewise.
13480         (tan_test_tonearest): Likewise.
13481         (tan_test_towardzero): Likewise.
13482         (tan_test_downward): Likewise.
13483         (tan_test_upward): Likewise.
13484         (tanh_test): Likewise.
13485         (tgamma_test): Likewise.
13486         (trunc_test): Likewise.
13487         (y0_test): Likewise.
13488         (y1_test): Likewise.
13489         (yn_test): Likewise.
13490         (significand_test): Likewise.
13491
13492         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13493         individual tests in comment.
13494         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13495         (prev_max_error): New variable.
13496         (prev_real_max_error): Likewise.
13497         (prev_imag_max_error): Likewise.
13498         (compare_ulp_data): Don't refer to test names in comment.
13499         (find_test_ulps): Remove function.
13500         (find_function_ulps): Likewise.
13501         (find_complex_function_ulps): Likewise.
13502         (init_max_error): Take function name as argument.  Look up ulps
13503         for that function.
13504         (print_ulps): Remove function.
13505         (print_max_error): Use prev_max_error instead of calling
13506         find_function_ulps.
13507         (print_complex_max_error): Use prev_real_max_error and
13508         prev_imag_max_error instead of calling find_complex_function_ulps.
13509         (check_float_internal): Take max_ulp parameter instead of calling
13510         find_test_ulps.  Don't call print_ulps.
13511         (check_float): Update call to check_float_internal.
13512         (check_complex): Update calls to check_float_internal.
13513         (START): Pass argument to init_max_error.
13514         * math/gen-libm-test.pl (%results): Don't include "kind"
13515         information.
13516         (parse_ulps): Don't handle ulps of individual tests.
13517         (print_ulps_file): Likewise.
13518         (output_ulps): Likewise.
13519         * math/README.libm-test: Update.
13520         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13521         individual tests.
13522         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13523         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13524         * sysdeps/arm/libm-test-ulps: Likewise.
13525         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13526         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13527         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13528         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13529         * sysdeps/microblaze/libm-test-ulps: Likewise.
13530         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13531         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13532         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13533         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13534         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13535         * sysdeps/sh/libm-test-ulps: Likewise.
13536         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13537         * sysdeps/tile/libm-test-ulps: Likewise.
13538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13539
13540 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13541
13542         * math/libm-test.inc (print_complex_max_error): Check separately
13543         whether real and imaginary errors are within allowed range and
13544         pass 0 to print_complex_function_ulps instead of value within
13545         allowed range.
13546
13547 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13548
13549         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13550         formatting.
13551         (get_handles_fopen): Likewise.
13552         (do_write_test): Likewise.
13553
13554         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13555
13556         * libio/fileops.c (do_ftell): Use cached offset when
13557         available.
13558         * libio/iofwide.c (do_ftell_wide): Likewise.
13559         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13560         _IO_file_attach.
13561         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13562
13563         [BZ #16532]
13564         * libio/libioP.h (get_file_offset): New function.
13565         * libio/fileops.c (get_file_offset): Likewise.
13566         (do_ftell): Likewise.
13567         (_IO_new_file_seekoff): Split out ftell logic.
13568         * libio/wfileops.c (do_ftell_wide): Likewise.
13569         (_IO_wfile_seekoff): Split out ftell logic.
13570         * libio/tst-ftell-active-handler.c: New test case.
13571         * libio/Makefile (tests): Add it.
13572
13573 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13574
13575         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13576         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13577
13578 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13579
13580         [BZ #16639]
13581         * nscd/connections.c (nscd_init): Call do_exit.
13582         (start_threads): Call do_exit and notify_parent.
13583         (begin_drop_privileges): Call do_exit.
13584         (finish_drop_privileges): Likewise.
13585         * nscd/selinux.c (preserve_capabilities): Likewise.
13586         (install_real_capabilities): Likewise.
13587         (nscd_selinux_enabled): Likewise.
13588         (avc_create_thread): Likewise.
13589         (avc_alloc_lock): Likewise.
13590         (nscd_avc_init): Likewise.
13591         * nscd/nscd.c (parent_fd): New static variable.
13592         (main): Create a pipe between parent and child processes.
13593         Skip closing parent_fd.
13594         (monitor_child): New function.
13595         (do_exit): Likewise.
13596         (notify_parent): Likewise.
13597         * nscd/nscd.h (notify_parent): Likewise.
13598         (do_exit): Likewise.
13599
13600 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13601
13602         * malloc/malloc.c (__libc_calloc): Revert last change.
13603
13604 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13605
13606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13607
13608 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13609
13610         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13612         implementation.
13613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13614         (__libc_ifunc_impl_list): Likewise.
13615         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13616         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13617         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13618         * string/strrchr.c: Define STRRCHR.
13619
13620 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13621
13622         * benchtest/bench-strtok.c (simple_strtok): Delete.
13623         (strtok_string): Use as benchmark.
13624         * string/strtok (STRTOK): New macro.
13625
13626 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13627
13628         * manual/threads.texi: Add header and standard comments to all
13629         functions.
13630
13631         * elf/dl-lookup.c (check_match): New function.
13632         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13633         (do_lookup_x): Remove nested function check_match. Use non-nested
13634         function check_match.
13635
13636 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13637
13638         * csu/Makefile (generated, before-compile): Use += rather than =.
13639         * catgets/Makefile (generated, generated-dirs): Likewise.
13640         * debug/Makefile (generated): Likewise.
13641         * dlfcn/Makefile (generated): Likewise.
13642         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13643         * iconvdata/Makefile (before-compile, generated): Likewise.
13644         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13645         * libio/Makefile (generated): Likewise.
13646         * malloc/Makefile (generated): Likewise.
13647         * manual/Makefile (generated, generated-dirs): Likewise.
13648         * misc/Makefile (generated): Likewise.
13649         * posix/Makefile (generated): Likewise.
13650         * resolv/Makefile (generated): Likewise.
13651         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13652         * timezone/Makefile (generated, generated-dirs): Likewise.
13653
13654         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13655
13656 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13657
13658         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13659         power8 implementation.
13660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13661         file: POWER8 llround ifunc implementation.
13662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13663         (__lllround): Add POWER8 implementation.
13664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13665         POWER8 llround implementation.
13666
13667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13668         power8 implementation.
13669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13670         file: POWER8 llrint ifunc implementation.
13671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13672         Add POWER8 implementation.
13673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13674         POWER8 llrint implementation.
13675
13676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13677         power8 implementation.
13678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13679         file: POWER8 finite ifunc implementation.
13680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13681         Add POWER8 implementation.
13682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13683         Likewise.
13684         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13685         POWER8 finite implementation.
13686         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13687
13688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13689         power8 implementation.
13690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13691         file: POWER8 isinf ifunc implementation.
13692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13693         POWER8 implementation.
13694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13695         Likewise.
13696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13697         isinf implementation.
13698         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13699
13700         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13701         (INIT_ARCH): Add hwcap2 initialization.
13702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13703         power8 implementation.
13704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13705         file: POWER8 isnan ifunc implementation.
13706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13707         POWER8 implementation.
13708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13709         Likewise.
13710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13711         isnan implementation.
13712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13713
13714 2014-02-27  Joey Ye  <joey.ye@arm.com>
13715
13716         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13717         (_FP_NANFRAC_Q): Set to zero.
13718
13719 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13720
13721         [BZ #16623]
13722         * math/auto-libm-test-in: New test inputs.
13723         * math/auto-libm-test-out: Regenerate.
13724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13725         and DA.
13726         (__cos): Likewise.
13727         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13728
13729 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13730
13731         * scripts/evaluate-test.sh: Take new argument indicating whether
13732         failure is expected.
13733         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13734         indicating whether failure is expected.
13735         * conform/Makefile (test-xfail-run-conformtest): New variable.
13736         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13737         level.
13738         * posix/Makefile (test-xfail-annexc): New variable.
13739         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13740
13741 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13742
13743         * argp/Makefile: Include Makeconfig immediately after defining
13744         subdir.
13745         * assert/Makefile: Likewise.
13746         * benchtests/Makefile: Likewise.
13747         * catgets/Makefile: Likewise.
13748         * conform/Makefile: Likewise.
13749         * crypt/Makefile: Likewise.
13750         * csu/Makefile: Likewise.
13751         (all): Remove target.
13752         * ctype/Makefile: Include Makeconfig immediately after defining
13753         subdir.
13754         * debug/Makefile: Likewise.
13755         * dirent/Makefile: Likewise.
13756         * dlfcn/Makefile: Likewise.
13757         * gmon/Makefile: Likewise.
13758         * gnulib/Makefile: Likewise.
13759         * grp/Makefile: Likewise.
13760         * gshadow/Makefile: Likewise.
13761         * hesiod/Makefile: Likewise.
13762         * hurd/Makefile: Likewise.
13763         (all): Remove target.
13764         * iconvdata/Makefile: Include Makeconfig immediately after
13765         defining subdir.
13766         * inet/Makefile: Likewise.
13767         * intl/Makefile: Likewise.
13768         * io/Makefile: Likewise.
13769         * libio/Makefile: Likewise.
13770         (all): Remove target.
13771         * locale/Makefile: Include Makeconfig immediately after defining
13772         subdir.
13773         * login/Makefile: Likewise.
13774         * mach/Makefile: Likewise.
13775         (all): Remove target.
13776         * malloc/Makefile: Include Makeconfig immediately after defining
13777         subdir.
13778         (all): Remove target.
13779         * manual/Makefile: Include Makeconfig immediately after defining
13780         subdir.
13781         * math/Makefile: Likewise.
13782         * misc/Makefile: Likewise.
13783         * nis/Makefile: Likewise.
13784         * nss/Makefile: Likewise.
13785         * po/Makefile: Likewise.
13786         (all): Remove target.
13787         * posix/Makefile: Include Makeconfig immediately after defining
13788         subdir.
13789         * pwd/Makefile: Likewise.
13790         * resolv/Makefile: Likewise.
13791         * resource/Makefile: Likewise.
13792         * rt/Makefile: Likewise.
13793         * setjmp/Makefile: Likewise.
13794         * shadow/Makefile: Likewise.
13795         * signal/Makefile: Likewise.
13796         * socket/Makefile: Likewise.
13797         * soft-fp/Makefile: Likewise.
13798         * stdio-common/Makefile: Likewise.
13799         * stdlib/Makefile: Likewise.
13800         * streams/Makefile: Likewise.
13801         * string/Makefile: Likewise.
13802         * sunrpc/Makefile: Likewise.
13803         (all): Remove target.
13804         * sysvipc/Makefile: Include Makeconfig immediately after defining
13805         subdir.
13806         * termios/Makefile: Likewise.
13807         * time/Makefile: Likewise.
13808         * timezone/Makefile: Likewise.
13809         (all): Remove target.
13810         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13811         subdir.
13812         * wctype/Makefile: Likewise.
13813
13814 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13815
13816         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13817         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13818         (libc_feholdexcept_setround_mips): Ditto.
13819         (libc_feholdsetround): New.
13820         (libc_feholdsetroundf): New.
13821         (libc_feholdsetroundl): New.
13822         (libc_feupdateenv_test_mips): New.
13823         (libc_feupdateenv_test): New.
13824         (libc_feupdateenv_testf): New.
13825         (libc_feupdateenv_testl): New.
13826         (libc_feresetround): New.
13827         (libc_feresetroundf): New.
13828         (libc_feresetroundl): New.
13829         (libc_fetestexcept_mips): New.
13830         (libc_fetestexcept): New.
13831         (libc_fetestexceptf): New.
13832         (libc_fetestexceptl): New.
13833         (HAVE_RM_CTX): New.
13834         (libc_feholdexcept_setround_mips_ctx): New.
13835         (libc_feholdexcept_setround_ctx): New.
13836         (libc_feholdexcept_setroundf_ctx): New.
13837         (libc_feholdexcept_setroundl_ctx): New.
13838         (libc_fesetenv_mips_ctx): New.
13839         (libc_fesetenv_ctx): New.
13840         (libc_fesetenv_ctxf): New.
13841         (libc_fesetenv_ctxl): New.
13842         (libc_feupdateenv_mips_ctx): New.
13843         (libc_feupdateenv_ctx): New.
13844         (libc_feupdateenvf_ctx): New.
13845         (libc_feupdateenvl_ctx): New.
13846         (libc_feholdsetround_mips_ctx): New.
13847         (libc_feholdsetround_ctx): New.
13848         (libc_feholdsetroundf_ctx): New.
13849         (libc_feholdsetroundl_ctx): New.
13850         (libc_feresetround_mips_ctx): New.
13851         (libc_feresetround_ctx): New.
13852         (libc_feresetroundf_ctx): New.
13853         (libc_feresetroundl_ctx): New.
13854
13855 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13856
13857         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13858
13859         * manual/ipc.texi: New file.
13860         * manual/Makefile (chapters): Add ipc.
13861         * manual/job.texi: Add "Inter-Process Communication" to next.
13862         * manual/process.texi: Add "Inter-Process Communication" to prev.
13863
13864 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13865
13866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13867
13868 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13869
13870         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13871
13872         * manual/arith.texi: Fix spaces after sentences.
13873         * manual/charset.texi: Likewise.
13874         * manual/errno.texi: Likewise.
13875         * manual/install.texi: Likewise.
13876         * manual/llio.texi: Likewise.
13877         * manual/locale.texi: Likewise.
13878         * manual/maint.texi: Likewise.
13879         * manual/math.texi: Likewise.
13880         * manual/memory.texi: Likewise.
13881         * manual/message.texi: Likewise.
13882         * manual/probes.texi: Likewise.
13883         * manual/resource.texi: Likewise.
13884         * manual/signal.texi: Likewise.
13885         * manual/socket.texi: Likewise.
13886         * manual/stdio.texi: Likewise.
13887         * manual/string.texi: Likewise.
13888         * manual/time.texi: Likewise.
13889         * manual/users.texi: Likewise.
13890
13891 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13892
13893         [BZ #16632]
13894         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13895         _DEFAULT_SOURCE is defined.
13896
13897 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13898             Carlos O'Donell  <carlos@redhat.com>
13899
13900         [BZ #16613]
13901         * elf/dl-tls.c (_dl_count_modids): New function.
13902         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13903         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13904         audit library and increment generation counter.
13905         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13906         * elf/tst-audit9.c: New file.
13907         * elf/tst-auditmod9a.c: New file.
13908         * elf/tst-auditmod9b.c: New file.
13909         * elf/Makefile: Add rules to build and run tst-audit9.
13910
13911 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13912
13913         [BZ #15347]
13914         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13915
13916 2014-02-25  Will Newton  <will.newton@linaro.org>
13917
13918         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13919         (__longjmp): Restore sp and lr before restoring callee
13920         saved registers.  Add longjmp and longjmp_target
13921         SystemTap probe point.
13922         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13923         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13924         Define to zero to match jmpbuf layout.
13925         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13926         (__sigsetjmp): Save sp and lr before saving callee
13927         saved registers.  Add setjmp SystemTap probe point.
13928
13929 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13930
13931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13932
13933 2014-02-24  Andreas Schwab  <schwab@suse.de>
13934
13935         [BZ #15804]
13936         * elf/pldd.c (wait_for_ptrace_stop): New function.
13937         (main): Call it after attaching.
13938
13939 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13940
13941         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13942         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13943         Versions files is now verboten.
13944         * hurd/Versions (libc: GLIBC_2.0):
13945         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13946         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13947         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13948         * mach/Versions: Likewise.
13949
13950         * csu/Versions: Remove unused %include.
13951         * resolv/Versions: Likewise.
13952
13953 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13954
13955         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13956         ($(objpfx)check-local-headers.out): Likewise.
13957         ($(objpfx)begin-end-check.out): Likewise.
13958         * Makerules (check-abi-%.out): Likewise.
13959         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13960         ($(objpfx)test2.cat): Likewise.
13961         ($(objpfx)de/libc.cat): Likewise.
13962         ($(objpfx)test-gencat.out): Likewise.
13963         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13964         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13965         ($(objpfx)noload-mem): Likewise.
13966         ($(objpfx)tst-pathopt.out): Likewise.
13967         ($(objpfx)tst-rtld-load-self.out): Likewise.
13968         ($(objpfx)tst-array1-cmp.out): Likewise.
13969         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13970         ($(objpfx)tst-array2-cmp.out): Likewise.
13971         ($(objpfx)tst-array3-cmp.out): Likewise.
13972         ($(objpfx)tst-array4-cmp.out): Likewise.
13973         ($(objpfx)tst-array5-cmp.out): Likewise.
13974         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13975         ($(objpfx)check-textrel.out): Likewise.
13976         ($(objpfx)check-execstack.out): Likewise.
13977         ($(objpfx)check-localplt.out): Likewise.
13978         ($(objpfx)order2-cmp.out): Likewise.
13979         ($(objpfx)tst-leaks1-mem): Likewise.
13980         ($(objpfx)tst-leaks1-static-mem): Likewise.
13981         ($(objpfx)tst-initorder-cmp.out): Likewise.
13982         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13983         ($(objpfx)tst-unused-dep.out): Likewise.
13984         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13985         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13986         * iconv/Makefile (test-iconvconfig): Likewise.
13987         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13988         ($(objpfx)iconv-test.out): Likewise.
13989         ($(objpfx)tst-tables.out): Likewise.
13990         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13991         ($(objpfx)tst-gettext.out): Likewise.
13992         ($(objpfx)tst-translit.out): Likewise.
13993         ($(objpfx)tst-gettext2.out): Likewise.
13994         ($(objpfx)tst-gettext4.out): Likewise.
13995         ($(objpfx)tst-gettext6.out): Likewise.
13996         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13997         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13998         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13999         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14000         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14001         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14002         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14003         ($(objpfx)wordexp-tst.out): Likewise.
14004         ($(objpfx)annexc.out): Likewise.
14005         ($(objpfx)tst-fnmatch-mem): Likewise.
14006         ($(objpfx)bug-regex2-mem): Likewise.
14007         ($(objpfx)bug-regex14-mem): Likewise.
14008         ($(objpfx)bug-regex21-mem): Likewise.
14009         ($(objpfx)bug-regex31-mem): Likewise.
14010         ($(objpfx)tst-vfork3-mem): Likewise.
14011         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14012         ($(objpfx)tst-pcre-mem): Likewise.
14013         ($(objpfx)tst-boost-mem): Likewise.
14014         ($(objpfx)tst-getconf.out): Likewise.
14015         ($(objpfx)bug-ga2-mem): Likewise.
14016         ($(objpfx)bug-glob2-mem): Likewise.
14017         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14018         ($(objpfx)mtrace-tst-leaks2): Likewise.
14019         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14020         ($(objpfx)tst-printf.out): Likewise.
14021         ($(objpfx)tst-setvbuf1.out): Likewise.
14022         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14023         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14024         ($(objpfx)tst-fmtmsg.out): Likewise.
14025         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14026         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14027
14028         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14029         * bits/sigaction.h [__USE_MISC]: Likewise.
14030         * bits/waitstatus.h: Update #endif comments.
14031         * ctype/ctype.h: Likewise.
14032         * dirent/dirent.h: Likewise.
14033         [__USE_MISC]: Remove redundant conditionals.
14034         * grp/grp.h: Update #endif comments.
14035         [__USE_GNU]: Remove redundant conditionals.
14036         [__USE_MISC]: Likewise.
14037         * inet/netinet/in.h [__USE_GNU]: Likewise.
14038         * io/sys/stat.h [__USE_MISC]: Likewise.
14039         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14040         * libio/bits/stdio.h: Update #endif comments.
14041         [__USE_MISC]: Remove redundant conditionals.
14042         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14043         * libio/stdio.h: Update #endif comments.
14044         [__USE_MISC]: Remove redundant conditionals.
14045         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14046         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14047         * math/math.h: Update #else and #endif comments.
14048         [__USE_MISC]: Remove redundant conditionals.
14049         * misc/sys/uio.h: Update #endif comments.
14050         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14051         * posix/glob.h [__USE_MISC]: Likewise.
14052         * posix/sys/types.h: Update #endif comments.
14053         [__USE_MISC]: Remove redundant conditionals.
14054         * posix/sys/wait.h: Update #endif comments.
14055         [__USE_MISC]: Remove redundant conditionals.
14056         * posix/unistd.h: Update #endif comments.
14057         [__USE_MISC]: Remove redundant conditionals.
14058         * pwd/pwd.h [__USE_GNU]: Likewise.
14059         [__USE_MISC]: Likewise.
14060         * resolv/netdb.h [__USE_GNU]: Likewise.
14061         * signal/signal.h: Update #endif comments.
14062         [__USE_MISC]: Remove redundant conditionals.
14063         * stdlib/stdlib.h: Update #else and #endif comments.
14064         [__USE_MISC]: Remove redundant conditionals.
14065         [__USE_GNU]: Likewise.
14066         * string/bits/string2.h [__USE_MISC]: Likewise.
14067         * string/string.h: Update #endif comments.
14068         [__USE_MISC]: Remove redundant conditionals.
14069         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14070         Likewise.
14071         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14072         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14073         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14074         Likewise.
14075         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14076         Likewise.
14077         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14078         comments.
14079         [__USE_MISC]: Remove redundant conditionals.
14080         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14081         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14082         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14083         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14084         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14085         Likewise.
14086         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14087         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14088         Likewise.
14089         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14090         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14091         Likewise.
14092         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14093         Likewise.
14094         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14095         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14100         * sysdeps/x86/bits/string.h: Update #endif comments.
14101         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14102         conditionals.
14103         * time/sys/time.h: Update #endif comments.
14104         * time/time.h: Likewise.
14105         [__USE_MISC]: Remove redundant conditionals.
14106
14107 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14108
14109         [BZ #16600]
14110         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14111
14112 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14113
14114         * Versions.def (librt): Add GLIBC_2.17.
14115
14116 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14117
14118         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14119         synonym for _SYS_AUXV_H to allow direct inclusion.
14120         * sysdeps/sparc/bits/hwcap.h: Likewise.
14121         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14122         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14123         * sysdeps/sparc/sysdep.h: Likewise.
14124
14125 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14126
14127         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14128
14129 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14130
14131         * benchtests/bench-strrchr.c: Print length instead of position.
14132
14133 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14134
14135         [BZ #16611]
14136         * sysdeps/unix/sysv/linux/kernel-features.h
14137         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14138         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14139         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14140         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14141         Likewise.
14142         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14143         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14144         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14145         (__ASSUME_SENDMMSG): Define instead of using previous
14146         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14147         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14148         (__ASSUME_SENDMMSG_SYSCALL): Define.
14149         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14150         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14153         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14154         Likewise.
14155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14156         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14157         Likewise.
14158         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14159         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14160         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14161         [__ASSUME_SENDMMSG]: Change conditionals to
14162         [__ASSUME_SENDMMSG_SOCKETCALL].
14163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14164         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14165         Define.
14166         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14167         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14170         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14171         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14172         [!__ASSUME_SENDMMSG]: Change conditional to
14173         [!__ASSUME_SENDMMSG_SOCKETCALL].
14174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14175         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14176         Define.
14177
14178         [BZ #16610]
14179         * sysdeps/unix/sysv/linux/kernel-features.h
14180         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14181         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14182         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14183         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14184         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14185         [__i386__ || __sparc__]
14186         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14187         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14188         (__ASSUME_RECVMMSG): Define instead of using previous
14189         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14190         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14191         (__ASSUME_RECVMMSG_SYSCALL): Define.
14192         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14194         Likewise.
14195         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14196         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14197         Likewise.
14198         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14199         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14200         Likewise.
14201         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14202         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14203         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14204         [__ASSUME_RECVMMSG]: Change condition to
14205         [__ASSUME_RECVMMSG_SOCKETCALL].
14206         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14207         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14208         Define.
14209         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14212         Likewise.
14213         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14214         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14215         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14216         [!__ASSUME_RECVMMSG]: Change condition to
14217         [!__ASSUME_RECVMMSG_SOCKETCALL].
14218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14219         (__ASSUME_RECVMMSG_SYSCALL): Define.
14220
14221         [BZ #16609]
14222         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14223         __powerpc__ || __s390__ || __sh__ || __sparc__]
14224         (__ASSUME_SOCKETCALL): Define.
14225         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14226         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14227         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14228         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14229         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14230         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14231         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14232         (__ASSUME_ACCEPT4): Define instead of using previous
14233         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14234         __powerpc__ || __sparc__ || __s390__)] condition.
14235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14236         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14237         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14238         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14239         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14240         [!__ASSUME_ACCEPT4]: Change condition to
14241         [!__ASSUME_ACCEPT4_SOCKETCALL].
14242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14243         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14244         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14246         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14247         __ASSUME_ACCEPT4_SYSCALL.
14248         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14249         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14250         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14251         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14252         __ASSUME_ACCEPT4_SYSCALL.
14253         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14254         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14255         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14256         [__ASSUME_ACCEPT4]: Change condition to
14257         [__ASSUME_ACCEPT4_SOCKETCALL].
14258         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14259         (__ASSUME_SOCKETCALL): Define.
14260         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14262         (__ASSUME_SOCKETCALL): Define.
14263         (__ASSUME_ACCEPT4): Remove.
14264         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14265         Define.
14266         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14267         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14268         Likewise.
14269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14270         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14271
14272         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14273         macro.
14274         (HWCAP_ARM_LPAE): Likewise.
14275         (HWCAP_ARM_EVTSTRM): Likewise.
14276         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14277         Add vpfd32, lpae and evtstrm.
14278         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14279         Increase to 22.
14280
14281 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14282
14283         * math/auto-libm-test-in: Add tests of clog10.
14284         * math/auto-libm-test-out: Regenerated.
14285         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14286         * sysdeps/i386/fpu/libm-test-ulps: Update.
14287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14288
14289 2014-02-18  Andreas Schwab  <schwab@suse.de>
14290
14291         [BZ #16574]
14292         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14293         Store non-zero if the second buffer was newly allocated.
14294         (send_dg): Likewise.
14295         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14296         to send_vc and send_dg.
14297         (res_nsend): Pass NULL for ansp2_malloced.
14298         * resolv/res_query.c (__libc_res_nquery): Add parameter
14299         answerp2_malloced and pass it down to __libc_res_nsend.
14300         (res_nquery): Pass additional NULL to __libc_res_nquery.
14301         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14302         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14303         second answer buffer if answerp2_malloced was set.
14304         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14305         (__libc_res_nquerydomain): Add parameter
14306         answerp2_malloced and pass it down to __libc_res_nquery.
14307         (res_nquerydomain): Pass additional NULL to
14308         __libc_res_nquerydomain.
14309         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14310         additional NULL to __libc_res_nsend and __libc_res_nquery.
14311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14312         additional NULL to __libc_res_nsearch.
14313         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14314         parameter of __libc_res_nsearch to check for separately allocated
14315         second buffer.
14316         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14317         __libc_res_nquery.
14318         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14319         additional NULL to __libc_res_nquery.
14320         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14321         __libc_res_nsearch.
14322         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14323         * include/resolv.h: Update prototypes of __libc_res_nquery,
14324         __libc_res_nsearch, __libc_res_nsend.
14325
14326 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14327
14328         * math/auto-libm-test-in: Add tests of fma.
14329         * math/auto-libm-test-out: Regenerated.
14330         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14331         (fma_towardzero_test_data): Likewise.
14332         (fma_downward_test_data): Likewise.
14333         (fma_upward_test_data): Likewise.
14334         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14335         mpc_mode.
14336         (rounding_modes): Add values for new field.
14337         (func_calc_method): Add value mpfr_fff_f.
14338         (func_calc_desc): Add mpfr_fff_f union field.
14339         (test_function): Add field exact_args.
14340         (FUNC): Add macro argument EXACT_ARGS.
14341         (FUNC_mpfr_f_f): Update call to FUNC.
14342         (FUNC_mpfr_f_f): Likewise.
14343         (FUNC_mpfr_ff_f): Likewise.
14344         (FUNC_mpfr_if_f): Likewise.
14345         (FUNC_mpc_c_f): Likewise.
14346         (FUNC_mpc_c_c): Likewise.
14347         (test_functions): Add fma.  Update calls to FUNC.
14348         (handle_input_arg): Add argument exact_args.
14349         (add_test): Update call to handle_input_arg.
14350         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14351         (output_for_one_input_case): Update call to calc_generic_results.
14352         Recalculate exact zero results in each rounding mode.
14353
14354         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14355         non-negative before setting low bit.
14356         * math/auto-libm-test-in: Mark one asin test possibly having
14357         spurious underflow.
14358         * math/auto-libm-test-out: Regenerated.
14359         * sysdeps/i386/fpu/libm-test-ulps: Update.
14360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14361
14362 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14363
14364         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14365         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14366         ports/sysdeps/unix/sysv/linux/microblaze.
14367         * README: Add missing listing for microblaze*-*-linux-gnu.
14368
14369 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14370
14371         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14372         duplicate code
14373
14374 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14375
14376         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14377         * sysdeps/unix/sysv/linux/ia64: Move directory from
14378         ports/sysdeps/unix/sysv/linux/ia64.
14379         * README: Update listing for ia64-*-linux-gnu.
14380
14381 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14382             Joseph Myers  <joseph@codesourcery.com>
14383
14384         * Makeconfig (test-name): New variable.
14385         (evaluate-test): Likewise.
14386         * Makerules (do-test-clean): Remove .test-result files.
14387         (common-mostlyclean): Likewise.
14388         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14389         * scripts/evaluate-test.sh: New file.
14390
14391 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14392
14393         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14394         separate $(objpfx)tst-fopenloc-cmp.out and
14395         $(objpfx)tst-fopenloc-mem.out targets.
14396         (tests): Update dependencies.
14397         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14398         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14399         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14400         (tst-rxspencer-no-utf8-ARGS): New variable.
14401         (tst-rxspencer-no-utf8-ENV): Likewise.
14402         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14403         instead of $(objpfx)tst-rxspencer-mem.
14404         ($(objpfx)tst-rxspencer-mem): Change target to
14405         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14406         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14407         * posix/tst-rxspencer-no-utf8.c: New file.
14408
14409         * elf/Makefile ($(objpfx)order.out): Remove rule.
14410         [$(run-built-tests) = yes] (tests): Depend on
14411         $(objpfx)order-cmp.out.
14412         ($(objpfx)order-cmp.out): New rule.
14413         [$(run-built-tests) = yes] (tests): Depend on
14414         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14415         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14416         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14417         $(objpfx)tst-array5-static-cmp.out.
14418         ($(objpfx)tst-array1.out): Remove rule.
14419         ($(objpfx)tst-array1-cmp.out): New rule.
14420         ($(objpfx)tst-array1-static.out): Remove rule.
14421         ($(objpfx)tst-array1-static-cmp.out): New rule.
14422         ($(objpfx)tst-array2.out): Remove rule.
14423         ($(objpfx)tst-array2-cmp.out): New rule.
14424         ($(objpfx)tst-array3.out): Remove rule.
14425         ($(objpfx)tst-array3-cmp.out): New rule.
14426         ($(objpfx)tst-array4.out): Remove rule.
14427         ($(objpfx)tst-array4-cmp.out): New rule.
14428         ($(objpfx)tst-array5.out): Remove rule.
14429         ($(objpfx)tst-array5-cmp.out): New rule.
14430         ($(objpfx)tst-array5-static.out): Remove rule.
14431         ($(objpfx)tst-array5-static-cmp.out): New rule.
14432         [$(run-built-tests) = yes] (tests): Depend on
14433         $(objpfx)order2-cmp.out.
14434         ($(objpfx)order2.out): Remove rule.
14435         ($(objpfx)order2-cmp.out): New rule.
14436         ($(objpfx)tst-initorder.out): Remove rule.
14437         [$(run-built-tests) = yes] (tests): Depend on
14438         $(objpfx)tst-initorder-cmp.out.
14439         ($(objpfx)tst-initorder-cmp.out): New rule.
14440         ($(objpfx)tst-initorder2.out): Remove rule.
14441         [$(run-built-tests) = yes] (tests): Depend on
14442         $(objpfx)tst-initorder2-cmp.out.
14443         ($(objpfx)tst-initorder2-cmp.out): New rule.
14444         [$(run-built-tests) = yes] (tests): Depend on
14445         $(objpfx)tst-unused-dep-cmp.out.
14446         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14447         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14448         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14449         on $(objpfx)tst-setvbuf1-cmp.out.
14450         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14451         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14452         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14453         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14454         ($(objpfx)tst-svc.out): Remove rule.
14455         ($(objpfx)tst-svc-cmp.out): New rule.
14456
14457 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14458
14459         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14460         * ctype/ctype.h [__USE_MISC]: Likewise.
14461         * dirent/dirent.h [__USE_MISC]: Likewise.
14462         * grp/grp.h [__USE_MISC]: Likewise.
14463         * io/fcntl.h [__USE_MISC]: Likewise.
14464         * io/sys/stat.h [__USE_MISC]: Likewise.
14465         * libio/stdio.h [__USE_MISC]: Likewise.
14466         * posix/unistd.h [__USE_MISC]: Likewise.
14467         * pwd/pwd.h [__USE_MISC]: Likewise.
14468         * stdlib.h [__USE_MISC]: Likewise.
14469         * string/bits/string2.h [__USE_MISC]: Likewise.
14470         * string/string.h [__USE_MISC]: Likewise.
14471         * time/time.h [__USE_MISC]: Likewise.
14472
14473 2014-02-13  Andreas Schwab  <schwab@suse.de>
14474
14475         [BZ #16574]
14476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14477         second answer buffer if it was separately allocated.
14478
14479 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14480
14481         * sysdeps/mips/math-tests.h: Include <features.h>.
14482         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14483         (ROUNDING_TESTS_long_double): Do not define.
14484         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14485         (EXCEPTION_TESTS_long_double): Likewise.
14486         * sysdeps/mips/mips64/libm-test-ulps: Update.
14487
14488         * include/features.h (__USE_BSD): Remove macro definitions.
14489         (__USE_SVID): Likewise.
14490         (_BSD_SOURCE): Likewise.
14491         (_SVID_SOURCE): Likewise.
14492         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14493         from definition of _DEFAULT_SOURCE.
14494         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14495         [_DEFAULT_SOURCE].
14496         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14497         * bits/mman.h [__USE_BSD]: Likewise.
14498         * bits/termios.h [__USE_BSD]: Likewise.
14499         * bits/waitstatus.h [__USE_BSD]: Likewise.
14500         * ctype/ctype.h [__USE_SVID]: Likewise.
14501         * dirent/dirent.h [__USE_BSD]: Likewise.
14502         * grp/grp.h [__USE_SVID]: Likewise.
14503         [__USE_BSD]: Likewise.
14504         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14505         * io/fcntl.h [__USE_BSD]: Likewise.
14506         * io/ftw.h [__USE_BSD]: Likewise.
14507         * io/sys/stat.h [__USE_BSD]: Likewise.
14508         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14509         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14510         * libio/stdio.h [__USE_SVID]: Likewise.
14511         [__USE_BSD]: Likewise.
14512         * math/math.h [__USE_SVID]: Likewise.
14513         [__USE_BSD]: Likewise.
14514         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14515         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14516         * misc/search.h [__USE_SVID]: Likewise.
14517         * misc/sys/mman.h [__USE_BSD]: Likewise.
14518         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14519         * misc/sys/uio.h [__USE_BSD]: Likewise.
14520         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14521         * posix/glob.h [__USE_BSD]: Likewise.
14522         * posix/regex.h [__USE_BSD]: Likewise.
14523         * posix/sys/types.h [__USE_BSD]: Likewise.
14524         [__USE_SVID]: Likewise.
14525         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14526         * posix/sys/wait.h [__USE_BSD]: Likewise.
14527         [__USE_SVID]: Likewise.
14528         * posix/unistd.h [__USE_BSD]: Likewise.
14529         [__USE_SVID]: Likewise.
14530         * pwd/pwd.h [__USE_SVID]: Likewise.
14531         * resolv/netdb.h [__USE_BSD]: Likewise.
14532         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14533         * signal/signal.h [__USE_BSD]: Likewise.
14534         [__USE_SVID]: Likewise.
14535         * socket/sys/socket.h [__USE_BSD]: Likewise.
14536         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14537         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14538         [__USE_SVID]: Likewise.
14539         * string/bits/string2.h [__USE_BSD]: Likewise.
14540         [__USE_SVID]: Likewise.
14541         * string/bits/string3.h [__USE_BSD]: Likewise.
14542         * string/endian.h [__USE_BSD]: Likewise.
14543         * string/string.h [__USE_SVID]: Likewise.
14544         [__USE_BSD]: Likewise.
14545         * string/strings.h [__USE_BSD]: Likewise.
14546         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14547         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14548         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14549         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14550         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14551         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14552         Likewise.
14553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14554         Likewise.
14555         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14556         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14557         Likewise.
14558         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14559         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14560         Likewise.
14561         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14562         Likewise.
14563         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14564         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14566         Likewise.
14567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14568         Likewise.
14569         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14570         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14571         * termios/termios.h [__USE_BSD]: Likewise.
14572         * time/sys/time.h [__USE_BSD]: Likewise.
14573         * time/time.h [__USE_BSD]: Likewise.
14574         [__USE_SVID]: Likewise.
14575
14576         * Makefile (subdir_targets): Remove subdir_lint.out.
14577
14578         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14579         (do-tst-printf): Likewise.
14580         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14581         $(objpfx)tst-printf.out.
14582
14583         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14584
14585         * Makerules (check-abi-%): Change target to
14586         $(objpfx)check-abi-%.out.
14587         (check-abi target): Update dependencies.
14588         (check-abi-pattern variable): Redirect output of diff to $@.
14589         (check-abi variable): Likewise.
14590         * elf/Makefile (check-abi): Update dependencies.
14591
14592         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14593         unused.
14594         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14595         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14596         subnormal range.
14597         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14598         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14599         value has largest subnormal exponent.
14600         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14601         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14602         * sysdeps/aarch64/soft-fp/sfp-machine.h
14603         (_FP_TININESS_AFTER_ROUNDING): New macro.
14604         * sysdeps/alpha/soft-fp/sfp-machine.h
14605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14606         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14607         Likewise.
14608         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14609         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14610         * sysdeps/mips/soft-fp/sfp-machine.h
14611         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14612         * sysdeps/powerpc/soft-fp/sfp-machine.h
14613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14614         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14615         Likewise.
14616         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14617         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14619         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14620         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14621         Likewise.
14622
14623 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14624
14625         [BZ #16545]
14626         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14627         model 1.
14628
14629 2014-02-12  Richard Henderson  <rth@redhat.com>
14630
14631         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14632         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14633         * sysdeps/unix/sysv/linux/alpha: Move directory from
14634         ports/sysdeps/unix/sysv/linux/alpha.
14635         * README: Update listing for alpha-*-linux-gnu.
14636
14637 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14638
14639         * include/features.h: Update comment documenting feature test
14640         macros.
14641         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14642         _DEFAULT_SOURCE.
14643         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14644         (_SVID_SOURCE): Likewise.
14645         (_DEFAULT_SOURCE): Update description of default features.
14646         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14647         with _GNU_SOURCE.
14648         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14649         (S_ISVTX): Likewise.
14650         * manual/math.texi (Mathematical Constants): Likewise.
14651         * manual/signal.texi (Interrupted Primitives): Likewise.
14652         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14653         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14654         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14655         Don't refer to _SVID_SOURCE in warning text.
14656
14657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14658
14659         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14660         already defined.
14661         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14662         * sysdeps/mips/dl-lookup.c: Remove.
14663         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14664
14665 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14666
14667         [BZ #16447]
14668         * math/auto-libm-test-in: Add testcase for expl.
14669         * math/auto-libm-test-out: Regenerate.
14670         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14671         calculation of unsafe.
14672         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14673
14674 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14675
14676         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14677         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14678         ports/sysdeps/unix/sysv/linux/aarch64.
14679         * README: Update listing for aarch64*-*-linux-gnu.
14680
14681 2014-02-11  Will Newton  <will.newton@linaro.org>
14682
14683         * manual/probes.texi (Mathematical Function Probes): Use
14684         "triggered" instead of "hit".
14685
14686         * manual/probes.texi (Internal Probes): Add documentation
14687         of setjmp, longjmp and longjmp_target probes.
14688
14689         * include/stap-probe.h: Add comment about probe argument
14690         format.
14691
14692         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14693         definition.  (tr_where, tr_freehook, tr_mallochook,
14694         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14695
14696 2014-02-11  David S. Miller  <davem@davemloft.net>
14697
14698         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14699         processing int_tests.
14700
14701 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14702
14703         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14704         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14705         * sysdeps/unix/sysv/linux/mips: Move directory from
14706         ports/sysdeps/unix/sysv/linux/mips.
14707         * README: Update listing for mips-*-linux-gnu and
14708         mips64-*-linux-gnu.
14709
14710 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14711
14712         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14713         * sysdeps/unix/sysv/linux/m68k: Move directory from
14714         ports/sysdeps/unix/sysv/linux/m68k.
14715         * README: Update listing for m68k-*-linux-gnu.
14716
14717 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14718
14719         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14720         * sysdeps/unix/sysv/linux/generic: Move directory from
14721         ports/sysdeps/unix/sysv/linux/generic.
14722         * sysdeps/unix/sysv/linux/tile: Move directory from
14723         ports/sysdeps/unix/sysv/linux/tile.
14724         * README: Update listing for tile*-*-linux-gnu.
14725
14726 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14727
14728         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14729         __builtin_expect.
14730         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14731         * catgets/open_catalog.c (__open_catalog): Likewise.
14732         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14733         * debug/confstr_chk.c: Likewise.
14734         * debug/fread_chk.c (__fread_chk): Likewise.
14735         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14736         * debug/getgroups_chk.c: Likewise.
14737         * debug/mbsnrtowcs_chk.c: Likewise.
14738         * debug/mbsrtowcs_chk.c: Likewise.
14739         * debug/mbstowcs_chk.c: Likewise.
14740         * debug/memcpy_chk.c: Likewise.
14741         * debug/memmove_chk.c: Likewise.
14742         * debug/mempcpy_chk.c: Likewise.
14743         * debug/memset_chk.c: Likewise.
14744         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14745         * debug/strcat_chk.c (__strcat_chk): Likewise.
14746         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14747         * debug/strncat_chk.c (__strncat_chk): Likewise.
14748         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14749         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14750         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14751         * debug/wcpncpy_chk.c: Likewise.
14752         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14753         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14754         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14755         * debug/wcsncpy_chk.c: Likewise.
14756         * debug/wcsnrtombs_chk.c: Likewise.
14757         * debug/wcsrtombs_chk.c: Likewise.
14758         * debug/wcstombs_chk.c: Likewise.
14759         * debug/wmemcpy_chk.c: Likewise.
14760         * debug/wmemmove_chk.c: Likewise.
14761         * debug/wmempcpy_chk.c: Likewise.
14762         * debug/wmemset_chk.c: Likewise.
14763         * dirent/scandirat.c (SCANDIRAT): Likewise.
14764         * dlfcn/dladdr1.c (dladdr1): Likewise.
14765         * dlfcn/dladdr.c (dladdr): Likewise.
14766         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14767         * dlfcn/dlerror.c (__dlerror): Likewise.
14768         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14769         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14770         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14771         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14772         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14773         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14774         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14775         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14776         Likewise.
14777         * elf/dl-conflict.c: Likewise.
14778         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14779         * elf/dl-dst.h: Likewise.
14780         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14781         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14783         * elf/dl-init.c (call_init, _dl_init): Likewise.
14784         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14785         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14786         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14787         Likewise.
14788         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14789         Likewise.
14790         * elf/dl-minimal.c (__libc_memalign): Likewise.
14791         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14792         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14793         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14794         * elf/dl-sym.c (do_sym): Likewise.
14795         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14796         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14797         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14798         * elf/dl-writev.h (_dl_writev): Likewise.
14799         * elf/ldconfig.c (search_dir): Likewise.
14800         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14801         (dl_main): Likewise.
14802         * elf/setup-vdso.h (setup_vdso): Likewise.
14803         * grp/compat-initgroups.c (compat_call): Likewise.
14804         * grp/fgetgrent.c (fgetgrent): Likewise.
14805         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14806         * grp/putgrent.c (putgrent): Likewise.
14807         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14808         Likewise.
14809         * hurd/hurdinit.c: Likewise.
14810         * iconvdata/8bit-gap.c (struct): Likewise.
14811         * iconvdata/ansi_x3.110.c : Likewise.
14812         * iconvdata/big5.c : Likewise.
14813         * iconvdata/big5hkscs.c : Likewise.
14814         * iconvdata/cp1255.c: Likewise.
14815         * iconvdata/cp1258.c : Likewise.
14816         * iconvdata/cp932.c : Likewise.
14817         * iconvdata/euc-cn.c: Likewise.
14818         * iconvdata/euc-jisx0213.c : Likewise.
14819         * iconvdata/euc-jp.c: Likewise.
14820         * iconvdata/euc-jp-ms.c : Likewise.
14821         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14822         * iconvdata/gb18030.c : Likewise.
14823         * iconvdata/gbbig5.c (const): Likewise.
14824         * iconvdata/gbgbk.c: Likewise.
14825         * iconvdata/gbk.c : Likewise.
14826         * iconvdata/ibm1364.c : Likewise.
14827         * iconvdata/ibm930.c : Likewise.
14828         * iconvdata/ibm932.c: Likewise.
14829         * iconvdata/ibm933.c : Likewise.
14830         * iconvdata/ibm935.c : Likewise.
14831         * iconvdata/ibm937.c : Likewise.
14832         * iconvdata/ibm939.c : Likewise.
14833         * iconvdata/ibm943.c: Likewise.
14834         * iconvdata/iso_11548-1.c: Likewise.
14835         * iconvdata/iso-2022-cn.c : Likewise.
14836         * iconvdata/iso-2022-cn-ext.c : Likewise.
14837         * iconvdata/iso-2022-jp-3.c: Likewise.
14838         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14839         * iconvdata/iso-2022-kr.c : Likewise.
14840         * iconvdata/iso646.c (gconv_end): Likewise.
14841         * iconvdata/iso_6937-2.c : Likewise.
14842         * iconvdata/iso_6937.c : Likewise.
14843         * iconvdata/iso8859-1.c: Likewise.
14844         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14845         * iconvdata/shift_jisx0213.c : Likewise.
14846         * iconvdata/sjis.c : Likewise.
14847         * iconvdata/t.61.c : Likewise.
14848         * iconvdata/tcvn5712-1.c : Likewise.
14849         * iconvdata/tscii.c: Likewise.
14850         * iconvdata/uhc.c : Likewise.
14851         * iconvdata/unicode.c (gconv_end): Likewise.
14852         * iconvdata/utf-16.c (gconv_end): Likewise.
14853         * iconvdata/utf-32.c (gconv_end): Likewise.
14854         * iconvdata/utf-7.c (base64): Likewise.
14855         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14856         * iconv/gconv_close.c (__gconv_close): Likewise.
14857         * iconv/gconv_open.c (__gconv_open): Likewise.
14858         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14859         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14860         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14861         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14862         (ucs4le_internal_loop_single): Likewise.
14863         * iconv/iconv.c (iconv): Likewise.
14864         * iconv/iconv_close.c: Likewise.
14865         * iconv/loop.c (SINGLE): Likewise.
14866         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14867         * include/atomic.h: Likewise.
14868         * inet/inet6_option.c (option_alloc): Likewise.
14869         * intl/bindtextdom.c (set_binding_values): Likewise.
14870         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14871         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14872         * intl/localealias.c (read_alias_file): Likewise.
14873         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14874         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14875         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14876         * libio/fmemopen.c (fmemopen): Likewise.
14877         * libio/iofgets.c (_IO_fgets): Likewise.
14878         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14879         * libio/iofgetws.c (fgetws): Likewise.
14880         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14881         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14882         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14883         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14884         * locale/findlocale.c (_nl_find_locale): Likewise.
14885         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14886         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14887         Likewise.
14888         * locale/setlocale.c (setlocale): Likewise.
14889         * login/programs/pt_chown.c (main): Likewise.
14890         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14891         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14892         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14893         (mmap, mmap64, mremap, munmap): Likewise.
14894         * math/e_exp2l.c: Likewise.
14895         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14896         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14897         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14898         * math/s_catan.c (__catan): Likewise.
14899         * math/s_catanf.c (__catanf): Likewise.
14900         * math/s_catanh.c (__catanh): Likewise.
14901         * math/s_catanhf.c (__catanhf): Likewise.
14902         * math/s_catanhl.c (__catanhl): Likewise.
14903         * math/s_catanl.c (__catanl): Likewise.
14904         * math/s_ccosh.c (__ccosh): Likewise.
14905         * math/s_ccoshf.c (__ccoshf): Likewise.
14906         * math/s_ccoshl.c (__ccoshl): Likewise.
14907         * math/s_cexp.c (__cexp): Likewise.
14908         * math/s_cexpf.c (__cexpf): Likewise.
14909         * math/s_cexpl.c (__cexpl): Likewise.
14910         * math/s_clog10.c (__clog10): Likewise.
14911         * math/s_clog10f.c (__clog10f): Likewise.
14912         * math/s_clog10l.c (__clog10l): Likewise.
14913         * math/s_clog.c (__clog): Likewise.
14914         * math/s_clogf.c (__clogf): Likewise.
14915         * math/s_clogl.c (__clogl): Likewise.
14916         * math/s_csin.c (__csin): Likewise.
14917         * math/s_csinf.c (__csinf): Likewise.
14918         * math/s_csinh.c (__csinh): Likewise.
14919         * math/s_csinhf.c (__csinhf): Likewise.
14920         * math/s_csinhl.c (__csinhl): Likewise.
14921         * math/s_csinl.c (__csinl): Likewise.
14922         * math/s_csqrt.c (__csqrt): Likewise.
14923         * math/s_csqrtf.c (__csqrtf): Likewise.
14924         * math/s_csqrtl.c (__csqrtl): Likewise.
14925         * math/s_ctan.c (__ctan): Likewise.
14926         * math/s_ctanf.c (__ctanf): Likewise.
14927         * math/s_ctanh.c (__ctanh): Likewise.
14928         * math/s_ctanhf.c (__ctanhf): Likewise.
14929         * math/s_ctanhl.c (__ctanhl): Likewise.
14930         * math/s_ctanl.c (__ctanl): Likewise.
14931         * math/w_pow.c: Likewise.
14932         * math/w_powf.c: Likewise.
14933         * math/w_powl.c: Likewise.
14934         * math/w_scalb.c (sysv_scalb): Likewise.
14935         * math/w_scalbf.c (sysv_scalbf): Likewise.
14936         * math/w_scalbl.c (sysv_scalbl): Likewise.
14937         * misc/error.c (error_tail): Likewise.
14938         * misc/pselect.c (__pselect): Likewise.
14939         * nis/nis_callback.c (__nis_create_callback): Likewise.
14940         * nis/nis_call.c (__nisfind_server): Likewise.
14941         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14942         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14943         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14944         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14945         * nis/nis_lookup.c (nis_lookup): Likewise.
14946         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14947         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14948         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14949         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14950         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14951         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14952         * nis/nss_compat/compat-initgroups.c (add_group)
14953         (internal_getgrent_r): Likewise.
14954         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14955         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14956         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14957         (internal_getspnam_r): Likewise.
14958         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14959         (_nss_nis_getaliasbyname_r): Likewise.
14960         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14961         (_nss_nis_getntohost_r): Likewise.
14962         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14963         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14964         (_nss_nis_getgrgid_r): Likewise.
14965         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14966         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14967         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14968         (_nss_nis_gethostbyname4_r): Likewise.
14969         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14970         (initgroups_netid): Likewise.
14971         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14972         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14973         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14974         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14975         (_nss_nis_getprotobynumber_r): Likewise.
14976         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14977         (_nss_nis_getsecretkey): Likewise.
14978         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14979         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14980         (_nss_nis_getpwuid_r): Likewise.
14981         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14982         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14983         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14984         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14985         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14986         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14987         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14988         Likewise.
14989         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14990         (_nss_nisplus_getntohost_r): Likewise.
14991         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14992         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14993         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14994         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14995         Likewise.
14996         * nis/nss_nisplus/nisplus-initgroups.c
14997         (_nss_nisplus_initgroups_dyn): Likewise.
14998         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14999         (_nss_nisplus_getnetbyaddr_r): Likewise.
15000         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15001         (_nss_nisplus_getprotobynumber_r): Likewise.
15002         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15003         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15004         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15005         Likewise.
15006         * nis/nss_nisplus/nisplus-service.c
15007         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15008         (_nss_nisplus_getservbyport_r): Likewise.
15009         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15010         (_nss_nisplus_getspnam_r): Likewise.
15011         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15012         Likewise.
15013         * nscd/aicache.c (addhstaiX): Likewise.
15014         * nscd/cache.c (cache_search, prune_cache): Likewise.
15015         * nscd/connections.c (register_traced_file, send_ro_fd)
15016         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15017         (main_loop_epoll): Likewise.
15018         * nscd/grpcache.c (addgrbyX): Likewise.
15019         * nscd/hstcache.c (addhstbyX): Likewise.
15020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15021         * nscd/mem.c (gc, mempool_alloc): Likewise.
15022         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15023         (addinnetgrX): Likewise.
15024         * nscd/nscd-client.h (__nscd_acquire_maplock)
15025         (__nscd_drop_map_ref): Likewise.
15026         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15027         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15028         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15029         Likewise.
15030         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15031         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15032         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15033         (__nscd_get_map_ref): Likewise.
15034         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15035         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15036         Likewise.
15037         * nscd/pwdcache.c (addpwbyX): Likewise.
15038         * nscd/selinux.c (preserve_capabilities): Likewise.
15039         * nscd/servicescache.c (addservbyX): Likewise.
15040         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15041         * posix/fnmatch.c (fnmatch): Likewise.
15042         * posix/getopt.c (_getopt_internal_r): Likewise.
15043         * posix/glob.c (glob, glob_in_dir): Likewise.
15044         * posix/wordexp.c (exec_comm_child): Likewise.
15045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15046         (getanswer_r, gaih_getanswer_slice): Likewise.
15047         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15048         * resolv/res_init.c: Likewise.
15049         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15050         * resolv/res_query.c (__libc_res_nquery): Likewise.
15051         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15052         Likewise.
15053         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15054         * stdio-common/perror.c (perror): Likewise.
15055         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15056         * stdio-common/tmpnam.c (tmpnam): Likewise.
15057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15058         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15059         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15060         Likewise.
15061         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15062         * stdlib/putenv.c (putenv): Likewise.
15063         * stdlib/setenv.c (__add_to_environ): Likewise.
15064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15065         * stdlib/strtol_l.c (INTERNAL): Likewise.
15066         * string/memmem.c (memmem): Likewise.
15067         * string/strerror.c (strerror): Likewise.
15068         * string/strnlen.c (__strnlen): Likewise.
15069         * string/test-memmem.c (simple_memmem): Likewise.
15070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15071         * sunrpc/pm_getport.c (__get_socket): Likewise.
15072         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15073         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15074         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15075         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15076         Likewise.
15077         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15079         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15080         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15081         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15082         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15083         Likewise.
15084         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15085         Likewise.
15086         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15087         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15088         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15089         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15090         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15092         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15093         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15094         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15095         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15096         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15097         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15098         Likewise.
15099         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15100         Likewise.
15101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15102         Likewise.
15103         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15105         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15107         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15108         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15109         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15113         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15115         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15116         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15118         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15119         Likewise.
15120         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15121         Likewise.
15122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15123         Likewise.
15124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15125         Likewise.
15126         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15128         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15129         Likewise.
15130         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15131         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15132         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15133         * sysdeps/posix/sleep.c: Likewise.
15134         * sysdeps/posix/tempname.c: Likewise.
15135         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15136         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15137         Likewise.
15138         * sysdeps/powerpc/powerpc32/dl-machine.h
15139         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15142         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15143         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15144         Likewise.
15145         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15147         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15148         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15149         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15150         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15151         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15152         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15153         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15154         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15155         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15156         (elf_machine_lazy_rel): Likewise.
15157         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15158         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15159         (elf_machine_lazy_rel): Likewise.
15160         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15161         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15162         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15163         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15164         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15166         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15168         Likewise.
15169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15171         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15172         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15173         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15174         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15175         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15176         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15177         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15179         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15180         Likewise.
15181         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15182         (__posix_fallocate64_l64): Likewise.
15183         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15184         (posix_fallocate): Likewise.
15185         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15186         Likewise.
15187         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15188         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15189         (getifaddrs_internal): Likewise.
15190         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15191         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15192         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15193         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15194         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15195         (__posix_fallocate64_l64): Likewise.
15196         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15199         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15200         (__get_clockfreq): Likewise.
15201         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15202         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15203         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15206         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15207         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15208         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15209         Likewise.
15210         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15211         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15212         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15213         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15214         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15215         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15216         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15217         Likewise.
15218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15219         (posix_fallocate): Likewise.
15220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15221         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15222         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15223         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15224         (elf_machine_rela, elf_machine_rela_relative)
15225         (elf_machine_lazy_rel): Likewise.
15226         * time/asctime.c (asctime_internal): Likewise.
15227         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15228         * time/tzset.c (__tzset_parse_tz): Likewise.
15229         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15230         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15231         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15232         * wcsmbs/wcsmbsload.h: Likewise.
15233
15234         [BZ #15894]
15235         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15236
15237         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15238         (arena_get2): Remove THREAD_STATS conditionals.
15239         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15240         (__malloc_stats, int): Likewise.
15241
15242 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15243
15244         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15245         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15246
15247         * manual/setjmp.texi: Fix typos/grammar errors.
15248
15249         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15250         Only return early when n is <= 0.  Delete unused return statement.
15251
15252         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15253         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15254         * debug/tst-longjmp_chk3.c: New file.
15255
15256         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15257         (test_main): Replace code with set_fortify_handler call.
15258         * debug/test-strcpy_chk.c: Likewise.
15259         * debug/tst-chk1.c: Likewise.
15260         * debug/tst-longjmp_chk.c: Likewise.
15261         * test-skeleton.c: Include fcntl.h & paths.h
15262         (set_fortify_handler): Define.
15263
15264         * debug/tst-longjmp_chk.c: Add header comment and include
15265         ../test-skeleton.c.
15266         (do_test): Mark static.
15267         (TEST_FUNCTION): Define.
15268
15269         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15270         (IP_PMTUDISC_INTERFACE): Likewise.
15271         (IP_MULTICAST_IF): Likewise.
15272         (IP_MULTICAST_TTL): Likewise.
15273         (IP_MULTICAST_LOOP): Likewise.
15274         (IP_ADD_MEMBERSHIP): Likewise.
15275         (IP_DROP_MEMBERSHIP): Likewise.
15276         (IP_UNBLOCK_SOURCE): Likewise.
15277         (IP_BLOCK_SOURCE): Likewise.
15278         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15279         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15280         (IP_MSFILTER): Likewise.
15281         (MCAST_JOIN_GROUP): Likewise.
15282         (MCAST_BLOCK_SOURCE): Likewise.
15283         (MCAST_UNBLOCK_SOURCE): Likewise.
15284         (MCAST_LEAVE_GROUP): Likewise.
15285         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15286         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15287         (MCAST_MSFILTER): Likewise.
15288         (IP_MULTICAST_ALL): Likewise.
15289         (IP_UNICAST_IF): Likewise.
15290
15291         * timezone/Makefile: Delete $(have-ksh) check.
15292         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15293         * timezone/tzselect.ksh: Add +x mode bits.
15294
15295         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15296         (ANON_INODE_FS_MAGIC): Likewise.
15297         (BDEVFS_MAGIC): Likewise.
15298         (BINFMTFS_MAGIC): Likewise.
15299         (BTRFS_TEST_MAGIC): Likewise.
15300         (CRAMFS_MAGIC_WEND): Likewise.
15301         (DEBUGFS_MAGIC): Likewise.
15302         (ECRYPTFS_SUPER_MAGIC): Likewise.
15303         (EXT3_SUPER_MAGIC): Likewise.
15304         (EXT4_SUPER_MAGIC): Likewise.
15305         (FUTEXFS_SUPER_MAGIC): Likewise.
15306         (HOSTFS_SUPER_MAGIC): Likewise.
15307         (HUGETLBFS_MAGIC): Likewise.
15308         (MINIX3_SUPER_MAGIC): Likewise.
15309         (MTD_INODE_FS_MAGIC): Likewise.
15310         (NILFS_SUPER_MAGIC): Likewise.
15311         (OPENPROM_SUPER_MAGIC): Likewise.
15312         (PIPEFS_MAGIC): Likewise.
15313         (PSTOREFS_MAGIC): Likewise.
15314         (QNX6_SUPER_MAGIC): Likewise.
15315         (RAMFS_MAGIC): Likewise.
15316         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15317         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15318         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15319         (SECURITYFS_MAGIC): Likewise.
15320         (SELINUX_MAGIC): Likewise.
15321         (SMACK_MAGIC): Likewise.
15322         (SOCKFS_MAGIC): Likewise.
15323         (SQUASHFS_MAGIC): Likewise.
15324         (STACK_END_MAGIC): Likewise.
15325         (TMPFS_MAGIC): Likewise.
15326         (USBDEVICE_SUPER_MAGIC): Likewise.
15327         (V9FS_MAGIC): Likewise.
15328         (XENFS_SUPER_MAGIC): Likewise.
15329         (CRAMFS_MAGIC): Fix typo in comment.
15330         (EXT2_SUPER_MAGIC): Update comment.
15331         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15332
15333 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15334
15335         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15336         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15337         * sysdeps/unix/sysv/linux/arm: Move directory from
15338         ports/sysdeps/unix/sysv/linux/arm.
15339         * README: Update listing for arm-*-linux-gnueabi.
15340
15341         * README: Remove mention of am33.
15342
15343 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15344
15345         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15346         than the comma operator, to avoid "rhs of comma has no effect"
15347         compiler warnings.
15348         (__sigfillset, __sigandset, __sigorset): Likewise.
15349         * include/signal.h (__sigemptyset): Likewise.
15350         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15351
15352 2014-02-07  Allan McRae  <allan@archlinux.org>
15353
15354         * version.h (RELEASE): Set to "development".
15355         (VERSION): Set to "2.19.90"
15356         * NEWS: Add 2.20 section.
15357
15358 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15359
15360         [BZ #16529]
15361         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15362
15363 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15364
15365         * manual/contrib.texi: Update entry for Carlos O'Donell,
15366         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15367
15368 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15369
15370         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15371
15372         * sysdeps/unix/sysv/linux/kernel-features.h
15373         [__LINUX_KERNEL_VERSION >= 0x020621]
15374         (__ASSUME_PROC_PID_TASK_COMM): Define.
15375
15376 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15377
15378         [BZ #16398]
15379         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15380         conversion when destination buffer does not have enough space.
15381         * libio/tst-ftell-partial-wide.c: New test case.
15382         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15383
15384         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15385         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15386         Leonard and Allan McRae.
15387
15388 2014-02-04  David S. Miller  <davem@davemloft.net>
15389
15390         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15391         32-bit.
15392
15393 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15394
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15396         New file
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15398         New file
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15400         New file.
15401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15402         New file.
15403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15404         New file.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15406         New file.
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15408         New file.
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15410         New file.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15412         New file.
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15414         New file.
15415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15416         New file.
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15418         New file.
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15420         New file.
15421
15422 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15423
15424         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15425         * shlib-versions: Likewise.
15426
15427 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15429
15430         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15431         (abilist-pattern): New variable, set to %-le.abilist.
15432
15433         * Makerules (abilist-pattern): New variable.
15434         (vpath): Use $(abilist-pattern) in place of %.abilist.
15435         (check-abi-% pattern rule): Likewise.
15436         (check-abi, update-abi): Likewise.
15437
15438 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15439
15440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15441
15442 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15443
15444         * manual/startup.texi: Add next, previous, and top entries for
15445         the `Program Arguments' and `Environment Variables' nodes.
15446
15447 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15448
15449         * manual/macros.texi: Add comments before MTASC-safety macros.
15450
15451         * manual/users.texi: Document MTASC-safety properties.
15452
15453         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15454         (pthread_getspecific, pthread_setspecific): Format with
15455         @deftypefun, and add @safety note.
15456         * manual/signal.texi: Move comments that analyze the above
15457         functions to their home place.
15458
15459 2014-02-03  Allan McRae  <allan@archlinux.org>
15460
15461         * po/sl.po: Update Slovenian translation from translation project.
15462
15463 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15464
15465         * manual/time.texi (timegm): Add missing blank after @c.
15466         Reported by Joseph Myers <joseph@codesourcery.com>.
15467
15468 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15469
15470         * manual/check-safety.sh: New.
15471         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15472
15473         * manual/terminal.texi: Document MTASC-safety properties.
15474
15475         * manual/filesys.texi: Document MTASC-safety properties.
15476
15477         * manual/errno.texi: Document MTASC-safety properties.
15478
15479         * manual/intro.texi: Document safety identifiers and
15480         conditionals.
15481
15482         * manual/string.texi (wcstok): Fix prototype.
15483         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15484
15485         * manual/time.texi: Document MTASC-safety properties.
15486
15487         * manual/string.texi: Document MTASC-safety properties.
15488
15489         * manual/threads.texi: Document MTASC-safety properties.
15490
15491         * manual/stdio.texi: Document MTASC-safety properties.
15492
15493         * manual/syslog.texi: Document MTASC-safety properties.
15494
15495         * manual/sysinfo.texi: Document MTASC-safety properties.
15496
15497         * manual/startup.texi: Document MTASC-safety properties.
15498
15499         * manual/socket.texi: Document MTASC-safety properties.
15500
15501         * manual/signal.texi: Document MTASC-safety properties.
15502
15503 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15504
15505         * manual/setjmp.texi: Document MTASC-safety properties.
15506
15507         * manual/search.texi: Document MTASC-safety properties.
15508
15509         * manual/resource.texi: Document MTASC-safety properties.
15510
15511         * manual/process.texi: Document MTASC-safety properties.
15512
15513         * manual/platform.texi: Document MTASC-safety properties.
15514
15515         * manual/pipe.texi: Document MTASC-safety properties.
15516
15517         * manual/pattern.texi: Document MTASC-safety properties.
15518
15519         * manual/message.texi: Document MTASC-safety properties.
15520
15521         [BZ #12751]
15522         * manual/memory.texi: Document MTASC-safety properties.
15523
15524         * manual/math.texi: Document MTASC-safety properties.
15525
15526         * manual/locale.texi: Document MTASC-safety properties.
15527
15528         * manual/llio.texi: Document MTASC-safety properties.
15529
15530         * manual/libdl.texi: New.
15531
15532         * manual/lang.texi: Document MTASC-safety properties.
15533
15534         * manual/job.texi: Document MTASC-safety properties.
15535
15536         * manual/getopt.texi: Document MTASC-safety properties.
15537
15538         * manual/ctype.texi: Document MTASC-safety properties.
15539
15540 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15541
15542         [BZ #16046]
15543         * csu/libc-tls.c (static_map): Remove variable.
15544         (__libc_setup_tls): Use main executable's link map for TLS data.
15545         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15546         casing for LM_ID_BASE and GL(dl_nns).
15547         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15548         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15549         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15550         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15551         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15552         member.
15553         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15554         l_phnum members.
15555
15556 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15557
15558         * manual/debug.texi: Document MTASC-safety properties.
15559
15560 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15561
15562         [BZ #16510]
15563         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15564         of __x86_64__ when disabling x87 inline functions.
15565
15566 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15567
15568         * manual/charset.texi: Document MTASC-safety properties.
15569
15570         * manual/crypt.texi: Document MTASC-safety properties.
15571
15572         * manual/conf.texi: Document MTASC-safety properties.
15573
15574         * manual/arith.texi: Document MTASC-safety properties.
15575
15576         * manual/argp.texi: Document MTASC-safety properties.
15577
15578         * manual/macros.texi: Introduce macros to document multi
15579         thread, asynchronous signal and asynchronous cancellation
15580         safety properties.
15581         * manual/intro.texi: Introduce the properties themselves.
15582
15583 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15584
15585         * sysdeps/sh/sh4/Makefile: New file.
15586
15587 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15588
15589         * math/gen-libm-test.pl ($srcdir): New variable.
15590         ($auto_input): Use it.
15591
15592 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15593
15594         [BZ #16506]
15595         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15596         access beyond array bounds when parsing netgroups file.
15597
15598         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15599         the old buffer before realloc.
15600
15601 2014-01-27  Allan McRae  <allan@archlinux.org>
15602
15603         * po/fr.po: Update French translation from translation project.
15604
15605 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15606
15607         * sysdeps/sh/libm-test-ulps: Regenerate.
15608
15609 2014-01-24  David S. Miller  <davem@davemloft.net>
15610
15611         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15612
15613 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15614
15615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15616         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15617
15618 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15619
15620         [BZ #16474]
15621         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15622         string pointers after reallocation.
15623
15624 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15625
15626         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15627         __SH4A__ instead of __SH_FPU_ANY__.
15628
15629 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15630
15631         * sysdeps/sh/fpu_control.h: New file.
15632         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15633         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15634         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15635         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15636         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15637         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15638         * sysdeps/sh/sys/ucontext.h: Remove.
15639         * sysdeps/sh/sys: Remove directory.
15640
15641 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15642
15643         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15644         s390/sys/ucontext.h.
15645         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15647
15648 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15649
15650         [BZ #15605]
15651         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15652
15653 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654
15655         [BZ#16431]
15656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15657         Adjust the vDSO correctly for internal calls.
15658         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15659
15660 2014-01-20  Allan McRae  <allan@archlinux.org>
15661
15662         * po/ca.po: Update Catalan translation from translation project.
15663
15664 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15665
15666         * sysdeps/s390/sotruss-lib.c: New file.
15667
15668 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15669
15670         [BZ#16430]
15671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15672         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15673         local calls issues by not having a PLT stub required for IFUNC calls.
15674         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15675
15676 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15677
15678         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15679         * math/test-fpucw-static.c: Likewise.
15680
15681 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15682
15683         [BZ #16453]
15684         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15685
15686 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15687
15688         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15689         implementation for powerpc.
15690
15691 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15692
15693         [BZ #14782]
15694         * sysdeps/posix/system.c (__libc_system): Do not enable
15695         asynchronous cancellation.
15696
15697 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15698
15699         [BZ #16427]
15700         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15701         handling only for numbers special also in the IEEE case.
15702
15703 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15704
15705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15706
15707 2014-01-11  Allan McRae  <allan@archlinux.org>
15708
15709         * po/bg.po: Update Bulgarian translation from translation project.
15710
15711         * po/de.po: Update German translation from translation project.
15712
15713 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15714
15715         * sysdeps/generic/gcc-compat.h: New file.
15716
15717 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15718
15719         * benchtests/asin-inputs: Correct slow inputs.
15720         * benchtests/acos-inputs: Likewise.
15721
15722 2014-01-10  Allan McRae  <allan@archlinux.org>
15723
15724         * po:sv.po: Update Swedish translation from translation project.
15725
15726         * po/vi.po: Update Vietnamese translation from translation project.
15727
15728         * po/eo.po: Update Esperanto translation from translation project.
15729
15730         * po/cs.po: Update Czech translation from translation project.
15731
15732         * po/nl.po: Update Dutch translation from translation project.
15733
15734         * po/pl.po: Update Polish translation from translation project.
15735
15736         * po/ru.po: Update Russian translation from translation project.
15737
15738         * po/uk.po: Update Ukrainian translation from translation project.
15739
15740 2014-01-08  Brooks Moses  <bmoses@google.com>
15741
15742         * elf/dl-load.c: Fix comment typo.
15743
15744 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15745
15746         * po/header.pot: Rename to...
15747         * po/pot.header: ... this.
15748         * po/Makefile: Use pot.header.
15749
15750 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15751             Maxim Kuvyrkov  <maxim@kugelworks.com>
15752
15753         [BZ #16394]
15754         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15755         SRC and DEST against LEN.
15756
15757 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15758
15759         [BZ #16414]
15760         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15761         implementation.
15762         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15763
15764 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15765
15766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15767
15768 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15769
15770         [BZ #16408]
15771         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15772         for large positive arguments.
15773
15774 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15775
15776         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15777
15778         * math/auto-libm-test-in: Mark various tests with
15779         xfail-rounding:ldbl-128ibm.
15780         * math/auto-libm-test-out: Regenerated.
15781
15782         [BZ #16407]
15783         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15784         Increase overflow threshold.
15785
15786 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15787
15788         [BZ #14286]
15789         * stdio-common/vfprintf.c: Check for integer overflow.
15790
15791 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15792
15793         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15794         the first argument and return value of __tls_get_addr_internal.
15795
15796 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15797
15798         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15799         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15800
15801 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15802
15803         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15804         * sysdeps/s390/rtld-global-offsets.sym: New file.
15805         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15806         GLIBC_2.19 symbol.
15807         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15810         ... this.
15811         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15812         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15813         ... this.
15814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15815         Regenerate.
15816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15817         Regenerate.
15818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15819         halfs of GPRs for high_gprs contexts.
15820         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15821         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15822         field.
15823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15824         uc_flags field.
15825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15826         64 bit versions:
15827         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15828         for high GPRs (uc_high_gprs) and for future extensions
15829         (__reserved).
15830         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15831         for future extensions (__reserved).
15832         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15833         64 bit versions:
15834         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15835         SC_HIGHGPRS offset definition.
15836         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15837         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15838
15839         * Versions.def: Add GLIBC_2.19 for libpthread.
15840         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15841         siglongjmp for libpthread with GLIBC_2.19 symver.
15842         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15843         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15844         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15845         * sysdeps/s390/__longjmp.c: New file.
15846         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15847         * sysdeps/s390/longjmp.c: New file.
15848         * sysdeps/s390/setjmp.S: New file.
15849         * sysdeps/s390/sigjmp.S: New file.
15850         * sysdeps/s390/v1-longjmp.c: New file.
15851         * sysdeps/s390/v1-setjmp.h: New file.
15852         * sysdeps/s390/v1-sigjmp.c: New file.
15853         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15854         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15855         GLIBC_2.19 version.
15856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15857         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15858         versioned symbols for ____longjmp_chk.
15859         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15860         Likewise.
15861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15862         Regenerate.
15863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15864         Regenerate.
15865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15866         Regenerate.
15867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15868         Regenerate.
15869         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15870         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15871         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15872         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15873         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15874         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15875         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15876         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15877         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15878         * sysdeps/s390/rtld-__longjmp.c: New file.
15879         * sysdeps/s390/rtld-setjmp.S: New file.
15880
15881 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15882
15883         [BZ #16400]
15884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15885         Return -__logl (x) for small positive arguments without evaluating
15886         a polynomial.
15887
15888 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15889
15890         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15891         Rename to ...
15892         (__ptrace_peeksiginfo_args): ... this.
15893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15895         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15896
15897 2014-01-06  Allan McRae  <allan@archlinux.org>
15898
15899         * inet/netinet/in.h: Fix typo in comment.
15900
15901 2014-01-05  Andreas Jaeger  <aj@suse.de>
15902
15903         * sysdeps/i386/fpu/libm-test-ulps: Update.
15904
15905 2014-01-05  Allan McRae  <allan@archlinux.org>
15906
15907         * po/libc.pot: Regenerated.
15908
15909         * malloc/memusagestat.c: Fix gettext call formatting.
15910
15911 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15912
15913         * nscd/nscd.c: Improve usage() output.
15914
15915 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15916
15917         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15918         * sysdeps/unix/sysv/linux/configure: Regenerated.
15919         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15920         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15921
15922 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15923
15924         [BZ #16390]
15925         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15926         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15927
15928 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15929
15930         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15931         extra tokens at end of #undef directive.
15932         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15933         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15935
15936 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15937
15938         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15939
15940         * math/auto-libm-test-in: Mark various tests with
15941         xfail-rounding:ldbl-128ibm.
15942         * math/auto-libm-test-out: Regenerated.
15943
15944 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15945
15946         [BZ #16386]
15947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15948         numbers with subnormal high part when calculating exponent.
15949
15950         [BZ #16385]
15951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15952         fabs.
15953
15954         [BZ #16384]
15955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15956         M_LN2l.
15957         (__ieee754_acoshl): Use __log1pl not __log1p.
15958
15959 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15960
15961         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15962         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15963         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15964         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15965         (reused_arena, arena_get2): Convert to GNU style.
15966         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15967         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15968         (memalign_check, __malloc_set_state): Likewise.
15969         * malloc/mallocbug.c (main): Likewise.
15970         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15971         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15972         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15973         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15974         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15975         (__posix_memalign, malloc_info): Likewise.
15976         * malloc/malloc.h: Likewise.
15977         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15978         (mallochook, memalignhook, reallochook, mabort): Likewise.
15979         * malloc/mcheck.h: Likewise.
15980         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15981         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15982         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15983         * malloc/morecore.c (__default_morecore): Likewise.
15984         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15985         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15986         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15987         (print_and_abort): Likewise.
15988         * malloc/obstack.h: Likewise.
15989         * malloc/set-freeres.c (__libc_freeres): Likewise.
15990         * malloc/tst-mallocstate.c (main): Likewise.
15991         * malloc/tst-mtrace.c (main): Likewise.
15992         * malloc/tst-realloc.c (do_test): Likewise.
15993
15994 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15995
15996         [BZ #16366]
15997         * nscd/netgroupcache.c (do_notfound): New function.
15998         (addgetnetgrentX): Use it.
15999
16000         [BZ # 16365]
16001         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16002         NSS_STATUS_NOTFOUND.
16003
16004 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16005
16006         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16008
16009 2014-01-01  Allan McRae  <allan@archlinux.org>
16010
16011         * scripts/update-copyrights: Update configure input file suffix.
16012
16013         * NEWS: Update copyright year.
16014         * catgets/gencat.c: Likewise.
16015         * csu/version.c: Likewise.
16016         * debug/catchsegv.sh: Likewise.
16017         * debug/pcprofiledump.c: Likewise.
16018         * debug/xtrace.sh: Likewise.
16019         * elf/ldconfig.c: Likewise.
16020         * elf/ldd.bash.in: Likewise.
16021         * elf/pldd.c: Likewise.
16022         * elf/sotruss.ksh: Likewise.
16023         * elf/sprof.c: Likewise.
16024         * iconv/iconv_prog.c: Likewise.
16025         * iconv/iconvconfig.c: Likewise.
16026         * locale/programs/locale.c: Likewise.
16027         * locale/programs/localedef.c: Likewise.
16028         * login/programs/pt_chown.c: Likewise.
16029         * malloc/memusage.sh: Likewise.
16030         * malloc/memusagestat.c: Likewise.
16031         * malloc/mtrace.pl: Likewise.
16032         * manual/libc.texinfo: Likewise.
16033         * nscd/nscd.c: Likewise.
16034         * nss/getent.c: Likewise.
16035         * nss/makedb.c: Likewise.
16036         * posix/getconf.c: Likewise.
16037         * scripts/test-installation.pl: Likewise.
16038
16039         * All files with FSF copyright notices: Update copyright dates
16040         using scripts/update-copyrights.
16041         * intl/plural.c: Regenerated.
16042         * locale/programs/charmap-kw.h: Likewise.
16043         * locale/programs/locfile-kw.h: Likewise.
16044
16045 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16046
16047         * sysdeps/unix/sysv/linux/configure: Regenerated.
16048         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16049         the linux/fanotify.h header.
16050         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16051         HAVE_LINUX_FANOTIFY_H is defined.
16052
16053 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16054
16055         * benchtests/cos-inputs: New inputs.
16056         * benchtests/sin-inputs: Likewise.
16057
16058         * benchtests/atan-inputs: New inputs. Fix name of multiple
16059         precision fallback inputs.
16060
16061         * benchtests/atanh-inputs: New inputs.
16062         * benchtests/tanh-inputs: Likewise.
16063
16064         * benchtests/acosh-inputs: New inputs.
16065         * benchtests/asinh-inputs: Likewise.
16066
16067         * benchtests/cosh-inputs: New inputs.
16068         * benchtests/sinh-inputs: Likewise.
16069
16070         * benchtests/acos-inputs: Add more inputs.
16071         * benchtests/asin-inputs: Likewise.
16072
16073 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16074
16075         [BZ #16375]
16076         * manual/arith.texi: Fix spelling.
16077         * manual/charset.texi: Likewise.
16078         * manual/errno.texi: Likewise.
16079         * manual/filesys.texi: Likewise.
16080         * manual/lang.texi: Likewise.
16081         * manual/llio.texi: Likewise.
16082         * manual/locale.texi: Likewise.
16083         * manual/message.texi: Likewise.
16084         * manual/resource.texi: Likewise.
16085         * manual/search.texi: Likewise.
16086         * manual/setjmp.texi: Likewise.
16087         * manual/stdio.texi: Likewise.
16088         * manual/string.texi: Likewise.
16089         * manual/sysinfo.texi: Likewise.
16090         * manual/time.texi: Likewise.
16091
16092 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16093
16094         * po/sl.po: New file.
16095
16096 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16097
16098         * .gitignore: Add core/.gdbinit/.gdb_history.
16099
16100 2013-12-27  Allan McRae  <allan@archlinux.org>
16101
16102         [BZ #16369]
16103         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16104         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16105
16106 2013-12-24  Brooks Moses  <bmoses@google.com>
16107
16108         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16109         all compilers that claim C++98 compliance, not just GCC.
16110         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16111         Likewise.
16112
16113 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16114
16115         * NEWS: Restore accidentally deleted bug-fix entries.
16116
16117 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16118             Ondřej Bílka  <neleai@seznam.cz>
16119
16120         [BZ #15073]
16121         * malloc/malloc.c (_int_free): Perform sanity check only if we
16122         have_lock.
16123
16124 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16125
16126         [BZ #12986]
16127         * manual/stdio.texi (String Input Conversions): Clarify that character
16128         classes are not supported.
16129
16130 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16131
16132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16133
16134 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16135
16136         [BZ #16337]
16137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16138         Calculate results for small negative arguments directly rather
16139         than using reflection formula with special underflow handling.
16140
16141         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16142         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16143         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16144         (fchflags): Likewise.
16145         (revoke): Likewise.
16146         (setlogin): Likewise.
16147         (sigaltstack): Likewise.
16148         (wait4): Likewise.
16149         (sigblock): Remove.
16150         (sigsetmask): Likewise.
16151         (wait3): Likewise.
16152         (waitpid): Likewise.
16153         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16154         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16155         file.
16156         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16157         * sysdeps/unix/bsd/Makefile: ... here.
16158         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16159         * sysdeps/unix/bsd/Versions: ... here.
16160         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16161         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16162         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16163         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16164         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16165         * sysdeps/unix/bsd/sigblock.c: ... here.
16166         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16167         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16168         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16169         * sysdeps/unix/bsd/sigvec.c: ... here.
16170         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16171         * sysdeps/unix/bsd/tcdrain.c: ... here.
16172         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16173         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16174         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16175         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16176         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16177         * sysdeps/unix/bsd/wait.c: ... here.
16178         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16179         * sysdeps/unix/bsd/wait3.c: ... here.
16180         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16181         * sysdeps/unix/bsd/waitpid.c: ... here.
16182
16183 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16184
16185         [BZ #16356]
16186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16187         round-to-nearest for [!USE_AS_EXPM1L].
16188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16189         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16190         more tests of exp and exp10.  Expect some exp10 tests to miss
16191         exceptions or fail in directed rounding modes.
16192         * math/auto-libm-test-out: Regenerated.
16193         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16194         (exp10_test_tonearest): New function.
16195         (exp10_towardzero_test_data): New array.
16196         (exp10_test_towardzero): New function.
16197         (exp10_downward_test_data): New array.
16198         (exp10_test_downward): New function.
16199         (exp10_upward_test_data): New array.
16200         (exp10_test_upward): New function.
16201         (main): Call the new functions.
16202         * sysdeps/i386/fpu/libm-test-ulps: Update.
16203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16204
16205 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16206
16207         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16208         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16209         * math/auto-libm-test-out: Regenerated.
16210         * math/libm-test.inc (acosh_test_data): Add more tests.
16211         (atanh_test_data): Likewise.
16212         (ceil_test_data): Likewise.
16213         (copysign_test_data): Likewise.
16214         * sysdeps/i386/fpu/libm-test-ulps: Update.
16215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16216
16217         * timezone/checktab.awk: Update from tzcode 2013i.
16218         * timezone/private.h: Likewise.
16219         * timezone/scheck.c: Likewise.
16220         * timezone/tzfile.h: Likewise.
16221         * timezone/tzselect.ksh: Likewise.
16222         * timezone/zdump.c: Likewise.
16223         * timezone/zic.c: Likewise.
16224
16225         * math/auto-libm-test-in: Add tests of cpow.
16226         * math/auto-libm-test-out: Regenerated.
16227         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16229         mpc_cc_c.
16230         (func_calc_desc): Add mpc_cc_c union field.
16231         (test_functions): Add cpow.
16232         (special_fill_2pi): New function.
16233         (special_real_inputs): Add 2pi.
16234         (calc_generic_results): Handle mpc_cc_c.
16235         * sysdeps/i386/fpu/libm-test-ulps: Update.
16236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237
16238         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16239         csqrt, ctan and ctanh.
16240         * math/auto-libm-test-out: Regenerated.
16241         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16242         (TEST_COND_x86): Likewise.
16243         (ccos_test_data): Use AUTO_TESTS_c_c.
16244         (ccosh_test_data): Likewise.
16245         (cexp_test_data): Likewise.
16246         (clog_test_data): Likewise.
16247         (csqrt_test_data): Likewise.
16248         (ctan_test_data): Likewise.
16249         (ctan_tonearest_test_data): Likewise.
16250         (ctan_towardzero_test_data): Likewise.
16251         (ctan_downward_test_data): Likewise.
16252         (ctan_upward_test_data): Likewise.
16253         (ctanh_test_data): Likewise.
16254         (ctanh_tonearest_test_data): Likewise.
16255         (ctanh_towardzero_test_data): Likewise.
16256         (ctanh_downward_test_data): Likewise.
16257         (ctanh_upward_test_data): Likewise.
16258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16259         mpc_c_c.
16260         (func_calc_desc): Add mpc_c_c union field.
16261         (FUNC_mpc_c_c): New macro.
16262         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16263         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16264         ctanh.
16265         (special_fill_min_subnorm_p120): New function.
16266         (special_real_inputs): Add min_subnorm_p120.
16267         (calc_generic_results): Handle mpc_c_c.
16268         * sysdeps/i386/fpu/libm-test-ulps: Update.
16269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270
16271 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16272
16273         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16274         (do_sin_slow): New functions.
16275         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16276         (cslow2, csloww1, csloww2): Use the new functions.
16277
16278         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16279         Use M to change sign of result instead of X.  Assume X is
16280         positive.
16281         (csloww1): Likewise.
16282         (__sin): Adjust.
16283         (__cos): Adjust.
16284
16285         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16286         arguments A and DA.
16287         (__sin): Adjust.
16288         (__cos): Likewise.
16289
16290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16291         (__cos): Likewise.
16292         (sloww1): Don't adjust sign of DX.
16293         (csloww1): Likewise.
16294         (sloww2): Use X directly and don't adjust sign of DX.
16295         (csloww2): Likewise.
16296
16297 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16298
16299         * math/auto-libm-test-in: Add tests of cabs and carg.
16300         * math/auto-libm-test-out: Regenerated.
16301         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16302         (carg_test_data): Likewise.
16303         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16304         mpc_c_f.
16305         (func_calc_desc): Add mpc_c_f union field.
16306         (test_functions): Add cabs and carg.
16307         (calc_generic_results): Handle mpc_c_f.
16308
16309         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16310         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16311         as a macro and a compat symbol.
16312         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16313         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16314         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16315         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16316         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16318         not use .hidden.
16319         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16320         Likewise.
16321         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16322         Likewise.
16323         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16324         Likewise.
16325         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16326         Likewise.
16327         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16328         Likewise.
16329         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16330         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16331         from GLIBC_2.3.2.
16332
16333 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16334
16335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16336
16337 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16338
16339         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16340         trailing whitespace removed.
16341         * scripts/config.guess: Update to version 2013-11-29.
16342         * scripts/config.sub: Update to version 2013-10-01.
16343
16344         * math/auto-libm-test-in: Add tests of sincos.
16345         * math/auto-libm-test-out: Regenerated.
16346         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16348         mpfr_f_11.
16349         (func_calc_desc): Add mpfr_f_11 union field.
16350         (test_functions): Add sincos.
16351         (calc_generic_results): Handle mpfr_f_11.
16352         * sysdeps/i386/fpu/libm-test-ulps: Update.
16353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16354
16355 2013-12-19  Andreas Schwab  <schwab@suse.de>
16356
16357         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16358         CALL_MCOUNT.
16359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16360         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16361         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16362
16363 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16364
16365         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16366         * sysdeps/i386/fpu/libm-test-ulps: Update.
16367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16368
16369         [BZ #16293]
16370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16371         round-to-nearest mode when using frndint.
16372         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16373         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16374         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16375         Likewise.
16376         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16377         sinh test to fail.
16378         * math/auto-libm-test-out: Regenerated.
16379         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16380         (TEST_COND_x86): Likewise.
16381         (expm1_tonearest_test_data): New array.
16382         (expm1_test_tonearest): New function.
16383         (expm1_towardzero_test_data): New array.
16384         (expm1_test_towardzero): New function.
16385         (expm1_downward_test_data): New array.
16386         (expm1_test_downward): New function.
16387         (expm1_upward_test_data): New array.
16388         (expm1_test_upward): New function.
16389         (main): Run the new test functions.
16390         * sysdeps/i386/fpu/libm-test-ulps: Update.
16391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392
16393         * include/features.h: Update comment documenting feature test
16394         macros.  Mention _DEFAULT_SOURCE in comment.
16395         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16396         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16397         _BSD_SOURCE and _SVID_SOURCE.
16398         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16399         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16400         !_SVID_SOURCE]: Likewise.
16401         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16402         (__USE_POSIX_IMPLICITLY): Define.
16403         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16404         (_POSIX_SOURCE): Undefine and redefine.
16405         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16406         (_POSIX_C_SOURCE): Likewise.
16407         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16408         (Feature Test Macros): Update documentation of default features.
16409
16410 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16411
16412         * benchtests/Makefile: Add bench-strtok.
16413         * benchtests/bench-strtok.c: New file: strtok benchtest.
16414
16415 2013-12-19  Allan McRae  <allan@archlinux.org>
16416
16417         * manual/install.texi: Suppress menu for plain text output.
16418         * INSTALL: Regenerated.
16419
16420 2013-12-18  Brooks Moses  <bmoses@google.com>
16421
16422         [BZ #15846]
16423         * misc/getauxval.c: Include errno.h.
16424         (__getauxval): Set errno to ENOENT if the requested type is not
16425         found.
16426         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16427         don't declare with __attribute_const__.
16428         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16429         * manual/startup.texi: Document that getauxval sets errno.
16430
16431 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16432
16433         * math/auto-libm-test-in: Add tests of jn and yn.
16434         * math/auto-libm-test-out: Regenerated.
16435         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16436         (yn_test_data): Likewise.
16437         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16438         mpfr_if_f.
16439         (func_calc_desc): Add mpfr_if_f union field.
16440         (FUNC_mpfr_if_f): New macro.
16441         (test_functions): Add jn and yn.
16442         (calc_generic_results): Assert type of second input for
16443         mpfr_ff_f.  Handle mpfr_if_f.
16444         (output_for_one_input_case): Disable all checking for arguments
16445         fitting floating-point types in case of an integer argument.
16446         * sysdeps/i386/fpu/libm-test-ulps: Update.
16447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16448
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16450         Don't expect fegetround reference in libm.so.
16451
16452 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16453
16454         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16455         $(config-cflags-nofma).
16456
16457 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16458
16459         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16460         * math/auto-libm-test-out: Regenerated.
16461
16462         [BZ #16338]
16463         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16464         to determine exponent and adjust argument to have exponent of -1.
16465         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16466         log2.
16467         * math/auto-libm-test-out: Regenerated.
16468         * sysdeps/i386/fpu/libm-test-ulps: Update.
16469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16470
16471 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16472
16473         * manual/probes.texi: Remove cases when per-thread arenas are
16474         disabled.
16475
16476 2013-12-18  Andreas Schwab  <schwab@suse.de>
16477
16478         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16479         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16480         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16481         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16482         * sysdeps/i386/i686/multiarch/Makefile: Update.
16483         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16484
16485 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16486
16487         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16488         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16489
16490 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16491
16492         [BZ #15968]
16493         Support TZ transition times < 00:00:00.
16494         This is needed for version-3 tz-format files; it supports time
16495         stamps past 2037 for America/Godthab (the only entry in the tz
16496         database for which this change is relevant).
16497         * manual/time.texi (TZ Variable): Document transition times
16498         from -167:59:59 through -00:00:01.
16499         * time/tzset.c (tz_rule): Time of day is now signed.
16500         (__tzset_parse_tz): Parse negative time of day.
16501
16502         Document TZ transition times >= 25:00:00.
16503         * manual/time.texi (TZ Variable): Document transition times from
16504         25:00:00 through 167:59:59.  These are already supported, and this
16505         support will help with version-3 tz-format files.
16506
16507         * manual/time.texi (TZ Variable): Modernize North America example
16508         to reflect current (i.e., 2007-and-later) daylight saving rules.
16509
16510         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16511
16512 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16513
16514         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16515         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16518         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16519         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16520         * sysdeps/unix/bsd/clock.c: Likewise.
16521         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16522         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16523         * sysdeps/unix/bsd/init-posix.c: Likewise.
16524         * sysdeps/unix/bsd/poll.c: Likewise.
16525         * sysdeps/unix/bsd/ptsname.c: Likewise.
16526         * sysdeps/unix/bsd/seekdir.c: Likewise.
16527         * sysdeps/unix/bsd/setegid.c: Likewise.
16528         * sysdeps/unix/bsd/seteuid.c: Likewise.
16529         * sysdeps/unix/bsd/setgid.c: Likewise.
16530         * sysdeps/unix/bsd/setrgid.c: Likewise.
16531         * sysdeps/unix/bsd/setruid.c: Likewise.
16532         * sysdeps/unix/bsd/setsid.c: Likewise.
16533         * sysdeps/unix/bsd/setuid.c: Likewise.
16534         * sysdeps/unix/bsd/sigaction.c: Likewise.
16535         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16536         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16537         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16538         * sysdeps/unix/bsd/telldir.c: Likewise.
16539         * sysdeps/unix/bsd/times.c: Likewise.
16540         * sysdeps/unix/bsd/usleep.c: Likewise.
16541
16542         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16543         ($(objpfx)libbsd-compat.a): Remove rule.
16544
16545         * include/features.h (__FAVOR_BSD): Do not define.
16546         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16547         features conflicting with POSIX.
16548         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16549         (_BSD_SOURCE): Remove description of not being a subset of other
16550         feature test macros.
16551         * manual/job.texi (getpgrp): Do not document BSD version.
16552         (getpgid): Do not document by reference to BSD getpgrp.
16553         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16554         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16555         * signal/signal.h [__FAVOR_BSD]: Likewise.
16556         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16557         instead of making contents conditional on [__FAVOR_BSD].
16558         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16559
16560 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16561
16562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16563
16564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16565
16566         [BZ #16314]
16567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16568         values below 2**-450, not 2**-500.
16569         * math/auto-libm-test-in: Don't allow spurious underflow from
16570         hypot.
16571         * math/auto-libm-test-out: Regenerated.
16572
16573         [BZ #16316]
16574         [BZ #16330]
16575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16576         values of ha and hb and sort them after adjusting subnormal
16577         arguments.
16578         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16579         Likewise.
16580         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16581         values of ea and eb and sort them after adjusting subnormal
16582         arguments.
16583         * math/auto-libm-test-in: Do not expect some hypot tests of
16584         subnormals to fail.  Add more hypot tests.
16585         * math/auto-libm-test-out: Regenerated.
16586
16587 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16588
16589         [BZ #13304]
16590         * sysdeps/sh/s_fma.c: New file.
16591         * sysdeps/sh/s_fmaf.c: New file.
16592         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16593         version.
16594         * sysdeps/sh/Implies: Add sh/soft-fp.
16595
16596 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16597
16598         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16599         level of indirection to members `objname', `errstring', `malloced'.
16600         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16601         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16602         it as the __longjmp argument (just pass 1 instead).
16603         (_dl_catch_error): Initialize C with argument pointers and address of
16604         volatile local ERRCODE rather than copying values out of C at return.
16605
16606 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16607
16608         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16609         * math/auto-libm-test-out: Regenerated.
16610         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16611         (hypot_test_data): Likewise.
16612         (pow_test_data): Likewise.
16613         (pow_tonearest_test_data): Likewise.
16614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16615         mpfr_ff_f.
16616         (func_calc_desc): Add mpfr_ff_f union field.
16617         (FUNC_mpfr_ff_f): New macro.
16618         (test_functions): Add atan2, hypot and pow.
16619         (special_fill_min): New function.
16620         (special_fill_minus_min): Likewise.
16621         (special_fill_min_subnorm): Likewise.
16622         (special_fill_minus_min_subnorm): Likewise.
16623         (special_real_inputs): Add min, -min, min_subnorm and
16624         -min_subnorm.
16625         (calc_generic_results): Handle mpfr_ff_f.
16626         * sysdeps/i386/fpu/libm-test-ulps: Update.
16627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16628
16629 2013-12-16  Will Newton  <will.newton@linaro.org>
16630
16631         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16632         (Aligned Memory Blocks): Add documentation for aligned_alloc
16633         and suggest it as an alternative to posix_memalign.
16634         (Hooks for Malloc): Document __memalign_hook is also called
16635         for aligned_alloc.  (Summary of Malloc): Add summary for
16636         aligned alloc.  Document __memalign_hook is also called
16637         for aligned_alloc.
16638
16639 2013-12-16  Will Newton  <will.newton@linaro.org>
16640
16641         * manual/memory.texi (Malloc Examples): Clarify default
16642         alignment documentation.  Suggest posix_memalign rather
16643         than memalign or valloc.
16644         (Aligned Memory Blocks): Remove suggestion to use memalign
16645         or valloc.  Remove obsolete comment about BSD.
16646         Document memalign errno values and mark the function obsolete.
16647         Document posix_memalign returned error codes.  Mark valloc
16648         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16649         called for posix_memalign and valloc.
16650         (Summary of Malloc): Add posix_memalign to function summary.
16651         __memalign_hook is also called for posix_memalign and valloc.
16652
16653 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16654
16655         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16656         TAYLOR_SIN.
16657         (__sin): Adjust.
16658         (__cos): Likewise.
16659         (sloww): Use mynumber union.  Expand ternary operator into
16660         if-else statements.
16661         (cslow): use mynumber union.
16662
16663 2013-12-16  Allan McRae  <allan@archlinux.org>
16664
16665         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16666         * configure: Regenerated.
16667
16668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16669
16670         [BZ #14120]
16671         * configure.ac: Added --enable-maintainer-mode. Check for
16672         autoconf when enabled.
16673         * configure: Regenerated.
16674
16675         * nscd/nscd.service: New file.
16676         * nscd/nscd.tmpfiles: New file.
16677
16678 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16679
16680         [BZ #12100]
16681         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16682         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16683         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16684         (strstr): Add __strstr_sse2_unaligned ifunc.
16685         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16686         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16687         (strcasestr): Remove __strcasestr_sse42 ifunc.
16688         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16691
16692 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16693
16694         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16695         * sysdeps/sh/bits/fenv.h: ... here.
16696         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16697
16698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16699
16700         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16701
16702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16703         hypotf multiarch implementations.
16704         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16705         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16707         multiarch hypot for PPC64.
16708         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16709         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16711         multiarch hypotf for PPC64.
16712
16713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16714         modff multiarch implementations.
16715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16718         multiarch modf for PPC64.
16719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16722         multiarch modff for PPC64.
16723
16724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16725         and logl multiarch implementations.
16726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16729         multiarch logb for PPC64.
16730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16733         multiarch logb for PPC64.
16734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16737         multiarch logb for PPC64.
16738
16739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16740         isinff multiarch implementation.
16741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16742         file.
16743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16745         multiarch isinf for PPC64.
16746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16747         file.
16748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16749         multiarch isinff for PPC64.
16750
16751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16752         finitef multiarch implementation.
16753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16754         file.
16755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16757         multiarch finite for PPC64.
16758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16759         file.
16760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16761         multiarch finitef for PPC64.
16762
16763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16764         lrint multiarch implementation.
16765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16766         file.
16767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16769         multiarch llrint for PPC64.
16770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16771         multiarch lrint for PPC64.
16772
16773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16774         copysignf multiarch implementation.
16775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16776         file.
16777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16778         file.
16779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16780         multiarch copysign for PPC64.
16781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16782         multiarch copysignf for PPC64.
16783
16784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16785         multiarch implementation.
16786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16787         file.
16788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16789         file.
16790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16791         file.
16792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16793         file.
16794         multiarch llround for PPC64.
16795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16796         multiarch trunc for PPC64.
16797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16798         multiarch truncf for PPC64.
16799
16800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16801         multiarch implementation.
16802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16803         file.
16804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16805         file.
16806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16807         file.
16808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16809         file.
16810         multiarch llround for PPC64.
16811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16812         multiarch round for PPC64.
16813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16814         multiarch roundf for PPC64.
16815
16816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16817         multiarch implementation.
16818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16819         file.
16820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16821         file.
16822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16823         file.
16824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16825         file.
16826         multiarch llround for PPC64.
16827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16828         multiarch floor for PPC64.
16829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16830         multiarch floorf for PPC64.
16831
16832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16833         multiarch implementation.
16834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16835         file.
16836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16837         file.
16838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16839         file.
16840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16841         file.
16842         multiarch llround for PPC64.
16843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16844         multiarch ceil for PPC64.
16845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16846         multiarch ceilf for PPC64.
16847
16848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16849         multiarch implementation.
16850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16851         file.
16852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16853         file.
16854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16855         file.
16856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16857         multiarch llround for PPC64.
16858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16859         multiarch lround for PPC64.
16860
16861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16862         multiarch implementation.
16863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16866         file.
16867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16870         multiarch isnan for PPC64.
16871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16872         multiarch isnanf for PPC64.
16873
16874         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16875         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16876         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16877         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16878         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16880
16881         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16885
16886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16887         multiarch implementations.
16888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16889         (__libc_ifunc_impl_list): Likewise.
16890         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16891         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16893         multiarch stpcpy for PPC64.
16894
16895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16896         multiarch implementations.
16897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16898         (__libc_ifunc_impl_list): Likewise.
16899         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16900         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16901         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16902         multiarch strcpy for PPC64.
16903
16904         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16905         redefine function name.
16906         (_wordcopy_fwd_dest_aligned): Likewise.
16907         (_wordcopy_bwd_aligned): Likewise.
16908         (_wordcopy_bwd_dest_aligned): Likewise.
16909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16910         multiarch implementations.
16911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16912         (__libc_ifunc_impl_list): Likewise.
16913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16917         multiarch wcscpy for PPC64.
16918
16919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16920         multiarch implementations.
16921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16922         (__libc_ifunc_impl_list): Likewise.
16923         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16924         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16925         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16926         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16927         multiarch wcscpy for PPC64.
16928
16929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16930         multiarch implementations.
16931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16932         (__libc_ifunc_impl_list): Likewise.
16933         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16934         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16935         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16936         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16937         multiarch wcsrchr for PPC64.
16938
16939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16940         multiarch implementations.
16941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16942         (__libc_ifunc_impl_list): Likewise.
16943         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16944         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16945         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16946         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16947         multiarch wcschr for PPC64.
16948
16949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16950         multiarch implementations.
16951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16952         (__libc_ifunc_impl_list): Likewise.
16953         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16954         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16955         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16956         multiarch strchrnul for PPC64.
16957
16958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16959         implementations.
16960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16961         (__libc_ifunc_impl_list): Likewise.
16962         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16963         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16964         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16965         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16966         strchr for PPC64.
16967
16968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16969         implementations.
16970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16971         (__libc_ifunc_impl_list): Likewise.
16972         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16973         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16974         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16975         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16976         strncmp for PPC64.
16977
16978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16979         multiarch implementations.
16980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16981         (__libc_ifunc_impl_list): Likewise.
16982         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16983         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16984         strncasecmp for PPC64.
16985         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16986         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16987         multiarch strncasecmp_l for PPC64.
16988
16989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16990         multiarch implementations.
16991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16992         (__libc_ifunc_impl_list): Likewise.
16993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16994         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16995         multiarch strcasecmp for PPC64.
16996         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16997         file.
16998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16999         multiarch strcasecmp_l for PPC64.
17000
17001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17002         implementations.
17003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17004         (__libc_ifunc_impl_list): Likewise.
17005         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17006         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17007         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17008         strnlen for PPC64.
17009
17010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17011         implementations.
17012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17013         (__libc_ifunc_impl_list): Likewise.
17014         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17015         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17016         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17017         strlen for PPC64.
17018
17019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17020         implementations.
17021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17022         (__libc_ifunc_impl_list): Likewise.
17023         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17024         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17025         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17026         rawmemrchr for PPC64.
17027
17028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17029         implementation.
17030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17031         (__libc_ifunc_impl_list): Likewise.
17032         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17033         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17034         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17035         memrchr for PPC64.
17036
17037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17038         implementation.
17039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17040         (__libc_ifunc_impl_list): Likewise.
17041         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17042         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17043         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17044         memchr for PPC64.
17045
17046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17047         implementation.
17048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17049         (__libc_ifunc_impl_list): Likewise.
17050         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17051         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17052         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17053         mempcpy for PPC64.
17054
17055         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17056         avoid cretion of __bzero symbol.
17057         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17058         Likewise.
17059         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17060         Likewise.
17061         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17062         Likewise.
17063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17064         multiarch implementations.
17065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17066         (__libc_ifunc_impl_list): Likewise.
17067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17069         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17071         bzero for PPC32.
17072         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17073         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17074         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17076         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17077         memset for PPC64.
17078         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17079
17080         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17082         implementations.
17083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17084         (__libc_ifunc_impl_list): Likewise.
17085         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17086         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17087         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17088         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17089         memcmp for PPC64.
17090
17091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17092         multiarch for POWER/PPC64.
17093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17094         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17098         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17099         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17101         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17102         memcpy for PPC64.
17103
17104         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17105         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17106         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17108         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17109         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17110         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17111         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17112         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17113         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17114         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17115         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17116         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17117         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17118         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17126
17127 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17128
17129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17130
17131 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17132
17133         * benchtests/Makefile (bench): Add exp2 and log2.
17134         (LDLIBS-bench-exp2): Add -lm.
17135         (LDLIBS-bench-log2): Likewise.
17136         * benchtests/exp2-inputs: New inputs file.
17137         * benchtests/log2-inputs: New inputs file.
17138         * benchtests/log-inputs: Add new inputs.
17139         * benchtests/tan-inputs: Likewise.
17140
17141 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17142
17143         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17144         definition...
17145         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17146         (csloww2): ... from here.
17147
17148         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17149         instead of structures.
17150         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17151         (POLYNOMIAL): Likewise.
17152         (TAYLOR_SLOW): Likewise.
17153         (__sin): Likewise.
17154         (__cos): Likewise.
17155         (slow1): Likewise.
17156         (slow2): Likewise.
17157         (sloww): Likewise.
17158         (sloww1); Likewise.
17159         (sloww2): Likewise.
17160         (bsloww1): Likewise.
17161         (bsloww2): Likewise.
17162         (cslow2): Likewise.
17163         (csloww): Likewise.
17164         (csloww1): Likewise.
17165         (csloww2): Likewise.
17166
17167 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17168
17169         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17170         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17171         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17172         * malloc/hooks.c (realloc_check): Likewise.
17173
17174         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17175         * malloc/arena.c: Remove PER_THREAD conditional.
17176         [!PER_THREAD]: Remove code.
17177         (ptmalloc_unlock_all2): Likewise.
17178         (ptmalloc_init): Likewise.
17179         (_int_new_arena): Likewise.
17180         (arena_get2): Likewise.
17181         * malloc/hooks.c (__malloc_get_state): Likewise.
17182         (__malloc_set_state): Likewise.
17183         * malloc/malloc.c: Likewise.
17184         (struct malloc_state): Likewise.
17185         (struct malloc_par): Likewise.
17186         (__libc_realloc): Likewise.
17187         (__libc_mallopt): Likewise.
17188
17189 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17190
17191         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17192
17193 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17194
17195         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17196         macro to a function.  Check for zero perturb_byte.
17197         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17198
17199         * malloc/malloc.c: (force_reg): Remove.
17200         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17201         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17202         force_reg by atomic_forced_read.
17203         * malloc/arena.c (ptmalloc_init): Likewise.
17204         * malloc/hooks.c (top_check): Likewise.
17205
17206 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17207
17208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17209
17210 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17211
17212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17213
17214 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17215
17216         * math/auto-libm-test-in: Add tests of lgamma.
17217         * math/auto-libm-test-out: Regenerated.
17218         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17219         (M_LOG_2_SQRT_PIl): Likewise.
17220         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17222         mpfr_f_f1.
17223         (func_calc_desc): Add mpfr_f_f1 union field.
17224         (ARGS1): New macro.
17225         (ARGS2): Likewise.
17226         (ARGS3): Likewise.
17227         (ARGS4): Likewise.
17228         (RET1): Likewise.
17229         (RET2): Likewise.
17230         (CALC): Likewise.
17231         (FUNC): Likewise.
17232         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17233         (test_functions): Add lgamma.
17234         (calc_generic_results): Handle mpfr_f_f1.
17235         * sysdeps/i386/fpu/libm-test-ulps: Update.
17236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17237
17238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17239
17240         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17241         __mpn_add_n for PowerPC64/POWER7.
17242         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17243         __mpn_sub_n for PowerPC64/POWER7.
17244
17245         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17246         __mpn_addmul_1 for PowerPC64.
17247         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17248         __mpn_submul_1 for PowerPC64.
17249         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17250         for PowerPC64.
17251         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17252         for PowerPC64.
17253
17254 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17255
17256         [BZ #15089]
17257         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17258
17259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17260
17261         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17262
17263         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17264         add multiarch folders.
17265         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17266         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17267         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17268         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17269         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17270         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17271         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17272         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17273         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17274         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17275         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17282
17283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17284         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17286         New file.
17287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17288         New file.
17289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17290         multiarch __ieee754_hypot for PowerPC32.
17291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17292         New file.
17293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17294         New file.
17295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17296         multiarch __ieee754_hypotf for PowerPC32.
17297
17298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17299         long_double_symbol only if __logbl is defined.
17300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17301         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17303         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17305         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17307         path for implementation.
17308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17311         logb, and logbl multiarch implementations for PowerPC32.
17312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17313         file.
17314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17315         file.
17316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17317         multiarch logb for PowerPC32.
17318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17319         file.
17320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17321         file.
17322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17323         multiarch logbf for PowerPC32.
17324         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17326         file.
17327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17328         multiarch logbl implementation for PowerPC32.
17329
17330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17331         and modff multiarch implementations.
17332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17333         New file.
17334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17335         New file.
17336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17337         multiarch modf for PowerPC32.
17338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17339         New file.
17340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17341         New file.
17342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17343         multiarch modff for PowerPC32.
17344
17345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17346         and lrintf multiarch implementations.
17347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17348         New file.
17349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17350         New file.
17351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17352         multiarch lrint for PowerPC32.
17353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17354         file: multiarch lrintf for PowerPC32.
17355
17356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17357         and lroundf multiarch implementations.
17358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17359         New file.
17360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17361         New file.
17362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17363         New file.
17364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17365         multiarch lround for PowerPC32.
17366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17367         file: multiarch lroundf for PowerPC32.
17368
17369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17370         copysign and copysignf multiarch implementations.
17371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17372         New file.
17373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17374         New file.
17375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17376         file: multiarch copysign for PowerPC32.
17377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17378         file: multiarch copysignf for PowerPC32.
17379
17380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17381         and truncf multiarch implementations.
17382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17383         New file.
17384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17385         file.
17386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17387         multiarch trunc for PowerPC32.
17388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17389         New file.
17390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17391         New file.
17392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17393         multiarch truncf for PowerPC32.
17394
17395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17396         and roundf multiarch implementations.
17397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17398         New file.
17399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17400         file.
17401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17402         multiarch round for PowerPC32.
17403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17404         New file.
17405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17406         New file.
17407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17408         multiarch roundf for PowerPC32.
17409
17410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17411         and floorf multiarch implementations.
17412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17413         New file.
17414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17415         file.
17416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17417         multiarch floor for PowerPC32.
17418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17419         New file.
17420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17421         New file.
17422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17423         multiarch floorf for PowerPC32.
17424
17425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17426         and ceilf multiarch implementations.
17427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17428         New file.
17429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17430         file.
17431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17432         multiarch ceil for PowerPC32.
17433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17434         New file.
17435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17436         file.
17437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17438         multiarch ceilf for PowerPC32.
17439
17440         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17441         is defined.
17442         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17443         FINITEF is defined.
17444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17445         and finitef multiarch implementations.
17446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17447         New file.
17448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17449         file.
17450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17451         multiarch finite for PowerPC32.
17452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17453         New file.
17454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17455         file: multiarch finitef for PowerPC32.
17456
17457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17458         and isinff multiarch implementations.
17459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17460         file.
17461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17462         file.
17463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17464         multiarch isinf for PowerPC32.
17465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17466         New file.
17467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17468         multiarch isinff for PowerPC32.
17469
17470         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17471         alias when __isnan is defined.
17472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17473         and isnanf multiarch implementations.
17474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17475         file.
17476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17477         file.
17478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17479         file.
17480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17481         file.
17482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17483         multiarch isnan for PowerPC32.
17484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17485         New file.
17486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17487         New file.
17488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17489         multiarch isnanf for PowerPC32.
17490
17491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17492         and sqrtf multiarch implementations.
17493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17494         file.
17495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17496         file.
17497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17498         multiarch sqrt for PowerPC32.
17499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17500         file.
17501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17502         file.
17503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17504         multiarch sqrtf for PowerPC32.
17505
17506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17507         and llroundf multiarch implementations.
17508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17509         New file.
17510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17511         New file.
17512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17513         New file.
17514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17515         file: multiarch llround for PowerPC32.
17516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17517         file: multiarch llroundf for PowerPC32.
17518
17519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17520         multiarch PowerPC32 fpu implementations.
17521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17522         New file.
17523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17524         New file.
17525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17526         multiarch llrint for PowerPC32.
17527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17528         New file.
17529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17530         New file.
17531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17532         file.
17533
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17535
17536         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17537         file.
17538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17539         file.
17540         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17541         file.
17542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17543         multiarch wordcopy for PPC32.
17544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17545         wordcopy objects.
17546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17547         (__libc_ifunc_impl_list): Likewise.
17548         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17549         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17550         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17551         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17553         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17554
17555         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17557         file.
17558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17559         file.
17560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17561         file.
17562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17563         multiarch wcscpy for PPC32.
17564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17565         multiarch objects.
17566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17567         (__libc_ifunc_impl_list): Likewise.
17568         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17569         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17570         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17571         sysdeps/powerpc/power6/wcscpy.c.
17572
17573         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17575         file.
17576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17577         file.
17578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17579         file.
17580         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17581         multiarch wcsrchr for PPC32.
17582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17583         multiarch objects.
17584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17585         (__libc_ifunc_impl_list): Likewise.
17586         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17587         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17588         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17589         sysdeps/powerpc/power6/wcsrchr.c.
17590
17591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17592         file.
17593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17594         file.
17595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17597         multiarch wcschr for PPc32.
17598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17599         multiarch objects.
17600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17601         (__libc_ifunc_impl_list): Likewise.
17602         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17603         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17604         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17605         sysdeps/powerpc/power6/wcschr.c.
17606
17607         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17609         file.
17610         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17611         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17612         file: multiarch strchr for PPC32.
17613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17614         multiarch objects.
17615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17616         (__libc_ifunc_impl_list): Likewise.
17617
17618         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17619         name.
17620         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17621         file.
17622         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17623         file.
17624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17625         multiarch strchrnul for PPC32.
17626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17627         multiarch objects.
17628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17629         (__libc_ifunc_impl_list): Likewise.
17630
17631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17632         file.
17633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17634         multiarch strncasecmp for PPC32.
17635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17636         file.
17637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17638         multiarch strncasecmp_l for PPC32.
17639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17640         strncasecmp multiarch objects.
17641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17642         (__libc_ifunc_impl_list): Likewise.
17643
17644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17645         file.
17646         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17647         multiarch strncasecmp for PPC32.
17648         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17649         New file.
17650         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17651         multiarch strcasecmp_l for PPC32.
17652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17653         multiarch objects.
17654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17655         (__libc_ifunc_impl_list): Likewise.
17656
17657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17658         file.
17659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17660         file.
17661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17662         multiarch strncmp for PPC32.
17663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17664         multiarch objects.
17665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17666         (__libc_ifunc_impl_list): Likewise.
17667
17668         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17669         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17670         file.
17671         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17672         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17674         multiarch objects.
17675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17676         (__libc_ifunc_impl_list): Likewise.
17677
17678         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17679         file.
17680         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17681         file.
17682         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17684         multiarch objects.
17685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17686         (__libc_ifunc_impl_list): Likewise.
17687
17688         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17689         file.
17690         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17691         file.
17692         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17693         multiarch rawmemchr for PPC32.
17694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17695         multiarch objects.
17696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17697         (__libc_ifunc_impl_list): Likewise.
17698
17699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17700         file.
17701         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17702         file.
17703         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17704         file: memrchr multiarch for PPC32.
17705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17706         multiarch objects.
17707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17708         (__libc_ifunc_impl_list): Likewise.
17709
17710         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17712         file.
17713         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17715         multiarch memchr for PPC32.
17716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17717         multiarch objects.
17718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17719         (__libc_ifunc_impl_list): Likewise.
17720
17721         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17722         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17723         file.
17724         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17725         file.
17726         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17727         file: multiarch mempcpy for PPC32.
17728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17729         multiarch objects.
17730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17731         (__libc_ifunc_impl_list): Likewise.
17732
17733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17735         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17736         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17737         multiarch bzero for PPC32.
17738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17739         file.
17740         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17741         file.
17742         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17743         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17744         file: multiarch memset for PPC32.
17745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17747         memset multiarch objects.
17748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17749         (__libc_ifunc_impl_list): Likewise.
17750
17751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17752         file.
17753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17755         memcmp for PPC32.
17756         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17758         multiarch objects.
17759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17760         (__libc_ifunc_impl_list): Likewise.
17761
17762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17765         file.
17766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17767         file.
17768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17769         file.
17770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17771         multiarch memcpy for PPC32.
17772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17773         multiarch objects.
17774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17775         (__libc_ifunc_impl_list): Likewise.
17776
17777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17778         support multiarch for POWER/PPC32.
17779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17780         Likewise.
17781         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17783         Implies file to make multiarch folder appers before the fpu and
17784         default folder for power4 configuration.
17785
17786 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17787
17788         * scripts/bench.pl: Append volatile keyword to type.
17789
17790 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17791
17792         * sysdeps/sh/sotruss-lib.c: New file.
17793         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17794
17795 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17796
17797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17798
17799 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17800
17801         [BZ #6810]
17802         * math/w_tgamma.c: Include <errno.h>.
17803         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17804         * math/w_tgammaf.c: Include <errno.h>.
17805         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17806         * math/w_tgammal.c: Include <errno.h>.
17807         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17808         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17809         underflow.  Add more tgamma tests.
17810         * math/auto-libm-test-out: Regenerated.
17811         * sysdeps/i386/fpu/libm-test-ulps: Update.
17812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17813
17814         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17815         sin, sinh, tan, tanh, tgamma, y0 and y1.
17816         * math/auto-libm-test-out: Regenerated.
17817         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17818         (TEST_COND_x86): Likewise.
17819         (M_E2l): Remove macro.
17820         (M_E3l): Likewise.
17821         (M_2_SQRT_PIl): Likewise.
17822         (M_SQRT_PIl): Likewise.
17823         (M_1_DIV_El): Likewise.
17824         (log_test_data): Use AUTO_TESTS_f_f.
17825         (log10_test_data): Likewise.
17826         (log1p_test_data): Likewise.
17827         (log2_test_data): Likewise.
17828         (sin_test_data): Likewise.
17829         (sin_tonearest_test_data): Likewise.
17830         (sin_towardzero_test_data): Likewise.
17831         (sin_downward_test_data): Likewise.
17832         (sin_upward_test_data): Likewise.
17833         (sinh_test_data): Likewise.
17834         (sinh_tonearest_test_data): Likewise.
17835         (sinh_towardzero_test_data): Likewise.
17836         (sinh_downward_test_data): Likewise.
17837         (sinh_upward_test_data): Likewise.
17838         (tan_test_data): Likewise.
17839         (tan_tonearest_test_data): Likewise.
17840         (tan_towardzero_test_data): Likewise.
17841         (tan_downward_test_data): Likewise.
17842         (tan_upward_test_data): Likewise.
17843         (tanh_test_data): Likewise.
17844         (tgamma_test_data): Likewise.
17845         (y0_test_data): Likewise.
17846         (y1_test_data): Likewise.
17847         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17848         (special_real_inputs): Add pi/4.
17849         * sysdeps/i386/fpu/libm-test-ulps: Update.
17850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17851
17852 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17853
17854         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17855         "longjmp_target" static probes.
17856         (__longjmp): Rename to __longjmp_symbol.
17857         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17858         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17859         on which longjmp to generate.
17860         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17862         probe.
17863         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17864         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17866         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17867         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17868         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17870         __longjmp_symbol based on which __longjmp to generate.
17871         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17872         probe.
17873         (setjmp): Rename to setjmp_symbol.
17874         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17875         (_setjmp): Rename to _setjmp_symbol.
17876         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17877         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17878         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17879         which setjmp to generate.
17880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17881         "longjmp_target" static probes.
17882
17883 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17884
17885         * benchtests/README: Add note about output arguments.
17886         * benchtests/bench-sincos.c: Remove file.
17887         * benchtests/sincos-inputs: New file.
17888         * scripts/bench.pl: Identify output arguments and define
17889         static variables for them.
17890
17891         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17892
17893         [BZ #15941]
17894         * Makefile (INSTALL): Add install-plain.texi as the primary
17895         dependency.
17896         * manual/install-plain.texi: New file.
17897         * manual/install.texi: Include node directive only for
17898         non-plaintext output.
17899
17900 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17901
17902         * stdlib/longlong.h: Update from GCC.
17903
17904         [BZ #6807]
17905         [BZ #15901]
17906         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17907         * math/w_j0f.c (y0f): Likewise.
17908         * math/w_j0l.c (__y0l): Likewise.
17909         * math/w_j1.c (y1): Likewise.
17910         * math/w_j1f.c (y1f): Likewise.
17911         * math/w_j1l.c (__y1l): Likewise
17912         * math/w_jn.c (yn): Likewise.
17913         * math/w_jnf.c (ynf): Likewise.
17914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17915         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17916         value for Bessel function domain errors outside _SVID_ mode.
17917         Adjust sign of return value for yn (negative integer, 0).
17918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17919         by zero in return for negative x and set sign appropriately for
17920         negative n.
17921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17922         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17923         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17924         expectations in error cases.
17925         (y1_test_data): Likewise.
17926         (yn_test_data): Likewise.
17927         * sysdeps/i386/fpu/libm-test-ulps: Update.
17928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17929
17930 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17931
17932         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17933         "64" to "64-v1".  Add "64-v2".
17934         (abi-64-options): Rename to ...
17935         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17936         (abi-64-condition): Rename to ...
17937         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17938         (abi-64-ld-soname): Rename to ...
17939         (abi-64-v1-ld-soname): ... this.
17940         (abi-64-v2-options): Define.
17941         (abi-64-v2-condition): Likewise.
17942         (abi-64-v2-ld-soname): Likewise.
17943         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17944         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17948
17949 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17950             Alan Modra  <amodra@gmail.com>
17951
17952         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17953         New versions for use with the ELFv2 ABI.
17954         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17955         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17956         declaration.
17957         (struct La_ppc64v2_retval): Likewise.
17958         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17959         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17960         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17961         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17962         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17964         Do not save or restore CR.
17965         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17966         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17967         return values for ELFv2 ABI.  Fix location of FPR return registers.
17968         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17969         updated values for _CALL_ELF == 2.
17970         (La_regs, La_retval, int_retval): Likewise.
17971
17972 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17973
17974         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17975         (FRAME_MIN_SIZE_PARM): Likewise.
17976         (FRAME_BACKCHAIN): Likewise.
17977         (FRAME_CR_SAVE): Likewise.
17978         (FRAME_LR_SAVE): Likewise.
17979         (FRAME_TOC_SAVE): Likewise.
17980         (FRAME_PARM_SAVE): Likewise.
17981         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17982         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17983         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17984         (call_mcount_parm_offset): New macro.
17985         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17986         (PROF): Use symbolic stack frame offsets.
17987         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17988         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17989         Redefine in terms of FRAME_MIN_SIZE.
17990         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17991         (_dl_profile_resolve): Likewise.  Update comment.
17992         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17993         symbols stack frame offsets.
17994         (__sigsetjmp): Likewise.
17995         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17996         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17997         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17998         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17999
18000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18001         (FRAME_BACKCHAIN): Remove.
18002         (FRAME_CR_SAVE): Likewise.
18003         (FRAME_LR_SAVE): Likewise.
18004         (FRAME_COMPILER_DW): Likewise.
18005         (FRAME_LINKER_DW): Likewise.
18006         (FRAME_TOC_SAVE): Likewise.
18007         (FRAME_PARM_SAVE): Likewise.
18008         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18009         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18010         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18012         (CHECK_SP): Use symbolic stack frame offsets.
18013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18014         zone" instead of caller's parameter save area for temp storage.
18015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18016         Likewise.  Also, use symbolic stack frame offsets.
18017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18018         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18019         our own stack frame instead of the caller's.
18020         (__socket): Use symbolic stack frame offsets.
18021
18022 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18023             Alan Modra  <amodra@gmail.com>
18024
18025         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18026         Define.
18027         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18028         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18029         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18030         New function.
18031         (elf_machine_fixup_plt): Call it.
18032         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18033         reloc arguments.
18034         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18035         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18036         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18037         r2 before calling target.
18038
18039 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18040             Alan Modra  <amodra@gmail.com>
18041
18042         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18043         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18044         versions of macros to support ELFv2 ABI.
18045         (LOCALENTRY): New macro.
18046         (ENTRY, EALIGN): Use it.
18047         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18048         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18049         fall through into ENTRY entry point.
18050         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18051         Only define if _CALL_ELF != 2.
18052
18053         (elf_machine_matches_host): Verify ABI version matches.
18054         (RTLD_START): Use LOCALENTRY.
18055         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18056         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18057         (PLT_ENTRY_WORDS): New macro.
18058         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18059         (elf_machine_runtime_setup): Support ELFv2 ABI.
18060         (elf_machine_fixup_plt): Likewise.
18061         (elf_machine_plt_conflict): Likewise.
18062         (resolve_ifunc): Likewise.
18063         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18065         Likewise.
18066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18067         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18069         (makecontext): Support ELFv2 ABI.
18070         * elf/elf.h (EF_PPC64_ABI): Define.
18071
18072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18073
18074         * sysdeps/powerpc/powerpc64/sysdep.h
18075         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18076         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18077         (ENTRY) [ASSEMBLER]: ... but instead here ...
18078         (EALIGN) [ASSEMBLER]: ... and here.
18079         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18080         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18081         (ENTRY_2) [!ASSEMBLER]: Use it.
18082         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18083         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18085         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18086         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18088         Use PPC64_LOAD_FUNCPTR.
18089
18090         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18091
18092 2013-12-04  Alan Modra  <amodra@gmail.com>
18093
18094         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18095         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18096         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18097         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18098
18099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18100         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18101         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18102         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18103         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18104         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18105
18106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18107
18108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18109         (__makecontext): Fix incorrect CFI when backtracing out of
18110         context created via makecontext.
18111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18112         (__setcontext): Fix incorrect CFI during switch to new context.
18113         (__novec_setcontext): Likewise.
18114
18115 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18116
18117         [BZ #4772]
18118         * time/strptime_l.c (__strptime_internal): Allow modifiers
18119         in strptime.
18120         * time/tst-strptime.c (day_tests): Add testcase.
18121
18122 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18123
18124         * scripts/bench.pl: Skip over blank lines.
18125
18126 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18127
18128         [BZ #926]
18129         * manual/time.texi (Calendar Time): Clarify what timezone functions
18130         use.
18131
18132 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18133
18134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18135
18136 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18137
18138         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18139         implementation.
18140         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18141         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18142         * debug/memset_chk.c (__memset_chk): Likewise.
18143         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18144         * debug/strncpy_chk.c: Likewise.
18145
18146 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18147
18148         [BZ #15268]
18149         [BZ #15425]
18150         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18151         (__ieee754_exp): For possibly underflowing results, check size of
18152         result and force underflow exception if required.
18153         * math/auto-libm-test-in: Add more tests of exp.
18154         * math/auto-libm-test-out: Regenerated.
18155         * sysdeps/i386/fpu/libm-test-ulps: Update.
18156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18157
18158         [BZ #16283]
18159         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18160         * math/w_exp2f.c (__exp2f): Likewise.
18161         * math/w_exp2l.c (__exp2l): Likewise.
18162         * math/auto-libm-test-in: Do not allow missing errno on exp2
18163         underflow.
18164         * math/auto-libm-test-out: Regenerated.
18165
18166 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18167
18168         [BZ #16274]
18169         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18170         handle filename validation.
18171         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18172         (do_open): Delete.
18173
18174 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18175
18176         [BZ #6786]
18177         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18178         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18179         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18180         <float.h>.
18181         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18183         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18185         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18187         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18188         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18189         Add more erfc tests.
18190         * math/auto-libm-test-out: Regenerated.
18191         * sysdeps/i386/fpu/libm-test-ulps: Update.
18192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18193
18194         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18195         exp2, expm1, j0 and j1.
18196         * math/auto-libm-test-out: Regenerated.
18197         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18198         (erfc_test_data): Likewise.
18199         (exp_test_data): Likewise.
18200         (exp_tonearest_test_data): Likewise.
18201         (exp_towardzero_test_data): Likewise.
18202         (exp_downward_test_data): Likewise.
18203         (exp_upward_test_data): Likewise.
18204         (exp10_test_data): Likewise.
18205         (exp2_test_data): Likewise.
18206         (expm1_test_data): Likewise.
18207         (j0_test_data): Likewise.
18208         (j1_test_data): Likewise.
18209         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18210         (input_flag_type): Add flag_xfail_rounding.
18211         (input_flags): Add xfail-rounding.
18212         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18213         (output_for_one_input_case): Handle flag_xfail_rounding.
18214         * sysdeps/i386/fpu/libm-test-ulps: Update.
18215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18216
18217 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18218
18219         [BZ #16289]
18220         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18221         division by 0.
18222
18223 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18224
18225         [BZ #16195]
18226         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18227         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18228         (STAP_PROBE0): New macro.
18229         (STAP_PROBE1): Likewise.
18230         (STAP_PROBE2): Likewise.
18231         (STAP_PROBE3): Likewise.
18232         (STAP_PROBE4): Likewise.
18233
18234 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18235
18236         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18237
18238 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18239
18240         * benchtests/Makefile (bench): Add sqrt.
18241         (LDLIBS-bench-sqrt): New.
18242         * benchtests/sqrt-input: New.
18243
18244 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18245
18246         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18247         (GAIH_EAI): Likewise.
18248         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18249         (gaih_inet): Likewise.
18250         (getaddrinfo): Don't use GAIH_EAI.
18251
18252         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18253         (struct gaih): Remove definition.
18254
18255 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18256
18257         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18258         Use HERRNOP directly.
18259
18260 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18261
18262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18263
18264 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18265
18266         * math/gen-auto-libm-tests.c (test_functions): Add more
18267         single-argument functions.
18268         (special_fill_pi_2): New function.
18269         (special_fill_minus_pi_2): Likewise.
18270         (special_fill_pi_6): Likewise.
18271         (special_fill_minus_pi_6): Likewise.
18272         (special_fill_pi_3): Likewise.
18273         (special_fill_2pi_3): Likewise.
18274         (special_fill_e): Likewise.
18275         (special_fill_1_e): Likewise.
18276         (special_fill_e_minus_1): Likewise.
18277         (special_real_inputs): Add more special inputs.
18278         (output_for_one_input_case): Do not require ERANGE on underflow to
18279         zero if round-to-nearest result does not underflow to zero, unless
18280         exact results required.
18281         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18282         atan, atanh, cbrt, cos and cosh.
18283         * math/auto-libm-test-out: Regenerated.
18284         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18285         (acos_tonearest_test_data): Likewise.
18286         (acos_towardzero_test_data): Likewise.
18287         (acos_downward_test_data): Likewise.
18288         (acos_upward_test_data): Likewise.
18289         (acosh_test_data): Likewise.
18290         (asin_test_data): Likewise.
18291         (asin_tonearest_test_data): Likewise.
18292         (asin_towardzero_test_data): Likewise.
18293         (asin_upward_test_data): Likewise.
18294         (asinh_test_data): Likewise.
18295         (atan_test_data): Likewise.
18296         (atanh_test_data): Likewise.
18297         (cbrt_test_data): Likewise.
18298         (cos_test_data): Likewise.
18299         (cos_tonearest_test_data): Likewise.
18300         (cos_towardzero_test_data): Likewise.
18301         (cos_downward_test_data): Likewise.
18302         (cos_upward_test_data): Likewise.
18303         (cosh_test_data): Likewise.
18304         (cosh_tonearest_test_data): Likewise.
18305         (cosh_towardzero_test_data): Likewise.
18306         (cosh_downward_test_data): Likewise.
18307         (cosh_upward_test_data): Likewise.
18308         * sysdeps/i386/fpu/libm-test-ulps: Update.
18309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18310
18311 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18312
18313         [BZ #6787]
18314         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18315         * math/w_exp10f.c (__exp10f): Likewise.
18316         * math/w_exp10l.c (__exp10l): Likewise.
18317         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18318         errno settings in existing tests.
18319
18320         [BZ #14032]
18321         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18322         precision control set to double precision.
18323         * sysdeps/i386/fpu/w_sqrt.c: New file.
18324         * math/auto-libm-test-in: Add more tests.
18325         * math/auto-libm-test-out: Update.
18326
18327         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18328         (sqrt_test_tonearest): New function.
18329         (sqrt_towardzero_test_data): New variable.
18330         (sqrt_test_towardzero): New function.
18331         (sqrt_downward_test_data): New variable.
18332         (sqrt_test_downward): New function.
18333         (sqrt_upward_test_data): New variable.
18334         (sqrt_test_upward): New function.
18335         (main): Call the new functions.
18336
18337         * math/gen-auto-libm-tests.c: New file.
18338         * math/auto-libm-test-in: Likewise.
18339         * math/auto-libm-test-out: New generated file.
18340         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18341         variables.
18342         (%beautify): Add generated representations of zero.
18343         (top level): Set $auto_input and call parse_auto_input.
18344         (beautify): Remove trailing "f" from hex float constants.
18345         (parse_args): Handle XFAIL_TEST.
18346         (convert_condition): New function.
18347         (or_value): Likewise.
18348         (or_cond_value): Likewise.
18349         (generate_testfile): Handle AUTO_TESTS_* lines.
18350         (parse_auto_input): New function.
18351         * math/libm-test.inc (XFAIL_TEST): New macro.
18352         (ERRNO_UNCHANGED): Update value.
18353         (ERRNO_EDOM): Likewise.
18354         (ERRNO_ERANGE): Likewise.
18355         (IGNORE_RESULT): Likewise.
18356         (TEST_COND_flt_32): New macro.
18357         (TEST_COND_dbl_64): Likewise.
18358         (TEST_COND_ldbl_96_intel): Likewise.
18359         (TEST_COND_ldbl_96_m68k): Likewise.
18360         (TEST_COND_ldbl_128): Likewise.
18361         (TEST_COND_ldbl_128ibm): Likewise.
18362         (TEST_COND_long32): Likewise.
18363         (TEST_COND_long64): Likewise.
18364         (TEST_COND_before_rounding): Likewise.
18365         (TEST_COND_after_rounding): Likewise.
18366         (enable_test): Handle XFAIL_TEST flag.
18367         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18368         with finite results.
18369         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18370         auto-libm-test-out.
18371
18372 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18373             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18374
18375         [BZ #16214]
18376         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18377         __tls_get_addr_internal instead of __tls_get_offset in order to
18378         avoid GOT pointer dependency.  Make rtld export
18379         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18380         __tls_get_addr since we are a __tls_get_offset platform.
18381         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18382         GOT pointer being set up before.
18383         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18384
18385 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18386
18387         * manual/math.texi (Errors in Math Functions): Document accuracy
18388         goals.
18389
18390         [BZ #15004]
18391         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18392         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18395         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18397         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18399         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18407
18408         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18409         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18410         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18411         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18412         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18413         Likewise.
18414         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18415         Likewise.
18416         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18417         Likewise.
18418         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18419         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18420         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18421         atomic-feupdateenv and flt-rounds.
18422         * sysdeps/powerpc/nofpu/Versions (libc): Add
18423         __atomic_feholdexcept, __atomic_feclearexcept,
18424         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18426         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18427         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18428         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18429         here.
18430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18431         Update.
18432
18433         * manual/arith.texi (FP Exceptions): Document that exceptions may
18434         not be raised when matherr is used.
18435         (Math Error Reporting): Document overflow in directed rounding
18436         modes.  Document that errno may not be set when finite values are
18437         returned on overflow.  Document intent to set errno on underflow
18438         only for underflow to zero.
18439
18440         [BZ #16271]
18441         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18442         round-to-nearest then adjust result for other rounding modes.
18443         * include/fenv.h (fegetround): Use libm_hidden_proto.
18444         * math/fegetround.c (fegetround): Use libm_hidden_def.
18445         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18446         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18447         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18449         Likewise.
18450         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18451         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18452         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18453         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18454
18455 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456
18457         [BZ #16077]
18458         * nss/Versions (libnss_files): Add
18459         _nss_files_gethostbyname3_r.
18460         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18461         New function.
18462         (HOST_DB_LOOKUP): Remove macro.
18463         (_nss_files_gethostbyname_r): Implement function without the
18464         HOST_DB_LOOKUP macro.
18465         (_nss_files_gethostbyname2_r): Likewise.
18466
18467 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18468
18469         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18470
18471 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18472
18473         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18474         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18475         warning.
18476
18477 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18478
18479         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18480         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18481         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18482         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18483         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18484         __fe_nomask_env_priv and attribute_hidden.
18485         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18486         (libc_feupdateenv_test_ppc): Likewise.
18487         (libc_feresetround_ppc): Likewise.
18488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18489         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18490         compat_symbol macro.
18491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18492         (__fe_nomask_env): Likewise.
18493         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18494
18495 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18496
18497         * string/Makefile: Remove ifunc tests.
18498         * string/test-string.h: Define TEST_IFUNC.
18499         * string/test-bcopy-ifunc.c: Remove.
18500         * string/test-bzero-ifunc.c: Likewise.
18501         * string/test-memccpy-ifunc.c: Likewise.
18502         * string/test-memchr-ifunc.c: Likewise.
18503         * string/test-memcmp-ifunc.c: Likewise.
18504         * string/test-memcpy-ifunc.c: Likewise.
18505         * string/test-memmem-ifunc.c: Likewise.
18506         * string/test-memmove-ifunc.c: Likewise.
18507         * string/test-mempcpy-ifunc.c: Likewise.
18508         * string/test-memrchr-ifunc.c: Likewise.
18509         * string/test-memset-ifunc.c: Likewise.
18510         * string/test-rawmemchr-ifunc.c: Likewise.
18511         * string/test-stpcpy-ifunc.c: Likewise.
18512         * string/test-stpncpy-ifunc.c: Likewise.
18513         * string/test-strcasecmp-ifunc.c: Likewise.
18514         * string/test-strcasestr-ifunc.c: Likewise.
18515         * string/test-strcat-ifunc.c: Likewise.
18516         * string/test-strchr-ifunc.c: Likewise.
18517         * string/test-strchrnul-ifunc.c: Likewise.
18518         * string/test-strcmp-ifunc.c: Likewise.
18519         * string/test-strcpy-ifunc.c: Likewise.
18520         * string/test-strcspn-ifunc.c: Likewise.
18521         * string/test-strlen-ifunc.c: Likewise.
18522         * string/test-strncasecmp-ifunc.c: Likewise.
18523         * string/test-strncat-ifunc.c: Likewise.
18524         * string/test-strncmp-ifunc.c: Likewise.
18525         * string/test-strncpy-ifunc.c: Likewise.
18526         * string/test-strnlen-ifunc.c: Likewise.
18527         * string/test-strpbrk-ifunc.c: Likewise.
18528         * string/test-strrchr-ifunc.c: Likewise.
18529         * string/test-strspn-ifunc.c: Likewise.
18530         * string/test-strstr-ifunc.c: Likewise.
18531
18532 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18533
18534         * benchtests/Makefile: Remove ifunc tests.
18535         * benchtests/bench-string.h: Define TEST_IFUNC.
18536         * benchtests/bench-bcopy-ifunc.c: Remove.
18537         * benchtests/bench-bzero-ifunc.c: Likewise.
18538         * benchtests/bench-memccpy-ifunc.c: Likewise.
18539         * benchtests/bench-memchr-ifunc.c: Likewise.
18540         * benchtests/bench-memcmp-ifunc.c: Likewise.
18541         * benchtests/bench-memcpy-ifunc.c: Likewise.
18542         * benchtests/bench-memmem-ifunc.c: Likewise.
18543         * benchtests/bench-memmove-ifunc.c: Likewise.
18544         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18545         * benchtests/bench-memrchr-ifunc.c: Likewise.
18546         * benchtests/bench-memset-ifunc.c: Likewise.
18547         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18548         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18549         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18550         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18551         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18552         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18553         * benchtests/bench-strcat-ifunc.c: Likewise.
18554         * benchtests/bench-strchr-ifunc.c: Likewise.
18555         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18556         * benchtests/bench-strcmp-ifunc.c: Likewise.
18557         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18558         * benchtests/bench-strcpy-ifunc.c: Likewise.
18559         * benchtests/bench-strcspn-ifunc.c: Likewise.
18560         * benchtests/bench-strlen-ifunc.c: Likewise.
18561         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18562         * benchtests/bench-strncat-ifunc.c: Likewise.
18563         * benchtests/bench-strncmp-ifunc.c: Likewise.
18564         * benchtests/bench-strncpy-ifunc.c: Likewise.
18565         * benchtests/bench-strnlen-ifunc.c: Likewise.
18566         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18567         * benchtests/bench-strrchr-ifunc.c: Likewise.
18568         * benchtests/bench-strsep-ifunc.c: Likewise.
18569         * benchtests/bench-strspn-ifunc.c: Likewise.
18570         * benchtests/bench-strstr-ifunc.c: Likewise.
18571
18572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18573
18574         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18575
18576 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18577
18578         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18579         * rt/aio.h: Likewise.
18580         * sysdeps/gnu/bits/utmp.h: Likewise.
18581         * sysdeps/gnu/bits/utmpx.h: Likewise.
18582         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18583         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18584         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18585         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18586         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18587         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18588         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18589         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18590         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18592         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18593         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18594         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18596         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18597         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18598         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18599         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18600         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18601         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18602         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18603         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18604         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18605         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18606         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18608         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18609         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18610         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18611         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18612         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18613         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18614         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18615         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18616         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18617         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18618         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18619         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18620         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18621         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18622         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18623         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18624
18625 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18626
18627         [BZ #16245]
18628         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18629         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18630
18631 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18632
18633         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18634         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18635         Likewise.
18636
18637 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18638
18639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18640         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18641         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18642         (__fesetround): Remove define.
18643         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18644         rounding and exceptions handling.
18645         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18646         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18647         (__fe_nomask_env): Likewise.
18648         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18649         __fegetround instead of fegetround.
18650         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18652
18653 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18654
18655         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18656         it's there.
18657
18658         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18659
18660 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18661
18662         [BZ #11157]
18663         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18664         (encrypt_r): Likewise.
18665         * malloc/obstack.h (obstack_free): Likewise.
18666         * posix/unistd.h (encrypt): Likewise.
18667
18668 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18669
18670         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18671         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18672         DL_CALL_DT_FINI() that call the functions directly.
18673         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18674         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18675         * elf/dl-fini.c: Likewise.
18676
18677 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18678
18679         * malloc/hooks.c (memalign_check): Add alignment rounding.
18680         * malloc/malloc.c (_mid_memalign): New function.
18681         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18682         Implement by calling _mid_memalign.
18683         * manual/probes.texi (Memory Allocation Probes): Remove
18684         memory_valloc_retry and memory_pvalloc_retry.
18685
18686 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18687
18688         * locale/programs/locarchive.c (open_archive): Add const
18689         qualifier to ARCHIVEFNAME and copy default fname to
18690         DEFAULT_FNAME.
18691
18692         [BZ #15601]
18693         * libio/tst-widetext.input: Rename Oriya to Odia.
18694         * locale/iso-639.def: Likewise.
18695
18696         * manual/probes.texi (Mathematical Function Probes): Add
18697         documentation for sin, cos, asin and acos probes.
18698         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18699         (__sin32): Add slowasin probe.
18700         (__cos32): Add slowacos probe.
18701         (__mpsin): Add slowsin probe.
18702         (__mpcos): Add slowcos probe.
18703
18704 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18705
18706         [BZ #15483]
18707         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18708         thread-local __sim_exceptions_thread and global
18709         __sim_exceptions_global.
18710         (__sim_disabled_exceptions): Change to thread-local
18711         __sim_disabled_exceptions_thread and global
18712         __sim_disabled_exceptions_global.
18713         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18714         and global __sim_round_mode_global.
18715         (__simulate_exceptions): Use thread-local floating-point state and
18716         set global state from it as needed.
18717         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18718         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18719         __sim_round_mode_thread.
18720         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18721         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18722         and global __sim_exceptions_global.
18723         (__sim_disabled_exceptions): Change to thread-local
18724         __sim_disabled_exceptions_thread and global
18725         __sim_disabled_exceptions_global.
18726         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18727         and global __sim_round_mode_global.
18728         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18729         (SIM_SET_GLOBAL): Likewise.
18730         * sysdeps/powerpc/soft-fp/sfp-machine.h
18731         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18732         __sim_round_mode_thread.
18733         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18734         __sim_disabled_exceptions_thread.
18735         (__sim_exceptions): Change to __sim_exceptions_thread.
18736         (__sim_disabled_exceptions): Change to
18737         __sim_disabled_exceptions_thread.
18738         (__sim_round_mode): Change to __sim_round_mode_thread.
18739         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18740         thread-local floating-point state and set global state from it as
18741         needed.
18742         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18743         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18744         (__sim_disabled_exceptions): Remove extern declaration.
18745         (feenableexcept): Use thread-local floating-point state and set
18746         global state from it as needed.
18747         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18748         extern declaration.
18749         (__sim_disabled_exceptions): Likewise.
18750         (__sim_round_mode): Likewise.
18751         (__fegetenv): Use thread-local floating-point state.
18752         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18753         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18754         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18755         floating-point state and set global state from it as needed.
18756         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18757         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18758         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18759         Likewise.
18760         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18761         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18762         Likewise.
18763         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18764         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18765         Use __sim_round_mode_thread.
18766         * math/test-fenv-tls.c: New file.
18767         * math/Makefile (tests): Add test-fenv-tls.
18768         ($(objpfx)test-fenv-tls): Depend on
18769         $(common-objpfx)nptl/libpthread.so.
18770
18771 2013-11-19  Andreas Schwab  <schwab@suse.de>
18772
18773         * locale/programs/locale.c (show_info): Decode wordarray elements.
18774         * locale/categories.def (LC_MONETARY): Add element for
18775         _NL_MONETARY_CRNCYSTR.
18776         * locale/C-monetary.c (conversion_rate): New variable.
18777         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18778         element.
18779
18780 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18781
18782         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18783         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18784
18785 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18786
18787         * elf/Makefile (tst-auxv): New test.
18788         * elf/tst-auxv.c: New
18789         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18790
18791 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18792
18793         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18794         (hidden_proto): Caller changed.
18795         (hidden_tls_proto): New macro.
18796         (libc_hidden_tls_proto): Likewise.
18797         (rtld_hidden_tls_proto): Likewise.
18798         (libm_hidden_tls_proto): Likewise.
18799         (libresolv_hidden_tls_proto): Likewise.
18800         (librt_hidden_tls_proto): Likewise.
18801         (libdl_hidden_tls_proto): Likewise.
18802         (libnss_files_hidden_tls_proto): Likewise.
18803         (libnsl_hidden_tls_proto): Likewise.
18804         (libnss_nisplus_hidden_tls_proto): Likewise.
18805         (libutil_hidden_tls_proto): Likewise.
18806
18807 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18808
18809         [BZ #10253]
18810         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18811         (decompose_rpath): Defer expansion to fillin_rpath.
18812         (_dl_init_paths): Pass linkmap to fillin_rpath.
18813
18814 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18815
18816         * benchtests/Makefile: Add strsep.
18817         * benchtests/bench-strsep.c: New file: strsep benchtest.
18818         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18819
18820 2013-11-18  Andreas Schwab  <schwab@suse.de>
18821
18822         * locale/programs/locale.c (show_info) [case byte]: Check for
18823         '\377' instead of '\177'.
18824         * locale/C-monetary.c (not_available): Always use "\377".
18825         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18826         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18827         detect unavailable sign_posn locale elements.
18828         * locale/localeconv.c (__localeconv): For grouping and
18829         mon_grouping handle "\177" and "\377" like no grouping.
18830         (INT_ELEM): New macro.  Use it to set all numeric members.
18831         * locale/programs/ld-monetary.c (monetary_read)
18832         <tok_mon_grouping>: Normalize single -1 to the empty string.
18833         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18834         Likewise.
18835
18836 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18837
18838         [BZ #16055]
18839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18840         when we match (nil).
18841         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18842
18843 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18844
18845         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18846         (NO_TEST_INLINE): Update value.
18847         (ERRNO_UNCHANGED): Likewise.
18848         (ERRNO_EDOM): Likewise.
18849         (ERRNO_ERANGE): Likewise.
18850         (IGNORE_RESULT): Likewise.
18851         (check_float_internal): Check signs of NaN results if
18852         TEST_NAN_SIGN used.
18853         (check_complex): Pass TEST_NAN_SIGN flag through to second
18854         check_float_internal call.
18855         (copysign_test_data): Add tests with quiet NaNs as second
18856         argument.  Use TEST_NAN_SIGN.
18857         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18858         TEST_NAN_SIGN.
18859         (signbit_test_data): Add tests of quiet NaN argument.
18860         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18861
18862         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18863         $ignore_result.
18864         (parse_args): Handle function results specified as IGNORE.
18865         * math/libm-test.inc (IGNORE_RESULT): New macro.
18866         (check_float_internal): Do not check numerical result if flag
18867         IGNORE_RESULT set.
18868         (check_complex): Pass through IGNORE_RESULT to second
18869         check_float_internal call.
18870         (check_int): Do not check numerical result if flag IGNORE_RESULT
18871         set.
18872         (check_long): Likewise.
18873         (check_bool): Likewise.
18874         (check_longlong): Likewise.
18875         (lrint_test_data): Add tests of infinite and NaN arguments.
18876         (lrint_tonearest_test_data): Likewise.
18877         (lrint_towardzero_test_data): Likewise.
18878         (lrint_downward_test_data): Likewise.
18879         (lrint_upward_test_data): Likewise.
18880         (llrint_test_data): Likewise.
18881         (llrint_tonearest_test_data): Likewise.
18882         (llrint_towardzero_test_data): Likewise.
18883         (llrint_downward_test_data): Likewise.
18884         (llrint_upward_test_data): Likewise.
18885         (lround_test_data): Likewise.
18886         (llround_test_data): Likewise.
18887
18888         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18889         (ERRNO_UNCHANGED): Update value.
18890         (ERRNO_EDOM): Likewise.
18891         (ERRNO_ERANGE): Likewise.
18892         (NO_TEST_INLINE_FLOAT): New macro.
18893         (NO_TEST_INLINE_DOUBLE): Likewise.
18894         (enable_test): New function.
18895         (RUN_TEST_f_f): Check enable_test before running test.
18896         (RUN_TEST_2_f): Likewise.
18897         (RUN_TEST_fff_f): Likewise.
18898         (RUN_TEST_c_f): Likewise.
18899         (RUN_TEST_f_f1): Likewise.
18900         (RUN_TEST_fF_f1): Likewise.
18901         (RUN_TEST_fI_f1): Likewise.
18902         (RUN_TEST_ffI_f1): Likewise.
18903         (RUN_TEST_c_c): Likewise.
18904         (RUN_TEST_cc_c): Likewise.
18905         (RUN_TEST_f_i): Likewise.
18906         (RUN_TEST_f_i_tg): Likewise.
18907         (RUN_TEST_ff_i_tg): Likewise.
18908         (RUN_TEST_f_b): Likewise.
18909         (RUN_TEST_f_b_tg): Likewise.
18910         (RUN_TEST_f_l): Likewise.
18911         (RUN_TEST_f_L): Likewise.
18912         (RUN_TEST_fFF_11): Likewise.
18913         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18914         conditionals.
18915         (cosh_test_data): Likewise.
18916         (exp_test_data): Likewise.
18917         (expm1_test_data): Likewise.
18918         (hypot_test_data): Likewise.
18919         (pow_test_data): Likewise.
18920         (sinh_test_data): Likewise.
18921         (tanh_test_data): Likewise.
18922         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18923         flags argument.
18924
18925         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18926         tests with quiet NaN input and output.
18927         (acosh_test_data): Likewise.
18928         (asin_test_data): Likewise.
18929         (asinh_test_data): Likewise.
18930         (atan_test_data): Likewise.
18931         (atanh_test_data): Likewise.
18932         (atan2_test_data): Likewise.
18933         (cbrt_test_data): Likewise.
18934         (cos_test_data): Likewise.
18935         (cosh_test_data): Likewise.
18936         (erf_test_data): Likewise.
18937         (erfc_test_data): Likewise.
18938         (exp_test_data): Likewise.
18939         (exp10_test_data): Likewise.
18940         (exp2_test_data): Likewise.
18941         (expm1_test_data): Likewise.
18942         (hypot_test_data): Likewise.
18943         (j0_test_data): Likewise.
18944         (j1_test_data): Likewise.
18945         (jn_test_data): Likewise.
18946         (lgamma_test_data): Likewise.
18947         (log_test_data): Likewise.
18948         (log10_test_data): Likewise.
18949         (log1p_test_data): Likewise.
18950         (log2_test_data): Likewise.
18951         (pow_test_data): Likewise.
18952         (scalb_test_data): Likewise.
18953         (sin_test_data): Likewise.
18954         (sincos_test_data): Likewise.
18955         (sinh_test_data): Likewise.
18956         (tan_test_data): Likewise.
18957         (tanh_test_data): Likewise.
18958         (tgamma_test_data): Likewise.
18959         (y0_test_data): Likewise.
18960         (y1_test_data): Likewise.
18961         (yn_test_data): Likewise.
18962
18963         [BZ #16167]
18964         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18965         argument being NaN and avoid computations with second argument in
18966         that case.
18967         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18968         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18969         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18970
18971 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18972
18973         * locale/iso-639.def: Add Chitwani Tharu (the).
18974
18975 2013-11-14  Andreas Schwab  <schwab@suse.de>
18976
18977         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18978         word instead of empty string.
18979
18980 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18981
18982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18983         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18985         (__fe_nomask_env): Likewise.
18986
18987 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18988
18989         * benchtests/bench-timing.h: Include time.h.
18990
18991 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18992
18993         [BZ #15997]
18994         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18995         to 3.4.0 for x32.
18996         * sysdeps/unix/sysv/linux/configure: Regenerated.
18997
18998 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18999
19000         [BZ #16151]
19001         * stdlib/strtod_l.c (round_and_return): Do not consider
19002         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19003         exponent one less than half the least subnormal exponent.
19004         * stdlib/test-strtod-round-data: Add more tests.
19005         * stdlib/tst-strtod-round.c (tests): Regenerated.
19006
19007 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19008
19009         [BZ #14143]
19010         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19011         (__fe_mask_env): Likewise.
19012         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19013         libm_hidden_proto and add function prototype.
19014         (__fe_mask_env): Add function prototype.
19015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19016         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19018         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19020         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19021
19022 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19023
19024         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19025         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19026
19027 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19028
19029         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19030         of htab_find_slot().
19031
19032 2013-11-11  David S. Miller  <davem@davemloft.net>
19033
19034         [BZ #16150]
19035         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19036         symbol in the non-vis3 case in static builds.
19037         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19038         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19039         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19040         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19041
19042 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19043
19044         [BZ #387]
19045         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19046         it is empty.
19047
19048 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19049
19050         * benchtests/Makefile: Add bench-strtod.
19051         * benchtests/bench-strtod.c: New file: strtod benchtest
19052
19053 2013-11-11  Andreas Schwab  <schwab@suse.de>
19054
19055         [BZ #16153]
19056         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19057         terminating NUL in key length.
19058
19059 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19060
19061         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19062         Add artificial ODP entry for vDSO symbol for PPC64.
19063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19064         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19065
19066 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19067
19068         [BZ #15374]
19069         * nss/getent.c (services_keys): Recognize services starting with digit.
19070
19071 2013-11-06  David S. Miller  <davem@davemloft.net>
19072
19073         [BZ #15985]
19074         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19075         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19076
19077 2013-11-06  Will Newton  <will.newton@linaro.org>
19078
19079         * manual/memory.texi (Malloc Examples): Remove register
19080         keyword from examples.
19081
19082 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19083
19084         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19085
19086 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19087
19088         [BZ #6981]
19089         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19090         depending on [__GCC_IEC_559 > 0].
19091         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19092         depending on [__GCC_IEC_559_COMPLEX > 0].
19093
19094 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19095
19096         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19097         to iso-639.def.
19098
19099 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19100
19101         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19102
19103 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19104
19105         [BZ #16112]
19106         * malloc/malloc (malloc_info): Do not handle first bin as
19107         special case.
19108
19109 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19110
19111         * locale/iso-639.def: Add Central Nahuatl (nhn).
19112
19113 2013-11-01  Bruno Haible  <bruno@clisp.org>
19114
19115         [BZ #7003]
19116         * manual/math.texi (BSD Random): Specify range upper bound as
19117         in POSIX.
19118
19119 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19120
19121         * locale/iso-639.def: Add Meadow Mari (mhr).
19122
19123 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19124
19125         [BZ #14752], [BZ #15763]
19126         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19127         Validate name.
19128         * rt/tst_shm.c: Add test for escaping directory.
19129
19130 2013-10-31  Andreas Schwab  <schwab@suse.de>
19131
19132         [BZ #15917]
19133         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19134         followed by 'x' as part of digit sequence.
19135         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19136
19137 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19138
19139         [BZ #16037]
19140         * configure.ac: allow GNU Make 4.0 and greater.
19141         * configure: Regenerated.
19142
19143 2013-10-30  Will Newton  <will.newton@linaro.org>
19144
19145         [BZ #16038]
19146         * malloc/hooks.c (memalign_check): Limit alignment to the
19147         maximum representable power of two.
19148         * malloc/malloc.c (__libc_memalign): Likewise.
19149         * malloc/tst-memalign.c (do_test): Add test for very
19150         large alignment values.
19151         * malloc/tst-posix_memalign.c (do_test): Likewise.
19152
19153 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19154
19155         [BZ #11087]
19156         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19157         (munmap_chunk): Likewise.
19158         (mremap_chunk): Likewise.
19159
19160 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19161
19162         [BZ #15799]
19163         * stdlib/div.c (div): Remove obsolete code.
19164         * stdlib/ldiv.c (ldiv): Likewise.
19165         * stdlib/lldiv.c (lldiv): Likewise.
19166
19167 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19168
19169         [BZ #16071]
19170         * nss/nss_files/files-XXX.c (get_contents_ret): New
19171         enumerator.
19172         (get_contents): New function.
19173         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19174
19175 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19176
19177         * configure.in: Moved to ...
19178         * configure.ac: ... here. Change reference to configure.in
19179         to configure.ac.
19180         * sysdeps/arm/preconfigure.ac: ... here.
19181         configure.in to configure.ac.
19182         * sysdeps/gnu/configure.in: Moved to ...
19183         * sysdeps/gnu/configure.ac: ... here.
19184         * sysdeps/i386/configure.in: Moved to ...
19185         * sysdeps/i386/configure.ac: ... here.
19186         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19187         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19188         * sysdeps/mach/configure.in: Moved to ...
19189         * sysdeps/mach/configure.ac: ... here.
19190         * sysdeps/mach/hurd/configure.in: Moved to ...
19191         * sysdeps/mach/hurd/configure.ac: ... here.
19192         * sysdeps/powerpc/configure.in: Moved to ...
19193         * sysdeps/powerpc/configure.ac: ... here.
19194         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19195         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19196         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19197         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19198         * sysdeps/s390/s390-32/configure.in: Moved to ...
19199         * sysdeps/s390/s390-32/configure.ac: ... here.
19200         * sysdeps/s390/s390-64/configure.in: Moved to ...
19201         * sysdeps/s390/s390-64/configure.ac: ... here.
19202         * sysdeps/sh/configure.in: Moved to ...
19203         * sysdeps/sh/configure.ac: ... here.
19204         * sysdeps/sparc/configure.in: Moved to ...
19205         * sysdeps/sparc/configure.ac: ... here.
19206         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19207         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19208         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19209         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19210         * sysdeps/x86_64/configure.in: Moved to ...
19211         * sysdeps/x86_64/configure.ac: ... here.
19212         * sysdeps/x86_64/preconfigure.in: Moved to ...
19213         * sysdeps/x86_64/preconfigure.ac: ... here.
19214         * aclocal.m4: Change reference to configure.in to configure.ac.
19215         * config.h.in: Likewise.
19216         * manual/install.texi: Likewise.
19217         * manual/maint.texi: Likewise.
19218         * Makefile: Likewise.
19219         * malloc/Makefile: Likewise.
19220         * nscd/Makefile: Likewise.
19221         * Makeconfig: Change reference to configure.in and
19222         preconfigure.in to configure.ac and preconfigure.ac
19223         respectively.
19224         * INSTALL: Regenerated.
19225         * configure: Likewise.
19226         * sysdeps/gnu/configure: Likewise.
19227         * sysdeps/i386/configure: Likewise.
19228         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19229         * sysdeps/mach/configure: Likewise.
19230         * sysdeps/mach/hurd/configure: Likewise.
19231         * sysdeps/powerpc/configure: Likewise.
19232         * sysdeps/powerpc/powerpc32/configure: Likewise.
19233         * sysdeps/powerpc/powerpc64/configure: Likewise.
19234         * sysdeps/s390/s390-32/configure: Likewise.
19235         * sysdeps/s390/s390-64/configure: Likewise.
19236         * sysdeps/sh/configure: Likewise.
19237         * sysdeps/sparc/configure: Likewise.
19238         * sysdeps/unix/sysv/linux/configure: Likewise.
19239         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19240         * sysdeps/x86_64/configure: Likewise.
19241         * sysdeps/x86_64/preconfigure: Likewise.
19242
19243 2013-10-29  Andreas Schwab  <schwab@suse.de>
19244
19245         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19246
19247 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19248
19249         * benchtests/pow-inputs: Add new inputs.
19250
19251         * benchtests/exp-inputs: Add new inputs.
19252
19253         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19254         conditional check for return value.
19255         (__cos32): Likewise.
19256
19257 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19258
19259         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19260         to provide a boost for large inputs with word alignment.
19261         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19262         implementation based on optimized PPC64 strcpy.
19263         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19264         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19265         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19266         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19267
19268 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19269
19270         [BZ #2801]
19271         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19272
19273 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19274
19275         [BZ #14876]
19276         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19277         * time/tst-strptime.c (day_tests): Add testcase.
19278
19279 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19280
19281         [BZ #14029]
19282         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19283
19284 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19285
19286         [BZ #16074]
19287         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19288         MAP_FAILED on error.
19289
19290 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19291
19292         [BZ #16072]
19293         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19294         heap for large requests.
19295
19296 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19297
19298         [BZ #9954]
19299         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19300         result if the result has no associated interface.
19301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19302         interface for all 127.X.Y.Z addresses.
19303
19304 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19305
19306         * locale/iso-639.def: Add Ligurian (lij)
19307
19308 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19309
19310         [BZ #15825]
19311         * sunrpc/rpc_main.c: Document rpcgen -5.
19312
19313 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19314
19315         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19316
19317 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19318
19319         [BZ #10278]
19320         * posix/glob.c: Match only directories when trailing slash is present.
19321         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19322         (main): Add testcase.
19323
19324 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19325
19326         [BZ #15670]
19327         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19328
19329 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19330
19331         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19332         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19333         AUTH_DES and cindex for FIPS 140-2.
19334         (DES Encryption): Add cindex FIPS 46-3.
19335
19336         * locale/locarchive.h (struct locarhandle): Add fname.
19337         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19338         if an optional argument was specified to --list-archive,
19339         otherwise NULL.
19340         * locale/programs/locarchive.c (show_archive_content): Take new
19341         argument fname and pass it via ah.fname to open_archive.
19342         * locale/programs/localedef.h: Update decl.
19343         (open_archive): If AH->fname is non-null, open that file
19344         rather than the default file name, and don't ignore ENOENT.
19345         (create_archive): Set AH.fname to NULL.
19346         (delete_locales_from_archive): Likewise.
19347         (add_locales_to_archive): Likewise.
19348         * locale/programs/locfile.c (write_all_categories): Likewise.
19349
19350 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19351             Aldy Hernandez  <aldyh@redhat.com>
19352
19353         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19354         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19355         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19356         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19357         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19358         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19359         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19361         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19362         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19363         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19364         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19365         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19366         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19368         Likewise.
19369         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19370         Likewise.
19371         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19372         Likewise.
19373         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19374         Likewise.
19375         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19376         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19377         Likewise.
19378         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19379         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19380         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19381         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19382         Likewise.
19383         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19384         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19385         * sysdeps/powerpc/preconfigure: Likewise.
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19387         Likewise.
19388         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19389         Replace contents of file by #include of <fenv_libc.h>.
19390         * sysdeps/powerpc/soft-fp/sfp-machine.h
19391         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19392         and <sys/prctl.h>.
19393         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19400         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19401         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19402         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19406         Allow copysignl PLT reference to be missing.
19407
19408 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19409             Joseph Myers  <joseph@codesourcery.com
19410
19411         [BZ #15948]
19412         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19413         single character.
19414         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19415
19416 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19417
19418         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19419         * elf/tst-tls1.c: Likewise.
19420         * elf/tst-tls10.h: Likewise.
19421         * elf/tst-tls14.c: Likewise.
19422         * elf/tst-tls2.c: Likewise.
19423         * elf/tst-tls3.c: Likewise.
19424         * elf/tst-tls4.c: Likewise.
19425         * elf/tst-tls5.c: Likewise.
19426         * elf/tst-tls6.c: Likewise.
19427         * elf/tst-tls7.c: Likewise.
19428         * elf/tst-tls8.c: Likewise.
19429         * elf/tst-tls9.c: Likewise.
19430         * elf/tst-tlsmod1.c: Likewise.
19431         * elf/tst-tlsmod13.c: Likewise.
19432         * elf/tst-tlsmod13a.c: Likewise.
19433         * elf/tst-tlsmod14a.c: Likewise.
19434         * elf/tst-tlsmod16a.c: Likewise.
19435         * elf/tst-tlsmod16b.c: Likewise.
19436         * elf/tst-tlsmod2.c: Likewise.
19437         * elf/tst-tlsmod3.c: Likewise.
19438         * elf/tst-tlsmod4.c: Likewise.
19439         * elf/tst-tlsmod5.c: Likewise.
19440         * elf/tst-tlsmod6.c: Likewise.
19441
19442 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19443
19444         [BZ #12486]
19445         * malloc/malloc.c: remove checks for statistics.
19446
19447 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19448
19449         [BZ #15277]
19450         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19451         * inet/tst-network.c: Add testcase.
19452
19453 2013-10-17  Andreas Schwab  <schwab@suse.de>
19454
19455         [BZ #15218]
19456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19457         to determine canonical name.
19458
19459 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19460
19461         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19462         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19464         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19469         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19470         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19471         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19472         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19476         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19478         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19484         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19485         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19486         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19487         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19488         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19489         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19490         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19493         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19494         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19495         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19496         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19497         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19498         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19499         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19501         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19504         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19505         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19506         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19507         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19508         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19509         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19510         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19511         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19512         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19513         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19515         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19516         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19518         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19519
19520 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19521
19522         [BZ #16041]
19523         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19524         make result into a quiet NaN.
19525
19526 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19527
19528         * soft-fp/adddf3.c: Fix horizontal whitespace.
19529         * soft-fp/addsf3.c: Likewise.
19530         * soft-fp/addtf3.c: Likewise.
19531         * soft-fp/divdf3.c: Likewise.
19532         * soft-fp/divsf3.c: Likewise.
19533         * soft-fp/divtf3.c: Likewise.
19534         * soft-fp/double.h: Likewise.
19535         * soft-fp/eqdf2.c: Likewise.
19536         * soft-fp/eqsf2.c: Likewise.
19537         * soft-fp/eqtf2.c: Likewise.
19538         * soft-fp/extenddftf2.c: Likewise.
19539         * soft-fp/extended.h: Likewise.
19540         * soft-fp/extendsfdf2.c: Likewise.
19541         * soft-fp/extendsftf2.c: Likewise.
19542         * soft-fp/extendxftf2.c: Likewise.
19543         * soft-fp/fixdfdi.c: Likewise.
19544         * soft-fp/fixdfsi.c: Likewise.
19545         * soft-fp/fixdfti.c: Likewise.
19546         * soft-fp/fixsfdi.c: Likewise.
19547         * soft-fp/fixsfsi.c: Likewise.
19548         * soft-fp/fixsfti.c: Likewise.
19549         * soft-fp/fixtfdi.c: Likewise.
19550         * soft-fp/fixtfsi.c: Likewise.
19551         * soft-fp/fixtfti.c: Likewise.
19552         * soft-fp/fixunsdfdi.c: Likewise.
19553         * soft-fp/fixunsdfsi.c: Likewise.
19554         * soft-fp/fixunsdfti.c: Likewise.
19555         * soft-fp/fixunssfdi.c: Likewise.
19556         * soft-fp/fixunssfsi.c: Likewise.
19557         * soft-fp/fixunssfti.c: Likewise.
19558         * soft-fp/fixunstfdi.c: Likewise.
19559         * soft-fp/fixunstfsi.c: Likewise.
19560         * soft-fp/fixunstfti.c: Likewise.
19561         * soft-fp/floatdidf.c: Likewise.
19562         * soft-fp/floatdisf.c: Likewise.
19563         * soft-fp/floatditf.c: Likewise.
19564         * soft-fp/floatsidf.c: Likewise.
19565         * soft-fp/floatsisf.c: Likewise.
19566         * soft-fp/floatsitf.c: Likewise.
19567         * soft-fp/floattidf.c: Likewise.
19568         * soft-fp/floattisf.c: Likewise.
19569         * soft-fp/floattitf.c: Likewise.
19570         * soft-fp/floatundidf.c: Likewise.
19571         * soft-fp/floatundisf.c: Likewise.
19572         * soft-fp/floatunditf.c: Likewise.
19573         * soft-fp/floatunsidf.c: Likewise.
19574         * soft-fp/floatunsisf.c: Likewise.
19575         * soft-fp/floatunsitf.c: Likewise.
19576         * soft-fp/floatuntidf.c: Likewise.
19577         * soft-fp/floatuntisf.c: Likewise.
19578         * soft-fp/floatuntitf.c: Likewise.
19579         * soft-fp/fmadf4.c: Likewise.
19580         * soft-fp/fmasf4.c: Likewise.
19581         * soft-fp/fmatf4.c: Likewise.
19582         * soft-fp/gedf2.c: Likewise.
19583         * soft-fp/gesf2.c: Likewise.
19584         * soft-fp/getf2.c: Likewise.
19585         * soft-fp/ledf2.c: Likewise.
19586         * soft-fp/lesf2.c: Likewise.
19587         * soft-fp/letf2.c: Likewise.
19588         * soft-fp/muldf3.c: Likewise.
19589         * soft-fp/mulsf3.c: Likewise.
19590         * soft-fp/multf3.c: Likewise.
19591         * soft-fp/negdf2.c: Likewise.
19592         * soft-fp/negsf2.c: Likewise.
19593         * soft-fp/negtf2.c: Likewise.
19594         * soft-fp/op-1.h: Likewise.
19595         * soft-fp/op-2.h: Likewise.
19596         * soft-fp/op-4.h: Likewise.
19597         * soft-fp/op-8.h: Likewise.
19598         * soft-fp/op-common.h: Likewise.
19599         * soft-fp/quad.h: Likewise.
19600         * soft-fp/single.h: Likewise.
19601         * soft-fp/soft-fp.h: Likewise.
19602         * soft-fp/sqrtdf2.c: Likewise.
19603         * soft-fp/sqrtsf2.c: Likewise.
19604         * soft-fp/sqrttf2.c: Likewise.
19605         * soft-fp/subdf3.c: Likewise.
19606         * soft-fp/subsf3.c: Likewise.
19607         * soft-fp/subtf3.c: Likewise.
19608         * soft-fp/truncdfsf2.c: Likewise.
19609         * soft-fp/trunctfdf2.c: Likewise.
19610         * soft-fp/trunctfsf2.c: Likewise.
19611         * soft-fp/trunctfxf2.c: Likewise.
19612         * soft-fp/unorddf2.c: Likewise.
19613         * soft-fp/unordsf2.c: Likewise.
19614         * soft-fp/unordtf2.c: Likewise.
19615
19616 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19617
19618         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19619         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19620
19621 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19622
19623         * elf/dl-libc.c: Clear initfini list after freeing.
19624
19625 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19626
19627         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19628         * soft-fp/addsf3.c: Likewise.
19629         * soft-fp/addtf3.c: Likewise.
19630         * soft-fp/divdf3.c: Likewise.
19631         * soft-fp/divsf3.c: Likewise.
19632         * soft-fp/divtf3.c: Likewise.
19633         * soft-fp/double.h: Likewise.
19634         * soft-fp/eqdf2.c: Likewise.
19635         * soft-fp/eqsf2.c: Likewise.
19636         * soft-fp/eqtf2.c: Likewise.
19637         * soft-fp/extenddftf2.c: Likewise.
19638         * soft-fp/extended.h: Likewise.
19639         * soft-fp/extendsfdf2.c: Likewise.
19640         * soft-fp/extendsftf2.c: Likewise.
19641         * soft-fp/extendxftf2.c: Likewise.
19642         * soft-fp/fixdfdi.c: Likewise.
19643         * soft-fp/fixdfsi.c: Likewise.
19644         * soft-fp/fixdfti.c: Likewise.
19645         * soft-fp/fixsfdi.c: Likewise.
19646         * soft-fp/fixsfsi.c: Likewise.
19647         * soft-fp/fixsfti.c: Likewise.
19648         * soft-fp/fixtfdi.c: Likewise.
19649         * soft-fp/fixtfsi.c: Likewise.
19650         * soft-fp/fixtfti.c: Likewise.
19651         * soft-fp/fixunsdfdi.c: Likewise.
19652         * soft-fp/fixunsdfsi.c: Likewise.
19653         * soft-fp/fixunsdfti.c: Likewise.
19654         * soft-fp/fixunssfdi.c: Likewise.
19655         * soft-fp/fixunssfsi.c: Likewise.
19656         * soft-fp/fixunssfti.c: Likewise.
19657         * soft-fp/fixunstfdi.c: Likewise.
19658         * soft-fp/fixunstfsi.c: Likewise.
19659         * soft-fp/fixunstfti.c: Likewise.
19660         * soft-fp/floatdidf.c: Likewise.
19661         * soft-fp/floatdisf.c: Likewise.
19662         * soft-fp/floatditf.c: Likewise.
19663         * soft-fp/floatsidf.c: Likewise.
19664         * soft-fp/floatsisf.c: Likewise.
19665         * soft-fp/floatsitf.c: Likewise.
19666         * soft-fp/floattidf.c: Likewise.
19667         * soft-fp/floattisf.c: Likewise.
19668         * soft-fp/floattitf.c: Likewise.
19669         * soft-fp/floatundidf.c: Likewise.
19670         * soft-fp/floatundisf.c: Likewise.
19671         * soft-fp/floatunsidf.c: Likewise.
19672         * soft-fp/floatunsisf.c: Likewise.
19673         * soft-fp/floatuntidf.c: Likewise.
19674         * soft-fp/floatuntisf.c: Likewise.
19675         * soft-fp/floatuntitf.c: Likewise.
19676         * soft-fp/fmadf4.c: Likewise.
19677         * soft-fp/fmasf4.c: Likewise.
19678         * soft-fp/fmatf4.c: Likewise.
19679         * soft-fp/gedf2.c: Likewise.
19680         * soft-fp/gesf2.c: Likewise.
19681         * soft-fp/getf2.c: Likewise.
19682         * soft-fp/ledf2.c: Likewise.
19683         * soft-fp/lesf2.c: Likewise.
19684         * soft-fp/letf2.c: Likewise.
19685         * soft-fp/muldf3.c: Likewise.
19686         * soft-fp/mulsf3.c: Likewise.
19687         * soft-fp/multf3.c: Likewise.
19688         * soft-fp/negdf2.c: Likewise.
19689         * soft-fp/negsf2.c: Likewise.
19690         * soft-fp/negtf2.c: Likewise.
19691         * soft-fp/op-1.h: Likewise.
19692         * soft-fp/op-2.h: Likewise.
19693         * soft-fp/op-4.h: Likewise.
19694         * soft-fp/op-8.h: Likewise.
19695         * soft-fp/op-common.h: Likewise.
19696         * soft-fp/quad.h: Likewise.
19697         * soft-fp/single.h: Likewise.
19698         * soft-fp/soft-fp.h: Likewise.
19699         * soft-fp/sqrtdf2.c: Likewise.
19700         * soft-fp/sqrtsf2.c: Likewise.
19701         * soft-fp/sqrttf2.c: Likewise.
19702         * soft-fp/subdf3.c: Likewise.
19703         * soft-fp/subsf3.c: Likewise.
19704         * soft-fp/subtf3.c: Likewise.
19705         * soft-fp/truncdfsf2.c: Likewise.
19706         * soft-fp/trunctfdf2.c: Likewise.
19707         * soft-fp/trunctfsf2.c: Likewise.
19708         * soft-fp/trunctfxf2.c: Likewise.
19709         * soft-fp/unorddf2.c: Likewise.
19710         * soft-fp/unordsf2.c: Likewise.
19711         * soft-fp/unordtf2.c: Likewise.
19712
19713 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19714
19715         [BZ #15672]
19716         * misc/error.c (error_tail): Fix possible buffer overflow.
19717
19718 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19719
19720         [BZ #13028]
19721         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19722         address.
19723
19724 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19725
19726         [BZ #832]
19727         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19728         testing pipefail option.
19729
19730 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19731
19732         * soft-fp/double.h: Indent preprocessor directives inside #if.
19733         * soft-fp/extended.h: Likewise.
19734         * soft-fp/op-2.h: Likewise.
19735         * soft-fp/op-4.h: Likewise.
19736         * soft-fp/op-common.h: Likewise.
19737         * soft-fp/quad.h: Likewise.
19738         * soft-fp/single.h: Likewise.
19739         * soft-fp/soft-fp.h: Likewise.
19740
19741 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19742
19743         * iconv/iconv_prog.c: Fix typos.
19744         * stdio-common/psiginfo-data.h: Likewise.
19745
19746 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19747
19748         [BZ #15764]
19749         * locale/setlocale.c: Fix typo.
19750
19751 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19752
19753         [BZ #16036]
19754         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19755         signaling NaN arguments.
19756         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19757         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19758
19759         [BZ #14910]
19760         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19761         unordered operands.
19762         * soft-fp/gesf2.c (__gesf2): Likewise.
19763         * soft-fp/getf2.c (__getf2): Likewise.
19764         * soft-fp/ledf2.c (__ledf2): Likewise.
19765         * soft-fp/lesf2.c (__lesf2): Likewise.
19766         * soft-fp/letf2.c (__letf2): Likewise.
19767
19768         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19769         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19770         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19771         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19772         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19773         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19774         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19775         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19776         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19777         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19778         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19779         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19780         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19781         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19782         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19783         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19784         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19785         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19786         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19787         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19788         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19789         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19790         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19791         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19792         * soft-fp/floattidf.c (__floattidf): Likewise.
19793         * soft-fp/floattisf.c (__floattisf): Likewise.
19794         * soft-fp/floattitf.c (__floattitf): Likewise.
19795         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19796         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19797         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19798         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19799         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19800         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19801         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19802         * soft-fp/gesf2.c (__gesf2): Likewise.
19803         * soft-fp/getf2.c (__getf2): Likewise.
19804         * soft-fp/ledf2.c (__ledf2): Likewise.
19805         * soft-fp/lesf2.c (__lesf2): Likewise.
19806         * soft-fp/letf2.c (__letf2): Likewise.
19807
19808         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19809         Undefine and redefine.
19810         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19811         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19812         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19813         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19814         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19815         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19816         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19817         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19818         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19819         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19820         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19821         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19822         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19823         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19824         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19825
19826         [BZ #16032]
19827         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19828         without decrementing exponent if mantissa >= that for the
19829         denominator, not >.
19830         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19831         denominator, not >.  Decrement exponent in < case instead of
19832         incrementing in >= case.
19833         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19834         without decrementing exponent if mantissa >= that for the
19835         denominator, not >.
19836
19837         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19838         computing saturated result for unsigned overflow.
19839
19840 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19841             Jeff Law  <law@redhat.com>
19842
19843         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19844         (atan2Mp): Add systemtap probe marker.
19845         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19846         (__ieee754_log): Add systemtap probe marker.
19847         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19848         (atanMp): Add systemtap probe marker.
19849         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19850         (tanMp): Add systemtap probe marker.
19851         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19852         (__slowexp): Add systemtap probe marker.
19853         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19854         (__slowpow): Add systemtap probe marker.
19855         * manual/probes.texi: Document probes.
19856
19857 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19858
19859         [BZ #15362]
19860         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19861         written.
19862         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19863         written.
19864         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19865         written to buffer but not flushed.
19866         * libio/iofwrite_u.c:  Likewise.
19867         * libio/iopadn.c:  Return bytes returned even if EOF was
19868         encountered.
19869         * libio/iowpadn.c:  Likewise.
19870         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19871         if _IO_padn does not write the whole buffer.
19872         [!COMPILE_WPRINTF] (PAD): Likewise.
19873
19874 2013-10-10  David S. Miller  <davem@davemloft.net>
19875
19876         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19877         directory block.
19878
19879 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19880
19881         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19882         instead of FSF address.
19883         * soft-fp/fixdfti.c: Likewise.
19884         * soft-fp/fixsfti.c: Likewise.
19885         * soft-fp/fixtfti.c: Likewise.
19886         * soft-fp/fixunsdfti.c: Likewise.
19887         * soft-fp/fixunssfti.c: Likewise.
19888         * soft-fp/fixunstfti.c: Likewise.
19889         * soft-fp/floattidf.c: Likewise.
19890         * soft-fp/floattisf.c: Likewise.
19891         * soft-fp/floattitf.c: Likewise.
19892         * soft-fp/floatuntidf.c: Likewise.
19893         * soft-fp/floatuntisf.c: Likewise.
19894         * soft-fp/floatuntitf.c: Likewise.
19895         * soft-fp/trunctfxf2.c: Likewise.
19896
19897         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19898         * soft-fp/fixdfti.c: Likewise.
19899         * soft-fp/fixsfti.c: Likewise.
19900         * soft-fp/fixtfti.c: Likewise.
19901         * soft-fp/fixunsdfti.c: Likewise.
19902         * soft-fp/fixunssfti.c: Likewise.
19903         * soft-fp/fixunstfti.c: Likewise.
19904         * soft-fp/floattidf.c: Likewise.
19905         * soft-fp/floattisf.c: Likewise.
19906         * soft-fp/floattitf.c: Likewise.
19907         * soft-fp/floatuntidf.c: Likewise.
19908         * soft-fp/floatuntisf.c: Likewise.
19909         * soft-fp/floatuntitf.c: Likewise.
19910         * soft-fp/trunctfxf2.c: Likewise.
19911
19912 2013-10-10  David S. Miller  <davem@davemloft.net>
19913
19914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19915
19916 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19917
19918         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19919         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19920         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19921         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19922         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19923         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19924         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19925
19926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19927         for NaNs before doing comparisons on argument.
19928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19929         Likewise.
19930
19931 2013-10-10  Will Newton  <will.newton@linaro.org>
19932
19933         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19934         passed to _int_memalign does not overflow.
19935
19936 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19937
19938         * scripts/bench.pl: Add include-sources directive.
19939         * benchtests/README: Update documentation.
19940
19941 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19942
19943         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19944         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19945         instead of FP_INIT_ROUNDMODE.
19946         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19947         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19948
19949         [BZ #16034]
19950         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19951         copy class of input value.
19952         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19953         not handle exceptions.
19954         * soft-fp/negsf2.c (__negsf2): Likewise.
19955         * soft-fp/negtf2.c (__negtf2): Likewise.
19956         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19957
19958 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19959
19960         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19961         semicolon.  From Linux kernel.
19962
19963 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19964
19965         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19966
19967 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19968
19969         [BZ #156]
19970         * manual/socket.texi: Added statement about buffer
19971         for gethostbyname2_r.
19972
19973 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19974
19975         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19976         Use .p2align directive instead, throughout.
19977         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19978         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19979         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19980         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19982         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19983         * sysdeps/x86_64/strchr.S: Likewise.
19984         * sysdeps/x86_64/strrchr.S: Likewise.
19985
19986 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19987
19988         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19989
19990         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19991
19992         * sysdeps/generic/math_private.h (__mpsin1): Remove
19993         declaration.
19994         (__mpcos1): Likewise.
19995         (__mpsin): New argument __range_reduce.
19996         (__mpcos): Likewise.
19997         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19998         (slow): Use __mpsin and __mpcos.
19999         (slow1): Likewise.
20000         (slow2): Likewise.
20001         (sloww): Likewise.
20002         (sloww1): Likewise.
20003         (sloww2): Likewise.
20004         (bsloww): Likewise.
20005         (bsloww1): Likewise.
20006         (bsloww2): Likewise.
20007         (cslow2): Likewise.
20008         (csloww): Likewise.
20009         (csloww1): Likewise.
20010         (csloww2): Likewise.
20011         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20012         range_reduce.  Merge in __mpsin1.
20013         (__mpcos): Likewise.
20014         (__mpsin1): Remove.
20015         (__mpcos1): Likewise.
20016
20017 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20018
20019         * locale/loadlocale.c (_nl_intern_locale_data): Use
20020         LOCFILE_ALIGNED_P.
20021         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20022         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20023         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20024         obstack data is appropriately aligned.
20025         (obstack_int32_grow_fast): Likewise.
20026         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20027         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20028         (add_locale_uint32_array): Likewise.
20029
20030 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20031
20032         * benchtests/Makefile: Remove ARGLIST and RET variables.
20033         ($(objpfx)bench-%.c): Pass only function name to the script.
20034         * benchtests/README: Update documentation.
20035         * benchtests/acos-inputs: Add new directives.
20036         * benchtests/acosh-inputs: Likewise.
20037         * benchtests/asin-inputs: Likewise.
20038         * benchtests/asinh-inputs: Likewise.
20039         * benchtests/atan-inputs: Likewise.
20040         * benchtests/atanh-inputs: Likewise.
20041         * benchtests/cos-inputs: Likewise.
20042         * benchtests/cosh-inputs: Likewise.
20043         * benchtests/exp-inputs: Likewise.
20044         * benchtests/log-inputs: Likewise.
20045         * benchtests/pow-inputs: Likewise.
20046         * benchtests/rint-inputs: Likewise.
20047         * benchtests/sin-inputs: Likewise.
20048         * benchtests/sinh-inputs: Likewise.
20049         * benchtests/tan-inputs: Likewise.
20050         * benchtests/tanh-inputs: Likewise.
20051         * scripts/bench.pl: Add support for new directives.
20052
20053 2013-10-07  Alan Modra  <amodra@gmail.com>
20054
20055         * README: Fix careless merge.
20056
20057 2013-10-05  Alan Modra  <amodra@gmail.com>
20058
20059         * NEWS: Mention powerpc64le support and bugs fixed.
20060         * README: Both big-endian and little-endian powerpc64 supported.
20061
20062 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20063
20064         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20065         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20066         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20067         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20068
20069 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20070
20071         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20072         match prototype.
20073
20074 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20075
20076         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20077         Move -mhard-float appending from
20078         ports/sysdeps/powerpc/powerpc32/Makefile.
20079         [$(with-fp) = yes] (ASFLAGS): Likewise.
20080         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20081         * sysdeps/powerpc/nofpu: Move directory from
20082         ports/sysdeps/powerpc/nofpu.
20083         * sysdeps/powerpc/soft-fp: Move directory from
20084         ports/sysdeps/powerpc/soft-fp.
20085         * sysdeps/powerpc/powerpc32/405: Move directory from
20086         ports/sysdeps/powerpc/powerpc32/405.
20087         * sysdeps/powerpc/powerpc32/440: Move directory from
20088         ports/sysdeps/powerpc/powerpc32/440.
20089         * sysdeps/powerpc/powerpc32/464: Move directory from
20090         ports/sysdeps/powerpc/powerpc32/464.
20091         * sysdeps/powerpc/powerpc32/476: Move directory from
20092         ports/sysdeps/powerpc/powerpc32/476.
20093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20098         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20100         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20102         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20103         * README: Update for powerpc-*-linux-gnu software floating point
20104         support in libc.
20105
20106         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20107         case to powerpc/powerpc32*.
20108         * sysdeps/unix/sysv/linux/configure: Regenerated.
20109
20110         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20111         (_FPU_MASK_OM): Define as 0x04.
20112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20114         0x00c10080.
20115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20116         0x0000003c.
20117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20118
20119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20121         getcontext_e500.
20122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20123         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20124         setcontext_e500.
20125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20126         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20127         and setcontext_e500.
20128
20129 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20130
20131         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20132
20133 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20134
20135         * manual/threads.texi (Default Thread Attributes): Fix typo.
20136
20137 2013-10-04  Will Newton  <will.newton@linaro.org>
20138
20139         * malloc/Makefile: Add tst-memalign.
20140         * malloc/tst-memalign.c: New file.
20141
20142         * malloc/tst-posix_memalign.c: Add comments.
20143         (do_test): Add comments and call free on all potentially
20144         allocated pointers. Add space after cast.
20145
20146         * malloc/tst-pvalloc.c: Add comments.
20147         (do_test): Add comments and call free on all potentially
20148         allocated pointers. Remove duplicate check for NULL pointer.
20149         Add space after cast.
20150
20151         * malloc/tst-valloc.c: Add comments.
20152         (do_test): Add comments and call free on all potentially
20153         allocated pointers. Remove duplicate check for NULL pointer.
20154         Add space after cast.
20155
20156 2013-10-04  Alan Modra  <amodra@gmail.com>
20157
20158         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20159         Use stdint types in rather than __attribute__((mode())).
20160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20161
20162 2013-10-04  Alan Modra  <amodra@gmail.com>
20163
20164         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20165         Correct handling of unaligned relocs for little-endian.
20166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20167
20168 2013-10-04  Alan Modra  <amodra@gmail.com>
20169
20170         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20171         * configure: Regenerate.
20172         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20173         * shlib-versions: Likewise.
20174
20175 2013-10-04  Alan Modra  <amodra@gmail.com>
20176
20177         * string/tester.c (test_memrchr): Increment reported test cycle.
20178
20179 2013-10-04  Alan Modra  <amodra@gmail.com>
20180
20181         * string/test-memcpy.c (do_one_test): When reporting errors, print
20182         string address and don't overrun end of string.
20183
20184 2013-10-04  Alan Modra  <amodra@gmail.com>
20185
20186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20187         insrdi.  Make better use of reg selection to speed exit slightly.
20188         Schedule entry path a little better.  Remove useless "are we done"
20189         checks on entry to main loop.  Handle wrapping around zero address.
20190         Correct main loop count.  Handle single left-over word from main
20191         loop inline rather than by using loop_small.  Remove extra word
20192         case in loop_small caused by wrong loop count.  Add little-endian
20193         support.
20194         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20196         cache hint.
20197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20198         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20199         support.  Avoid rlwimi.
20200         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20201
20202 2013-10-04  Alan Modra  <amodra@gmail.com>
20203
20204         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20205         insrdi.  Formatting.
20206         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20207         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20208         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20209         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20210         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20211         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20212
20213 2013-10-04  Alan Modra  <amodra@gmail.com>
20214
20215         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20216         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20218         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20219         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20221         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20223         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20224         use of regs.  Use power7 mtocrf.  Tidy function tails.
20225
20226 2013-10-04  Alan Modra  <amodra@gmail.com>
20227
20228         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20229         Formatting.  Consistently use rXXX register defines or rN defines.
20230         Use early exit labels that avoid restoring unused non-volatile regs.
20231         Make cr field use more consistent with rWORDn compares.  Rename
20232         regs used as shift registers for unaligned loop, using rN defines
20233         for short lifetime/multiple use regs.
20234         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20235         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20236         addi 1,1,64 to pop stack frame.  Simplify return value code.
20237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20238
20239 2013-10-04  Alan Modra  <amodra@gmail.com>
20240
20241         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20242         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20243         rather than rlwimi.
20244         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20246         little-endian support.  Correct typos.
20247         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20248         rather than rlwimi.
20249         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20250         in loop and entry code to keep "and." results.
20251         (strchr): Add little-endian support.  Comment.  Move cntlzd
20252         earlier in tail.
20253         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20254
20255 2013-10-04  Alan Modra  <amodra@gmail.com>
20256
20257         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20258         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20259         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20260         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20261
20262 2013-10-04  Alan Modra  <amodra@gmail.com>
20263
20264         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20265         (rTMP): Define as r11.
20266         (strcmp): Add little-endian support.  Optimise tail.
20267         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20269         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20270         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20274
20275 2013-10-04  Alan Modra  <amodra@gmail.com>
20276
20277         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20278         little-endian support.  Remove unnecessary "are we done" tests.
20279         Handle "s" wrapping around zero and extremely large "size".
20280         Correct main loop count.  Handle single left-over word from main
20281         loop inline rather than by using small_loop.  Correct comments.
20282         Delete "zero" tail, use "end_max" instead.
20283         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20284
20285 2013-10-04  Alan Modra  <amodra@gmail.com>
20286
20287         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20288         support.  Don't branch over align.
20289         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20290         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20291         support.  Rearrange tmp reg use to suit.  Comment.
20292         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20293
20294 2013-10-04  Alan Modra  <amodra@gmail.com>
20295
20296         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20297
20298 2013-10-04  Alan Modra  <amodra@gmail.com>
20299
20300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20301         conditional form of branch and link when obtaining pc.
20302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20303
20304 2013-10-04  Alan Modra  <amodra@gmail.com>
20305
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20307         HIWORD/LOWORD.
20308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20310
20311 2013-10-04  Alan Modra  <amodra@gmail.com>
20312
20313         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20314         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20315         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20316         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20317         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20318         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20319         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20320         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20321         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20322         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20323
20324 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20325             Alistair Popple <alistair@ozlabs.au.ibm.com>
20326             Alan Modra <amodra@gmail.com>
20327
20328         [BZ #15723]
20329         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20330         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20331         _dl_hwcap access for little-endian.
20332         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20333         destroy vmx regs when saving unaligned.
20334         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20336         destroy vmx regs when saving unaligned.
20337
20338 2013-10-04  Alan Modra  <amodra@gmail.com>
20339
20340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20341         Don't use a union to pack hi/low value.
20342
20343 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20344
20345         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20346         for little-endian.
20347         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20349         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20350         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20351         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20352
20353 2013-10-04  Alan Modra  <amodra@gmail.com>
20354
20355         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20356         constants to usual value for .cst8 section, and remove redundant
20357         high address load.
20358         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20359         constant for 0x1p52.  Load little-endian words of double from
20360         correct stack offsets.
20361
20362 2013-10-04  Alan Modra  <amodra@gmail.com>
20363
20364         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20365         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20366         words of double from correct stack offsets.
20367         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20368         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20369         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20373         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20374         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20375         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20378         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20379         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20380         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20381         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20382         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20383         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20384
20385 2013-10-04  Alan Modra  <amodra@gmail.com>
20386
20387         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20388         64-bit int/double union.
20389         (_FPU_SETCW): Likewise.
20390         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20391         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20392
20393 2013-10-04  Alan Modra  <amodra@gmail.com>
20394
20395         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20396         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20397
20398 2013-10-04  Alan Modra  <amodra@gmail.com>
20399
20400         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20401         use vector int constants.
20402         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20403
20404 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20405
20406         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20407         array with long long.
20408         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20409         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20410         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20411         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20412         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20413         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20414         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20415         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20416         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20417         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20418         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20420         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20421
20422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20423
20424         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20425         (__signbit): Likewise.  Correct for little-endian.
20426         (__signbitl): Call __signbit.
20427         (lrint): Correct for little-endian.
20428         (lrintf): Call lrint.
20429
20430 2013-10-04  Alan Modra  <amodra@gmail.com>
20431
20432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20433         union 32-bit int array member with 64-bit int array.
20434         (t515, tm256): Double rather than long double.
20435         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20436
20437 2013-10-04  Alan Modra  <amodra@gmail.com>
20438
20439         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20440         Delete.
20441         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20442         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20443         version of math_ldbl.h.
20444
20445 2013-10-04  Alan Modra  <amodra@gmail.com>
20446
20447         [BZ #15734], [BZ #15735]
20448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20449         all uses of ieee875 long double macros and unions.  Simplify test
20450         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20451         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20452         normalize after ldbl_extract_mantissa, and don't add hidden bit
20453         already handled.  Don't treat low word of ieee854 mantissa like
20454         low word of IBM long double and mask off bit when testing for
20455         zero.
20456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20457         all uses of ieee875 long double macros and unions.  Simplify tests
20458         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20459         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20460         two1022, instead use their values.  Recognise that tests for large
20461         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20462         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20463         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20464         test for 0.0L and nan.  Correct negation.
20465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20466         ieee875 long double macros and unions.  Correct output for large
20467         magnitude x.  Correct absolute value calculation.
20468         (__erfcl): Likewise.
20469         * math/libm-test.inc: Add tests for errors discovered in IBM long
20470         double versions of fmodl, remainderl, erfl and erfcl.
20471
20472 2013-10-04  Alan Modra  <amodra@gmail.com>
20473
20474         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20475         all uses of ieee854 long double macros and unions.  Simplify tests
20476         for long doubles that are fully specified by the high double.
20477         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20478         Likewise.
20479         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20480         Remove dead code too.
20481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20482         (__ieee754_ynl): Likewise.
20483         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20486         Remove dead code too.
20487         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20491         Simplify.
20492         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20493         Simplify.
20494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20497         Comment on variable precision.
20498         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20499         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20500         Likewise.
20501         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20502         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20503         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20504         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20505         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20506
20507 2013-10-04  Alan Modra  <amodra@gmail.com>
20508
20509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20510         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20511         all uses of ieee854 long double macros and unions.
20512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20518         Likewise.
20519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20520         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20521         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20522         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20523         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20524         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20525         Simplify sign and nan test too.
20526         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20527         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20528         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20530         Likewise.
20531         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20532         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20533         Likewise.
20534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20535         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20536         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20537         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20538         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20540
20541 2013-10-04  Alan Modra  <amodra@gmail.com>
20542
20543         * stdio-common/printf_size.c (__printf_size): Don't use
20544         union ieee854_long_double in fpnum union.
20545         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20546         signbit macro to retrieve sign from long double.
20547         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20548         retrieve sign from long double.
20549         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20550         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20551         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20552         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20553         * math/test-misc.c (main): Don't use union ieee854_long_double.
20554
20555 2013-10-04  Alan Modra  <amodra@gmail.com>
20556
20557         [BZ #15680]
20558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20560         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20561         calculation.  Remove unnecessary test for denormal exponent.
20562         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20563         Correct handling of denormals.  Avoid undefined shift behaviour.
20564         Correct normalisation of low mantissa when low double is denormal.
20565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20566         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20567         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20568         Correct normalisation of low mantissa.  Test for overflow of high
20569         mantissa and normalise.
20570         (ldbl_nearbyint): Use more readable constant for two52.
20571         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20572         (__mpn_construct_long_double): Fix test for overflow of high
20573         mantissa and correct normalisation.  Avoid undefined shift.
20574
20575 2013-10-04  Alan Modra  <amodra@gmail.com>
20576
20577         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20578         (union ibm_extended_long_double): Define as an array of ieee754_double.
20579         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20580         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20581         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20582         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20584         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20586         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20587         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20588         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20590
20591 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20592
20593         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20594         page size instead of calling getpagesize.
20595
20596         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20597         (LOCFILE_ALIGN_MASK): Likewise.
20598         (LOCFILE_ALIGN_UP): Likewise.
20599         (LOCFILE_ALIGNED_P): Likewise.
20600         * locale/programs/ld-collate.c (collate_output): Use the new
20601         macros instead of __alignof__ (int32_t).
20602         * locale/weight.h (findidx): Likewise.
20603
20604 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20605
20606         [BZ #431]
20607         * manual/string.texi: Fix strncat and wcsncat.
20608
20609 2013-10-03  Brooks Moses  <bmoses@google.com>
20610
20611         [BZ #15915]
20612         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20613         * Makerules: ...here, and adjust associated comments.
20614
20615 2013-10-02  Will Newton  <will.newton@linaro.org>
20616
20617         * malloc/Makefile: Add tst-pvalloc.
20618         * malloc/tst-pvalloc.c: New file.
20619
20620 2013-10-02  Will Newton  <will.newton@linaro.org>
20621
20622         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20623         improve test coverage.
20624
20625 2013-10-02  Will Newton  <will.newton@linaro.org>
20626
20627         * malloc/Makefile: Add tst-posix_memalign.
20628         * malloc/tst-posix_memalign.c: New file.
20629
20630 2013-10-01  Eric Blake  <eblake@redhat.com>
20631
20632         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20633         Use __THROWNL rather than __THROW on static functions.
20634
20635 2013-09-30  Petr Machata  <pmachata@redhat.com>
20636
20637         * elf/elf.h (R_AARCH64_ABS16): New macro.
20638         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20639         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20640         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20641         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20642         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20643         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20644         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20645         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20646         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20647         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20648         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20649         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20650         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20651         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20652         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20653         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20654         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20655         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20656         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20657         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20658         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20659         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20660         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20661         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20662         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20663         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20664         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20665         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20666         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20667         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20668         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20669         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20670         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20671         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20672         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20673         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20674         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20675         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20676         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20677         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20678         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20679         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20680         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20681         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20682         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20683         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20684         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20685         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20686         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20687         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20688         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20689         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20690         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20691         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20692         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20693         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20694         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20695         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20696         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20697         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20698         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20699         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20700         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20701         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20702         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20703         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20704         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20705         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20706         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20707         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20708         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20709         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20710         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20711         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20712         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20713         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20714         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20715         (R_AARCH64_TLSDESC_LDR): Likewise.
20716         (R_AARCH64_TLSDESC_ADD): Likewise.
20717         (R_AARCH64_TLSDESC_CALL): Likewise.
20718
20719 2013-09-30  Andreas Schwab  <schwab@suse.de>
20720
20721         [BZ #15048]
20722         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20723         the nss database lookup.
20724         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20726
20727 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20728
20729         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20730
20731 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20732
20733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20734         ${Bash-specific parameter/pattern/string} parameter expansion.
20735         * sysdeps/unix/make-syscalls.sh: Likewise.
20736
20737 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20738
20739         * sysdeps/sh/stackguard-macros.h: New file.
20740
20741 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20742
20743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20745         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20746         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20747         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20748         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20749
20750 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20751
20752         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20753         Fix thread ID register.
20754
20755 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20756
20757         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20758         [POSIX || UNIX98]: Require rather than permitting all symbols from
20759         <time.h>.
20760         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20761         element of struct sched_param.
20762         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20763         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20764         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20765         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20766         constant.
20767
20768 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20769
20770         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20771         argument calculation.
20772
20773 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20774
20775         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20776         Expect macro.
20777         [POSIX] (pthread_attr_t): Do not require type.
20778         [POSIX] (pthread_cond_t): Likewise.
20779         [POSIX] (pthread_condattr_t): Likewise.
20780         [POSIX] (pthread_key_t): Likewise.
20781         [POSIX] (pthread_mutex_t): Likewise.
20782         [POSIX] (pthread_mutexattr_t): Likewise.
20783         [POSIX] (pthread_once_t): Likewise.
20784         [POSIX] (pthread_t): Likewise.
20785         [POSIX-based standards] (pthread_atfork): Expect function.
20786
20787 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20788             Richard Sandiford  <richard@codesourcery.com>
20789
20790         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20791         (swap_endianness_p): New extern variable.
20792         (set_big_endian): New inline function.
20793         (maybe_swap_uint32): Likewise.
20794         (maybe_swap_uint32_array): Likewise.
20795         (maybe_swap_uint32_obstack): Likewise.
20796         * locale/programs/locfile.c: Include <stdbool.h>.
20797         (swap_endianness_p): New variable.
20798         (add_locale_uint32): Call maybe_swap_uint32.
20799         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20800         (write_locale_data): Call maybe_swap_uint32_array.
20801         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20802         maybe_swap_uint32.
20803         (obstack_int32_grow_fast): Likewise.
20804         (output_weightwc): Call maybe_swap_uint32_obstack.
20805         (collate_output): Likewise.
20806         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20807         (OPT_LITTLE_ENDIAN): Likewise.
20808         (options): Add --little-endian and --big-endian options.
20809         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20810         * locale/programs/locarchive.c: Include "locfile.h".
20811         (GET): New macro.
20812         (SET): Likewise.
20813         (INC): Likewise.
20814         (create_archive): Use the new macros to access fields of
20815         structures directly mapped from or written to locale archives.
20816         (oldlocrecentcmp): Likewise.
20817         (enlarge_archive): Likewise.
20818         (insert_name): Likewise.
20819         (add_alias): Likewise.
20820         (add_locale): Likewise.
20821         (delete_locales_from_archive): Likewise.
20822         (show_archive_content): Likewise.
20823         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20824         locale data.
20825
20826 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20827
20828         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20829         http://www.gnu.org/doc/freemanuals.texi.
20830         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20831
20832 2013-09-24  Will Newton  <will.newton@linaro.org>
20833
20834         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20835         macro.
20836
20837 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20838
20839         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20840         unsigned char.
20841
20842 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20843
20844         * manual/threads.texi (POSIX Threads): Fix a typo.
20845
20846 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20847
20848         [BZ #14547]
20849         * string/tst-strcoll-overflow.c: New test case.
20850         * string/Makefile (xtests): Add tst-strcoll-overflow.
20851         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20852         cache if string sizes may cause integer overflow.
20853
20854         [BZ #14547]
20855         * string/strcoll_l.c (coll_seq): New members rule, idx,
20856         save_idx and back_us.
20857         (get_next_seq_nocache): New function.
20858         (do_compare_nocache): New function.
20859         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20860         when malloc fails.
20861
20862 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20863
20864         [BZ #15754]
20865         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20866         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20867         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20868
20869         [BZ #15754]
20870         * elf/Makefile (tests): Add tst-ptrguard1.
20871         (tests-static): Add tst-ptrguard1-static.
20872         (tst-ptrguard1-ARGS): Define.
20873         (tst-ptrguard1-static-ARGS): Define.
20874         * elf/tst-ptrguard1.c: New file.
20875         * elf/tst-ptrguard1-static.c: New file.
20876         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20877         * sysdeps/i386/stackguard-macros.h: Likewise.
20878         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20879         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20880         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20881         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20882         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20883         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20884
20885 2013-09-23  Hector Marco  <hecmargi@upv.es>
20886             Ismael Ripoll  <iripoll@disca.upv.es>
20887             Carlos O'Donell  <carlos@redhat.com>
20888
20889         [BZ #15754]
20890         * sysdeps/generic/stackguard-macros.h: Define
20891         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20892         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20893         Define __pointer_chk_guard_local.
20894         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20895         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20896
20897 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20898
20899         [BZ #15859]
20900         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20901
20902 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20903
20904         * include/string.h (__ffs): Declare as hidden.
20905         * string/ffs.c (__ffs): Define as hidden.
20906         * sysdeps/i386/ffs.c (__ffs): Likewise.
20907         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20908         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20909         * sysdeps/s390/ffs.c (__ffs): Likewise.
20910         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20911
20912 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20913
20914         * NEWS: Mention malloc probes.
20915
20916         * malloc/arena.c (new_heap): New memory_heap_new probe.
20917         (grow_heap): New memory_heap_more probe.
20918         (shrink_heap): New memory_heap_less probe.
20919         (heap_trim): New memory_heap_free probe.
20920         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20921         (systrim): New memory_sbrk_less probe.
20922         * manual/probes.texi: Document them.
20923
20924         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20925         * manual/probes.texi: Document it.
20926
20927         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20928         (__libc_realloc): Add memory_realloc_retry probe.
20929         (__libc_memalign): Add memory_memalign_retry probe.
20930         (__libc_valloc): Add memory_valloc_retry probe.
20931         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20932         (__libc_calloc): Add memory_calloc_retry probe.
20933         * manual/probes.texi: Document them.
20934
20935         * malloc/arena.c (get_free_list): Add probe
20936         memory_arena_reuse_free_list.
20937         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20938         and memory_arena_reuse.
20939         (arena_get2) [!PER_THREAD]: Likewise.
20940         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20941         memory_arena_reuse_realloc.
20942         * manual/probes.texi: Document them.
20943
20944         * malloc/malloc.c (__libc_free): Add
20945         memory_mallopt_free_dyn_thresholds probe.
20946         (__libc_mallopt): Add multiple memory_mallopt probes.
20947         * manual/probes.texi: Document them.
20948
20949         * malloc/malloc.c: Include stap-probe.h.
20950         (__libc_mallopt): Add memory_mallopt probe.
20951         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20952         * manual/probes.texi: New.
20953         * manual/Makefile (chapters): Add probes.
20954         * manual/threads.texi: Set next node.
20955
20956 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20957
20958         [BZ #15963, #13985]
20959         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20960         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20961         Add `Chinese' to `nan' entry name.
20962
20963 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964
20965         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20966         (POLYNOMIAL): Likewise.
20967         (TAYLOR_SINCOS): Likewise.
20968         (TAYLOR_SLOW): Likewise.
20969         (__sin): Use TAYLOR_SINCOS.
20970         (__cos): Likewise.
20971         (slow): Use TAYLOR_SLOW.
20972         (sloww): Likewise.
20973         (bsloww): Likewise.
20974         (csloww): Likewise.
20975
20976 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20977
20978         * stdlib/strtod_l.c: Fix buffer overrun.
20979
20980 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20981
20982         * benchtests/Makefile (bench): Add sincos.
20983         * benchtests/bench-sincos.c: New file.
20984
20985         * math/libm-test.inc (cos_test_data): New test inputs.
20986         (sin_test_data): Likewise.
20987
20988         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20989         macro.
20990         (__sin): Use it.
20991         (__cos): Likewise.
20992         (slow1): Likewise.
20993         (slow2): Likewise.
20994         (sloww1): Likewise.
20995         (sloww2): Likewise.
20996         (bsloww1): Likewise.
20997         (bsloww2): Likewise.
20998         (cslow2): Likewise.
20999         (csloww1): Likewise.
21000         (csloww2): Likewise.
21001
21002         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21003         function.
21004         (__sin): Use it.
21005         (__cos): Likewise.
21006
21007         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21008         gotos.
21009         (__cos): Likewise.
21010
21011 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21012
21013         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21014         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21015         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21016         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21017         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21018         * elf/cache.c (print_entry): Handle the new cache flags.
21019
21020 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21021             Aldy Hernandez  <aldyh@redhat.com>
21022
21023         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21024         Change condition to [_SOFT_FLOAT].
21025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21037         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21040         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21041         declaration.
21042
21043 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21044
21045         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21046         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21047         (__longjmp): Use LOAD_GP to load saved GPRs.
21048         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21049         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21050         (__sigsetjmp): Use SAVE_GP to save GPRs.
21051
21052         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21053         Do not append -msoft-float.
21054         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21055
21056 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21057
21058         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21059
21060 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21061
21062         [BZ #15966]
21063         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21064         (_FPU_GETCW): Use initial "__" on variable and field names but not
21065         on macro parameter name.
21066         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21067         parentheses around reference to macro parameter.
21068
21069 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21070
21071         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21072         prototype.
21073         (ctype_startup): Use uint32_t in cast and sizeof for
21074         ctype->charnames.
21075
21076 2013-09-11  Jia Liu  <proljc@gmail.com>
21077
21078         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21079         __daddr_t_defined.
21080         [__FreeBSD__]: Likewise.
21081
21082 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21083
21084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21085         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21086         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21087         (strchr): Remove __strchr_sse42 ifunc selection.
21088         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21089         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21090
21091 2013-09-11  Will Newton  <will.newton@linaro.org>
21092
21093         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21094         parameter to RES. Remove hardcoded 1000 value.
21095         * benchtests/bench-skeleton.c (main): Pass RES parameter
21096         to TIMING_INIT and multiply result by 1000.
21097
21098 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21099
21100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21101
21102 2013-09-11  Andreas Schwab  <schwab@suse.de>
21103
21104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21105         if not defined.
21106         (O_TMPFILE) [__USE_GNU]: Define.
21107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21108         Define.
21109
21110 2013-09-11  Will Newton  <will.newton@linaro.org>
21111
21112         [BZ #15857]
21113         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21114         does not overflow.
21115
21116 2013-09-11  Will Newton  <will.newton@linaro.org>
21117
21118         [BZ #15856]
21119         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21120         does not overflow.
21121
21122 2013-09-11  Will Newton  <will.newton@linaro.org>
21123
21124         [BZ #15855]
21125         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21126         does not overflow.
21127
21128 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21129
21130         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21131         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21132         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21133         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21134         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21135
21136 2013-09-10  Allan McRae  <allan@archlinux.org>
21137
21138         [BZ #15748]
21139         * manual/arith.texi (Parsing of Floats): Clarify
21140         cross-reference.
21141
21142         [BZ #15849]
21143         * manual/install.texi (Running make install): Mention
21144         --enable-pt-chown.
21145         * INSTALL: Regenerated.
21146
21147 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21148
21149         * csu/init-first.c (_init): Remove the !SHARED condition around
21150         FPU control word initialization.
21151         * elf/dl-support.c (_dl_fpu_control): New variable.
21152         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21153         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21154         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21155         * math/test-fpucw-static.c: New file.
21156         * math/test-fpucw-ieee.c: New file.
21157         * math/test-fpucw-ieee-static.c: New file.
21158         * math/Makefile (tests): Add `test-fpucw-ieee' and
21159         `$(tests-static)'.
21160         (tests-static): New variable.
21161         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21162         dependency to...
21163         [($(build-shared),yes)]
21164         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21165         ... this.
21166         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21167         New dependency.
21168
21169 2013-09-09  Allan McRae  <allan@archlinux.org>
21170
21171         [BZ #15939]
21172         * manual/string.texi (Collation Functions): Fix typo in
21173         strcoll example.
21174         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21175
21176         [BZ #15893]
21177         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21178
21179         [BZ #15892]
21180         * libio/memstream.c (open_memstream): Fix memory leak.
21181         * libio/wmemstream.c (open_wmemstream): Likewise.
21182
21183         [BZ #15895]
21184         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21185
21186 2013-09-09  Will Newton  <will.newton@linaro.org>
21187
21188         * malloc/Makefile: Add tst-realloc to tests.
21189         * malloc/tst-realloc.c: New file.
21190
21191 2013-09-09  Allan McRae  <allan@archlinux.org>
21192
21193         [BZ #15844]
21194         * COPYING: Update from GNU website to fix FSF address.
21195         * COPYING.LIB: Likewise.
21196
21197 2013-09-06  David S. Miller  <davem@davemloft.net>
21198
21199         * po/zh_TW.po: Update Chinese (traditional) translation from
21200         translation project.
21201
21202 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21203             Joseph Myers  <joseph@codesourcery.com>
21204
21205         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21206         "localeinfo.h".
21207         (obstack_chunk_alloc): New macro.
21208         (obstack_chunk_free): Likewise.
21209         (record_offset): New function.
21210         (init_locale_data): Likewise.
21211         (align_locale_data): Likewise.
21212         (add_locale_empty): Likewise.
21213         (add_locale_raw_data): Likewise.
21214         (add_locale_raw_obstack): Likewise.
21215         (add_locale_string): Likewise.
21216         (add_locale_wstring): Likewise.
21217         (add_locale_uint32): Likewise.
21218         (add_locale_uint32_array): Likewise.
21219         (add_locale_char): Likewise.
21220         (start_locale_structure): Likewise.
21221         (end_locale_structure): Likewise.
21222         (start_locale_prelude): Likewise.
21223         (end_locale_prelude): Likewise.
21224         (write_locale_data): Take locale_file structure rather than an
21225         iovec.
21226         * locale/programs/locfile.h: Include "obstack.h".
21227         (struct locale_file): Change to store locale file contents instead
21228         of header.
21229         (init_locale_data): New prototype.
21230         (align_locale_data): Likewise.
21231         (add_locale_empty): Likewise.
21232         (add_locale_raw_data): Likewise.
21233         (add_locale_raw_obstack): Likewise.
21234         (add_locale_string): Likewise.
21235         (add_locale_wstring): Likewise.
21236         (add_locale_uint32): Likewise.
21237         (add_locale_uint32_array): Likewise.
21238         (add_locale_char): Likewise.
21239         (start_locale_structure): Likewise.
21240         (end_locale_structure): Likewise.
21241         (start_locale_prelude): Likewise.
21242         (end_locale_prelude): Likewise.
21243         (write_locale_data): Update prototype.
21244         * locale/programs/3level.h (struct TABLE): Remove result field.
21245         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21246         Use new locale_file interface.
21247         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21248         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21249         * locale/programs/ld-address.c (address_output): Use new
21250         locale_file interface.
21251         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21252         NO_ADD_LOCALE.
21253         (collate_finish): Don't call collseq_table_finalize.
21254         (collate_output): Use new locale_file interface.
21255         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21256         in file.
21257         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21258         (TABLE): Move defines earlier in file.
21259         (ELEMENT): Likewise.
21260         (DEFAULT): Likewise.
21261         (wctrans_table_add): Move macro and inline function earlier in
21262         file.
21263         (struct wctype_table): Move type earlier in file.
21264         (add_locale_wctype_table): New static prototype.
21265         (struct locale_ctype_t): Use logical types instead of struct iovec
21266         pointers for members.
21267         (ctype_output): Use new locale_file interface.
21268         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21269         new locale_file interface.
21270         (allocate_arrays): Update for use of new locale_file interface.
21271         * locale/programs/ld-identification.c (identification_output): Use
21272         new locale_file interface.
21273         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21274         * locale/programs/ld-messages.c (messages_output): Likewise.
21275         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21276         * locale/programs/ld-name.c (name_output): Likewise.
21277         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21278         * locale/programs/ld-paper.c (paper_output): Likewise.
21279         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21280         * locale/programs/ld-time.c (time_output): Likewise.
21281
21282 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21283
21284         * benchtests/Makefile: Add memrchr benchmark.
21285         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21286         benchmark as memrchr.
21287         * benchtests/bench-memrchr-ifunc.c: New file.
21288         * benchtests/bench-memrchr.c: New file.
21289
21290 2013-09-06   Will Newton  <will.newton@linaro.org>
21291
21292         * benchtests/Makefile (string-bench): Add memcpy.
21293
21294 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21295             Cong Wang  <amwang@redhat.com>
21296
21297         [BZ #15850]
21298         * sysdeps/unix/sysv/linux/bits/in.h
21299         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21300         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21301         before __USE_KERNEL_IPV6_DEFS uses.
21302         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21303         IPPROTO_BEETPH.
21304         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21305         sockaddr_in6, or ipv6_mreq.
21306
21307 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21308
21309         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21310         memory access for final bytes in some large inputs.
21311         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21312
21313 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21314
21315         * string/test-memrchr.c: New file.
21316         * string/test-memrchr-ifunc.c: New file.
21317         * string/Makefile: Add new memrchr testcase.
21318
21319 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21320
21321         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21322         fanotify_init returns EPERM.
21323
21324 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21325
21326         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21327         errors.
21328         (top level): Treat second token from macro or constant entries for
21329         allowed headers as allowed.
21330         * include/complex.h: Condition internal declarations on
21331         [!_ISOMAC].
21332         * include/fenv.h: Condition include of <stdbool.h> and internal
21333         declarations on [!_ISOMAC].
21334
21335 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21336
21337         [BZ #15923]
21338         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21339
21340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21341
21342         * configure.in (--enable-versioning): Remove configure option.
21343         (libc_cv_asm_symver_directive): Remove configure test.
21344         (libc_cv_ld_version_script_option): Likewise.
21345         (VERSIONING): Remove variable and AC_SUBST.
21346         (DO_VERSIONING): Remove AC_DEFINE.
21347         * configure: Regenerated.
21348         * config.h.in (DO_VERSIONING): Remove macro.
21349         * Makerules [$(versioning) = yes]: Change conditionals to
21350         [$(build-shared) = yes].
21351         * config.make.in (versioning): Remove variable.
21352         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21353         [$(build-shared) = yes].
21354         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21355         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21356         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21357         [$(build-shared) = yes].
21358         * extra-lib.mk [$(versioning) = yes]: Likewise.
21359         * hurd/Makefile [$(versioning) = yes]: Likewise.
21360         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21361         [SHARED].
21362         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21363         [SHARED].
21364         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21365         [SHARED && !NO_HIDDEN].
21366         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21367         [SHARED].
21368         [SHARED && DO_VERSIONING]: Likewise..
21369         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21370         [$(build-shared) = yes].
21371         * manual/install.texi (--disable-versioning): Remove
21372         documentation.
21373         * INSTALL: Regenerated.
21374         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21375         to [SHARED].
21376         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21377         [$(build-shared) = yes].
21378         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21379         * sysdeps/i386/i686/multiarch/strstr-c.c
21380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21381         [SHARED && !NO_HIDDEN].
21382         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21383         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21384         * sysdeps/powerpc/powerpc32/dl-machine.c
21385         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21386         * sysdeps/powerpc/powerpc32/sysdep.h
21387         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21388         to [SHARED && PIC && !NO_HIDDEN].
21389         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21390         conditional to [SHARED].
21391
21392 2013-09-04   Will Newton  <will.newton@linaro.org>
21393
21394         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21395         * benchtests/bench-string.h: Include bench-timing.h instead
21396         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21397         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21398         call to HP_TIMING_DIFF_INIT.
21399         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21400         instead of hp-timing.h macros.
21401         * benchtests/bench-memchr.c: Likewise.
21402         * benchtests/bench-memcmp.c: Likewise.
21403         * benchtests/bench-memcpy.c: Likewise.
21404         * benchtests/bench-memmem.c: Likewise.
21405         * benchtests/bench-memmove.c: Likewise.
21406         * benchtests/bench-memset.c: Likewise.
21407         * benchtests/bench-rawmemchr.c: Likewise.
21408         * benchtests/bench-strcasecmp.c: Likewise.
21409         * benchtests/bench-strcasestr.c: Likewise.
21410         * benchtests/bench-strcat.c: Likewise.
21411         * benchtests/bench-strchr.c: Likewise.
21412         * benchtests/bench-strcmp.c: Likewise.
21413         * benchtests/bench-strcpy.c: Likewise.
21414         * benchtests/bench-strcpy_chk.c: Likewise.
21415         * benchtests/bench-strlen.c: Likewise.
21416         * benchtests/bench-strncasecmp.c: Likewise.
21417         * benchtests/bench-strncat.c: Likewise.
21418         * benchtests/bench-strncmp.c: Likewise.
21419         * benchtests/bench-strncpy.c: Likewise.
21420         * benchtests/bench-strnlen.c: Likewise.
21421         * benchtests/bench-strpbrk.c: Likewise.
21422         * benchtests/bench-strrchr.c: Likewise.
21423         * benchtests/bench-strspn.c: Likewise.
21424         * benchtests/bench-strstr.c: Likewise.
21425
21426 2013-09-04  Will Newton  <will.newton@linaro.org>
21427
21428         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21429
21430 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21431
21432         [BZ #15427]
21433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21434         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21435         * math/libm-test.inc (lgamma_test_data): Add more tests.
21436         * sysdeps/i386/fpu/libm-test-ulps: Update.
21437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21438
21439 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21440
21441         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21443         Add ifunc.
21444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21445         Add strcmp-sse2-unaligned
21446         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21447
21448 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21449
21450         * Versions.def (libc): Add GLIBC_2.19.
21451
21452 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21453
21454         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21455         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21456
21457 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21458
21459         [BZ #14155]
21460         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21461         intermediate calculations in recurrence.
21462         (__ieee754_ynf): Likewise.
21463         * math/libm-test.inc (jn_test_data): Do not allow spurious
21464         underflow exception.  Add more tests.
21465         (yn_test_data): Add more tests.
21466         * sysdeps/i386/fpu/libm-test-ulps: Update.
21467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21468
21469 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21470
21471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21472
21473 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21474
21475         * csu/init-first.c: Fix then/than typos.
21476         * locale/programs/ld-collate.c: Likewise.
21477         * locale/programs/linereader.h: Likewise.
21478         * manual/charset.texi: Likewise.
21479         * manual/filesys.texi: Likewise.
21480         * manual/stdio.texi: Likewise.
21481         * manual/string.texi: Likewise.
21482         * stdlib/fmtmsg.c: Likewise.
21483         * sysdeps/i386/stpncpy.S: Likewise.
21484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21485         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21487         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21488
21489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21490
21491         * elf/dl-open.c: Fix typos.
21492         * iconvdata/gbbig5.c: Likewise.
21493         * iconvdata/iso-2022-jp.c: Likewise.
21494         * iconv/gconv_int.h: Likewise.
21495         * iconv/loop.c: Likewise.
21496         * nis/rpcsvc/nis.h: Likewise.
21497         * resolv/ns_name.c: Likewise.
21498         * stdio-common/vfscanf.c: Likewise.
21499         * streams/stropts.h: Likewise.
21500         * sunrpc/rpc_thread.c: Likewise.
21501         * sysdeps/i386/strpbrk.S: Likewise.
21502         * sysdeps/ieee754/k_standard.c: Likewise.
21503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21505         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21506         * sysdeps/mach/hurd/profil.c: Likewise.
21507         * sysdeps/s390/dl-procinfo.h: Likewise.
21508         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21509         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21510         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21511         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21513
21514 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21515
21516         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21518
21519 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21520
21521         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21522         aix specific files.
21523         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21524         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21525         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21526         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21527         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21528         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21529         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21530         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21531
21532 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21533             Roland McGrath  <roland@hack.frob.com>
21534
21535         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21536         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21537
21538 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21539
21540         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21541         __executable_start symbol instead of _start.
21542
21543 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21544
21545         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21546         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21547         Move macros to...
21548         * sysdeps/gnu/ldsodefs.h: ... this new file.
21549
21550         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21551         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21552         instead of ELFOSABI_LINUX.
21553
21554         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21555         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21556         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21557         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21558         Likewise.
21559         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21560         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21561         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21562         Likewise.
21563         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21564         (ibm_extended_long_double): Add ieee_nan member.
21565         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21566         (do_test): New function.
21567
21568         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21569         TEST_TRUNC.
21570         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21571         functions, renamed from truncdfsf_test, trunctfsf_test,
21572         trunctfdf_test.
21573         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21574         functions.
21575         (do_test): Run all these.
21576
21577 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21578
21579         * argp/argp-help.c: Fix typos.
21580         * argp/argp-parse.c: Likewise.
21581         * debug/backtracesyms.c: Likewise.
21582         * elf/elf.h: Likewise.
21583         * malloc/malloc.c: Likewise.
21584         * nis/nis_print.c: Likewise.
21585         * resolv/res_comp.c: Likewise.
21586         * stdlib/stdlib.h: Likewise.
21587         * sunrpc/clnt_tcp.c: Likewise.
21588         * sunrpc/clnt_udp.c: Likewise.
21589         * sunrpc/clnt_unix.c: Likewise.
21590         * sysdeps/unix/bsd/ptsname.c: Likewise.
21591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21594         Likewise.
21595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21596         Likewise.
21597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21598         Likewise.
21599         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21600
21601 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21602
21603         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21605
21606 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21607
21608         [BZ #15897]
21609         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21610         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21611         ($(objpfx)bug-dl-leaf): New rule.
21612         ($(objpfx)bug-dl-leaf.so): Likewise.
21613         ($(objpfx)bug-dl-leaf.out): Likewise.
21614         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21615         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21616         * dlfcn/bug-dl-leaf.c: New test.
21617         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21618         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21619         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21620         (dlclose): Likewise.
21621         (dlmopen): Likewise.
21622
21623 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21624
21625         * include/netdb.h [!_ISOMAC]:
21626         Don't include <tls.h>.
21627         (h_errno, __libc_h_errno): Move declaration and macros out of
21628         [_LIBC_REENTRANT].
21629
21630         * include/resolv.h [_RESOLV_H_]:
21631         Don't include <tls.h>.
21632         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21633         * resolv/res_libc.c: Don't include <tls.h>.
21634         (_res): Use __attribute__ ((nocommon)) in place of
21635         __attribute__ ((section (".bss"))).
21636
21637         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21638         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21639
21640         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21641
21642         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21643         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21644
21645         * resolv/res_mkquery.c: Include <sys/time.h>.
21646
21647         * inet/ifreq.c: Moved to ...
21648         * sysdeps/unix/ifreq.c: ... here.
21649         * inet/ifreq.c: New file, true stub version.
21650
21651         * socket/sa_len.c: New file.
21652         * socket/Makefile (aux): Add it.
21653         * sysdeps/unix/sysv/linux/Makefile
21654         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21655         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21656         and #include <socket/sa_len.c>.
21657         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21658         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21659
21660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21661         * bits/socket.h: ... here.
21662
21663         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21664         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21665         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21666
21667 2013-08-27  Andreas Schwab  <schwab@suse.de>
21668
21669         [BZ #15736]
21670         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21671         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21672         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21673         * string/test-strcasecmp.c (test_main): Run tests in several
21674         locales.
21675         * string/test-strncasecmp.c (test_main): Likewise.
21676
21677         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21678         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21679         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21681         (__strncasecmp_ssse3) [PIC]: Likewise.
21682
21683 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21684
21685         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21686
21687         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21688         instead of explicitly declaring xdecrypt.
21689         * nis/nss_nis/nis-publickey.c: Likewise.
21690
21691 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21692
21693         [BZ #15890]
21694         * nscd/aicache.c: Include res_hconf.h.
21695         (addhstaiX): Initialize res_hconf.
21696
21697 2013-08-26  Andreas Schwab  <schwab@suse.de>
21698
21699         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21700         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21701
21702 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21703
21704         * nscd/aicache.c (addhstaiX): Fix indentation.
21705
21706 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21707
21708         * configure.ac: Quote $build_pt_chown test.
21709         * configure: Regenerated.
21710
21711 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21712
21713         [BZ #15532]
21714         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21715         * math/s_cexpf.c (__cexpf): Likewise.
21716         * math/s_cexpl.c (__cexpl): Likewise.
21717         * math/libm-test.inc (cexp_test_data): Correct expected return
21718         value for NaN + i0.  Add another test.
21719
21720 2013-08-22  David S. Miller  <davem@davemloft.net>
21721
21722         * po/ca.po: Update Catalan translation from translation project.
21723         * po/uk.po: Add Ukrainian translations from translation project.
21724
21725 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21726
21727         [BZ #15797]
21728         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21729         is infinite, not alongside NaN test.
21730         * math/s_fdimf.c (__fdimf): Likewise.
21731         * math/s_fdiml.c (__fdiml): Likewise.
21732         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21733         errno is unchanged.
21734
21735 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21736
21737         * argp/argp-help.c: Fix typos.
21738         * crypt/speeds.c: Likewise.
21739         * csu/check_fds.c: Likewise.
21740         * elf/dl-load.c: Likewise.
21741         * elf/dl-open.c: Likewise.
21742         * elf/reldep3.c: Likewise.
21743         * elf/reldep.c: Likewise.
21744         * elf/sprof.c: Likewise.
21745         * iconv/iconv_charmap.c: Likewise.
21746         * iconv/skeleton.c: Likewise.
21747         * iconv/strtab.c: Likewise.
21748         * io/lockf64.c: Likewise.
21749         * libio/libioP.h: Likewise.
21750         * resolv/gai_notify.c: Likewise.
21751         * resolv/ns_name.c: Likewise.
21752         * resolv/ns_samedomain.c: Likewise.
21753         * resolv/res_send.c: Likewise.
21754         * stdlib/random.c: Likewise.
21755         * sunrpc/rpc/xdr.h: Likewise.
21756         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21758         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21759         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21760         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21761         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21763         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21764         * sysdeps/mach/hurd/check_fds.c: Likewise.
21765         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21766         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21769         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21771         * sysdeps/pthread/aio_notify.c: Likewise.
21772         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21773         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21776         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21777
21778 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21779
21780         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21781         version if bit_Slow_SSE4_2 is set.
21782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21783         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21784
21785 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21786
21787         [BZ #15867]
21788         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21789         trampoline stack frame information.
21790         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21791         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21792         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21793         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21794         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21795         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21796         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21797         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21798         sa_flags value.
21799         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21800         interrupting a syscall and set with option SA_SIGINFO.
21801
21802 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21803
21804         [BZ #15531]
21805         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21806         argument is infinite.
21807         * math/s_cprojf.c (__cprojf): Likewise.
21808         * math/s_cprojl.c (__cprojl): Likewise.
21809         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21810         * math/libm-test.inc (cproj_test_data): Add more tests.
21811
21812         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21813
21814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21815         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21816         size.  Use __ffs to determine corresponding shift.
21817
21818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21819             Roland McGrath  <roland@hack.frob.com>
21820
21821         * Makefile (INSTALL): Remove trailing blank lines from output of
21822         makeinfo.
21823
21824 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21825
21826         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21827         Align 32 bit compat elf_greg to 8 bytes.
21828
21829 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21830
21831         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21832
21833 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21834
21835         * string/strcoll_l.c (coll_seq): New structure.
21836         (get_next_seq_cached): New function.
21837         (get_next_seq): New function.
21838         (do_compare): New function.
21839         (STRCOLL): Use GNU style definition.  Simplify implementation
21840         by using get_next_seq, get_next_seq_cached and do_compare.
21841
21842 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21843
21844         [BZ #14699]
21845         CVE-2013-4237
21846         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21847         member.
21848         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21849         member.
21850         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21851         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21852         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21853         conditional.
21854         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21855         GETDENTS_64BIT_ALIGNED.
21856         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21857         * manual/filesys.texi (Reading/Closing Directory): Document
21858         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21859         strongly.
21860         * manual/conf.texi (Limits for Files): Add portability note to
21861         NAME_MAX, PATH_MAX.
21862         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21863
21864 2013-08-13  Andreas Schwab  <schwab@suse.de>
21865
21866         [BZ #15749]
21867         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21868         of fabs.
21869         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21870         LDBL_MAX_EXP >= 16384]: Add tests for it.
21871
21872 2013-08-12  David S. Miller  <davem@davemloft.net>
21873
21874         * version.h (RELEASE): Set to "development".
21875         (VERSION): Set to "2.18.90".
21876         * NEWS: Add 2.19 section.
21877
21878 2013-08-03  David S. Miller  <davem@davemloft.net>
21879
21880         * po/ko.po: Update Korean translation from translation project.
21881
21882 2013-08-01  David S. Miller  <davem@davemloft.net>
21883
21884         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21885         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21886         Bilka.
21887
21888 2013-07-30  David S. Miller  <davem@davemloft.net>
21889
21890         * po/fr.po: Update French translation from translation project.
21891
21892 2013-07-28  David S. Miller  <davem@davemloft.net>
21893
21894         * po/cs.po: Update Czech translation from translation project.
21895
21896         * po/sv.po: Update Swedish translation from translation project.
21897
21898 2013-07-27  David S. Miller  <davem@davemloft.net>
21899
21900         * po/eo.po: Update Esperanto translation from translation project.
21901
21902         * po/vi.po: Update Vietnamese translation from translation project.
21903
21904         * po/de.po: Update German translation from translation project.
21905
21906 2013-07-26  David S. Miller  <davem@davemloft.net>
21907
21908         * po/bg.po: Update Bulgarian translation from translation project.
21909
21910         * po/nl.po: Update Dutch translation from translation project.
21911         * po/pl.po: Update Polish translation from translation project.
21912         * po/ru.po: Update Russian translation from translation project.
21913
21914 2013-07-24  David S. Miller  <davem@davemloft.net>
21915
21916         * po/libc.pot: Update.
21917
21918 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21919
21920         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21921         variable page size.
21922         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21923         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21924         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21925
21926 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21927
21928         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21929
21930 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21931             Andreas Schwab  <schwab@suse.de>
21932             Roland McGrath  <roland@hack.frob.com>
21933             Joseph Myers  <joseph@codesourcery.com>
21934             Carlos O'Donell  <carlos@redhat.com>
21935
21936         [BZ #15755]
21937         * config.h.in: Define HAVE_PT_CHOWN.
21938         * config.make.in (build-pt-chown): New variable.
21939         * configure.in (--enable-pt_chown): New configure option.
21940         * configure: Regenerate.
21941         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21942         build-pt-chown is enabled.
21943         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21944         pt_chown to fix pty ownership.
21945         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21946         CLOSE_ALL_FDS.
21947         * manual/install.texi (Configuring and compiling): Mention
21948         --enable-pt_chown. Add @findex for grantpt.
21949         * INSTALL: Regenerate.
21950
21951 2013-07-20  David S. Miller  <davem@davemloft.net>
21952
21953         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21954         difference between 32-bit and 64-bit.
21955
21956 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21957
21958         [BZ #15711]
21959         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21960         Avoid system header dependency with -ffreestanding.
21961         ($(objpfx)bits/syscall%d): Likewise.
21962
21963 2013-07-13  David S. Miller  <davem@davemloft.net>
21964
21965         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21966         underflows from atanl/atan2l due to bug 15319.
21967         (casinh_test_data): Likewise.
21968
21969 2013-07-07  David S. Miller  <davem@davemloft.net>
21970
21971         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21972
21973 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21974
21975         * sysdeps/i386/fpu/libm-test-ulps: Update.
21976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21977
21978 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21979
21980         * configure.in (--enable-lock-elision): Fix message text.
21981         * INSTALL: Regenerate.
21982         * configure: Regenerate.
21983
21984 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21985
21986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21987
21988 2013-07-03  Andreas Jaeger  <aj@suse.de>
21989
21990         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21991         define.
21992         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21993         (ptrace_peeksiginfo_args): Add.
21994         (__ptrace_peeksiginfo_flags): Add.
21995         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21997         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21998
21999 2013-07-03  Allan McRae  <allan@archlinux.org>
22000
22001         * sysdeps/i386/fpu/libm-test-ulps: Update.
22002
22003 2013-07-02  David S. Miller  <davem@davemloft.net>
22004
22005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22006
22007 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22008
22009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22010
22011 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22012
22013         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22015
22016 2013-07-02  Andi Kleen <ak@linux.intel.com>
22017
22018         * config.h.in (ENABLE_LOCK_ELISION): Add.
22019         * configure.in (--enable-lock-elision): Add option.
22020         * manual/install.texi: Document --enable lock elision.
22021         * configure: Regenerate
22022         * INSTALL: Regenerate.
22023
22024 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22025
22026         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22027         SSE4.2 strcasecmp for libc.a.
22028         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22029
22030 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22031
22032         [BZ #13304]
22033         * soft-fp/op-common.h (_FP_FMA): New macro.
22034         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22035         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22036         (_FP_MUL_MEAT_1_imm): ... here.
22037         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22038         (_FP_MUL_MEAT_1_wide): ... here.
22039         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22040         (_FP_MUL_MEAT_1_hard): ... here.
22041         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22042         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22043         (_FP_MUL_MEAT_2_wide): ... here.
22044         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22045         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22046         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22047         (_FP_MUL_MEAT_2_gmp): ... here.
22048         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22049         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22050         (_FP_MUL_MEAT_4_wide): ... here.
22051         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22052         (_FP_MUL_MEAT_4_gmp): ... here.
22053         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22054         (_FP_WFRACBITS_DW_S): Likewise.
22055         (_FP_WFRACXBITS_DW_S): Likewise.
22056         (_FP_HIGHBIT_DW_S): Likewise.
22057         (FP_FMA_S): Likewise.
22058         (_FP_FRAC_HIGH_DW_S): Likewise.
22059         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22060         (_FP_WFRACBITS_DW_D): Likewise.
22061         (_FP_WFRACXBITS_DW_D): Likewise.
22062         (_FP_HIGHBIT_DW_D): Likewise.
22063         (FP_FMA_D): Likewise.
22064         (_FP_FRAC_HIGH_DW_D): Likewise.
22065         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22066         (_FP_WFRACBITS_DW_E): Likewise.
22067         (_FP_WFRACXBITS_DW_E): Likewise.
22068         (_FP_HIGHBIT_DW_E): Likewise.
22069         (FP_FMA_E): Likewise.
22070         (_FP_FRAC_HIGH_DW_E): Likewise.
22071         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22072         (_FP_WFRACBITS_DW_Q): Likewise.
22073         (_FP_WFRACXBITS_DW_Q): Likewise.
22074         (_FP_HIGHBIT_DW_Q): Likewise.
22075         (FP_FMA_Q): Likewise.
22076         (_FP_FRAC_HIGH_DW_Q): Likewise.
22077         * soft-fp/fmasf4.c: New file.
22078         * soft-fp/fmadf4.c: Likewise.
22079         * soft-fp/fmatf4.c: Likewise.
22080
22081 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22082
22083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22084         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22085         Silvermont.
22086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22087         macro.
22088         (index_Slow_SSE4_2): Likewise.
22089         (index_Prefer_PMINUB_for_stringop): Likewise.
22090         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22091         bit_Slow_SSE4_2 is set.
22092         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22093         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22094
22095 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22096
22097         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22098         rtld_global._dl_hwcap2.
22099         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22100         POWER8.
22101         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22102         POWER8 feature descriptions defined in _dl_hwcap2.
22103         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22104         string handling for POWER8 feature bits.
22105         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22106         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22107         _dl_powerpc_cap_flags.
22108         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22109         * sysdeps/powerpc/rtld-global-offsets.sym
22110         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22111         _dl_hwcap2 in the rtld_global_ro structure.
22112
22113 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22114
22115         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22116         hardware capabilities in support of AT_HWCAP2.
22117         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22118         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22119         GLRO(dl_hwcap2).
22120         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22121         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22122         explicitly the unknown a_type display mechanism is used.
22123         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22124         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22125         struct member.
22126         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22127         to macro prototype for AT_HWCAP2 support.
22128         * sysdeps/i386/dl-procinfo.h: Likewise.
22129         * sysdeps/s390/dl-procinfo.h: Likewise.
22130         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22131         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22132         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22133         return -1 for unknown a_type display fallback.
22134         * sysdeps/sparc/dl-procinfo.h: Likewise.
22135         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22136         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22137
22138 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22139
22140         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22141         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22142
22143 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22144
22145         [BZ #12492]
22146         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22147         mprotect making __stack_prot writable.
22148
22149 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22150             Joseph Myers  <joseph@codesourcery.com>
22151
22152         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22153         as being properly aligned.
22154
22155 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22156
22157         * dlfcn/modstatic5.c: New file.
22158         * dlfcn/tststatic5.c: New file.
22159         * dlfcn/Makefile (tests): Add tststatic5.
22160         (tests-static): Likewise.
22161         (modules-names): Add modstatic5.
22162         (tststatic5-ENV): New variable.
22163         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22164
22165         [BZ #15022]
22166         * elf/dl-support.c (_dl_main_map): New variable.
22167         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22168         (_dl_nns, _dl_load_adds): Set to 1.
22169         (_dl_initial_searchlist): Refer to _dl_main_map.
22170         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22171         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22172         call to _dl_get_origin.
22173         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22174         around call_map.
22175         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22176         * dlfcn/modstatic3.c: New file.
22177         * dlfcn/tststatic3.c: New file.
22178         * dlfcn/tststatic4.c: New file.
22179         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22180         (tests-static): Likewise.
22181         (modules-names): Add modstatic3.
22182         (tststatic3-ENV, tststatic4-ENV): New variables.
22183         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22184         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22185
22186 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22187
22188         * configure.in (CC): Require GCC version 4.4 or later.
22189         * configure: Regenerated.
22190         * manual/install.texi (Tools for Compilation): Update GCC version
22191         requirement.
22192         * INSTALL: Regenerated.
22193
22194 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22195
22196         [BZ #15674]
22197         * string/test-memcmp.c (check2): New.
22198         (main): Call check2.
22199
22200         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22201
22202 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22203
22204         [BZ #15022]
22205         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22206         over to...
22207         (dl_open_worker) [!SHARED]: ... here.
22208
22209 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22210
22211         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22212
22213 2013-06-25  Richard Henderson  <rth@redhat.com>
22214
22215         * locale/programs/locarchive.c: Include <libc-internal.h>
22216
22217 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22218
22219         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22220         trailing whitespace removed.
22221
22222 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22223
22224         [BZ #10283]
22225         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22226         * locale/programs/locarchive.c: Include libc-mmap.h.
22227         (prepare_address_space): Take two new outputs (the mmap base and len).
22228         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22229         values.
22230         (create_archive): Declare new mmap base and len values for
22231         prepare_address_space, and store the result in ah.
22232         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22233         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22234         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22235         Declare new mmap base and len values for
22236         prepare_address_space, and store the result in new_ah.
22237         (open_archive): Declare new mmap base and len values for
22238         prepare_address_space, and store the result in ah.
22239         (close_archive): If ah->mmap_base is not NULL, use that and
22240         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22241         * sysdeps/generic/libc-mmap.h: New file.
22242
22243 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22244
22245         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22246         (ALIGN_UP): Likewise.
22247         (PTR_ALIGN_DOWN): Likewise.
22248         (PTR_ALIGN_UP): Likewise.
22249
22250 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22251
22252         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22253         entry mapped to PPC_PLATFORM_POWER8.
22254         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22255         POWER8.
22256         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22257         (_dl_string_platform): Add case for exporting platform position for
22258         POWER8.
22259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22260         search path to sysdeps/powerpc/powerpc32/power8 directory.
22261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22262         search path to sysdeps/powerpc/powerpc64/power8 directory.
22263         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22264         power7 directories.
22265         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22266         power7 directories.
22267
22268 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22269
22270         * INSTALL: Regenerate.
22271
22272         * nscd/connections.c (nscd_init): Fix comment.
22273
22274 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22275
22276         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22277
22278         [BZ #15667]
22279         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22280         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22281
22282 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22283
22284         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22285         DL_DST_REQ_STATIC.
22286         (DL_DST_REQ_STATIC): Remove macro.
22287
22288 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22289
22290         [BZ #7006]
22291         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22292         with a shift of 0 bits.
22293
22294 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22295
22296         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22297         $(tststatic-ENV).
22298
22299 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22300
22301         [BZ #15655]
22302         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22303
22304 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22305
22306         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22307         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22308         accepts -fno-tree-loop-distribute-patterns.
22309         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22310         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22311         recursive call.
22312         * string/memset.c (memset): Likewise.
22313         * string/test-memmove.c (simple_memmove): Disable loop transformation
22314         to library calls.
22315         * string/test-memset.c (simple_memset): Likewise.
22316         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22317         * benchtests/bench-memset.c (simple_memset): Likewise.
22318         * configure: Regenerated.
22319
22320 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22321
22322         * math/test-misc.c (main): Ignore fesetround failure when failures
22323         of subsequent rounding tests would be ignored.
22324
22325         [BZ #15654]
22326         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22327         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22328         * math/fegetenv.c (__fegetenv): Return 0.
22329         * math/fegetexcept.c (fegetexcept): Return 0.
22330         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22331         FE_TONEAREST.
22332         * math/feholdexcpt.c (feholdexcept): Return 0.
22333         * math/fesetenv.c (__fesetenv): Return 0.
22334         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22335         argument FE_TONEAREST.
22336         * math/feupdateenv.c (__feupdateenv): Return 0.
22337         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22338
22339 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22340
22341         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22342         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22343         ($(objpfx)rtld-%.os rules): Use them.
22344
22345 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22346
22347         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22348         fields.
22349
22350 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22351
22352         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22353         length of target pattern, then descending length of dependency pattern.
22354         * configure.in (AWK): Require gawk 3.1.2 or newer.
22355         * manual/install.texi (Tools for Compilation): Say that we do.
22356         * configure: Regenerated.
22357
22358         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22359         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22360         * scripts/sysd-rules.awk: ... this new script.
22361         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22362         than a glob-style pattern.
22363
22364 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22365
22366         * math/test-misc.c (main): Do not treat incorrectly rounded
22367         conversions as failure unless ROUNDING_TESTS passes.
22368
22369 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22370
22371         [BZ #15631]
22372         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22373         restore exception state around main square root computation, then
22374         check for inexactness explicitly.
22375
22376         * math/libm-test.inc (fma_test_data): Add another test.
22377
22378 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22379
22380         * manual/threads.texi (Non-POSIX Extensions): New document
22381         node.  Document pthread_getattr_default_np and
22382         pthread_setattr_default_np.
22383
22384         * Versions.def (libpthread): Add GLIBC_2.18.
22385         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22387         Likewise.
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22389         Likewise.
22390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22391         Likewise.
22392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22393         Likewise.
22394         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22395         Likewise.
22396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22397         Likewise.
22398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22399         Likewise.
22400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22401         Likewise.
22402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22403         Likewise.
22404
22405 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22406
22407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22408         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22409
22410 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22411             H.J. Lu  <hjl.tools@gmail.com>
22412
22413         [BZ #15627]
22414         * sysdeps/x86_64/rtld-memset.c: Remove file.
22415         * sysdeps/x86_64/rtld-memset.S: New file.
22416
22417 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22418
22419         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22420         (test_in_one_mode): Take arguments for whether the rounding mode
22421         is supported for each floating-point type.
22422         (do_test): Pass new arguments to test_in_one_mode using
22423         ROUNDING_TESTS.
22424
22425 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22426
22427         * posix/tst-waitid.c (do_test): Distinguish different instances of
22428         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22429         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22430         before entering the kernel for waitpid.
22431
22432 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22433
22434         * NEWS: Fix note on clock function precision.  Text by Roland
22435         McGrath.
22436
22437 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22438
22439         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22440         it into place only when and if the sanity check passes.
22441
22442 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22443
22444         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22445         output for whether conversion result is exact.  Take argument
22446         indicating whether type is IBM long double.
22447         (round_for_all): Change need_exact field to ibm_ld.
22448         * stdlib/tst-strtod-round.c (struct exactness): New type.
22449         (struct test): Change bool ld_ok field to struct exactness exact.
22450         (TEST): Update all definitions for change to field.
22451         (tests): Regenerate array contents.
22452         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22453         field value.  Check for IBM long double here.
22454         (do_test): Update calls to test_in_one_mode.
22455
22456 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22457
22458         [BZ #12515]
22459         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22460         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22461
22462 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22463
22464         [BZ #15605]
22465         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22466         generated by the compiler on loop optimizations.
22467         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22468         general definitions.
22469
22470 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22471
22472         * math/bug-nextafter.c: Include <math-tests.h>.
22473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22474         the relevant type.
22475         * math/bug-nexttoward.c: Include <math-tests.h>.
22476         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22477         the relevant type.
22478         * math/test-misc.c: Include <math-tests.h>.
22479         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22480         the relevant type.
22481
22482 2013-06-12  Andreas Jaeger  <aj@suse.de>
22483
22484         * po/ia.po: Update Interlingua translation from translation
22485         project.
22486
22487 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22488
22489         * include/fenv.h: Include stdbool.h.
22490         (struct rm_ctx): New structure.
22491         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22492         Define macro.
22493         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22494         (SET_RESTORE_ROUNDF): Likewise.
22495         (SET_RESTORE_ROUNDL): Likewise.
22496         (SET_RESTORE_ROUND_NOEX): Likewise.
22497         (SET_RESTORE_ROUND_NOEXF): Likewise.
22498         (SET_RESTORE_ROUND_NOEXL): Likewise.
22499         (SET_RESTORE_ROUND_53BIT): Likewise.
22500         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22501         (libc_feresetround_noexf_ctx): Likewise.
22502         (libc_feresetround_noexl_ctx): Likewise.
22503         (libc_feholdsetround_53bit_ctx): Likewise.
22504         (libc_feresetround_53bit_ctx): Likewise.
22505         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22506         (libc_feholdexcept_setround_sse_ctx): New function.
22507         (libc_fesetenv_sse_ctx): Likewise.
22508         (libc_feupdateenv_sse_ctx): Likewise.
22509         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22510         (libc_feholdexcept_setround_387_ctx): Likewise.
22511         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22512         (libc_feholdsetround_387_prec_ctx): Likewise.
22513         (libc_feholdsetround_387_ctx): Likewise.
22514         (libc_feholdsetround_387_53bit_ctx): Likewise.
22515         (libc_feholdsetround_sse_ctx): Likewise.
22516         (libc_feresetround_sse_ctx): Likewise.
22517         (libc_feresetround_387_ctx): Likewise.
22518         (libc_feupdateenv_387_ctx): Likewise.
22519         (libc_feholdexcept_setroundf_ctx): Define macro.
22520         (libc_fesetenvf_ctx): Likewise.
22521         (libc_feupdateenvf_ctx): Likewise.
22522         (libc_feholdsetroundf_ctx): Likewise.
22523         (libc_feresetroundf_ctx): Likewise.
22524         (libc_feholdexcept_setround_ctx): Likewise.
22525         (libc_fesetenv_ctx): Likewise.
22526         (libc_feupdateenv_ctx): Likewise.
22527         (libc_feholdsetround_ctx): Likewise.
22528         (libc_feresetround_ctx): Likewise.
22529         (libc_feholdexcept_setroundl_ctx): Likewise.
22530         (libc_feupdateenvl_ctx): Likewise.
22531         (libc_feholdsetroundl_ctx): Likewise.
22532         (libc_feresetroundl_ctx): Likewise.
22533         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22534         (libc_feresetround_53bit_ctx): Likewise.
22535
22536 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22537
22538         * locale/iso-639.def: Convert to UTF-8.
22539
22540 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22541
22542         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22543         (EXCEPTION_TESTS_double): Likewise.
22544         (EXCEPTION_TESTS_long_double): Likewise.
22545         (EXCEPTION_TESTS): Likewise.
22546         * math/libm-test.inc (test_exceptions): Only test exceptions if
22547         EXCEPTION_TESTS (FLOAT).
22548
22549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22550
22551         * benchtests/Makefile (string-bench): Add strcpy_chk and
22552         stpcpy_chk.
22553         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22554         * benchtests/bench-stpcpy_chk.c: New file.
22555         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22556         * benchtests/bench-strcpy_chk.c: New file.
22557         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22558         code.
22559         (do_test): Likewise.
22560
22561 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22562
22563         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22564         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22565         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22566         with tabs where appropriate.
22567         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22568         dl-procinfo.h.
22569         [PPC_PLATFORM_PPC440]: Likewise.
22570         [PPC_PLATFORM_PPC464]: Likewise.
22571         [PPC_PLATFORM_PPC476]: Likewise.
22572         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22573         ppc464, and ppc476 platform strings merging from ports/
22574         dl-procinfo.h.
22575
22576 2013-06-11  Andreas Schwab  <schwab@suse.de>
22577
22578         [BZ #14991]
22579         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22580         (from_ucs4_idx): Regenerate.
22581         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22582         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22583         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22584         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22585         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22586         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22587         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22588         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22589         from FROM_LOOP and TO_LOOP specific macros.
22590         (BODY): Handle combining characters.
22591         * iconvdata/BIG5HKSCS.irreversible: Update.
22592         * iconvdata/BIG5HKSCS.precomposed: New file.
22593         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22594         characters.
22595         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22596
22597 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22598
22599         * include/sys/time.h: Fix indentation and add copyright header.
22600
22601         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22602         (do_test): Likewise.
22603         * string/test-memchr.c (do_one_test): Likewise.
22604         (do_test): Likewise.
22605         * string/test-memcmp.c (do_one_test): Likewise.
22606         (do_test): Likewise.
22607         * string/test-memcpy.c (do_one_test): Likewise.
22608         (do_test): Likewise.
22609         * string/test-memmem.c (do_one_test): Likewise.
22610         (do_test): Likewise.
22611         (do_random_tests): Likewise.
22612         * string/test-memmove.c (do_one_test): Likewise.
22613         (do_test): Likewise.
22614         * string/test-memset.c (do_one_test): Likewise.
22615         (do_test): Likewise.
22616         * string/test-rawmemchr.c (do_one_test): Likewise.
22617         (do_test): Likewise.
22618         * string/test-strcasecmp.c (do_one_test): Likewise.
22619         (do_test): Likewise.
22620         * string/test-strcasestr.c (do_one_test): Likewise.
22621         (do_test): Likewise.
22622         * string/test-strcat.c (do_one_test): Likewise.
22623         (do_test): Likewise.
22624         * string/test-strchr.c (do_one_test): Likewise.
22625         (do_test): Likewise.
22626         * string/test-strcmp.c (do_one_test): Likewise.
22627         (do_test): Likewise.
22628         * string/test-strcpy.c (do_one_test): Likewise.
22629         (do_test): Likewise.
22630         * string/test-string.h: Likewise.
22631         (test_init): Likewise.
22632         * string/test-strlen.c (do_one_test): Likewise.
22633         (do_test): Likewise.
22634         * string/test-strncasecmp.c (do_one_test): Likewise.
22635         (do_test): Likewise.
22636         * string/test-strncat.c (do_one_test): Likewise.
22637         (do_test): Likewise.
22638         * string/test-strncmp.c (do_one_test): Likewise.
22639         (do_test_limit): Likewise.
22640         (do_test): Likewise.
22641         * string/test-strncpy.c (do_one_test): Likewise.
22642         (do_test): Likewise.
22643         * string/test-strnlen.c (do_one_test): Likewise.
22644         (do_test): Likewise.
22645         * string/test-strpbrk.c (do_one_test): Likewise.
22646         (do_test): Likewise.
22647         * string/test-strrchr.c (do_one_test): Likewise.
22648         (do_test): Likewise.
22649         * string/test-strspn.c (do_one_test): Likewise.
22650         (do_test): Likewise.
22651         * string/test-strstr.c (do_one_test): Likewise.
22652         (do_test): Likewise.
22653
22654         * benchtests/Makefile (string-bench): Add string benchmarks.
22655         * benchtests/bench-bcopy-ifunc.c: New file.
22656         * benchtests/bench-bcopy.c: New file.
22657         * benchtests/bench-bzero-ifunc.c: New file.
22658         * benchtests/bench-bzero.c: New file.
22659         * benchtests/bench-memccpy-ifunc.c: New file.
22660         * benchtests/bench-memccpy.c: New file.
22661         * benchtests/bench-memchr-ifunc.c: New file.
22662         * benchtests/bench-memchr.c: New file.
22663         * benchtests/bench-memcmp-ifunc.c: New file.
22664         * benchtests/bench-memcmp.c: New file.
22665         * benchtests/bench-memmem-ifunc.c: New file.
22666         * benchtests/bench-memmem.c: New file.
22667         * benchtests/bench-memmove-ifunc.c: New file.
22668         * benchtests/bench-memmove.c: New file.
22669         * benchtests/bench-mempcpy-ifunc.c: New file.
22670         * benchtests/bench-mempcpy.c: New file.
22671         * benchtests/bench-memset-ifunc.c: New file.
22672         * benchtests/bench-memset.c: New file.
22673         * benchtests/bench-rawmemchr-ifunc.c: New file.
22674         * benchtests/bench-rawmemchr.c: New file.
22675         * benchtests/bench-stpcpy-ifunc.c: New file.
22676         * benchtests/bench-stpcpy.c: New file.
22677         * benchtests/bench-stpncpy-ifunc.c: New file.
22678         * benchtests/bench-stpncpy.c: New file.
22679         * benchtests/bench-strcasecmp-ifunc.c: New file.
22680         * benchtests/bench-strcasecmp.c: New file.
22681         * benchtests/bench-strcasestr-ifunc.c: New file.
22682         * benchtests/bench-strcasestr.c: New file.
22683         * benchtests/bench-strcat-ifunc.c: New file.
22684         * benchtests/bench-strcat.c: New file.
22685         * benchtests/bench-strchr-ifunc.c: New file.
22686         * benchtests/bench-strchr.c: New file.
22687         * benchtests/bench-strchrnul-ifunc.c: New file.
22688         * benchtests/bench-strchrnul.c: New file.
22689         * benchtests/bench-strcmp-ifunc.c: New file.
22690         * benchtests/bench-strcmp.c: New file.
22691         * benchtests/bench-strcpy-ifunc.c: New file.
22692         * benchtests/bench-strcpy.c: New file.
22693         * benchtests/bench-strcspn-ifunc.c: New file.
22694         * benchtests/bench-strcspn.c: New file.
22695         * benchtests/bench-strlen-ifunc.c: New file.
22696         * benchtests/bench-strlen.c: New file.
22697         * benchtests/bench-strncasecmp-ifunc.c: New file.
22698         * benchtests/bench-strncasecmp.c: New file.
22699         * benchtests/bench-strncat-ifunc.c: New file.
22700         * benchtests/bench-strncat.c: New file.
22701         * benchtests/bench-strncmp-ifunc.c: New file.
22702         * benchtests/bench-strncmp.c: New file.
22703         * benchtests/bench-strncpy-ifunc.c: New file.
22704         * benchtests/bench-strncpy.c: New file.
22705         * benchtests/bench-strnlen-ifunc.c: New file.
22706         * benchtests/bench-strnlen.c: New file.
22707         * benchtests/bench-strpbrk-ifunc.c: New file.
22708         * benchtests/bench-strpbrk.c: New file.
22709         * benchtests/bench-strrchr-ifunc.c: New file.
22710         * benchtests/bench-strrchr.c: New file.
22711         * benchtests/bench-strspn-ifunc.c: New file.
22712         * benchtests/bench-strspn.c: New file.
22713         * benchtests/bench-strstr-ifunc.c: New file.
22714         * benchtests/bench-strstr.c: New file.
22715
22716         * benchtests/Makefile: Disable parallel execution of targets.
22717         (string-bench): Add memcpy.
22718         (benchset): New variable to store a list of benchmark sets.
22719         (bench-func): Renamed from bench.
22720         (bench-set): New target.
22721         (bench): Depend on bench-func and bench-set.
22722         * benchtests/README: Add section on benchmark sets.
22723         * benchtests/bench-memcpy-ifunc.c: New file.
22724         * benchtests/bench-memcpy.c: New file.
22725         * benchtests/bench-string.h: New file.
22726
22727 2013-06-11  Andreas Schwab  <schwab@suse.de>
22728
22729         [BZ #15577]
22730         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22731         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22732         values in the triple.
22733         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22734         terminator in the group key.
22735
22736 2013-06-11  Andreas Jaeger  <aj@suse.de>
22737
22738         * po/zh_TW.po: Update Chinese (traditional) translation from
22739         translation project.
22740
22741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22742
22743         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22744         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22745         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22747         (clock_getcpuclockid): Likewise.
22748         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22749         Add weak_alias and libc_hidden_def.
22750         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22751         * rt/clock_gettime.c (clock_gettime): Rename to
22752         __clock_gettime.  Add weak_alias and libc_hidden_def.
22753         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22754         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22755         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22756         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22757         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22758         Likewise.
22759         * rt/clock_settime.c (clock_settime): Rename to
22760         __clock_settime.  Add weak_alias and libc_hidden_def.
22761         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22762
22763 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22764
22765         * mach/err_boot.sub: Remove trailing whitespace.
22766         * mach/err_ipc.sub: Likewise.
22767         * mach/err_mach.sub: Likewise.
22768
22769         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22770         (ROUNDING_TESTS_double): Likewise.
22771         (ROUNDING_TESTS_long_double): Likewise.
22772         (ROUNDING_TESTS): Likewise.
22773         * math/libm-test.inc: Include <math-tests.h>.
22774         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22775         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22776         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22777         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22778
22779 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22780
22781         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22782         of assigning.
22783
22784 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22785
22786         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22787         otherwise empty TRANS lines.
22788         * sysdeps/gnu/errlist.c: Regenerated.
22789
22790         * catgets/gencat.c (error_print): Use (void) in function
22791         definition.
22792         * crypt/crypt_util.c (__init_des): Likewise.
22793         * crypt/speeds.c (Stop): Likewise.
22794         (main): Likewise.
22795         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22796         * inet/ruserpass.c (token): Likewise.
22797         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22798         * intl/localealias.c (extend_alias_table): Likewise.
22799         * intl/plural-exp.c (init_germanic_plural): Likewise.
22800         * libio/fcloseall.c (__fcloseall): Likewise.
22801         * libio/genops.c (_IO_flush_all): Likewise.
22802         (_IO_flush_all_linebuffered): Likewise.
22803         (_IO_cleanup): Likewise.
22804         (_IO_iter_begin): Likewise.
22805         (_IO_iter_end): Likewise.
22806         (_IO_list_lock): Likewise.
22807         (_IO_list_unlock): Likewise.
22808         (_IO_list_resetlock): Likewise.
22809         * libio/getchar.c (getchar): Likewise.
22810         * libio/getchar_u.c (getchar_unlocked): Likewise.
22811         * libio/getwchar.c (getwchar): Likewise.
22812         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22813         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22814         * login/getpt.c (__getpt): Likewise.
22815         * login/tst-utmp.c (main): Likewise.
22816         * malloc/hooks.c (__malloc_check_init): Likewise.
22817         * malloc/malloc.c (__malloc_stats): Likewise.
22818         * malloc/mtrace.c (tr_break): Likewise.
22819         (mtrace): Likewise.
22820         (muntrace): Likewise.
22821         * misc/fstab.c (endfsent): Likewise.
22822         * misc/getclktck.c (__getclktck): Likewise.
22823         * misc/getdtsz.c (__getdtablesize): Likewise.
22824         * misc/gethostid.c (gethostid): Likewise.
22825         * misc/getpagesize.c (__getpagesize): Likewise.
22826         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22827         (__get_nprocs): Likewise.
22828         (__get_phys_pages): Likewise.
22829         (__get_avphys_pages): Likewise.
22830         * misc/getttyent.c (getttyent): Likewise.
22831         (setttyent): Likewise.
22832         (endttyent): Likewise.
22833         * misc/getusershell.c (getusershell): Likewise.
22834         (endusershell): Likewise.
22835         (setusershell): Likewise.
22836         (initshells): Likewise.
22837         * misc/hsearch.c (__hdestroy): Likewise.
22838         * misc/sync.c (sync): Likewise.
22839         * misc/syslog.c (closelog_internal): Likewise.
22840         (closelog): Likewise.
22841         * misc/ttyslot.c (ttyslot): Likewise.
22842         * misc/vhangup.c (vhangup): Likewise.
22843         * posix/fork.c (__fork): Likewise.
22844         * posix/getegid.c (__getegid): Likewise.
22845         * posix/geteuid.c (__geteuid): Likewise.
22846         * posix/getgid.c (__getgid): Likewise.
22847         * posix/getpid.c (__getpid): Likewise.
22848         * posix/getppid.c (__getppid): Likewise.
22849         * posix/getuid.c (__getuid): Likewise.
22850         * posix/pause.c (pause): Likewise.
22851         * posix/setpgrp.c (setpgrp): Likewise.
22852         * posix/setsid.c (__setsid): Likewise.
22853         * posix/test-vfork.c (noop): Likewise.
22854         * resolv/gethnamaddr.c (_endhtent): Likewise.
22855         (_gethtent): Likewise.
22856         (ht_endhostent): Likewise.
22857         (gethostent): Likewise.
22858         (dns_service): Likewise.
22859         * stdlib/drand48.c (drand48): Likewise.
22860         * stdlib/lrand48.c (lrand48): Likewise.
22861         * stdlib/mrand48.c (mrand48): Likewise.
22862         * stdlib/rand.c (rand): Likewise.
22863         * stdlib/random.c (__random): Likewise.
22864         * stdlib/setenv.c (clearenv): Likewise.
22865         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22866         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22867         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22868         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22869         (__get_nprocs): Likewise.
22870         (__get_phys_pages): Likewise.
22871         (__get_avphys_pages): Likewise.
22872         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22873         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22874         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22875         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22876         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22877         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22878         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22879         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22880         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22881         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22882         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22883         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22884         * sysdeps/posix/clock.c (clock): Likewise.
22885         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22886         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22887         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22888         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22889         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22891         (__get_nprocs_conf): Likewise.
22892         (__get_phys_pages): Likewise.
22893         (__get_avphys_pages): Likewise.
22894         * time/clock.c (clock): Likewise.
22895         * time/tzset.c (__tzname_max): Likewise.
22896
22897 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22898
22899         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22900         (__bswap_32): Do not use "register".
22901         * crypt/crypt.c (_ufc_doit_r): Likewise.
22902         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22903         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22904         * gmon/gmon.c (__monstartup): Likewise.
22905         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22906         * hurd/hurdmalloc.c (more_memory): Likewise.
22907         (malloc): Likewise.
22908         (free): Likewise.
22909         (realloc): Likewise.
22910         (malloc_fork_prepare): Likewise.
22911         (malloc_fork_parent): Likewise.
22912         (malloc_fork_child): Likewise.
22913         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22914         (_svcauth_des): Likewise.
22915         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22916         * inet/inet_net.c (inet_network): Likewise.
22917         * inet/inet_netof.c (inet_netof): Likewise.
22918         * inet/rcmd.c (__validuser2_sa): Likewise.
22919         * io/fts.c (fts_open): Likewise.
22920         (fts_load): Likewise.
22921         (fts_close): Likewise.
22922         (fts_read): Likewise.
22923         (fts_children): Likewise.
22924         (fts_build): Likewise.
22925         (fts_stat): Likewise.
22926         (fts_sort): Likewise.
22927         (fts_alloc): Likewise.
22928         (fts_lfree): Likewise.
22929         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22930         (_IO_file_xsgetn): Likewise.
22931         (_IO_file_xsgetn_mmap): Likewise.
22932         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22933         (_IO_cookie_write): Likewise.
22934         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22935         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22936         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22937         * malloc/obstack.c (_obstack_begin): Likewise.
22938         (_obstack_begin_1): Likewise.
22939         (_obstack_newchunk): Likewise.
22940         (_obstack_allocated_p): Likewise.
22941         (obstack_free): Likewise.
22942         (_obstack_memory_used): Likewise.
22943         * misc/getttyent.c (getttynam): Likewise.
22944         (getttyent): Likewise.
22945         (skip): Likewise.
22946         (value): Likewise.
22947         * misc/getusershell.c (initshells): Likewise.
22948         * misc/syslog.c (__vsyslog_chk): Likewise.
22949         * misc/ttyslot.c (ttyslot): Likewise.
22950         * nis/nis_hash.c (__nis_hash): Likewise.
22951         * posix/fnmatch_loop.c (FCT): Likewise.
22952         * posix/getconf.c (print_all): Likewise.
22953         (main): Likewise.
22954         * posix/getopt.c (exchange): Likewise.
22955         * posix/glob.c (globfree): Likewise.
22956         (prefix_array): Likewise.
22957         (__glob_pattern_type): Likewise.
22958         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22959         (NS_GET32): Likewise.
22960         (NS_PUT16): Likewise.
22961         (NS_PUT32): Likewise.
22962         * resolv/gethnamaddr.c (getanswer): Likewise.
22963         (gethostbyname2): Likewise.
22964         (gethostbyaddr): Likewise.
22965         (_gethtent): Likewise.
22966         (_gethtbyname2): Likewise.
22967         (_gethtbyaddr): Likewise.
22968         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22969         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22970         * resolv/res_init.c (__res_vinit): Likewise.
22971         (net_mask): Likewise.
22972         * resolv/res_mkquery.c (outchar): Likewise.
22973         (PRINT): Likewise.
22974         * stdio-common/printf_fp.c (outchar): Likewise.
22975         (PRINT): Likewise.
22976         * stdio-common/printf_fphex.c (outchar): Likewise.
22977         (PRINT): Likewise.
22978         * stdio-common/printf_size.c (outchar): Likewise.
22979         (PRINT): Likewise.
22980         * stdio-common/test_rdwr.c (main): Likewise.
22981         * stdio-common/tfformat.c (matches): Likewise.
22982         * stdio-common/vfprintf.c (outchar): Likewise.
22983         (printf_unknown): Likewise.
22984         (buffered_vfprintf): Likewise.
22985         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22986         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22987         (ReadFile): Likewise.
22988         * stdlib/qsort.c (SWAP): Likewise.
22989         (_quicksort): Likewise.
22990         * stdlib/setenv.c (__add_to_environ): Likewise.
22991         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22992         * stdlib/strtol_l.c (__strtol_l): Likewise.
22993         * stdlib/tst-strtod.c (main): Likewise.
22994         * stdlib/tst-strtol.c (main): Likewise.
22995         * stdlib/tst-strtoll.c (main): Likewise.
22996         * string/bits/string2.h (__strcmp_cc): Likewise.
22997         (__strcmp_cg): Likewise.
22998         (__strcspn_c1): Likewise.
22999         (__strcspn_c2): Likewise.
23000         (__strcspn_c3): Likewise.
23001         (__strspn_c1): Likewise.
23002         (__strspn_c2): Likewise.
23003         (__strspn_c3): Likewise.
23004         (__strsep_1c): Likewise.
23005         (__strsep_2c): Likewise.
23006         (__strsep_3c): Likewise.
23007         * string/memccpy.c (__memccpy): Likewise.
23008         * string/stpcpy.c (__stpcpy): Likewise.
23009         * string/strcmp.c (strcmp): Likewise.
23010         * string/strrchr.c (strrchr): Likewise.
23011         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23012         Likewise.
23013         * sysdeps/mach/hurd/getcwd.c
23014         (_hurd_canonicalize_directory_name_internal): Likewise.
23015         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23016         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23017         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23018         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23019         Likewise, in both definitions.
23020         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23021         definitions.
23022         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23023         64] (__bswap_64): Likewise.
23024         * time/test_time.c (main): Likewise.
23025         * time/tzfile.c (__tzfile_read): Likewise.
23026         (__tzfile_compute): Likewise.
23027         * time/tzset.c (__tzset_parse_tz): Likewise.
23028         (tzset_internal): Likewise.
23029         (compute_change): Likewise.
23030         * wcsmbs/wcscat.c (__wcscat): Likewise.
23031         * wcsmbs/wcschr.c (wcschr): Likewise.
23032         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23033         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23034         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23035         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23036         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23037         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23038         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23039         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23040         * wcsmbs/wmemset.c (wmemset): Likewise.
23041
23042 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23043
23044         * scripts/config.guess: Update to version 2013-05-16.
23045         * scripts/config.sub: Update to version 2013-04-24.
23046         * scripts/install-sh: Update to version 2011-11-20.07.
23047         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23048         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23049
23050 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23051
23052         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23053         * elf/sln.c: Likewise.
23054         * hurd/hurd/ioctl.h: Likewise.
23055         * hurd/hurdmalloc.c: Likewise.
23056         * hurd/xattr.c: Likewise.
23057         * include/shlib-compat.h: Likewise.
23058         * inet/ruserpass.c: Likewise.
23059         * libio/iofgets_u.c: Likewise.
23060         * libio/iofgetws_u.c: Likewise.
23061         * locale/programs/ld-identification.c: Likewise.
23062         * locale/programs/ld-time.c: Likewise.
23063         * mach/msg-destroy.c: Likewise.
23064         * nss/nss_files/files-netgrp.c: Likewise.
23065         * resolv/res_data.c: Likewise.
23066         * soft-fp/op-1.h: Likewise.
23067         * soft-fp/op-2.h: Likewise.
23068         * soft-fp/op-4.h: Likewise.
23069         * soft-fp/op-common.h: Likewise.
23070         * stdio-common/printf_fphex.c: Likewise.
23071         * stdlib/strtod_l.c: Likewise.
23072         * sunrpc/rpc/clnt.h: Likewise.
23073         * sysdeps/generic/framestate.c: Likewise.
23074         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23075         * sysdeps/i386/bsd-setjmp.S: Likewise.
23076         * sysdeps/i386/__longjmp.S: Likewise.
23077         * sysdeps/i386/setjmp.S: Likewise.
23078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23079         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23080         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23081         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23082         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23083         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23086         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23087         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23088         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23089         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23090         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23091         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23092         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23094         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23095         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23096         * sysdeps/ieee754/support.c: Likewise.
23097         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23098         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23099         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23100         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23101         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23102         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23103         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23104         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23105         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23106         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23107         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23108         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23109         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23110         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23111         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23112         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23113         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23115
23116 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23117
23118         * posix/transbug.c: Remove executable mode.
23119
23120 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23121
23122         * crypt/speeds.c: Remove trailing whitespace.
23123         * dlfcn/default.c: Likewise.
23124         * elf/ifuncdep2.c: Likewise.
23125         * elf/ifuncmain1.c: Likewise.
23126         * elf/ifuncmain1vis.c: Likewise.
23127         * elf/testobj.h: Likewise.
23128         * elf/tst-stackguard1.c: Likewise.
23129         * gmon/sys/gmon.h: Likewise.
23130         * hurd/hurdmsg.c: Likewise.
23131         * hurd/new-fd.c: Likewise.
23132         * hurd/ports-get.c: Likewise.
23133         * iconvdata/ibm1008_420.c: Likewise.
23134         * inet/tst-getni1.c: Likewise.
23135         * inet/tst-getni2.c: Likewise.
23136         * libio/ioungetc.c: Likewise.
23137         * libio/wfiledoalloc.c: Likewise.
23138         * manual/libm-err-tab.pl: Likewise.
23139         * math/w_dremf.c: Likewise.
23140         * misc/ftruncate.c: Likewise.
23141         * posix/bug-glob2.c: Likewise.
23142         * posix/tst-pcre.c: Likewise.
23143         * posix/wait4.c: Likewise.
23144         * resolv/README: Likewise.
23145         * resolv/res_debug.h: Likewise.
23146         * resolv/tst-inet_ntop.c: Likewise.
23147         * setjmp/bug269-setjmp.c: Likewise.
23148         * soft-fp/extended.h: Likewise.
23149         * soft-fp/op-1.h: Likewise.
23150         * soft-fp/op-2.h: Likewise.
23151         * soft-fp/op-4.h: Likewise.
23152         * soft-fp/op-8.h: Likewise.
23153         * soft-fp/testit.c: Likewise.
23154         * stdio-common/bug16.c: Likewise.
23155         * stdlib/random.c: Likewise.
23156         * sunrpc/rpcsvc/rquota.x: Likewise.
23157         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23158         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23160         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23161         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23162         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23163         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23164         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23165         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23166         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23167         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23168         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23170         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23171         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23172         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23175         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23178         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23179         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23184         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23186         * sysdeps/ieee754/s_lib_version.c: Likewise.
23187         * sysdeps/mach/hurd/check_fds.c: Likewise.
23188         * sysdeps/mach/hurd/getsockname.c: Likewise.
23189         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23190         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23191         * sysdeps/powerpc/bits/link.h: Likewise.
23192         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23193         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23194         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23195         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23196         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23197         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23198         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23199         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23200         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23201         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23202         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23203         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23204         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23205         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23206         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23207         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23208         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23209         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23210         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23211         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23212         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23213         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23214         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23215         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23216         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23217         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23218         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23219         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23220         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23221         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23222         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23226         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23227         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23228         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23229         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23230         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23231         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23232         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23233         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23234         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23235         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23236         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23237         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23238         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23239         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23240         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23241         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23242         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23246         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23247         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23248         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23249         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23250         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23251         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23252         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23253         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23254         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23255         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23256         * sysdeps/powerpc/sysdep.h: Likewise.
23257         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23258         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23259         * sysdeps/sh/dl-trampoline.S: Likewise.
23260         * sysdeps/sh/memset.S: Likewise.
23261         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23262         * sysdeps/sh/strlen.S: Likewise.
23263         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23264         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23265         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23266         * sysdeps/sparc/sparc32/rem.S: Likewise.
23267         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23269         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23270         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23271         * sysdeps/sparc/sparc32/urem.S: Likewise.
23272         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23273         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23274         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23275         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23277         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23278         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23279         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23280         * sysdeps/unix/bsd/times.c: Likewise.
23281         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23282         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23286         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23287         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23290         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23291         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23292         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23293         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23294         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23295         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23296         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23297         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23298         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23299         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23300         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23301         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23302         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23303         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23304         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23305         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23306         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23307         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23308         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23309         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23310         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23311         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23312         * sysdeps/x86_64/strcspn.S: Likewise.
23313
23314 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23315
23316         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23317         generated file.  Regenerate properly from gen-translit.pl.
23318         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23319         locale/C-translit.h.
23320
23321 2013-06-05  Andreas Schwab  <schwab@suse.de>
23322
23323         [BZ #15100]
23324         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23325         week as 6 instead of -1.
23326         * time/tst-strptime.c (day_tests): Add test case.
23327
23328 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23329
23330         * sysdeps/generic/math_private.h
23331         (libc_feholdexcept_setround_53bit): Replace with
23332         libc_feholdsetround_53bit.
23333         (libc_feupdateenv_53bit): Replace with
23334         libc_feresetround_53bit.
23335         (SET_RESTORE_ROUND_53BIT): Adjust.
23336
23337 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23338
23339         * string/test-strchrnul.c: Add copyright header.
23340
23341         * posix/tst-getaddrinfo4.c: Increase test timeout.
23342
23343 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23344
23345         [BZ #15536]
23346         * math/libm-test.inc (MAX_EXP): Remove
23347         (MIN_EXP): Define.
23348         (ulp): Use MIN_EXP - MANT_DIG.
23349         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23350
23351 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23352
23353         * po/be.po: Revert last change.
23354         * po/zh_CN.po: Likewise.
23355         * po/header.pot: Likewise.
23356
23357 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23358
23359         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23360         link-libc-deps to empty as target-specific variable.
23361         * Makerules (link-libc-args): New variable.
23362         (libc-for-link): Likewise.
23363         (link-libc-deps): Likewise.
23364         (lib%.so): Depend on $(link-libc-deps).  Link with
23365         $(link-libc-args).
23366         (build-module): Link with $(link-libc-args).
23367         (build-module-asneeded): Likewise.
23368         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23369         list of objects.
23370         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23371         target-specific variable.
23372         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23373         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23374         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23375         libc.
23376         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23377         libc and ld.so.
23378         ($(objpfx)libpcprofile.so): Likewise.
23379         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23380         libc_nonshared.a.
23381         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23382         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23383         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23384         $(link-libc-deps).
23385         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23386         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23387         * login/Makefile ($(objpfx)libutil.so): Likewise.
23388         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23389         * math/Makefile ($(objpfx)libm.so): Likewise.
23390         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23391         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23392         variable instead of depending directly on libc.
23393         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23394         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23395         $(link-libc-deps).
23396         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23397         libc.
23398         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23399         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23400         ($(objpfx)libanl.so): Likewise.
23401         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23402         ld.so.
23403         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23404         $(link-libc-deps).
23405         * sysdeps/i386/fpu/Makefile: Remove file.
23406         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23407         ($(objpfx)libm.so): Remove dependency on ld.so.
23408
23409 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23410
23411         [BZ # 15553]
23412         * nis/yp_xdr.c (XDRMAXNAME): Define.
23413         (XDRMAXRECORD): Define.
23414         (xdr_domainname): Use XDRMAXNAME.
23415         (xdr_mapname): Likewise.
23416         (xdr_peername): Likewise.
23417         (xdr_keydat): Use XDRMAXRECORD.
23418         (xdr_valdat): Likewise.
23419
23420 2013-05-30  Jeff Law  <law@redhat.com>
23421
23422         [BZ #14256]
23423         * manual/errno.texi (ESTALE): Update to account for more than
23424         just NFS file systems.
23425         * sysdeps/gnu/errlist.c: Regenerated.
23426
23427 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23428
23429         [BZ #15465]
23430         * elf/Makefile (tests): Add tst-null-argv.
23431         (modules-names):  Add tst-null-argv-lib.
23432         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23433         (tst-null-argv-ENV): Set environment for tst-null-argv.
23434         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23435         (RTLD_PROGNAME): New macro.
23436         * elf/tst-null-argv.c: New test case.
23437         * elf/tst-null-argv-lib.c: Library for test case.
23438         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23439         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23440         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23441         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23442         * elf/dl-init.c (call_init): Likewise.
23443         (_dl_init): Likewise.
23444         * elf/dl-load.c (print_search_path): Likewise.
23445         (_dl_map_object): Likewise.
23446         * elf/dl-lookup.c (do_lookup_x): Likewise.
23447         (add_dependency): Likewise.
23448         (_dl_lookup_symbol_x): Likewise.
23449         (_dl_debug_bindings): Likewise.
23450         * elf/dl-open.c (_dl_show_scope): Likewise.
23451         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23452         * elf/dl-version.c (match_symbol): Likewise.
23453         (_dl_check_map_versions): Likewise.
23454         * elf/rtld.c (dl_main): Likewise.
23455         (print_unresolved): Use RTLD_PROGNAME.
23456         (print_missing_version): Likewise.
23457         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23458         (elf_machine_rela): Likewise.
23459         * sysdeps/powerpc/powerpc32/dl-machine.c
23460         (__process_machine_rela): Likewise.
23461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23462         Likewise.
23463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23464         Likewise.
23465         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23466         Likewise.
23467         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23469         Likewise.
23470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23471         Likewise.
23472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23473
23474 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23475
23476         * po/be.po: Add descriptive title.
23477         * po/zh_CN.po: Likewise.
23478         * po/header.pot: Likewise.
23479
23480 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23481
23482         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23483         error message.
23484         (enlarge_archive): Likewise.
23485
23486 2013-05-28  Ben North  <ben@redfrontdoor.org>
23487
23488         * manual/arith.texi (frexp): It is the magnitude of the return
23489         value which lies in [0.5, 1), not the return value itself.
23490
23491 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23492
23493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23494
23495 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23496
23497         * stdio-common/bug26.c (main): Correct fscanf template.
23498
23499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23500         declare _dl_skip_args.
23501
23502         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23503         Don't declare.
23504
23505         * manual/platform.texi: Add missing @end deftypefun.
23506
23507 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23508
23509         [BZ #15529]
23510         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23511         bit of mantissa of 2^16382.
23512         * math/libm-test.inc (hypot_test_data): Add more tests.
23513
23514         * math/libm-test.inc: Add drem and pow10 to list of tested
23515         functions.
23516         (pow10_test): New function.
23517         (drem_test): Likewise.
23518         (drem_test_tonearest): Likewise.
23519         (drem_test_towardzero): Likewise.
23520         (drem_test_downward): Likewise.
23521         (drem_test_upward): Likewise.
23522         (main): Call the new functions.
23523
23524         * math/libm-test.inc (finite_test_data): Remove.
23525         (finite_test): Run tests from isfinite_test_data.
23526         (gamma_test_data): Remove.
23527         (gamma_test): Run tests from lgamma_test_data.
23528         * sysdeps/i386/fpu/libm-test-ulps: Update.
23529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23530
23531 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23532
23533         * manual/platform.texi: Add PowerPC PPR function set documentation.
23534         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23535         implementation.
23536
23537 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23538
23539         * math/libm-test.inc (MAX_EXP): Define.
23540         (ULPDIFF): Define.
23541         (ulp): New function.
23542         (check_float_internal): Use ULPDIFF.
23543         (cpow_test): Disable failing test.
23544         (check_ulp): Test ulp() implemetnation.
23545         (main): Call check_ulp before starting tests.
23546
23547 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23548
23549         * math/gen-libm-test.pl (generate_testfile): Do not handle
23550         START_DATA and END_DATA.
23551         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23552         END_DATA.
23553         (acos_tonearest_test_data): Likewise.
23554         (acos_towardzero_test_data): Likewise.
23555         (acos_downward_test_data): Likewise.
23556         (acos_upward_test_data): Likewise.
23557         (acosh_test_data): Likewise.
23558         (asin_test_data): Likewise.
23559         (asin_tonearest_test_data): Likewise.
23560         (asin_towardzero_test_data): Likewise.
23561         (asin_downward_test_data): Likewise.
23562         (asin_upward_test_data): Likewise.
23563         (asinh_test_data): Likewise.
23564         (atan_test_data): Likewise.
23565         (atanh_test_data): Likewise.
23566         (atan2_test_data): Likewise.
23567         (cabs_test_data): Likewise.
23568         (cacos_test_data): Likewise.
23569         (cacosh_test_data): Likewise.
23570         (carg_test_data): Likewise.
23571         (casin_test_data): Likewise.
23572         (casinh_test_data): Likewise.
23573         (catan_test_data): Likewise.
23574         (catanh_test_data): Likewise.
23575         (cbrt_test_data): Likewise.
23576         (ccos_test_data): Likewise.
23577         (ccosh_test_data): Likewise.
23578         (ceil_test_data): Likewise.
23579         (cexp_test_data): Likewise.
23580         (cimag_test_data): Likewise.
23581         (clog_test_data): Likewise.
23582         (clog10_test_data): Likewise.
23583         (conj_test_data): Likewise.
23584         (copysign_test_data): Likewise.
23585         (cos_test_data): Likewise.
23586         (cos_tonearest_test_data): Likewise.
23587         (cos_towardzero_test_data): Likewise.
23588         (cos_downward_test_data): Likewise.
23589         (cos_upward_test_data): Likewise.
23590         (cosh_test_data): Likewise.
23591         (cosh_tonearest_test_data): Likewise.
23592         (cosh_towardzero_test_data): Likewise.
23593         (cosh_downward_test_data): Likewise.
23594         (cosh_upward_test_data): Likewise.
23595         (cpow_test_data): Likewise.
23596         (cproj_test_data): Likewise.
23597         (creal_test_data): Likewise.
23598         (csin_test_data): Likewise.
23599         (csinh_test_data): Likewise.
23600         (csqrt_test_data): Likewise.
23601         (ctan_test_data): Likewise.
23602         (ctan_tonearest_test_data): Likewise.
23603         (ctan_towardzero_test_data): Likewise.
23604         (ctan_downward_test_data): Likewise.
23605         (ctan_upward_test_data): Likewise.
23606         (ctanh_test_data): Likewise.
23607         (ctanh_tonearest_test_data): Likewise.
23608         (ctanh_towardzero_test_data): Likewise.
23609         (ctanh_downward_test_data): Likewise.
23610         (ctanh_upward_test_data): Likewise.
23611         (erf_test_data): Likewise.
23612         (erfc_test_data): Likewise.
23613         (exp_test_data): Likewise.
23614         (exp_tonearest_test_data): Likewise.
23615         (exp_towardzero_test_data): Likewise.
23616         (exp_downward_test_data): Likewise.
23617         (exp_upward_test_data): Likewise.
23618         (exp10_test_data): Likewise.
23619         (exp2_test_data): Likewise.
23620         (expm1_test_data): Likewise.
23621         (fabs_test_data): Likewise.
23622         (fdim_test_data): Likewise.
23623         (finite_test_data): Likewise.
23624         (floor_test_data): Likewise.
23625         (fma_test_data): Likewise.
23626         (fma_towardzero_test_data): Likewise.
23627         (fma_downward_test_data): Likewise.
23628         (fma_upward_test_data): Likewise.
23629         (fmax_test_data): Likewise.
23630         (fmin_test_data): Likewise.
23631         (fmod_test_data): Likewise.
23632         (fpclassify_test_data): Likewise.
23633         (frexp_test_data): Likewise.
23634         (gamma_test_data): Likewise.
23635         (hypot_test_data): Likewise.
23636         (ilogb_test_data): Likewise.
23637         (isfinite_test_data): Likewise.
23638         (isgreater_test_data): Likewise.
23639         (isgreaterequal_test_data): Likewise.
23640         (isinf_test_data): Likewise.
23641         (isless_test_data): Likewise.
23642         (islessequal_test_data): Likewise.
23643         (islessgreater_test_data): Likewise.
23644         (isnan_test_data): Likewise.
23645         (isnormal_test_data): Likewise.
23646         (issignaling_test_data): Likewise.
23647         (isunordered_test_data): Likewise.
23648         (j0_test_data): Likewise.
23649         (j1_test_data): Likewise.
23650         (jn_test_data): Likewise.
23651         (ldexp_test_data): Likewise.
23652         (lgamma_test_data): Likewise.
23653         (lrint_test_data): Likewise.
23654         (lrint_tonearest_test_data): Likewise.
23655         (lrint_towardzero_test_data): Likewise.
23656         (lrint_downward_test_data): Likewise.
23657         (lrint_upward_test_data): Likewise.
23658         (llrint_test_data): Likewise.
23659         (llrint_tonearest_test_data): Likewise.
23660         (llrint_towardzero_test_data): Likewise.
23661         (llrint_downward_test_data): Likewise.
23662         (llrint_upward_test_data): Likewise.
23663         (log_test_data): Likewise.
23664         (log10_test_data): Likewise.
23665         (log1p_test_data): Likewise.
23666         (log2_test_data): Likewise.
23667         (logb_test_data): Likewise.
23668         (logb_downward_test_data): Likewise.
23669         (lround_test_data): Likewise.
23670         (llround_test_data): Likewise.
23671         (modf_test_data): Likewise.
23672         (nearbyint_test_data): Likewise.
23673         (nextafter_test_data): Likewise.
23674         (nexttoward_test_data): Likewise.
23675         (pow_test_data): Likewise.
23676         (pow_tonearest_test_data): Likewise.
23677         (pow_towardzero_test_data): Likewise.
23678         (pow_downward_test_data): Likewise.
23679         (pow_upward_test_data): Likewise.
23680         (remainder_test_data): Likewise.
23681         (remainder_tonearest_test_data): Likewise.
23682         (remainder_towardzero_test_data): Likewise.
23683         (remainder_downward_test_data): Likewise.
23684         (remainder_upward_test_data): Likewise.
23685         (remquo_test_data): Likewise.
23686         (rint_test_data): Likewise.
23687         (rint_tonearest_test_data): Likewise.
23688         (rint_towardzero_test_data): Likewise.
23689         (rint_downward_test_data): Likewise.
23690         (rint_upward_test_data): Likewise.
23691         (round_test_data): Likewise.
23692         (scalb_test_data): Likewise.
23693         (scalbn_test_data): Likewise.
23694         (scalbln_test_data): Likewise.
23695         (signbit_test_data): Likewise.
23696         (sin_test_data): Likewise.
23697         (sin_tonearest_test_data): Likewise.
23698         (sin_towardzero_test_data): Likewise.
23699         (sin_downward_test_data): Likewise.
23700         (sin_upward_test_data): Likewise.
23701         (sincos_test_data): Likewise.
23702         (sinh_test_data): Likewise.
23703         (sinh_tonearest_test_data): Likewise.
23704         (sinh_towardzero_test_data): Likewise.
23705         (sinh_downward_test_data): Likewise.
23706         (sinh_upward_test_data): Likewise.
23707         (sqrt_test_data): Likewise.
23708         (tan_test_data): Likewise.
23709         (tan_tonearest_test_data): Likewise.
23710         (tan_towardzero_test_data): Likewise.
23711         (tan_downward_test_data): Likewise.
23712         (tan_upward_test_data): Likewise.
23713         (tanh_test_data): Likewise.
23714         (tgamma_test_data): Likewise.
23715         (trunc_test_data): Likewise.
23716         (y0_test_data): Likewise.
23717         (y1_test_data): Likewise.
23718         (yn_test_data): Likewise.
23719         (significand_test_data): Likewise.
23720
23721         * math/gen-libm-test.pl (@functions): Remove variable.
23722         (generate_testfile): Don't handle START and END lines.
23723         * math/libm-test.inc (START): New macro.
23724         (END): Likewise.
23725         (END_COMPLEX): Likewise.
23726         (acos_test): Use END macro without arguments.
23727         (acos_test_tonearest): Likewise.
23728         (acos_test_towardzero): Likewise.
23729         (acos_test_downward): Likewise.
23730         (acos_test_upward): Likewise.
23731         (acosh_test): Likewise.
23732         (asin_test): Likewise.
23733         (asin_test_tonearest): Likewise.
23734         (asin_test_towardzero): Likewise.
23735         (asin_test_downward): Likewise.
23736         (asin_test_upward): Likewise.
23737         (asinh_test): Likewise.
23738         (atan_test): Likewise.
23739         (atanh_test): Likewise.
23740         (atan2_test): Likewise.
23741         (cabs_test): Likewise.
23742         (cacos_test): Use END_COMPLEX macro without arguments.
23743         (cacosh_test): Likewise.
23744         (carg_test): Use END macro without arguments.
23745         (casin_test): Use END_COMPLEX macro without arguments.
23746         (casinh_test): Likewise.
23747         (catan_test): Likewise.
23748         (catanh_test): Likewise.
23749         (cbrt_test): Use END macro without arguments.
23750         (ccos_test): Use END_COMPLEX macro without arguments.
23751         (ccosh_test): Likewise.
23752         (ceil_test): Use END macro without arguments.
23753         (cexp_test): Use END_COMPLEX macro without arguments.
23754         (cimag_test): Use END macro without arguments.
23755         (clog_test): Use END_COMPLEX macro without arguments.
23756         (clog10_test): Likewise.
23757         (conj_test): Likewise.
23758         (copysign_test): Use END macro without arguments.
23759         (cos_test): Likewise.
23760         (cos_test_tonearest): Likewise.
23761         (cos_test_towardzero): Likewise.
23762         (cos_test_downward): Likewise.
23763         (cos_test_upward): Likewise.
23764         (cosh_test): Likewise.
23765         (cosh_test_tonearest): Likewise.
23766         (cosh_test_towardzero): Likewise.
23767         (cosh_test_downward): Likewise.
23768         (cosh_test_upward): Likewise.
23769         (cpow_test): Use END_COMPLEX macro without arguments.
23770         (cproj_test): Likewise.
23771         (creal_test): Use END macro without arguments.
23772         (csin_test): Use END_COMPLEX macro without arguments.
23773         (csinh_test): Likewise.
23774         (csqrt_test): Likewise.
23775         (ctan_test): Likewise.
23776         (ctan_test_tonearest): Likewise.
23777         (ctan_test_towardzero): Likewise.
23778         (ctan_test_downward): Likewise.
23779         (ctan_test_upward): Likewise.
23780         (ctanh_test): Likewise.
23781         (ctanh_test_tonearest): Likewise.
23782         (ctanh_test_towardzero): Likewise.
23783         (ctanh_test_downward): Likewise.
23784         (ctanh_test_upward): Likewise.
23785         (erf_test): Use END macro without arguments.
23786         (erfc_test): Likewise.
23787         (exp_test): Likewise.
23788         (exp_test_tonearest): Likewise.
23789         (exp_test_towardzero): Likewise.
23790         (exp_test_downward): Likewise.
23791         (exp_test_upward): Likewise.
23792         (exp10_test): Likewise.
23793         (exp2_test): Likewise.
23794         (expm1_test): Likewise.
23795         (fabs_test): Likewise.
23796         (fdim_test): Likewise.
23797         (finite_test): Likewise.
23798         (floor_test): Likewise.
23799         (fma_test): Likewise.
23800         (fma_test_towardzero): Likewise.
23801         (fma_test_downward): Likewise.
23802         (fma_test_upward): Likewise.
23803         (fmax_test): Likewise.
23804         (fmin_test): Likewise.
23805         (fmod_test): Likewise.
23806         (fpclassify_test): Likewise.
23807         (frexp_test): Likewise.
23808         (gamma_test): Likewise.
23809         (hypot_test): Likewise.
23810         (ilogb_test): Likewise.
23811         (isfinite_test): Likewise.
23812         (isgreater_test): Likewise.
23813         (isgreaterequal_test): Likewise.
23814         (isinf_test): Likewise.
23815         (isless_test): Likewise.
23816         (islessequal_test): Likewise.
23817         (islessgreater_test): Likewise.
23818         (isnan_test): Likewise.
23819         (isnormal_test): Likewise.
23820         (issignaling_test): Likewise.
23821         (isunordered_test): Likewise.
23822         (j0_test): Likewise.
23823         (j1_test): Likewise.
23824         (jn_test): Likewise.
23825         (ldexp_test): Likewise.
23826         (lgamma_test): Likewise.
23827         (lrint_test): Likewise.
23828         (lrint_test_tonearest): Likewise.
23829         (lrint_test_towardzero): Likewise.
23830         (lrint_test_downward): Likewise.
23831         (lrint_test_upward): Likewise.
23832         (llrint_test): Likewise.
23833         (llrint_test_tonearest): Likewise.
23834         (llrint_test_towardzero): Likewise.
23835         (llrint_test_downward): Likewise.
23836         (llrint_test_upward): Likewise.
23837         (log_test): Likewise.
23838         (log10_test): Likewise.
23839         (log1p_test): Likewise.
23840         (log2_test): Likewise.
23841         (logb_test): Likewise.
23842         (logb_test_downward): Likewise.
23843         (lround_test): Likewise.
23844         (llround_test): Likewise.
23845         (modf_test): Likewise.
23846         (nearbyint_test): Likewise.
23847         (nextafter_test): Likewise.
23848         (nexttoward_test): Likewise.
23849         (pow_test): Likewise.
23850         (pow_test_tonearest): Likewise.
23851         (pow_test_towardzero): Likewise.
23852         (pow_test_downward): Likewise.
23853         (pow_test_upward): Likewise.
23854         (remainder_test): Likewise.
23855         (remainder_test_tonearest): Likewise.
23856         (remainder_test_towardzero): Likewise.
23857         (remainder_test_downward): Likewise.
23858         (remainder_test_upward): Likewise.
23859         (remquo_test): Likewise.
23860         (rint_test): Likewise.
23861         (rint_test_tonearest): Likewise.
23862         (rint_test_towardzero): Likewise.
23863         (rint_test_downward): Likewise.
23864         (rint_test_upward): Likewise.
23865         (round_test): Likewise.
23866         (scalb_test): Likewise.
23867         (scalbn_test): Likewise.
23868         (scalbln_test): Likewise.
23869         (signbit_test): Likewise.
23870         (sin_test): Likewise.
23871         (sin_test_tonearest): Likewise.
23872         (sin_test_towardzero): Likewise.
23873         (sin_test_downward): Likewise.
23874         (sin_test_upward): Likewise.
23875         (sincos_test): Likewise.
23876         (sinh_test): Likewise.
23877         (sinh_test_tonearest): Likewise.
23878         (sinh_test_towardzero): Likewise.
23879         (sinh_test_downward): Likewise.
23880         (sinh_test_upward): Likewise.
23881         (sqrt_test): Likewise.
23882         (tan_test): Likewise.
23883         (tan_test_tonearest): Likewise.
23884         (tan_test_towardzero): Likewise.
23885         (tan_test_downward): Likewise.
23886         (tan_test_upward): Likewise.
23887         (tanh_test): Likewise.
23888         (tgamma_test): Likewise.
23889         (trunc_test): Likewise.
23890         (y0_test): Likewise.
23891         (y1_test): Likewise.
23892         (yn_test): Likewise.
23893         (significand_test): Likewise.
23894
23895 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23896
23897         [BZ #15381]
23898         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23899
23900 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23901
23902         [BZ #14894]
23903         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23904         __ppc_mdoio and __ppc_mdoom.
23905         * manual/platform.texi: Document new functions __ppc_yield,
23906         __ppc_mdoio and __ppc_mdoom.
23907
23908 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23909
23910         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23911         (main): Mention "tls" pseudo-hwcap is legacy.
23912         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23913
23914 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23915
23916         * math/gen-libm-test.pl (parse_args): Output only string of
23917         arguments as text for test name, not full call or descriptions of
23918         tests for extra outputs.
23919         (generate_testfile): Do not pass function name to parse_args.
23920         Generate this_func variable from START.
23921         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23922         field to arg_str.
23923         (struct test_ff_f_data): Likewise.
23924         (test_ff_f_data_nexttoward): Likewise.
23925         (struct test_fi_f_data): Likewise.
23926         (struct test_fl_f_data): Likewise.
23927         (struct test_if_f_data): Likewise.
23928         (struct test_fff_f_data): Likewise.
23929         (struct test_c_f_data): Likewise.
23930         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23931         (struct test_fF_f1_data): Likewise.
23932         (struct test_ffI_f1_data): Likewise.
23933         (struct test_c_c_data): Rename test_name field to arg_str.
23934         (struct test_cc_c_data): Likewise.
23935         (struct test_f_i_data): Likewise.
23936         (struct test_ff_i_data): Likewise.
23937         (struct test_f_l_data): Likewise.
23938         (struct test_f_L_data): Likewise.
23939         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23940         and extra2_name.
23941         (COMMON_TEST_SETUP): New macro.
23942         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23943         (COMMON_TEST_CLEANUP): Likewise.
23944         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23945         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23946         macros.
23947         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23948         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23949         macros.
23950         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23951         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23952         cleanup macros.
23953         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23954         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23955         macros.
23956         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23957         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23958         macros.
23959         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23960         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23961         cleanup macros.
23962         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23963         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23964         cleanup macros.
23965         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23966         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23967         cleanup macros.
23968         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23969         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23970         macros.
23971         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23972         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23973         macros.
23974         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23975         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23976         macros.
23977         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23978         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23979         cleanup macros.
23980         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23981         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23982         cleanup macros.
23983         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23984         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23985         macros.
23986         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23987         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23988         cleanup macros.
23989         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23990         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23991         macros.
23992         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23993         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23994         macros.
23995         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23996         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23997         cleanup macros.
23998         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23999
24000 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24001
24002         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24003         to _sifields.sigfault.
24004         (si_addr_lsb): Define new macro.
24005         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24007         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24008
24009 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24010
24011         [BZ #15441]
24012         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24013         returns -1.
24014         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24015         null return -1.
24016         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24017         loading the domain.
24018
24019 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24020
24021         * math/gen-libm-test.pl (parse_args): Do not include expected
24022         result in test name.
24023         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24025         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24027         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24029
24030 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24031
24032         * benchtests/Makefile: Sort function entries.
24033
24034         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24035         tanh, asinh, acosh, atanh.
24036         * benchtests/acos-inputs: New file.
24037         * benchtests/acosh-inputs: New file.
24038         * benchtests/asin-inputs: New file.
24039         * benchtests/asinh-inputs: New file.
24040         * benchtests/atanh-inputs: New file.
24041         * benchtests/cosh-inputs: New file.
24042         * benchtests/log-inputs: New file.
24043         * benchtests/sinh-inputs: New file.
24044         * benchtests/tanh-inputs: New file.
24045
24046 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24047
24048         [BZ #15339]
24049         * posix/tst-getaddrinfo4.c: New test.
24050         * posix/Makefile (tests): Add it.
24051
24052 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24053
24054         [BZ #15339]
24055         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24056         when no services were used.
24057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24058         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24059
24060 2013-05-21  Andreas Schwab  <schwab@suse.de>
24061
24062         [BZ #15014]
24063         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24064         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24065         successful.
24066         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24067         redundant variable declarations and reallocation of buffer when
24068         parsing as IPv6 address.  Always set NSS status when called from
24069         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24070         buffer too small.  Correct computation of needed size.
24071         * nss/Makefile (tests): Add test-digits-dots.
24072         * nss/test-digits-dots.c: New test.
24073
24074 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24075
24076         * benchtests/Makefile: Remove instructions for adding
24077         benchmark tests.
24078         * benchtests/README: New file to explain how to execute and
24079         enhance the benchmark tests.
24080
24081 2013-05-21  Andreas Schwab  <schwab@suse.de>
24082
24083         [BZ #15493]
24084         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24085         * setjmp/tst-sigsetjmp.c: New test.
24086
24087 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24088
24089         * sysdeps/x86_64/memset.S (memset): New implementation.
24090         (__bzero): Likewise.
24091         (__memset_tail): New function.
24092
24093 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24094
24095         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24096         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24097         __memcpy_sse2_unaligned ifunc selection.
24098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24099         Add memcpy-sse2-unaligned.S.
24100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24101         Add: __memcpy_sse2_unaligned.
24102
24103 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24104
24105         [BZ #15490]
24106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24107         math_force_eval before restoring floating-point envrionment.
24108         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24110         Likewise.
24111         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24112         <math_private.h>.
24113         (__nearbyintl): Use math_force_eval before restoring
24114         floating-point environment.
24115         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24116
24117         * math/gen-libm-test.pl (special_functions): Remove.
24118         (parse_args): Don't handle TEST_extra.  Handle functions with no
24119         return value.
24120         * math/libm-test.inc (struct test_sincos_data): Replace with
24121         struct test_fFF_11_data.
24122         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24123         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24124         (sincos_test_data): Change element type to struct
24125         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24126         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24127         RUN_TEST_LOOP_sincos.
24128         * math/README.libm-test: Don't mention special handling of
24129         individual functions.
24130         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24132         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24133         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24134         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24136
24137         * math/gen-libm-test.pl (get_variable): Remove function.
24138         (parse_args): Don't show pointer parameters to call in test
24139         names.  Use "extra output N" in test names for extra outputs
24140         rather than naming variables.
24141
24142 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24143
24144         [BZ #15488]
24145         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24146         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24147         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24148         double tests.
24149         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24150         disable.
24151         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24152         check_long_double.
24153
24154         * math/gen-libm-test.pl (@tests): Remove variable.
24155         ($count): Likewise.
24156         (new_test): Remove function.
24157         (show_exceptions): New function.
24158         (special_functions): Use show_exceptions instead of new_test.
24159         (parse_args): Likewise.
24160         (generate_testfile): Pass only function name in generated call to
24161         print_max_error or print_complex_max_error.
24162         (get_ulps): Do not handle complex tests specially.
24163         (output_test): Rename to ...
24164         (get_all_ulps_for_test): ... this.  Return a string rather than
24165         printing to a file.  Require ulps to be present.
24166         (output_ulps): Generate arrays rather than #defines.
24167         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24168         (struct ulp_data): New type.
24169         (BUILD_COMPLEX_ULP): Remove macro.
24170         (compare_ulp_data): New function.
24171         (find_ulps): Likewise.
24172         (find_test_ulps): Likewise.
24173         (find_function_ulps): Likewise.
24174         (find_complex_function_ulps): Likewise.
24175         (print_max_error): Determine allowed ulps using
24176         find_function_ulps.
24177         (print_complex_max_error): Determine allowed ulps using
24178         find_complex_function_ulps.
24179         (check_float_internal): Determine max ulps using find_test_ulps.
24180         (check_float): Do not take max_ulp parameter.  Update call to
24181         check_float_internal.
24182         (check_complex): Likewise.
24183         (check_int): Do not take max_ulp parameter.
24184         (check_long): Likewise.
24185         (check_bool): Likewise.
24186         (check_longlong): Likewise.
24187         (struct test_f_f_data): Remove max_ulp field.
24188         (struct test_ff_f_data): Likewise.
24189         (struct test_ff_f_data_nexttoward): Likewise.
24190         (struct test_fi_f_data): Likewise.
24191         (struct test_fl_f_data): Likewise.
24192         (struct test_if_f_data): Likewise.
24193         (struct test_fff_f_data): Likewise.
24194         (struct test_c_f_data): Likewise.
24195         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24196         (struct test_fF_f1_data): Likewise.
24197         (struct test_ffI_f1_data): Likewise.
24198         (struct test_c_c_data): Remove max_ulp field.
24199         (struct test_cc_c_data): Likewise.
24200         (struct test_f_i_data): Likewise.
24201         (struct test_ff_i_data): Likewise.
24202         (struct test_f_l_data): Likewise.
24203         (struct test_f_L_data): Likewise.
24204         (struct test_sincos_data): Likewise.
24205         (RUN_TEST_f_f): Do not handle ulps.
24206         (RUN_TEST_LOOP_f_f): Likewise.
24207         (RUN_TEST_2_f): Likewise.
24208         (RUN_TEST_LOOP_2_f): Likewise.
24209         (RUN_TEST_fff_f): Likewise.
24210         (RUN_TEST_LOOP_fff_f): Likewise.
24211         (RUN_TEST_c_f): Likewise.
24212         (RUN_TEST_LOOP_c_f): Likewise.
24213         (RUN_TEST_f_f1): Likewise.
24214         (RUN_TEST_LOOP_f_f1): Likewise.
24215         (RUN_TEST_fF_f1): Likewise.
24216         (RUN_TEST_LOOP_fF_f1): Likewise.
24217         (RUN_TEST_fI_f1): Likewise.
24218         (RUN_TEST_LOOP_fI_f1): Likewise.
24219         (RUN_TEST_ffI_f1): Likewise.
24220         (RUN_TEST_LOOP_ffI_f1): Likewise.
24221         (RUN_TEST_c_c): Likewise.
24222         (RUN_TEST_LOOP_c_c): Likewise.
24223         (RUN_TEST_cc_c): Likewise.
24224         (RUN_TEST_LOOP_cc_c): Likewise.
24225         (RUN_TEST_f_i): Likewise.
24226         (RUN_TEST_LOOP_f_i): Likewise.
24227         (RUN_TEST_f_i_tg): Likewise.
24228         (RUN_TEST_LOOP_f_i_tg): Likewise.
24229         (RUN_TEST_ff_i_tg): Likewise.
24230         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24231         (RUN_TEST_f_b): Likewise.
24232         (RUN_TEST_LOOP_f_b): Likewise.
24233         (RUN_TEST_f_b_tg): Likewise.
24234         (RUN_TEST_LOOP_f_b_tg): Likewise.
24235         (RUN_TEST_f_l): Likewise.
24236         (RUN_TEST_LOOP_f_l): Likewise.
24237         (RUN_TEST_f_L): Likewise.
24238         (RUN_TEST_LOOP_f_L): Likewise.
24239         (RUN_TEST_sincos): Likewise.
24240         (RUN_TEST_LOOP_sincos): Likewise.
24241
24242 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24243
24244         [BZ #15480]
24245         [BZ #15485]
24246         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24247         main case of finite arguments, set rounding mode to FE_TONEAREST
24248         and discard exceptions.
24249         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24250         exceptions.
24251         (remainder_tonearest_test_data): New variable.
24252         (remainder_test_tonearest): New function.
24253         (remainder_towardzero_test_data): New variable.
24254         (remainder_test_towardzero): New function.
24255         (remainder_downward_test_data): New variable.
24256         (remainder_test_downward): New function.
24257         (remainder_upward_test_data): New variable.
24258         (remainder_test_upward): New function.
24259         (main): Call the new test functions.
24260
24261         * math/libm-test.inc (struct test_f_f1_data): Remove field
24262         extra_init.
24263         (struct test_fF_f1_data): Likewise.
24264         (struct test_ffI_f1_data): Likewise.
24265         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24266         based on value of EXTRA_EXPECTED.
24267         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24268         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24269         EXTRA_VAR based on value of EXTRA_EXPECTED.
24270         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24271         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24272         EXTRA_VAR based on value of EXTRA_EXPECTED.
24273         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24274         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24275         EXTRA_VAR based on value of EXTRA_EXPECTED.
24276         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24277         * math/gen-libm-test.pl (parse_args): Don't output initializers
24278         for extra output values.
24279
24280         * math/libm-test.inc (check_int): Expect result to be exactly
24281         equal to expected value and do not handle ulps.
24282         (check_long): Likewise.
24283         (check_longlong): Likewise.
24284
24285         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24286         exceptions.
24287         (cimag_test_data): Likewise.
24288         (conj_test_data): Likewise.
24289         (copysign_test_data): Likewise.
24290         (cproj_test_data): Likewise.
24291         (creal_test_data): Likewise.
24292         (fabs_test_data): Likewise.
24293         (fdim_test_data): Likewise.
24294         (finite_test_data): Likewise.
24295         (floor_test_data): Likewise.
24296         (fmax_test_data): Likewise.
24297         (fmin_test_data): Likewise.
24298         (fmod_test_data): Likewise.
24299         (fpclassify_test_data): Likewise.
24300         (frexp_test_data): Likewise.
24301         (ilogb_test_data): Likewise.
24302         (isfinite_test_data): Likewise.
24303         (isgreater_test_data): Likewise.
24304         (isgreaterequal_test_data): Likewise.
24305         (isinf_test_data): Likewise.
24306         (isless_test_data): Likewise.
24307         (islessequal_test_data): Likewise.
24308         (islessgreater_test_data): Likewise.
24309         (isnan_test_data): Likewise.
24310         (isnormal_test_data): Likewise.
24311         (issignaling_test_data): Likewise.
24312         (isunordered_test_data): Likewise.
24313         (ldexp_test_data): Likewise.
24314         (lrint_test_data): Likewise.
24315         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24316         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24317         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24318         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24319         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24320         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24321         test input.
24322         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24323         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24324         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24325         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24326         that test input.
24327         (lrint_downward_test_data): Test for "inexact" exceptions.
24328         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24329         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24330         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24331         test input.
24332         (lrint_upward_test_data): Test for "inexact" exceptions.
24333         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24334         test input.
24335         (llrint_test_data): Test for "inexact" exceptions.
24336         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24337         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24338         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24339         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24340         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24341         (llrint_downward_test_data): Test for "inexact" exceptions.
24342         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24343         (llrint_upward_test_data): Test for "inexact" exceptions.
24344         (logb_test_data): Likewise.
24345         (logb_downward_test_data): Likewise.
24346         (nextafter_test_data): Likewise.
24347         (nexttoward_test_data): Likewise.
24348         (remainder_test_data): Likewise.
24349         (remquo_test_data): Likewise.
24350         (scalbn_test_data): Likewise.
24351         (scalbln_test_data): Likewise.
24352         (signbit_test_data): Likewise.
24353         (sqrt_test_data): Likewise.
24354         (significand_test_data): Likewise.
24355
24356 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24357
24358         [BZ #15424]
24359         * benchtests/bench-modf.c (struct args): Mark arg0 as
24360         volatile.
24361         * scripts/bench.pl: Mark members of struct args as volatile.
24362
24363 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24364
24365         [BZ # 15497]
24366         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24367         negative infinity on POWER6 or lower.
24368         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24369
24370 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24371
24372         [BZ #15442]
24373         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24374         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24375         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24376         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24377         (_FP_SETQNAN): New macro.
24378         (_FP_SETQNAN_SEMIRAW): Likewise.
24379         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24380         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24381         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24382         (FP_EXTEND): Use _FP_FRAC_SNANP.
24383         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24384         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24385         into account.
24386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24387         New macro.
24388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24389         Likewise.
24390
24391 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24392
24393         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24394         with DIVIDE_BY_ZERO_EXCEPTION.
24395         (gamma_test_data): Likewise.
24396         (lgamma_test_data): Likewise.
24397         (log_test_data): Likewise.
24398         (log10_test_data): Likewise.
24399         (log2_test_data): Likewise.
24400         (tgamma_test_data): Likewise.
24401
24402         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24403         (acos_test_tonearest): Likewise.
24404         (acos_test_towardzero): Likewise.
24405         (acos_test_downward): Likewise.
24406         (acos_test_upward): Likewise.
24407         (acosh_test): Likewise.
24408         (asin_test): Likewise.
24409         (asin_test_tonearest): Likewise.
24410         (asin_test_towardzero): Likewise.
24411         (asin_test_downward): Likewise.
24412         (asin_test_upward): Likewise.
24413         (asinh_test): Likewise.
24414         (atan_test): Likewise.
24415         (atanh_test): Likewise.
24416         (atan2_test): Likewise.
24417         (cabs_test): Likewise.
24418         (cacos_test): Likewise.
24419         (cacosh_test): Likewise.
24420         (casin_test): Likewise.
24421         (casinh_test): Likewise.
24422         (catan_test): Likewise.
24423         (catanh_test): Likewise.
24424         (cbrt_test): Likewise.
24425         (ccos_test): Likewise.
24426         (ccosh_test): Likewise.
24427         (cexp_test): Likewise.
24428         (clog_test): Likewise.
24429         (clog10_test): Likewise.
24430         (cos_test): Likewise.
24431         (cos_test_tonearest): Likewise.
24432         (cos_test_towardzero): Likewise.
24433         (cos_test_downward): Likewise.
24434         (cos_test_upward): Likewise.
24435         (cosh_test): Likewise.
24436         (cosh_test_tonearest): Likewise.
24437         (cosh_test_towardzero): Likewise.
24438         (cosh_test_downward): Likewise.
24439         (cosh_test_upward): Likewise.
24440         (cpow_test): Likewise.
24441         (csin_test): Likewise.
24442         (csinh_test): Likewise.
24443         (csqrt_test): Likewise.
24444         (ctan_test): Likewise.
24445         (ctan_test_tonearest): Likewise.
24446         (ctan_test_towardzero): Likewise.
24447         (ctan_test_downward): Likewise.
24448         (ctan_test_upward): Likewise.
24449         (ctanh_test): Likewise.
24450         (ctanh_test_tonearest): Likewise.
24451         (ctanh_test_towardzero): Likewise.
24452         (ctanh_test_downward): Likewise.
24453         (ctanh_test_upward): Likewise.
24454         (erf_test): Likewise.
24455         (erfc_test): Likewise.
24456         (exp_test): Likewise.
24457         (exp_test_tonearest): Likewise.
24458         (exp_test_towardzero): Likewise.
24459         (exp_test_downward): Likewise.
24460         (exp_test_upward): Likewise.
24461         (exp10_test): Likewise.
24462         (exp2_test): Likewise.
24463         (expm1_test): Likewise.
24464         (fmod_test): Likewise.
24465         (gamma_test): Likewise.
24466         (hypot_test): Likewise.
24467         (j0_test): Likewise.
24468         (j1_test): Likewise.
24469         (jn_test): Likewise.
24470         (lgamma_test): Likewise.
24471         (log_test): Likewise.
24472         (log10_test): Likewise.
24473         (log1p_test): Likewise.
24474         (log2_test): Likewise.
24475         (logb_test_downward): Likewise.
24476         (pow_test): Likewise.
24477         (pow_test_tonearest): Likewise.
24478         (pow_test_towardzero): Likewise.
24479         (pow_test_downward): Likewise.
24480         (pow_test_upward): Likewise.
24481         (remainder_test): Likewise.
24482         (remquo_test): Likewise.
24483         (sin_test): Likewise.
24484         (sin_test_tonearest): Likewise.
24485         (sin_test_towardzero): Likewise.
24486         (sin_test_downward): Likewise.
24487         (sin_test_upward): Likewise.
24488         (sincos_test): Likewise.
24489         (sinh_test): Likewise.
24490         (sinh_test_tonearest): Likewise.
24491         (sinh_test_towardzero): Likewise.
24492         (sinh_test_downward): Likewise.
24493         (sinh_test_upward): Likewise.
24494         (sqrt_test): Likewise.
24495         (tan_test): Likewise.
24496         (tan_test_tonearest): Likewise.
24497         (tan_test_towardzero): Likewise.
24498         (tan_test_downward): Likewise.
24499         (tan_test_upward): Likewise.
24500         (tanh_test): Likewise.
24501         (tgamma_test): Likewise.
24502         (y0_test): Likewise.
24503         (y1_test): Likewise.
24504         (yn_test): Likewise.
24505
24506         * math/gen-libm-test.pl (adjust_arg): Remove function.
24507         (special_function): Remove argument $in_func.  Only handle
24508         generating output for tables of tests, not inside functions.
24509         (parse_args): Likewise.
24510         (generate_testfile): Remove variable $in_func.  Update call to
24511         parse_args.
24512         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24513         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24514         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24515         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24516         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24517         (MAX_VALUE_INIT): Rename macro to max_value.
24518         (MIN_VALUE_INIT): Rename macro to min_value.
24519         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24520         (plus_zero): Remove variable.
24521         (minus_zero): Likewise.
24522         (plus_infty): Likewise.
24523         (minus_infty): Likewise.
24524         (qnan_value): Likewise.
24525         (max_value): Likewise.
24526         (min_value): Likewise.
24527         (min_subnorm_value): Likewise.
24528
24529 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24530
24531         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24532         uint64_t or uint32_t usage.
24533         * crypt/sha256-block.c: Likewise.
24534         * crypt/sha256-crypt.c: Likewise.
24535         * crypt/sha256.c: Likewise.
24536         * crypt/sha512-block.c: Likewise.
24537         * crypt/sha512-crypt.c: Likewise.
24538         * crypt/sha512.c: Likewise.
24539         * debug/backtrace-tst.c: Likewise.
24540         * debug/pcprofiledump.c: Likewise.
24541         * elf/cache.c: Likewise.
24542         * elf/dl-cache.c: Likewise.
24543         * elf/dl-misc.c: Likewise.
24544         * elf/dl-profile.c: Likewise.
24545         * elf/dl-support.c: Likewise.
24546         * elf/ldconfig.c: Likewise.
24547         * elf/sprof.c: Likewise.
24548         * iconv/dummy-repertoire.c: Likewise.
24549         * iconv/iconv_charmap.c: Likewise.
24550         * iconv/skeleton.c: Likewise.
24551         * iconvdata/8bit-generic.c: Likewise.
24552         * iconvdata/cp737.h: Likewise.
24553         * iconvdata/cp775.h: Likewise.
24554         * iconvdata/ibm1008.h: Likewise.
24555         * iconvdata/ibm1025.h: Likewise.
24556         * iconvdata/ibm1046.h: Likewise.
24557         * iconvdata/ibm1097.h: Likewise.
24558         * iconvdata/ibm1112.h: Likewise.
24559         * iconvdata/ibm1122.h: Likewise.
24560         * iconvdata/ibm1123.h: Likewise.
24561         * iconvdata/ibm1124.h: Likewise.
24562         * iconvdata/ibm1129.h: Likewise.
24563         * iconvdata/ibm1130.h: Likewise.
24564         * iconvdata/ibm1132.h: Likewise.
24565         * iconvdata/ibm1133.h: Likewise.
24566         * iconvdata/ibm1137.h: Likewise.
24567         * iconvdata/ibm1140.h: Likewise.
24568         * iconvdata/ibm1141.h: Likewise.
24569         * iconvdata/ibm1142.h: Likewise.
24570         * iconvdata/ibm1143.h: Likewise.
24571         * iconvdata/ibm1144.h: Likewise.
24572         * iconvdata/ibm1145.h: Likewise.
24573         * iconvdata/ibm1146.h: Likewise.
24574         * iconvdata/ibm1147.h: Likewise.
24575         * iconvdata/ibm1148.h: Likewise.
24576         * iconvdata/ibm1149.h: Likewise.
24577         * iconvdata/ibm1153.h: Likewise.
24578         * iconvdata/ibm1154.h: Likewise.
24579         * iconvdata/ibm1155.h: Likewise.
24580         * iconvdata/ibm1156.h: Likewise.
24581         * iconvdata/ibm1157.h: Likewise.
24582         * iconvdata/ibm1158.h: Likewise.
24583         * iconvdata/ibm1160.h: Likewise.
24584         * iconvdata/ibm1161.h: Likewise.
24585         * iconvdata/ibm1162.h: Likewise.
24586         * iconvdata/ibm1163.h: Likewise.
24587         * iconvdata/ibm1164.h: Likewise.
24588         * iconvdata/ibm1166.h: Likewise.
24589         * iconvdata/ibm1167.h: Likewise.
24590         * iconvdata/ibm12712.h: Likewise.
24591         * iconvdata/ibm1390.h: Likewise.
24592         * iconvdata/ibm1399.h: Likewise.
24593         * iconvdata/ibm16804.h: Likewise.
24594         * iconvdata/ibm4517.h: Likewise.
24595         * iconvdata/ibm4899.h: Likewise.
24596         * iconvdata/ibm4909.h: Likewise.
24597         * iconvdata/ibm4971.h: Likewise.
24598         * iconvdata/ibm5347.h: Likewise.
24599         * iconvdata/ibm803.h: Likewise.
24600         * iconvdata/ibm856.h: Likewise.
24601         * iconvdata/ibm901.h: Likewise.
24602         * iconvdata/ibm902.h: Likewise.
24603         * iconvdata/ibm9030.h: Likewise.
24604         * iconvdata/ibm9066.h: Likewise.
24605         * iconvdata/ibm921.h: Likewise.
24606         * iconvdata/ibm922.h: Likewise.
24607         * iconvdata/ibm9448.h: Likewise.
24608         * iconvdata/isiri-3342.h: Likewise.
24609         * iconvdata/jis0201.h: Likewise.
24610         * include/link.h: Likewise.
24611         * include/netdb.h: Likewise.
24612         * inet/check_native.c: Likewise.
24613         * inet/check_pf.c: Likewise.
24614         * inet/getipv4sourcefilter.c: Likewise.
24615         * inet/getnameinfo.c: Likewise.
24616         * inet/getsourcefilter.c: Likewise.
24617         * inet/htonl.c: Likewise.
24618         * inet/setipv4sourcefilter.c: Likewise.
24619         * inet/setsourcefilter.c: Likewise.
24620         * inet/test-inet6_opt.c: Likewise.
24621         * inet/tst-network.c: Likewise.
24622         * locale/C-collate.c: Likewise.
24623         * locale/C-ctype.c: Likewise.
24624         * locale/C-time.c: Likewise.
24625         * locale/C-translit.h: Likewise.
24626         * locale/loadarchive.c: Likewise.
24627         * locale/programs/3level.h: Likewise.
24628         * locale/programs/charmap.c: Likewise.
24629         * locale/programs/charmap.h: Likewise.
24630         * locale/programs/ld-address.c: Likewise.
24631         * locale/programs/ld-collate.c: Likewise.
24632         * locale/programs/ld-ctype.c: Likewise.
24633         * locale/programs/ld-identification.c: Likewise.
24634         * locale/programs/ld-measurement.c: Likewise.
24635         * locale/programs/ld-messages.c: Likewise.
24636         * locale/programs/ld-monetary.c: Likewise.
24637         * locale/programs/ld-name.c: Likewise.
24638         * locale/programs/ld-numeric.c: Likewise.
24639         * locale/programs/ld-paper.c: Likewise.
24640         * locale/programs/ld-telephone.c: Likewise.
24641         * locale/programs/ld-time.c: Likewise.
24642         * locale/programs/linereader.c: Likewise.
24643         * locale/programs/locale.c: Likewise.
24644         * locale/programs/locarchive.c: Likewise.
24645         * locale/programs/locfile.h: Likewise.
24646         * locale/programs/repertoire.c: Likewise.
24647         * locale/programs/simple-hash.c: Likewise.
24648         * locale/programs/simple-hash.h: Likewise.
24649         * malloc/memusage.c: Likewise.
24650         * malloc/memusagestat.c: Likewise.
24651         * nis/nis_defaults.c: Likewise.
24652         * nis/nis_hash.c: Likewise.
24653         * nis/nis_print.c: Likewise.
24654         * nis/nis_xdr.c: Likewise.
24655         * nscd/connections.c: Likewise.
24656         * nscd/hstcache.c: Likewise.
24657         * nscd/nscd_gethst_r.c: Likewise.
24658         * nscd/nscd_getserv_r.c: Likewise.
24659         * nscd/nscd_helper.c: Likewise.
24660         * nscd/servicescache.c: Likewise.
24661         * nss/makedb.c: Likewise.
24662         * nss/nss_db/db-XXX.c: Likewise.
24663         * nss/nss_db/db-initgroups.c: Likewise.
24664         * nss/nss_db/db-netgrp.c: Likewise.
24665         * nss/nss_files/files-network.c: Likewise.
24666         * nss/nss_files/files-parse.c: Likewise.
24667         * posix/bug-regex5.c: Likewise.
24668         * posix/fnmatch_loop.c: Likewise.
24669         * posix/regcomp.c: Likewise.
24670         * posix/regexec.c: Likewise.
24671         * posix/tst-rfc3484-2.c: Likewise.
24672         * posix/tst-rfc3484-3.c: Likewise.
24673         * posix/tst-rfc3484.c: Likewise.
24674         * resolv/nss_dns/dns-canon.c: Likewise.
24675         * resolv/nss_dns/dns-network.c: Likewise.
24676         * resolv/res_init.c: Likewise.
24677         * resolv/res_mkquery.c: Likewise.
24678         * resolv/tst-aton.c: Likewise.
24679         * stdlib/cxa_atexit.c: Likewise.
24680         * stdlib/cxa_finalize.c: Likewise.
24681         * stdlib/gen-fpioconst.c: Likewise.
24682         * stdlib/strtol_l.c: Likewise.
24683         * string/tst-endian.c: Likewise.
24684         * sunrpc/auth_des.c: Likewise.
24685         * sunrpc/clnt_udp.c: Likewise.
24686         * sunrpc/rtime.c: Likewise.
24687         * sunrpc/svcauth_des.c: Likewise.
24688         * sunrpc/xdr.c: Likewise.
24689         * sunrpc/xdr_intXX_t.c: Likewise.
24690         * sunrpc/xdr_rec.c: Likewise.
24691         * sysdeps/generic/ldconfig.h: Likewise.
24692         * sysdeps/generic/ldsodefs.h: Likewise.
24693         * sysdeps/generic/memusage.h: Likewise.
24694         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24696         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24700         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24702         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24704         * sysdeps/posix/getaddrinfo.c: Likewise.
24705         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24706         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24707         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24708         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24709         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24710         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24711         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24712         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24713         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24714         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24715         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24716         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24717         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24718         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24719         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24720         * sysdeps/x86_64/dl-tls.h: Likewise.
24721         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24722         * time/alt_digit.c: Likewise.
24723         * time/era.c: Likewise.
24724         * wcsmbs/tst-c16c32-1.c: Likewise.
24725
24726 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24727
24728         * math/libm-test.inc (struct test_sincos_data): New type.
24729         (RUN_TEST_LOOP_sincos): New macro.
24730         (sincos_test_data): New variable.
24731         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24732
24733 2013-05-16  Richard Henderson  <rth@redhat.com>
24734
24735         * math/atest-exp2.c (LIMB64): New macro.
24736         (CONSTSZ): New macro.
24737         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24738         (hexdig): Move ...
24739         (print_mpn_fp): ... to function scope.
24740         (read_mpn_hex): Remove.
24741         (get_log2): Remove.
24742         (exp2_mpn): Use mp_log2.
24743         (main): Use mp_exp1.
24744
24745 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24746
24747         * math/libm-test.inc: Remove comment about not testing "inexact"
24748         exceptions.
24749         (INEXACT_EXCEPTION): New macro.
24750         (NO_INEXACT_EXCEPTION): Likewise.
24751         (INVALID_EXCEPTION_OK): Update value.
24752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24753         (OVERFLOW_EXCEPTION_OK): Likewise.
24754         (UNDERFLOW_EXCEPTION_OK): Likewise.
24755         (IGNORE_ZERO_INF_SIGN): Likewise.
24756         (ERRNO_UNCHANGED): Likewise.
24757         (ERRNO_EDOM): Likewise.
24758         (ERRNO_ERANGE): Likewise.
24759         (test_exceptions): Handle testing "inexact" exceptions.
24760         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24761         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24762         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24763         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24764         INEXACT_EXCEPTION.
24765         (rint_towardzero_test_data): Likewise.
24766         (rint_downward_test_data): Likewise.
24767         (rint_upward_test_data): Likewise.
24768
24769         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24770         with OVERFLOW_EXCEPTION.
24771         (exp10_test_data): Likewise.
24772         (exp2_test_data): Likewise.
24773         (expm1_test_data): Likewise.
24774         (lgamma_test_data): Likewise.
24775         (pow_test_data): Likewise.
24776         (tgamma_test_data): Likewise.
24777         (yn_test_data): Remove duplicate test of overflow.
24778
24779         * math/libm-test.inc (struct test_cc_c_data): New type.
24780         (RUN_TEST_LOOP_cc_c): New macro.
24781         (cpow_test_data): New variable.
24782         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24783
24784         * math/libm-test.inc (struct test_f_L_data): New type.
24785         (RUN_TEST_LOOP_f_L): New macro.
24786         (llrint_test_data): New variable.
24787         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24788         (llrint_tonearest_test_data): New variable.
24789         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24790         (llrint_towardzero_test_data): New variable.
24791         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24792         (llrint_downward_test_data): New variable.
24793         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24794         (llrint_upward_test_data): New variable.
24795         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24796         (llround_test_data): New variable.
24797         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24798
24799 2013-05-13  Peter Collingbourne  <pcc@google.com>
24800
24801         * math/atest-exp2.c (get_log2): Remove const attribute.
24802
24803 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24804
24805         * math/libm-test.inc (struct test_f_l_data): New type.
24806         (RUN_TEST_LOOP_f_l): New macro.
24807         (lrint_test_data): New variable.
24808         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24809         (lrint_tonearest_test_data): New variable.
24810         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24811         (lrint_towardzero_test_data): New variable.
24812         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24813         (lrint_downward_test_data): New variable.
24814         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24815         (lrint_upward_test_data): New variable.
24816         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24817         (lround_test_data): New variable.
24818         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24819
24820 2013-05-15  Peter Collingbourne  <pcc@google.com>
24821
24822         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24823         (EXTRACT_WORDS64) Use where appropriate.
24824         (INSERT_WORDS64) Likewise.
24825
24826         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24827         constraints with x constraints.
24828         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24829
24830         * malloc/obstack.c (_obstack_compat): Add initializer.
24831
24832 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24833
24834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24835         si_trapno and add si_addr_lsb to _sifields.sigfault.
24836         (si_trapno): Remove macro.
24837         (si_addr_lsb): Define new macro.
24838         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24839
24840 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24841
24842         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24843         instead of TEST_f_l.
24844         (llrint_test_tonearest): Likewise.
24845         (llrint_test_towardzero): Likewise.
24846         (llrint_test_downward): Likewise.
24847         (llrint_test_upward): Likewise.
24848         (llround_test): Likewise.
24849
24850         * math/libm-test.inc (struct test_f_i_data): Add comment.
24851         (RUN_TEST_LOOP_f_b): New macro.
24852         (RUN_TEST_LOOP_f_b_tg): Likewise.
24853         (finite_test_data): New variable.
24854         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24855         (isfinite_test_data): New variable.
24856         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24857         (isinf_test_data): New variable.
24858         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24859         (isnan_test_data): New variable.
24860         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24861         (isnormal_test_data): New variable.
24862         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24863         (issignaling_test_data): New variable.
24864         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24865         (signbit_test_data): New variable.
24866         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24867
24868         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24869         with INVALID_EXCEPTION.
24870         (acosh_test_data): Likewise.
24871         (asin_test_data): Likewise.
24872         (atanh_test_data): Likewise.
24873         (fmod_test_data): Likewise.
24874         (log_test_data): Likewise.
24875         (log10_test_data): Likewise.
24876         (log2_test_data): Likewise.
24877         (pow_test_data): Likewise.
24878         (sqrt_test_data): Likewise.
24879         (y0_test_data): Likewise.
24880         (y1_test_data): Likewise.
24881         (yn_test_data): Likewise.
24882
24883         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24884         function contents.
24885
24886         * math/libm-test.inc (struct test_ff_i_data): New type.
24887         (RUN_TEST_LOOP_ff_i_tg): New macro.
24888         (isgreater_test_data): New variable.
24889         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24890         (isgreaterequal_test_data): New variable.
24891         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24892         (isless_test_data): New variable.
24893         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24894         (islessequal_test_data): New variable.
24895         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24896         (islessgreater_test_data): New variable.
24897         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24898         (isunordered_test_data): New variable.
24899         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24900
24901 2013-05-14  David S. Miller  <davem@davemloft.net>
24902
24903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24904
24905 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24906
24907         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24908
24909         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24910         extra_test to int.
24911         (struct test_f_i_data): Change type of max_ulp to int.
24912
24913         * math/libm-test.inc (test_ffI_f1_data): New type.
24914         (RUN_TEST_LOOP_ffI_f1): New macro.
24915         (remquo_test_data): New variable.
24916         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24917
24918         * setjmp/tst-setjmp-fp.c: New file.
24919         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24920         (link-libm): New variable.
24921         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24922
24923         * math/libm-test.inc (struct test_f_i_data): New type.
24924         (RUN_TEST_LOOP_f_i): New macro.
24925         (RUN_TEST_LOOP_f_i_tg): Likewise.
24926         (fpclassify_test_data): New variable.
24927         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24928         (ilogb_test_data): New variable.
24929         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24930
24931         * math/libm-test.inc (scalbln_test): Correct function name in END
24932         call.
24933
24934         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24935         (RUN_TEST_LOOP_fI_f1): New macro.
24936         (frexp_test_data): New variable.
24937         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24938
24939         * math/libm-test.inc (struct test_fF_f1_data): New type.
24940         (RUN_TEST_LOOP_fF_f1): New macro.
24941         (modf_test_data): New variable.
24942         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24943
24944         * math/libm-test.inc (struct test_f_f1_data): New type.
24945         (RUN_TEST_LOOP_f_f1): New macro.
24946         (gamma_test_data): New variable.
24947         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24948         (lgamma_test_data): New variable.
24949         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24950
24951 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24952
24953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24954         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24955         (main): Comment "tls" pseudo-hwcap.
24956
24957 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24958
24959         * math/libm-test.inc (struct test_fl_f_data): New type.
24960         (RUN_TEST_LOOP_fl_f): New variable.
24961         (scalbln_test_data): New variable.
24962         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24963
24964         * math/libm-test.inc (struct test_fi_f_data): New type.
24965         (RUN_TEST_LOOP_fi_f): New macro.
24966         (ldexp_test_data): New variable.
24967         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24968         (scalbn_test_data): New variable.
24969         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24970
24971         * math/libm-test.inc (struct test_c_f_data): New type.
24972         (RUN_TEST_LOOP_c_f): New macro.
24973         (cabs_test_data): New variable.
24974         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24975         (carg_test_data): New variable.
24976         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24977         (cimag_test_data): New variable.
24978         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24979         (creal_test_data): New variable.
24980         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24981
24982         * math/libm-test.inc (struct test_if_f_data): New type.
24983         (RUN_TEST_LOOP_if_f): New macro.
24984         (jn_test_data): New variable.
24985         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24986         (yn_test_data): New variable.
24987         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24988
24989         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24990
24991 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24992
24993         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24994         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24995
24996 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24997
24998         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24999         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25000         (bench-deps): Add bench-timing.h.
25001         * benchtests-bench-skeleton.c: Include bench-timing.h.
25002         (main): Use TIMING_* macros instead of clock_gettime.
25003         * benchtests/bench-timing.h: New file.
25004
25005         [BZ #14582]
25006         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25007         Renamed from _LIB_VERSION.
25008         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25009
25010 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25011
25012         * math/libm-test.inc (struct test_fff_f_data): New type.
25013         (RUN_TEST_LOOP_fff_f): New macro.
25014         (fma_test_data): New variable.
25015         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25016         (fma_towardzero_test_data): New variable.
25017         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25018         (fma_downward_test_data): New variable.
25019         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25020         (fma_upward_test_data): New variable.
25021         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25022
25023         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25024         (struct test_c_c_data): New type.
25025         (RUN_TEST_LOOP_c_c): New macro.
25026         (cacos_test_data): New variable.
25027         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25028         (cacosh_test_data): New variable.
25029         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25030         (casin_test_data): New variable.
25031         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25032         (casinh_test_data): New variable.
25033         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25034         (catan_test_data): New variable.
25035         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25036         (catanh_test_data): New variable.
25037         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25038         (ccos_test_data): New variable.
25039         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25040         (ccosh_test_data): New variable.
25041         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25042         (cexp_test_data): New variable.
25043         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25044         (clog_test_data): New variable.
25045         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25046         (clog10_test_data): New variable.
25047         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25048         (conj_test_data): New variable.
25049         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25050         (cproj_test_data): New variable.
25051         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25052         (csin_test_data): New variable.
25053         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25054         (csinh_test_data): New variable.
25055         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25056         (csqrt_test_data): New variable.
25057         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25058         (ctan_test_data): New variable.
25059         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25060         (ctan_tonearest_test_data): New variable.
25061         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25062         (ctan_towardzero_test_data): New variable.
25063         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25064         (ctan_downward_test_data): New variable.
25065         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25066         (ctan_upward_test_data): New variable.
25067         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25068         (ctanh_test_data): New variable.
25069         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25070         (ctanh_tonearest_test_data): New variable.
25071         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25072         (ctanh_towardzero_test_data): New variable.
25073         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25074         (ctanh_downward_test_data): New variable.
25075         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25076         (ctanh_upward_test_data): New variable.
25077         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25078         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25079         of BUILD_COMPLEX.
25080
25081         * math/libm-test.inc (struct test_ff_f_data): New type.
25082         (struct test_ff_f_data_nexttoward): Likewise.
25083         (RUN_TEST_LOOP_2_f): New macro.
25084         (RUN_TEST_LOOP_ff_f): Likewise.
25085         (atan2_test_data): New variable.
25086         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25087         (copysign_test_data): New variable.
25088         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25089         (fdim_test_data): New variable.
25090         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25091         (fmax_test_data): New variable.
25092         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25093         (fmin_test_data): New variable.
25094         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25095         (fmod_test_data): New variable.
25096         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25097         (hypot_test_data): New variable.
25098         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25099         (nextafter_test_data): New variable.
25100         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25101         (nexttoward_test_data): New variable.
25102         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25103         (pow_test_data): New variable.
25104         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25105         (pow_tonearest_test_data): New variable.
25106         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25107         (pow_towardzero_test_data): New variable.
25108         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25109         (pow_downward_test_data): New variable.
25110         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25111         (pow_upward_test_data): New variable.
25112         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25113         (remainder_test_data): New variable.
25114         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25115         (scalb_test_data): New variable.
25116         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25117         * sysdeps/i386/fpu/libm-test-ulps: Update.
25118
25119 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25120
25121         * math/libm-test.inc (fma_test): Use max_value instead of local
25122         variable fltmax.
25123         (nextafter_test): Likewise.
25124
25125         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25126         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25127         (acos_downward_test_data): New variable.
25128         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25129         (acos_upward_test_data): New variable.
25130         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25131         (acosh_test_data): New variable.
25132         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25133         (asin_test_data): New variable.
25134         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25135         (asin_tonearest_test_data): New variable.
25136         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25137         (asin_towardzero_test_data): New variable.
25138         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25139         (asin_downward_test_data): New variable.
25140         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25141         (asin_upward_test_data): New variable.
25142         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25143         (asinh_test_data): New variable.
25144         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25145         (atan_test_data): New variable.
25146         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25147         (atanh_test_data): New variable.
25148         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25149         (cbrt_test_data): New variable.
25150         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25151         (ceil_test_data): New variable.
25152         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25153         (cos_test_data): New variable.
25154         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25155         (cos_tonearest_test_data): New variable.
25156         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25157         (cos_towardzero_test_data): New variable.
25158         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25159         (cos_downward_test_data): New variable.
25160         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25161         (cos_upward_test_data): New variable.
25162         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25163         (cosh_test_data): New variable.
25164         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25165         (cosh_tonearest_test_data): New variable.
25166         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25167         (cosh_towardzero_test_data): New variable.
25168         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25169         (cosh_downward_test_data): New variable.
25170         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25171         (cosh_upward_test_data): New variable.
25172         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25173         (erf_test_data): New variable.
25174         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25175         (erfc_test_data): New variable.
25176         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25177         (exp_test_data): New variable.
25178         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25179         (exp_tonearest_test_data): New variable.
25180         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25181         (exp_towardzero_test_data): New variable.
25182         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25183         (exp_downward_test_data): New variable.
25184         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25185         (exp_upward_test_data): New variable.
25186         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25187         (exp10_test_data): New variable.
25188         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25189         (exp2_test_data): New variable.
25190         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25191         (expm1_test_data): New variable.
25192         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25193         (fabs_test_data): New variable.
25194         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25195         (floor_test_data): New variable.
25196         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25197         (j0_test_data): New variable.
25198         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25199         (j1_test_data): New variable.
25200         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25201         (log_test_data): New variable.
25202         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25203         (log10_test_data): New variable.
25204         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25205         (log1p_test_data): New variable.
25206         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25207         (log2_test_data): New variable.
25208         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25209         (logb_test_data): New variable.
25210         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25211         (logb_downward_test_data): New variable.
25212         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25213         (nearbyint_test_data): New variable.
25214         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25215         (rint_test_data): New variable.
25216         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25217         (rint_tonearest_test_data): New variable.
25218         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25219         (rint_towardzero_test_data): New variable.
25220         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25221         (rint_downward_test_data): New variable.
25222         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25223         (rint_upward_test_data): New variable.
25224         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25225         (round_test_data): New variable.
25226         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25227         (sin_test_data): New variable.
25228         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25229         (sin_tonearest_test_data): New variable.
25230         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25231         (sin_towardzero_test_data): New variable.
25232         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25233         (sin_downward_test_data): New variable.
25234         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25235         (sin_upward_test_data): New variable.
25236         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25237         (sinh_test_data): New variable.
25238         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25239         (sinh_tonearest_test_data): New variable.
25240         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25241         (sinh_towardzero_test_data): New variable.
25242         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25243         (sinh_downward_test_data): New variable.
25244         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25245         (sinh_upward_test_data): New variable.
25246         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25247         (sqrt_test_data): New variable.
25248         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25249         (tan_test_data): New variable.
25250         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25251         (tan_tonearest_test_data): New variable.
25252         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25253         (tan_towardzero_test_data): New variable.
25254         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25255         (tan_downward_test_data): New variable.
25256         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25257         (tan_upward_test_data): New variable.
25258         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25259         (tanh_test_data): New variable.
25260         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25261         (tgamma_test_data): New variable.
25262         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25263         (trunc_test_data): New variable.
25264         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25265         (y0_test_data): New variable.
25266         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25267         (y1_test_data): New variable.
25268         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25269         (significand_test_data): New variable.
25270         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25271
25272 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25273
25274         [BZ #12387]
25275         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25276
25277 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25278
25279         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25280
25281 2013-05-10  Andreas Jaeger  <aj@suse.de>
25282
25283         [BZ #15448]
25284         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25285         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25286
25287 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25288
25289         * math/gen-libm-test.pl (adjust_arg): New function.
25290         (special_functions): Handle generating output in both functions
25291         and arrays.
25292         (parse_args): Likewise.
25293         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25294         $in_func argument to parse_args.
25295         * math/libm-test.inc (struct test_f_f_data): New type.
25296         (IF_ROUND_INIT_): New macro.
25297         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25298         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25299         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25300         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25301         (ROUND_RESTORE_): Likewise.
25302         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25303         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25304         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25305         (ROUND_RESTORE_FE_UPWARD): Likewise.
25306         (RUN_TEST_LOOP_f_f): New macro.
25307         (acos_test_data): New variable.
25308         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25309         (acos_tonearest_test_data): New variable.
25310         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25311
25312 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25313
25314         * benchtests/bench-skeleton.c (startup): Fix coding style.
25315
25316 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25317
25318         [BZ #6809]
25319         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25320         negative infinity argument.
25321         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25322         negative infinity argument.
25323         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25324         negative infinity argument.
25325         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25326         domain errors.
25327
25328 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25329
25330         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25331         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25332         * iconv/iconv_prog.c (main): Likewise.
25333         * locale/programs/charmap-dir.c (charmap_readdir)
25334         (fopen_uncompressed): Likewise.
25335         * locale/programs/locfile.c (siblings_uncached)
25336         (write_locale_data): Use lstat64 instead of lstat.
25337         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25338         stat.
25339
25340 2013-05-10  Andreas Jaeger  <aj@suse.de>
25341
25342         [BZ #15395]
25343         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25344         localization.
25345         Include <locale.h>.
25346
25347 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25348
25349         * elf/dl-close.c (_dl_close_worker): Add comments.
25350
25351 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25352
25353         [BZ #15359]
25354         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25355         high part of pi/2.
25356         (__ieee754_rem_pio2l): Update comments.
25357
25358         [BZ #15429]
25359         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25360         high part of pi/2.
25361         (__ieee754_rem_pio2l): Update comments.
25362
25363         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25364         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25365
25366         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25367         M_PI_4l.
25368
25369         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25370         (M_PI_34_LOG10El): Likewise.
25371         (M_PI2_LOG10El): Likewise.
25372         (M_PI4_LOG10El): Likewise.
25373         (M_PI_LOG10El): Likewise.
25374
25375 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25376
25377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25378
25379 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25380
25381         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25382         (MINUS_ZERO_INIT): Likewise.
25383         (PLUS_INFTY_INIT): Likewise.
25384         (MINUS_INFTY_INIT): Likewise.
25385         (QNAN_VALUE_INIT): Likewise.
25386         (MAX_VALUE_INIT): Likewise.
25387         (MIN_VALUE_INIT): Likewise.
25388         (MIN_SUBNORM_VALUE_INIT): Likewise.
25389         (plus_zero): Initialize with PLUS_ZERO_INIT.
25390         (minus_zero): Initialize with MINUS_ZERO_INIT.
25391         (plus_infty): Initialize with PLUS_INFTY_INIT.
25392         (minus_infty): Initialize with MINUS_INFTY_INIT.
25393         (qnan_value): Initialize with QNAN_VALUE_INIT.
25394         (max_value): Initialize with MAX_VALUE_INIT.
25395         (min_value): Initialize with MIN_VALUE_INIT.
25396         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25397
25398         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25399         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25400         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25401         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25402
25403         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25404         (RUN_TEST_2_f): Likewise.
25405         (RUN_TEST_ff_f): Likewise.
25406         (RUN_TEST_fi_f): Likewise.
25407         (RUN_TEST_fl_f): Likewise.
25408         (RUN_TEST_fff_f): Likewise.
25409         (RUN_TEST_c_f): Likewise.
25410         (RUN_TEST_f_f1): Likewise.
25411         (RUN_TEST_fF_f1): Likewise.
25412         (RUN_TEST_fI_f1): Likewise.
25413         (RUN_TEST_ffI_f1): Likewise.
25414         (RUN_TEST_c_c): Likewise.
25415         (RUN_TEST_cc_c): Likewise.
25416         (RUN_TEST_f_i): Likewise.
25417         (RUN_TEST_f_i_tg): Likewise.
25418         (RUN_TEST_ff_i_tg): Likewise.
25419         (RUN_TEST_f_b): Likewise.
25420         (RUN_TEST_f_b_tg): Likewise.
25421         (RUN_TEST_f_l): Likewise.
25422         (RUN_TEST_f_L): Likewise.
25423         (RUN_TEST_sincos): Likewise.
25424         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25425         whether to show exceptions.  Do not include ");\n" in return
25426         value.
25427         (special_functions): Output call to RUN_TEST_sincos instead of
25428         check_float calls.  Update calls to new_test.
25429         (parse_args): Output call to single RUN_TEST_* macro instead of
25430         check_* calls and other assignments.  Update calls to new_test.
25431
25432         [BZ #2546]
25433         [BZ #2560]
25434         [BZ #5159]
25435         [BZ #15426]
25436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25437         input to result for tgamma overflow.
25438         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25439         (gamma_coeff): New variable.
25440         (NCOEFF): New macro.
25441         (gamma_positive): New function.
25442         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25443         underflow here.  Use gamma_positive instead of exp (lgamma) for
25444         other arguments.
25445         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25446         (gamma_coeff): New variable.
25447         (NCOEFF): New macro.
25448         (gammaf_positive): New function.
25449         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25450         underflow here.  Use gamma_positive instead of exp (lgamma) for
25451         other arguments.
25452         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25453         (gamma_coeff): New variable.
25454         (NCOEFF): New macro.
25455         (gammal_positive): New function.
25456         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25457         underflow here.  Use gamma_positive instead of exp (lgamma) for
25458         other arguments.
25459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25460         (gamma_coeff): New variable.
25461         (NCOEFF): New macro.
25462         (gammal_positive): New function.
25463         (__ieee754_gammal_r): Handle positive infinity, overflow and
25464         underflow here.  Handle NaN the same as positive infinity.  Remove
25465         check x < 0xffffffff for negative integers.  Use gamma_positive
25466         instead of exp (lgamma) for other arguments.
25467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25468         (gamma_coeff): New variable.
25469         (NCOEFF): New macro.
25470         (gammal_positive): New function.
25471         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25472         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25475         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25476         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25477         * sysdeps/generic/math_private.h (__gamma_productf): New
25478         prototype.
25479         (__gamma_product): Likewise.
25480         (__gamma_productl): Likewise.
25481         * math/Makefile (libm-calls): Add gamma_product.
25482         * math/libm-test.inc (tgamma_test): Add more tests.
25483         * sysdeps/i386/fpu/libm-test-ulps: Update.
25484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25485
25486 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25487
25488         * benchtests/bench-skeleton.c (main): Preheat CPU.
25489
25490 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25491
25492         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25493
25494 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25495
25496         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25497         and _dl_skip_args_internal.
25498
25499 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25500
25501         * manual/message.texi (Message Translation): Talk about users.
25502         Message to key mapping impacts design.
25503
25504 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25505
25506         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25507
25508         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25509
25510         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25511         * sysdeps/wordsize-64/glob64.c: ... here.
25512
25513         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25514         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25515         New macros.
25516
25517         * debug/getlogin_r_chk.c: Moved to ...
25518         * login/getlogin_r_chk.c: ... here.
25519         * debug/Makefile (routines): Move getlogin_r_chk to ...
25520         * login/Makefile (routines): ... here.
25521         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25522         * login/Versions (libc: GLIBC_2.4): ... here.
25523
25524         * io/poll.c (__poll): Renamed from poll.
25525         Add libc_hidden_def.
25526         (poll): Define as weak alias.
25527
25528         * debug/ptsname_r_chk.c: Moved to ...
25529         * login/ptsname_r_chk.c: ... here.
25530         * debug/Makefile (routines): Move ptsname_r_chk to ...
25531         * login/Makefile (routines): ... here.
25532         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25533         * login/Versions (libc: GLIBC_2.4): ... here.
25534
25535         * posix/getlogin.c: Moved to ...
25536         * login/getlogin.c: ... here.
25537         * posix/getlogin_r.c: Moved to ...
25538         * login/getlogin_r.c: ... here.
25539         * posix/getlogin_r.c: Moved to ...
25540         * login/getlogin_r.c: ... here.
25541         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25542         * login/Makefile (routines): ... here.
25543         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25544         * login/Versions (libc: GLIBC_2.0): ... here.
25545
25546         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25547         (setrlimit): Define as weak alias.
25548
25549         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25550         Call __ names for open, ftruncate, and close.
25551         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25552         (truncate): Define as weak alias.
25553
25554 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25555
25556         * math/gen-libm-test.pl (parse_args): Initialize x before each
25557         test of frexp, modf and remquo.
25558
25559         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25560         test signgam value.
25561
25562 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25563
25564         [BZ #15418]
25565         [BZ #15419]
25566         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25567         internal tests.
25568         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25569
25570 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25571
25572         * elf/dl-writev.h: New file.
25573         * elf/dl-misc.c: Include it.
25574         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25575         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25576
25577 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25578
25579         * math/libm-test.inc (noXFails): Remove variable.
25580         (noXPasses): Likewise.
25581         (BUILD_COMPLEX_INT): Remove macro.
25582         (print_screen): Remove xfail argument.
25583         (print_screen_max_error): Likewise.
25584         (update_stats): Likewise.
25585         (print_max_error): Likewise.  Update calls to other affected
25586         functions.
25587         (print_complex_max_error): Likewise.
25588         (test_single_exception): Update calls to print_screen.
25589         (test_single_errno): Likewise.
25590         (check_float_internal): Remove xfail argument.  Update calls to
25591         other affected functions.
25592         (check_float): Likewise.
25593         (check_complex): Likewise.
25594         (check_int): Likewise.
25595         (check_long): Likewise.
25596         (check_bool): Likewise.
25597         (check_longlong): Likewise.
25598         (main): Don't print noXFails and noXPasses.
25599         * math/gen-libm-test.pl (top level): Don't mention expected
25600         failure handling in comment.
25601         (new_test): Don't handle expected failures.
25602         (parse_args): Don't mention expected failure handling in comment.
25603         (generate_testfile): Don't handle expected failures.
25604         (parse_ulps): Likewise.
25605         (print_ulps_file): Likewise.
25606         (get_failure): Remove function.
25607         (output_test): Don't handle expected failures.
25608         * make/README.libm-test: Don't mention expected failure handling.
25609
25610         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
25611         (minus_zero): Likewise.
25612         (plus_infty): Likewise.
25613         (minus_infty): Likewise.
25614         (qnan_value): Likewise.
25615         (max_value): Likewise.
25616         (min_value): Likewise.
25617         (min_subnorm_value): Likewise.
25618         (initialize): Do not initialize those variables dynamically.
25619
25620 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25621
25622         * io/open.c (__open_2): Moved to ...
25623         * io/open_2.c: ... this new file.
25624         * io/open64.c (__open64_2): Moved to ...
25625         * io/open64_2.c: ... this new file.
25626         * io/openat.c (__openat_2): Moved to ...
25627         * io/openat_2.c: ... this new file.
25628         * io/openat64.c (__openat64_2): Moved to ...
25629         * io/openat64_2.c: ... this new file.
25630         * io/Makefile (routines): Add them.
25631         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25632         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25633         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25634         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25635         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25636         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25637         (__openat64): Add hidden_ver.
25638         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25639         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25640
25641         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25642         Separately conditionalize setting of GLRO(dl_sysinfo) so
25643         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25644         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25645
25646 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25647
25648         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25649         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25650         definition.
25651         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25652         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25653         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25654         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25655         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25656
25657 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25658
25659         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25660         test signgam value.
25661
25662         * math/libm-test.inc (hypot_test): Do not use
25663         IGNORE_ZERO_INF_SIGN.
25664
25665 2013-05-03  Andreas Jaeger  <aj@suse.de>
25666
25667         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25668         Linux 3.9.
25669         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25670         (PF_MAX): Adjust for VSOCK change.
25671
25672 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25673
25674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25675
25676 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25677
25678         [BZ #15264]
25679         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25680         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25681         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25682
25683 2013-05-02  David S. Miller  <davem@davemloft.net>
25684
25685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25686
25687 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25688
25689         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25690
25691 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25692
25693         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25694
25695 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25696
25697         [BZ #14952]
25698         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25699         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25700         Use __attribute__ ((__gnu_inline__)).
25701         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25702         Don't use __attribute__ ((__gnu_inline__)).
25703
25704 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25705
25706         [BZ #15423]
25707         * math/s_catan.c (__catan): Handle small real or imaginary part of
25708         input specially to avoid spurious underflow.
25709         * math/s_catanf.c (__catanf): Likewise.
25710         * math/s_catanh.c (__catanh): Likewise.
25711         * math/s_catanhf.c (__catanhf): Likewise.
25712         * math/s_catanhl.c (__catanhl): Likewise.
25713         * math/s_catanl.c (__catanl): Likewise.
25714         * math/libm-test.inc (catan_test): Add more tests.
25715         (catanh_test): Likewise.
25716         * sysdeps/i386/fpu/libm-test-ulps: Update.
25717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25718
25719 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25720
25721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25722
25723 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25724
25725         [BZ #15416]
25726         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25727         accurately for denominator in atan2.
25728         * math/s_catanf.c (__catanf): Likewise.
25729         * math/s_catanh.c (__catanh): Likewise.
25730         * math/s_catanhf.c (__catanhf): Likewise.
25731         * math/s_catanhl.c (__catanhl): Likewise.
25732         * math/s_catanl.c (__catanl): Likewise.
25733         * math/libm-test.inc (catan_test): Add more tests.
25734         (catanh_test): Likewise.
25735         * sysdeps/i386/fpu/libm-test-ulps: Update.
25736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25737
25738 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25739
25740         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25741
25742         * benchtests/Makefile (bench): Remove slow benchmarks.
25743         * benchtests/atan-inputs: Add slow benchmark inputs.
25744         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25745         (BENCH_FUNC): Accept variant offset.
25746         (VARIANT): Define.
25747         * benchtests/bench-skeleton.c (main): Run benchmark for each
25748         variant.
25749         * benchtests/cos-inputs: Add slow benchmark inputs.
25750         * benchtests/exp-inputs: Likewise.
25751         * benchtests/pow-inputs: Likewise.
25752         * benchtests/sin-inputs: Likewise.
25753         * benchtests/slowatan-inputs: Remove.
25754         * benchtests/slowatan.c: Remove.
25755         * benchtests/slowcos-inputs: Remove.
25756         * benchtests/slowcos.c: Remove.
25757         * benchtests/slowexp-inputs: Remove.
25758         * benchtests/slowexp.c: Remove.
25759         * benchtests/slowpow-inputs: Remove.
25760         * benchtests/slowpow.c: Remove.
25761         * benchtests/slowsin-inputs: Remove.
25762         * benchtests/slowsin.c: Remove.
25763         * benchtests/slowtan-inputs: Remove.
25764         * benchtests/slowtan.c: Remove.
25765         * benchtests/tan-inputs: Add slow benchmark inputs.
25766         * scripts/bench.pl: Parse comments and directives.
25767
25768         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25769         in CPPFLAGS.
25770         ($(objpfx)bench-%.c): Remove *-ITER.
25771         * benchtests/bench-modf.c: Remove definition of ITER.
25772         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25773         (main): Loop for DURATION seconds instead of fixed number of
25774         iterations.
25775         * scripts/bench.pl: Don't expect iterations in parameters.
25776
25777 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25778
25779         * io/fchdir.c (__fchdir): Renamed from fchdir.
25780         (fchdir): Define as weak alias.
25781
25782 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25783
25784         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25785         (ERRNO_EDOM): Likewise.
25786         (ERRNO_ERANGE): Likewise.
25787         (noErrnoTests): New variable.
25788         (init_max_error): Set errno to 0.
25789         (test_single_errno): New function.
25790         (test_errno): Likewise.
25791         (check_float_internal): Call test_errno.  Set errno to 0.
25792         (check_complex): Refer to errno tests in comment.
25793         (check_int): Call test_errno.  Set errno to 0.
25794         (check_long): Likewise.
25795         (check_bool): Likewise.
25796         (check_longlong): Likewise.
25797         (cos_test): Use ERRNO_* flags for errno tests instead of
25798         check_int.
25799         (expm1_test): Likewise.
25800         (fmod_test): Likewise.
25801         (ilogb_test): Likewise.
25802         (lgamma_test): Likewise.
25803         (pow_test): Likewise.
25804         (remainder_test): Likewise.
25805         (sin_test): Likewise.
25806         (tan_test): Likewise.
25807         (yn_test): Likewise.
25808         (initialize): Set errno to 0.
25809         (main): Print number of errno tests.
25810         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25811
25812 2013-04-29  Andreas Jaeger  <aj@suse.de>
25813
25814         [BZ #15084]
25815         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25816         and RES_USEVC.
25817
25818         [BZ #15085]
25819         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25820         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25821         unimplemented.
25822
25823         [BZ #15380]
25824         * stdlib/random.c (__initstate): Return NULL if
25825         __initstate fails.
25826
25827         [BZ #15086]
25828         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25829         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25830         RES_SNGLKUPREOP.
25831
25832 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25833
25834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25835
25836 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25837
25838         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25839         of individual tests.
25840         (casin_test): Likewise.
25841         (casinh_test): Likewise.
25842
25843 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25844
25845         [BZ #15409]
25846         * math/s_catan.c (__catan): Handle arguments with large real or
25847         imaginary part separately without squaring.
25848         * math/s_catanf.c (__catanf): Likewise.
25849         * math/s_catanh.c (__catanh): Likewise.
25850         * math/s_catanhf.c (__catanhf): Likewise.
25851         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25852         and redefine.
25853         (__catanhl): Handle arguments with large real or imaginary part
25854         separately without squaring.
25855         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25856         and redefine.
25857         (__catanl): Handle arguments with large real or imaginary part
25858         separately without squaring.
25859         * math/libm-test.inc (catan_test): Add more tests.
25860         (catanh_test): Likewise.
25861         * sysdeps/i386/fpu/libm-test-ulps: Update.
25862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25863
25864 2013-04-27  Andreas Jaeger  <aj@suse.de>
25865
25866         [BZ #15007]
25867         * stdlib/stdlib.h: Update guards for qecvt.
25868         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25869         <stdlib.h>.
25870
25871 2013-04-27  Allan McRae  <allan@archlinux.org>
25872
25873         * sysdeps/i386/fpu/libm-test-ulps: Update.
25874
25875 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25876
25877         [BZ #15406]
25878         * math/s_catan.c: Include <float.h>.
25879         (__catan): Ensure underflow exception occurs for underflowed
25880         result.
25881         * math/s_catanf.c: Include <float.h>.
25882         (__catanf): Ensure underflow exception occurs for underflowed
25883         result.
25884         * math/s_catanh.c: Include <float.h>.
25885         (__catanh): Ensure underflow exception occurs for underflowed
25886         result.
25887         * math/s_catanhf.c: Include <float.h>.
25888         (__catanhf): Ensure underflow exception occurs for underflowed
25889         result.
25890         * math/s_catanhl.c: Include <float.h>.
25891         (__catanhl): Ensure underflow exception occurs for underflowed
25892         result.
25893         * math/s_catanl.c: Include <float.h>.
25894         (__catanl): Ensure underflow exception occurs for underflowed
25895         result.
25896         * math/libm-test.inc (catan_test): Add more tests.
25897         (catanh_test): Likewise.
25898
25899         [BZ #15405]
25900         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25901         underflowed result.
25902         * math/s_ccoshf.c (__ccoshf): Likewise.
25903         * math/s_ccoshl.c (__ccoshl): Likewise.
25904         * math/s_csin.c (__csin): Likewise.
25905         * math/s_csinf.c (__csinf): Likewise.
25906         * math/s_csinh.c (__csinh): Likewise.
25907         * math/s_csinhf.c (__csinhf): Likewise.
25908         * math/s_csinhl.c (__csinhl): Likewise.
25909         * math/s_csinl.c (__csinl): Likewise.
25910         * math/libm-test.inc (ccos_test): Add more tests.
25911         (ccosh_test): Likewise.
25912         (csin_test): Likewise.
25913         (csinh_test): Likewise.
25914
25915 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25916
25917         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25918         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25919         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25920         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25921         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25922         powerpc/power5+/fpu folders.
25923         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25924
25925
25926 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25927
25928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25929
25930 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25931
25932         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25933         additions to variable.
25934         [$(config-machine) = x86_64] (modules-names): Likewise.
25935         ($(objpfx)tst-audit3): Remove dependency.
25936         ($(objpfx)tst-audit3.out): Likewise.
25937         ($(objpfx)tst-audit4): Likewise.
25938         ($(objpfx)tst-audit4.out): Likewise.
25939         ($(objpfx)tst-audit5): Likewise.
25940         ($(objpfx)tst-audit5.out): Likewise.
25941         ($(objpfx)tst-audit6): Likewise.
25942         ($(objpfx)tst-audit6.out): Likewise.
25943         ($(objpfx)tst-audit7): Likewise.
25944         ($(objpfx)tst-audit7.out): Likewise.
25945         (tst-audit3-ENV): Remove variable.
25946         (tst-audit4-ENV): Likewise.
25947         (tst-audit5-ENV): Likewise.
25948         (tst-audit6-ENV): Likewise.
25949         (tst-audit7-ENV): Likewise.
25950         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25951         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25952         addition to variable.
25953         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25954         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25955         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25956         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25957         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25958         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25959         tst-audit3, tst-audit4 and tst-audit5.
25960         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25961         tst-audit6 and tst-audit7.
25962         [$(subdir) = elf] (modules-names): Add audit modules for those
25963         tests.
25964         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25965         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25966         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25967         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25968         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25969         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25970         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25971         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25972         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25973         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25974         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25975         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25976         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25977         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25978         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25979         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25980         Likewise.
25981         [$(subdir) = elf && $(config-cflags-avx) = yes]
25982         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25983         [$(subdir) = elf && $(config-cflags-avx) = yes]
25984         (CFLAGS-tst-auditmod4a.c): Likewise.
25985         [$(subdir) = elf && $(config-cflags-avx) = yes]
25986         (CFLAGS-tst-auditmod4b.c): Likewise.
25987         [$(subdir) = elf && $(config-cflags-avx) = yes]
25988         (CFLAGS-tst-auditmod6b.c): Likewise.
25989         [$(subdir) = elf && $(config-cflags-avx) = yes]
25990         (CFLAGS-tst-auditmod6c.c): Likewise.
25991         [$(subdir) = elf && $(config-cflags-avx) = yes]
25992         (CFLAGS-tst-auditmod7b.c): Likewise.
25993         * elf/tst-audit3.c: Move to ...
25994         * sysdeps/x86_64/tst-audit3.c: ... here.
25995         * elf/tst-audit4.c: Move to ...
25996         * sysdeps/x86_64/tst-audit4.c: ... here.
25997         * elf/tst-audit5.c: Move to ...
25998         * sysdeps/x86_64/tst-audit5.c: ... here.
25999         * elf/tst-audit6.c: Move to ...
26000         * sysdeps/x86_64/tst-audit6.c: ... here.
26001         * elf/tst-audit7.c: Move to ...
26002         * sysdeps/x86_64/tst-audit7.c: ... here.
26003         * elf/tst-auditmod3a.c: Move to ...
26004         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26005         * elf/tst-auditmod3b.c: Move to ...
26006         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26007         * elf/tst-auditmod4a.c: Move to ...
26008         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26009         * elf/tst-auditmod4b.c: Move to ...
26010         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26011         * elf/tst-auditmod5a.c: Move to ...
26012         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26013         * elf/tst-auditmod5b.c: Move to ...
26014         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26015         * elf/tst-auditmod6a.c: Move to ...
26016         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26017         * elf/tst-auditmod6b.c: Move to ...
26018         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26019         * elf/tst-auditmod6c.c: Move to ...
26020         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26021         * elf/tst-auditmod7a.c: Move to ...
26022         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26023         * elf/tst-auditmod7b.c: Move to ...
26024         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26025
26026 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26027
26028         [BZ #15366]
26029         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26030         define unconditionally.
26031         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26032         define unconditionally.
26033         (INT8_C, INT16_C, etc.): Likewise.
26034
26035 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26036
26037         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26038         __ehdr_start with hidden visibility.
26039
26040         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26041
26042 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26043
26044         * math/libm-test.inc (cos_test): Use accurate hex constants.
26045         (sincost_test): Likewise.
26046
26047 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26048
26049         * math/libm-test.inc (catan_test): Add more tests.
26050         (catanh_test): Likewise.
26051
26052         * math/s_catanf.c (__catanf): Use suffixed floating-point
26053         constants.
26054         * math/s_catanhf.c (__catanhf): Likewise.
26055         * math/s_catanhl.c (__catanhl): Likewise.
26056         * math/s_catanl.c (__catanl): Likewise.
26057
26058         [BZ #15394]
26059         * math/s_catan.c (__catan): Calculate imaginary part of result
26060         with log1p not log unless computing log of number close to 0.
26061         * math/s_catanf.c (__catanf): Likewise.
26062         * math/s_catanl.c (__catanl): Likewise.
26063         * math/s_catanh.c (__catanh): Calculate real part of result with
26064         log1p not log unless computing log of number close to 0.
26065         * math/s_catanhf.c (__catanhf): Likewise.
26066         * math/s_catanhl.c (__catanhl): Likewise.
26067         * math/libm-test.inc (catan_test): Add more tests.
26068         (catanh_test): Likewise.
26069         * sysdeps/i386/fpu/libm-test-ulps: Update.
26070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26071
26072 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26073
26074         * benchtests/Makefile: Mention files in which fast and slow
26075         paths of math functions are implemented.
26076
26077 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26078
26079         * sysdeps/posix/timespec_get.c: New file.
26080
26081 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26082
26083         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26084         POWER.
26085         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26086         for POWER.
26087         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26088         powerpc/power5/fpu folders.
26089         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26090         * benchtests/Makefile: Add modf testcase.
26091         * benchtests/bench-modf.c: New file: Benchmark test for mo
26092
26093 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26094
26095         [BZ #14888]
26096         * time/Makefile (tests): Add tst-strptime-whitespace.
26097         * time/strptime_l.c (get_number): Use ISSPACE.
26098         (__strptime_internal): Likewise.
26099         * time/tst-strptime-whitespace.c: New test case.
26100
26101 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26102
26103         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26104         member.
26105         (_nss_files_init): Set it here.
26106
26107 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26108
26109         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26110         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26111         unsigned.
26112
26113 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26114
26115         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26116
26117 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26118
26119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26120         size just once.
26121
26122 2013-04-21  David S. Miller  <davem@davemloft.net>
26123
26124         * po/ru.po: Update Russion translation from translation project.
26125
26126 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26127
26128         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26129         and setfsgid.
26130
26131 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26132
26133         * configure.in: Remove i386 configure warning. Remove i386 case.
26134         * configure: Regenerate.
26135         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26136         Add example to error message.
26137         * sysdeps/i386/configure: Regenerate.
26138
26139 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26140
26141         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26142         slowtan.
26143         * benchtests/cos-inputs: New file.
26144         * benchtests/slowcos-inputs: New file.
26145         * benchtests/slowcos.c: New file.
26146         * benchtests/slowtan-inputs: New file.
26147         * benchtests/slowtan.c: New file.
26148         * benchtests/tan-inputs: New file.
26149
26150 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26151
26152         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26153         considered kosher.
26154
26155 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26156
26157         * benchtests/Makefile: Include cppflags-iterator.mk to add
26158         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26159
26160         * Makefile.in (bench-clean): New target.
26161         * benchtests/Makefile (bench-clean): Likewise.
26162
26163 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26164
26165         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26166
26167 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26168
26169         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26170
26171 2013-04-15  Andreas Schwab  <schwab@suse.de>
26172
26173         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26175         * nscd/pwdcache.c (cache_addpw): Likewise.
26176         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26177         more than recsize.
26178
26179 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26180
26181         * benchtests/Makefile (bench): Write all output to
26182         bench-out.tmp together.
26183
26184 2013-04-15  Andreas Schwab  <schwab@suse.de>
26185
26186         * nscd/nscd.c (main): Don't fork again after closing files.
26187
26188 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26189
26190         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26191
26192         * benchtests/Rules (bench-deps): Collect dependencies into a
26193         single variable.  Add Makefile to dependencies.
26194         ($(objpfx)bench-%.c): Depend on bench-deps.
26195
26196 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26197             Xavier Roche  <roche+kml2@exalead.com>
26198
26199         [BZ #15361]
26200         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26201         just that it's a file descriptor.
26202         * manual/llio.texi (Synchronizing AIO Operations): Update description
26203         for EBADF error from aio_fsync.
26204
26205 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26206
26207         * Rules (bench): Move target definition...
26208         * benchtests/Makefile: ... here.
26209
26210 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26211
26212         * math/libm-test.inc (cos_test): Fix PI/2 test.
26213         (sincos_test): Likewise.
26214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26215         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26216
26217 2013-04-11  Andreas Schwab  <schwab@suse.de>
26218
26219         [BZ #13988]
26220         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26221         accept exponent character only when digits were seen.
26222         * stdio-common/Makefile (tests): Add bug26.
26223         * stdio-common/bug26.c: New file.
26224
26225         [BZ #14293]
26226         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26227         non-freeable.
26228
26229 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26230
26231         * Makeconfig (rtld-prefix): Define built linker prefix.
26232         * Rules (run-bench): Use it.
26233         * math/Makefile (run-regen-ulps): Likewise.
26234
26235         * Rules (bench): Remove eval.
26236
26237 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26238             Roland McGrath  <roland@hack.frob.com>
26239             Ondrej Bilka  <neleai@seznam.cz>
26240
26241         [BZ #15346]
26242         * time/getdate.c: Include ctype.h and alloca.h.
26243         (__getdate_r): Trim leading and trailing spaces of input.
26244         * time/tst-getdate.c (tests): Add tests with leading and
26245         trailing spaces.
26246
26247 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26248
26249         [BZ #14280]
26250         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26251         when computing value.
26252
26253 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26254
26255         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26256         Use testrun.sh to run libm tests.
26257
26258         [BZ #15309]
26259         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26260
26261 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26262
26263         [BZ #15264]
26264         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26265
26266 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26267
26268         * Makefile.in (regen-ulps): New target.
26269         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26270         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26271         [ifneq (no,$(PERL)] (regen-ulps): New target.
26272         [ifeq (no,$(PERL)] (regen-ulps): New target.
26273         * math/libm-test.inc (ulps_file_name): Define.
26274         (output_dir): New variable.
26275         (options): Add "output-dir" option.
26276         (parse_opt): Handle 'o' case.
26277         (main): If output_dir is non-NULL use it as a prefix
26278         otherwise use "".
26279         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26280
26281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26282
26283         [BZ #10060, #10062]
26284         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26285         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26286         fail configure if __sync_val_compare_and_swap is not inlined.
26287         * sysdeps/i386/configure: Regenerate.
26288         * configure.in: Build for i686 when configured for i386.
26289         * configure: Regenerate.
26290         * README: Remove i386 reference.
26291
26292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26293
26294         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26296
26297 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26298
26299         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26300         (lmsnanval): New variables.
26301         (F): Add conversion tests.
26302         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26303         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26304
26305         * stdio-common/tstdiomisc.c (F): Properly collect individual
26306         tests' results.
26307
26308         [BZ #14686, #15336]
26309         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26310         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26311         Instead, use input NaN values or generate a qNaN by arithmetic
26312         operation.  Also fix bugs to comply with the standard.
26313         * math/libm-test.inc (remainder_test): Add more tests.
26314
26315         [BZ #15335, #15342]
26316         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26317         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26318         input NaN values or generate a qNaN by arithmetic operation.
26319
26320         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26321         unreachable code.
26322
26323         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26324         definitions.
26325
26326 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26327
26328         [BZ #14478]
26329         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26330         underflowed result.
26331         * math/s_cexpf.c (__cexpf): Likewise.
26332         * math/s_cexpl.c (__cexpl): Likewise.
26333         * math/libm-test.inc (cexp_test): Add more tests.
26334
26335 2013-04-03  Andreas Schwab  <schwab@suse.de>
26336
26337         [BZ #15330]
26338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26339         order arrays from heap if bigger than alloca cutoff.
26340
26341 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26342
26343         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26344         (SNAN_TESTS_double): Refer to GCC PR56831.
26345         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26346         GCC PR56828.
26347
26348 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26349
26350         * Rules (bench): Move bench.out after the run is complete.
26351
26352         * Rules (bench): Echo currently running benchmark.
26353
26354         * benchtests/Makefile (bench): Add atan and slowatan.
26355         * benchtests/atan-inputs: New file.
26356         * benchtests/slowatan-inputs: New file.
26357         * benchtests/slowatan.c: New file.
26358
26359         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26361         its value.
26362
26363         [BZ #15305]
26364         * sysdeps/unix/sysv/linux/kernel-features.h
26365         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26366         __ASSUME_XFS_RESTRICTED_CHOWN.
26367         * sysdeps/unix/sysv/linux/pathconf.c
26368         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26369         Save and restore errno.
26370
26371 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26372
26373         [BZ #15327]
26374         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26375         arguments using __kernel_casinh.
26376         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26377         arguments using __kernel_casinhf.
26378         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26379         arguments using __kernel_casinhl.
26380         * math/libm-test.inc (cacosh_test): Add more tests.
26381         * sysdeps/i386/fpu/libm-test-ulps: Update.
26382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26383
26384 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26385
26386         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26388
26389         * bench/Makefile (bench): Add sin and slowsin.
26390         * benchtests/sin-inputs: New file.
26391         * benchtests/slowsin-inputs: New file.
26392         * benchtests/slowsin.c: New file.
26393
26394         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26395         (bench): Add slowexp and slowpow.
26396         (exp-ITER): Increase iterations.
26397         (pow-ITER): Likewise.
26398         * benchtests/exp-inputs: Change input.
26399         * benchtests/pow-inputs: Likewise.
26400         * benchtests/slowexp-inputs: New file.
26401         * benchtests/slowexp.c: New file.
26402         * benchtests/slowpow-inputs: New file.
26403         * benchtests/slowpow.c: New file.
26404
26405 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26406
26407         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26408         instructions.
26409         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26410         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26411         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26412         * benchtests/Makefile: Add rint benchtest.
26413         * benchtests/rint-inputs: Input for rint benchtest.
26414
26415 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26416
26417         * Versions.def (libm): Add GLIBC_2.18.
26418         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26419         hidden libm prototypes.
26420         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26421         * math/Makefile (libm-calls): Add s_issignaling.
26422         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26423         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26424         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26425         declaration.
26426         * math/math.h [__USE_GNU] (issignaling): New macro.
26427         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26428         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26429         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26430         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26431         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26432         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26433         * manual/arith.texi (issignaling): New section.
26434         * manual/libm-err-tab.pl (@all_functions): Update comment.
26435         * math/gen-libm-test.pl (parse_args): Apply special handling for
26436         issignaling.
26437         * math/libm-test.inc (print_float, issignaling_test): New
26438         functions.
26439         (check_float_internal): Add issignaling checks.
26440         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26441         default definition.
26442         * sysdeps/powerpc/math-tests.h: New file.
26443         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26444         tests.
26445         * math/test-snan.c (TEST_FUNC): Likewise.
26446
26447 2013-03-30  David S. Miller  <davem@davemloft.net>
26448
26449         * po/de.po: Update from translation team.
26450
26451 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26452
26453         [BZ #10357]
26454         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26455         imaginary part less than 1.0 and real part less than 0.5
26456         specially.
26457         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26458         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26459         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26460         (cacos_test): Add more tests.
26461         (casin_test): Likewise.
26462         (casinh_test): Likewise.
26463         * sysdeps/i386/fpu/libm-test-ulps: Update.
26464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26465
26466 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26467
26468         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26469         ONE with its value.
26470
26471         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26472         (__pow_mp): Replace ONE and MONE with their values.
26473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26475         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26476         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26479
26480         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26481
26482         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26483         (__pow_mp): Replace ZERO and MZERO with their values.
26484         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26485         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26488         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26489         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26490         (__sqr): Likewise.
26491
26492         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26493
26494         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26495
26496 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26497
26498         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26499         Declare with __attribute__ ((weak)).
26500         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26501         Call __call_tls_dtors only if it's not NULL.
26502
26503 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26504
26505         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26506         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26507         magic __ehdr_start linker symbol if it's defined.
26508         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26509         them up here if it was already done.
26510
26511         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26512         (_dl_aux_init): Use const in cast when setting it.
26513         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26514         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26515         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26516
26517         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26518         Declare them here.
26519         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26520         * csu/libc-tls.c: Nor here.
26521         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26522
26523         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26524         (__libc_message): Never call vsyslog.
26525
26526 2013-03-28  Alan Modra  <amodra@gmail.com>
26527
26528         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26529         Define as empty.
26530         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26531         Likewise.
26532
26533 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26534
26535         [BZ #15214]
26536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26537         underflow.
26538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26539
26540 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26541
26542         [BZ #15304]
26543         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26544         Don't add gid passed as argument.
26545
26546         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26547
26548 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26549
26550         [BZ #15307]
26551         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26552         imaginary part between 1.0 and 1.5 and real part less than 0.5
26553         specially.
26554         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26555         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26556         * math/libm-test.inc (cacos_test): Add more tests.
26557         (casin_test): Likewise.
26558         (casinh_test): Likewise.
26559         * sysdeps/i386/fpu/libm-test-ulps: Update.
26560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26561
26562 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26563
26564         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26565         constants.
26566         (norm): Likewise.
26567         (denorm): Likewise.
26568         (__dbl_mp): Likewise.
26569         (add_magnitudes): Likewise.
26570         (sub_magnitudes): Likewise.
26571         (__add): Likewise.
26572         (__sub): Likewise.
26573         (__mul): Likewise.
26574         (__sqr): Likewise.
26575         (__inv): Likewise.
26576         (__dvd): Likewise.
26577
26578         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26579         commented code.
26580         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26581         (__dubcos): Likewise.
26582         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26583         (__ieee754_acos): Likewise.
26584         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26585         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26586         (__exp1): Likewise.
26587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26589         (log1): Likewise.
26590         (my_log2): Likewise.
26591         (checkint): Likewise.
26592         * sysdeps/ieee754/dbl-64/e_remainder.c
26593         (__ieee754_remainder): Likewise.
26594         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26595         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26596         (bsloww): Likewise.
26597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26598
26599         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26600         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26601         MANTISSA_STORE_T to store computations on mantissa.  Use
26602         macros for rounding and division.
26603         (denorm): Likewise.
26604         (__dbl_mp): Likewise.
26605         (add_magnitudes): Likewise.
26606         (sub_magnitudes): Likewise.
26607         (__mul): Likewise.
26608         (__sqr): Likewise.
26609         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26610         powers of two in terms of TWOPOW macro.
26611         (mp_no): Make type of mantissa as MANTISSA_T.
26612         [!RADIXI]: Define RADIXI.
26613         [!TWO52]: Define TWO52.
26614         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26615
26616 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26617
26618         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26619         llroundl symbol when building for PPC32.
26620
26621 2013-03-24  Mark H Weaver  <mhw@netris.org>
26622
26623         * manual/arith.texi (Normalization Functions): Fix prototypes for
26624         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26625
26626 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26627
26628         [BZ #13889]
26629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26630         high value to check if expl overflow.
26631         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26632         to check for underflow and overflow.
26633         * math/libm-test.inc: Add exp test.
26634
26635 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26636
26637         [BZ #11120]
26638         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26639         with NOT_IN_libc.
26640
26641 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26642
26643         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26644         symbol.
26645
26646 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26647
26648         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26649         wrap blocks consisting of several statements.
26650
26651         * sysdeps/generic/math-tests.h: New file.
26652         * sysdeps/i386/fpu/math-tests.h: Likewise.
26653         * math/test-snan.c: Include it.
26654         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26655
26656 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26657
26658         [BZ #15285]
26659         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26660         (__ieee754_j0l): Do not improve calculations using cos of twice
26661         input for inputs above LDBL_MAX / 2.0L.
26662         (__ieee754_y0l): Likewise.
26663         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26664         (__ieee754_j1l): Do not improve calculations using cos of twice
26665         input for inputs above LDBL_MAX / 2.0L.
26666         (__ieee754_y1l): Likewise.
26667         * math/libm-test.inc (j0_test): Add another test.
26668         (j1_test): Likewise.
26669         (y0_test): Likewise.
26670         (y1_test): Likewise.
26671         * sysdeps/i386/fpu/libm-test-ulps: Update.
26672
26673 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26674
26675         * Rules ($(objpfx)bench-%.c): Include code from a C source
26676         file.
26677
26678 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26679
26680         [BZ #15287]
26681         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26682         imaginary part 1.0 and real part less than 0.5 specially.
26683         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26684         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26685         * math/libm-test.inc (cacos_test): Add more tests.
26686         (casin_test): Likewise.
26687         (casinh_test): Likewise.
26688         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26690
26691 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26692
26693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26694         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26695
26696 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26697
26698         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26699         * config.make.in (config-cflags-sse4): Remove variable.
26700         (config-cflags-avx): Likewise.
26701         (config-cflags-sse2avx): Likewise.
26702         (config-cflags-novzeroupper): Likewise.
26703         (config-asflags-i686): Likewise.
26704         (have-mfma4): Likewise.
26705         (have-as-vis3): Likewise.
26706         (MIG): Likewise.
26707         * configure.in (MIG): Do not AC_SUBST.
26708         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26709         (libc_cv_cc_sse4): Do not AC_SUBST.
26710         (libc_cv_cc_avx): Likewise.
26711         (libc_cv_cc_sse2avx): Likewise.
26712         (libc_cv_cc_novzeroupper): Likewise.
26713         (libc_cv_cc_fma4): Likewise.
26714         (libc_cv_as_i686): Likewise.
26715         (libc_cv_sparc_as_vis3): Likewise.
26716         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26717         LIBC_CONFIG_VAR.
26718         (config-asflags-i686): Likewise.
26719         (config-cflags-avx): Likewise.
26720         (config-cflags-sse2avx): Likewise.
26721         (have-mfma4): Likewise.
26722         (config-cflags-novzeroupper): Likewise.
26723         * sysdeps/mach/configure.in (MIG): Likewise.
26724         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26725         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26726         LIBC_CONFIG_VAR.
26727         (config-cflags-avx): Likewise.
26728         (config-cflags-sse2avx): Likewise.
26729         (have-mfma4): Likewise.
26730         (config-cflags-novzeroupper): Likewise.
26731         * configure: Regenerated.
26732         * sysdeps/i386/configure: Likewise.
26733         * sysdeps/mach/configure: Likewise.
26734         * sysdeps/sparc/configure: Likewise.
26735         * sysdeps/x86_64/configure: Likewise.
26736
26737 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26738
26739         [BZ #14812]
26740         * locale/programs/localedef.c (options): Put N_ translation marker
26741         on argument names, not just descriptions.
26742
26743 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26744
26745         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26746
26747 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26748
26749         [BZ #14176]
26750         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26751
26752 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26753
26754         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26755         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26756         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26757         [!BEFORE_ABORT] (before_abort): New function.
26758         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26759         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26760         (writev_for_fatal): New function.
26761         (WRITEV_FOR_FATAL): New macro; call that.
26762         (backtrace_and_maps): New function.
26763         (BEFORE_ABORT): New macro; call that.
26764         (struct str_list): Type removed.
26765         (__libc_message, __libc_fatal): Functions removed.
26766         Include <sysdeps/posix/libc_fatal.c> instead.
26767
26768 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26769
26770         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26771         constants.
26772         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26773         double constants.
26774
26775 2013-03-19  Andreas Schwab  <schwab@suse.de>
26776
26777         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26778         * sysdeps/gnu/configure: Regenerate.
26779
26780         * configure.in: Substitute libc_cv_rtlddir.
26781         * configure: Regenerate.
26782         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26783         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26784         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26785         * elf/Makefile (install-others, CFLAGS-interp.c)
26786         (ldso_install, common-ldd-rewrite): Likewise.
26787         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26788         $(inst_slibdir)/$(rtld-installed-name).
26789         * scripts/rellns-sh: Add -p option.
26790         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26791         for source.
26792
26793 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26794
26795         * manual/nptl.texi: Renamed to ...
26796         * manual/threads.texi: ... this.
26797         * manual/Makefile (chapters): Update.
26798
26799 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26800
26801         [BZ #14812]
26802         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26803         on argument names, not just descriptions.
26804         * malloc/memusagestat.c (options): Likewise.
26805         * nss/getent.c (options): Likewise.
26806
26807 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26808
26809         [BZ #14812]
26810         * iconv/iconv_prog.c (options): Put N_ translation marker
26811         on argument names, not just descriptions.
26812         * iconv/iconvconfig.c (options): Likewise.
26813
26814 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26815
26816         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26817         implementation which is faster on all x86_64 architectures.
26818         Tested on AMD, Intel Nehalem, SNB, IVB.
26819         * sysdeps/x86_64/strnlen.S: Likewise.
26820
26821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26822         Remove all multiarch strlen and strnlen versions.
26823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26824         Remove strlen and strnlen related parts.
26825
26826         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26827         Inline strlen part.
26828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26829
26830         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26831         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26832         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26833         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26834         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26835         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26836
26837 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26838
26839         * manual/memory.texi (Malloc Tunable Parameters):
26840         Sort parameters alphabetically. Add comments for missing entries.
26841
26842 2013-03-17  David S. Miller  <davem@davemloft.net>
26843
26844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26845
26846 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26847
26848         [BZ #15283]
26849         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26850         for arguments at most half maximum finite value.
26851         * math/libm-test.inc (j0_test): Add more tests.
26852         (j1_test): Likewise.
26853         (y0_test): Likewise.
26854         (y1_test): Likewise.
26855         * sysdeps/i386/fpu/libm-test-ulps: Update.
26856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26857
26858         [BZ #14155]
26859         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26860         1 / x and functions P and Q for arguments above 0x1p256L.
26861         (__ieee754_y0l): Likewise.
26862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26863         (__ieee754_y1l): Likewise.
26864         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26865         (j1_test): Likewise.
26866         (y0_test): Likewise.
26867         (y1_test): Likewise.
26868
26869 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26870
26871         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26872         variable.
26873
26874 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26875
26876         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26877         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26878         zero since it's initialized to EXEC_PAGESIZE.
26879
26880         * sysdeps/unix/sysv/linux/ldsodefs.h
26881         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26882         * sysdeps/generic/ldsodefs.h: ... here.
26883
26884 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26885
26886         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26887
26888         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26889         math/test-snan.c.
26890         * math/test-snan.c: Renamed from
26891         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26892         * math/Makefile (tests): Add test-snan.
26893         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26894         test-powerpc-snan.
26895
26896         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26897         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26898         functions.
26899         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26900         __builtin_nan family of functions.
26901         * math/libm-test.inc (initialize): Initialize qnan_value with
26902         __builtin_nan family of functions.
26903         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26904         Remove variables.
26905         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26906         Remove functions.
26907         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26908         storage class.  Initialize qNaN_var and sNaN_var with
26909         __builtin_nan and __builtin_nans families of functions,
26910         respectively.
26911
26912         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26913         (sqrt_test): Remove duplicate test with qNaN input.
26914         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26915         (round_test, signbit_test, significand_test): Note missing +/-Inf
26916         as well as qNaN tests.
26917
26918         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26919         qNaN_var.  Fix a few strings, too.
26920         * math/libm-test.inc (nan_value): Rename to qnan_value.
26921         * math/gen-libm-test.pl (%beautify): Adjust to that.
26922         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26923         * math/test-misc.c (main): Likewise.
26924         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26925         to __qnan_bytes, and __qnan_union, respectively.
26926         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26927         Likewise.
26928         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26929         and lqnanval, respectively.
26930         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26931         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26932         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26933         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26934
26935         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26936         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26937         doubles.
26938
26939         * math/test-misc.c (main): Fix copy'n'pastos.
26940         * misc/tst-efgcvt.c (special): Likewise.
26941
26942         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26943         Remove declarations.
26944
26945 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26946
26947         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26948         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26949         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26950         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26951
26952 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26953
26954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26955         macro to return vdso values correctly in IFUNC implementations.
26956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26957         Optimization by using IFUNC.
26958
26959 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26960             Richard Henderson  <rth@redhat.com>
26961             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26962
26963         * Makefile.in (bench): New target.
26964         * NEWS: Mention the benchmark framework.
26965         * Rules (bench): Likewise.
26966         (binaries-bench): Generate binaries for functions to
26967         benchmark.
26968         * benchtests/Makefile: New makefile for benchmark tests.
26969         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26970         programs.
26971         * benchtests/exp-inputs: New input file for EXP function.
26972         * benchtests/pow-inputs: New input file for POW function.
26973         * scripts/bench.pl: New script to generate source files for
26974         benchmark programs.
26975
26976 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26977
26978         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26980         computations on mantissa.  Use macros for rounding and
26981         division.
26982         (denorm): Likewise.
26983         (__dbl_mp): Likewise.
26984         (add_magnitudes): Likewise.
26985         (sub_magnitudes): Likewise.
26986         (__mul): Likewise.
26987         (__sqr): Likewise.
26988         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26989         powers of two in terms of TWOPOW macro.
26990         (mp_no): Make type of mantissa as MANTISSA_T.
26991         [!RADIXI]: Define RADIXI.
26992         [!TWO52]: Define TWO52.
26993         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26994
26995         * manual/nptl.texi (cindex): Modify threads to pthreads.
26996
26997 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26998
26999         * sysdeps/x86_64/preconfigure: Regenerated.
27000
27001 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27002
27003         [BZ #14155]
27004         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27005         0x1p28 and above.
27006         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27007         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27008         0x1p28 and above.
27009         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27010         * math/libm-test.inc (j0_test): Do not allow one spurious
27011         underflow exception.
27012         (y1_test): Likewise.
27013
27014 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27015
27016         * manual/Makefile (chapters): Add nptl.
27017         * manual/debug.texi (Debugging Support): Add link to Threads
27018         chapter.
27019         * manual/nptl.texi: New file.
27020
27021         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27022
27023 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27024
27025         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27026         for non-NULL pointer before the memory validity test. Pointed
27027         out by Holger Brunck <holger.brunck@keymile.com>.
27028
27029 2013-03-13  Andreas Schwab  <schwab@suse.de>
27030
27031         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27032         instead of .os.
27033
27034 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27035
27036         * timezone/zic.c: Update from tzcode 2013b.
27037
27038 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27039
27040         * manual/install.texi (Configuring and compiling):
27041         Mention i686 and i586.
27042         * INSTALL: Regenerate.
27043
27044 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27045
27046         * sysdeps/init_array/elf-init.c: New file.
27047         * csu/elf-init.c
27048         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27049         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27050
27051         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27052         __gmon_start__ as global, but as static with a .preinit_array pointer.
27053         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27054         * sysdeps/init_array/crti.S: New file, empty except for comments.
27055         * sysdeps/init_array/crtn.S: Likewise.
27056
27057 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27058
27059         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27060         definining bcopy.
27061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27062         Remove Prefer_SSE_for_memop.
27063         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27064         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27065         HAS_PREFER_SSE_FOR_MEMOP.
27066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27067         memset-x86-64.
27068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27069         Remove bzero, memset ifunc support.
27070         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27071         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27074
27075 2013-03-11  Andreas Schwab  <schwab@suse.de>
27076
27077         [BZ #15234]
27078         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27079         by SHLIB_COMPAT.
27080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27081         (GLIBC_2.16): Remove pthread_atfork.
27082
27083 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27084
27085         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27086         (ptestcases.h): Likewise.
27087
27088 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27089
27090         * Makeconfig ($(common-objpfx)config.status): Depend on
27091         sysdeps/*/preconfigure{,.in} too.
27092
27093 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27094
27095         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27096         (__free_hook): Use void * instead of __malloc_ptr_t.
27097         (__malloc_hook): Likewise.
27098         (__realloc_hook): Likewise.
27099         (__memalign_hook): Likewise.
27100         (__after_morecore_hook): Likewise.
27101         * malloc/arena.c (save_malloc_hook): Likewise.
27102         (save_free_hook): Likewise.
27103         * malloc/hooks.c (malloc_hook_ini): Likewise.
27104         (realloc_hook_ini): Likewise.
27105         (memalign_hook_ini): Likewise.
27106         * malloc/malloc.c (malloc_hook_ini): Likewise.
27107         (realloc_hook_ini): Likewise.
27108         (memalign_hook_ini): Likewise.
27109         (__free_hook): Likewise.
27110         (__malloc_hook): Likewise.
27111         (__realloc_hook): Likewise.
27112         (__memalign_hook): Likewise.
27113         (__libc_malloc): Likewise.
27114         (__libc_free): Likewise.
27115         (__libc_realloc): Likewise.
27116         (__libc_memalign): Likewise.
27117         (__libc_valloc): Likewise.
27118         (__libc_pvalloc): Likewise.
27119         (__libc_calloc): Likewise.
27120         (__posix_memalign): Likewise.
27121         * malloc/morecore.c (__sbrk): Likewise.
27122         (__default_morecore): Likewise.
27123
27124         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27125
27126         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27127         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27128         __malloc_ptrdiff_t.
27129
27130         * malloc/malloc.h (__malloc_size_t): Remove macro.
27131         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27132         __malloc_size_t.
27133         (old_memalign_hook): Likewise.
27134         (old_realloc_hook): Likewise.
27135         (struct hdr): Likewise.
27136         (flood): Likewise.
27137         (mallochook): Likewise.
27138         (memalignhook): Likewise.
27139         (reallochook): Likewise.
27140         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27141         (tr_old_realloc_hook): Likewise.
27142         (tr_old_memalign_hook): Likewise.
27143         (tr_mallochook): Likewise.
27144         (tr_reallochook): Likewise.
27145         (tr_memalignhook): Likewise.
27146
27147 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27148
27149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27150         default_ldbl_pack and using as default implementation.
27151         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27152         implementation.
27153         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27154         redundant definition.
27155         (ldbl_insert_mantissa): Likewise.
27156         (ldbl_canonicalize): Likewise.
27157         (ldbl_nearbyint): Likewise.
27158         (ldbl_pack): Rename to ldbl_pack_ppc.
27159         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27160         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27161         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27162
27163 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27164
27165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27166         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27167         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27168         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27171         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27172         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27173
27174 2013-03-07  Andreas Jaeger  <aj@suse.de>
27175
27176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27177         bits/mman-linux.h.
27178
27179 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27180
27181         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27182         Include mpa.h and declare __MPEXP.
27183         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27184         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27185         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27187         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27188         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27189         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27190
27191         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27192         (__slowpow): Use long double EXPL and LOGL functions to
27193         compute POW.
27194         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27195         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27196         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27197         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27198         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27200
27201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27202         intermediate variable to calculate exponent.
27203         (__sqr): Likewise.
27204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27205         Likewise.
27206         (__sqr): Likewise.
27207
27208         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27209         [!NO__SQR]: Define __sqr.
27210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27211         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27212         sysdeps/ieee754/dbl-64/mpa.c.
27213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27214
27215         [BZ #12723]
27216         * posix/Makefile (tests): Add tst-pathconf.
27217         * posix/tst-pathconf.c: New test case.
27218         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27219         _PC_PIPE_BUF.
27220         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27221
27222 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27223
27224         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27225
27226 2013-03-06  Andreas Jaeger  <aj@suse.de>
27227
27228         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27229         definition via __MAP_ANONYMOUS.
27230
27231         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27232         it's not part of Linux headers.
27233
27234         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27235         (MAP_HUGE_MASK): Define.
27236
27237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27238         Define.
27239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27240         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27241         Define.
27242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27243         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27244         Define.
27245         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27246         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27247         Define.
27248         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27249
27250         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27251         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27252         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27253         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27254         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27255         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27256
27257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27258         Handle f2fs.
27259
27260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27261         Handle f2fs and efivarfs.
27262
27263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27264         f2fs.
27265
27266         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27267         (EFIVARFS_MAGIC): Add.
27268         (F2FS_LINK_MAX): Add.
27269
27270 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27271
27272         * stdio-common/vfprintf.c: Replace __builtin_expect with
27273         __glibc_unlikely.
27274
27275 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27276
27277         [BZ #13550]
27278         * sysdeps/generic/bp-sym.h: Remove file.
27279         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27281         <bp-sym.h> and <bp-asm.h>.
27282         (__longjmp): Don't use BP_SYM.
27283         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27284         and <bp-asm.h>.
27285         (memcpy): Don't use BP_SYM.
27286         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27287         <bp-sym.h> and <bp-asm.h>.
27288         (memcpy): Don't use BP_SYM.
27289         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27290         <bp-asm.h>.
27291         (memcpy): Don't use BP_SYM.
27292         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27293         <bp-asm.h>.
27294         (memset): Don't use BP_SYM.
27295         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27296         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27297         (__bzero): Don't use BP_SYM.
27298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27300         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27301         <bp-sym.h> and <bp-asm.h>.
27302         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27303         pointers.
27304         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27305         <bp-sym.h> and <bp-asm.h>.
27306         (memcpy): Don't use BP_SYM.
27307         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27308         <bp-sym.h> and <bp-asm.h>.
27309         (memset): Don't use BP_SYM.
27310         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27311         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27312         (__bzero): Don't use BP_SYM.
27313         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27314         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27315         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27316         <bp-sym.h> and <bp-asm.h>.
27317         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27318         pointers.
27319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27320         <bp-sym.h> and <bp-asm.h>.
27321         (memcpy): Don't use BP_SYM.
27322         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27323         <bp-sym.h> and <bp-asm.h>.
27324         (memset): Don't use BP_SYM.
27325         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27326         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27327         (__bzero): Don't use BP_SYM.
27328         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27329         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27331         <bp-sym.h> and <bp-asm.h>.
27332         (__memchr): Don't use BP_SYM.
27333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27334         <bp-sym.h> and <bp-asm.h>.
27335         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27336         pointers.
27337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27338         <bp-sym.h> and <bp-asm.h>.
27339         (memcpy): Don't use BP_SYM.
27340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27341         <bp-sym.h> and <bp-asm.h>.
27342         (__mempcpy): Don't use BP_SYM.
27343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27344         <bp-sym.h> and <bp-asm.h>.
27345         (__memrchr): Don't use BP_SYM.
27346         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27347         <bp-sym.h> and <bp-asm.h>.
27348         (memset): Don't use BP_SYM.
27349         (__bzero): Likewise.
27350         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27351         <bp-sym.h> and <bp-asm.h>.
27352         (__rawmemchr): Don't use BP_SYM.
27353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27354         <bp-sym.h> and <bp-asm.h>.
27355         (__STRCMP): Don't use BP_SYM.
27356         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27357         <bp-sym.h> and <bp-asm.h>.
27358         (strchr): Don't use BP_SYM.
27359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27360         <bp-sym.h> and <bp-asm.h>.
27361         (__strchrnul): Don't use BP_SYM.
27362         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27363         <bp-sym.h> and <bp-asm.h>.
27364         (strlen): Don't use BP_SYM.
27365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27366         <bp-sym.h> and <bp-asm.h>.
27367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27368         pointers.
27369         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27370         <bp-sym.h> and <bp-asm.h>.
27371         (__strnlen): Don't use BP_SYM.
27372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27373         <bp-sym.h> and <bp-asm.h>.
27374         (__GI__setjmp): Don't use BP_SYM.
27375         (_setjmp): Likewise.
27376         (__sigsetjmp): Likewise.
27377         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27378         (L(start_addresses)): Don't use BP_SYM.
27379         (_start): Likewise.
27380         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27381         <bp-asm.h>.
27382         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27383         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27384         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27385         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27386         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27387         <bp-asm.h>.
27388         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27389         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27390         about bounded pointers.
27391         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27392         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27393         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27394         <bp-asm.h>.
27395         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27396         about bounded pointers.  Remove GKM FIXME comments.
27397         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27398         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27399         <bp-asm.h>.
27400         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27401         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27402         Remove GKM FIXME comments.
27403         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27404         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27405         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27406         <bp-asm.h>.
27407         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27408         about bounded pointers.  Remove GKM FIXME comment.
27409         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27410         and <bp-asm.h>.
27411         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27412         pointers.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27414         <bp-sym.h> and <bp-asm.h>.
27415         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27417         <bp-sym.h> and <bp-asm.h>.
27418         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27419         comment.
27420
27421 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27422
27423         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27424         call free(NULL).
27425
27426 2013-03-05  David S. Miller  <davem@davemloft.net>
27427
27428         * po/es.po: Update from translation team.
27429
27430 2013-03-05  Andreas Jaeger  <aj@suse.de>
27431
27432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27433         <bits/mman-linux.h>.
27434         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27435         is fine.
27436         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27437         <bits/mman-linux.h> to end of file.
27438         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27439         is fine.
27440         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27441         <bits/mman-linux.h> to end of file.
27442         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27443         is fine.
27444         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27445         <bits/mman-linux.h> to end of file.
27446
27447         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27448         (MCL_CURRENT, MCL_FUTURE): Define here.
27449
27450 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27451
27452         [BZ #15232]
27453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27454         attribute_hidden.
27455         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27456
27457 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27458
27459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27460         fourth parameter needed for rt_sigprocmask syscall.
27461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27464         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27466         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27467
27468 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27469
27470         [BZ #13550]
27471         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27472         comment about bounded pointers.
27473         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27474         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27475
27476 2013-03-04  Andreas Jaeger  <aj@suse.de>
27477
27478         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27479         common definitions.
27480
27481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27482         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27483         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27486         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27487
27488 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27489
27490         [BZ #15055]
27491         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27492         __ieee754_sqrl instead of __sqrl.
27493
27494 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27495
27496         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27497         * sysdeps/powerpc/fpu_control.h: ... here.
27498         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27499         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27500         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27501         * sysdeps/powerpc/bits/mathinline.h: ... here.
27502
27503 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27504
27505         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27506         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27507         to just [NEED_DL_SYSINFO_DSO].
27508         * elf/dl-support.c: Likewise.
27509         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27510         * elf/rtld.c (dl_main): Likewise.
27511         * elf/setup-vdso.h (setup_vdso): Likewise.
27512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27513         * sysdeps/unix/sysv/linux/dl-sysdep.c
27514         (_dl_discover_osversion): Likewise.
27515
27516 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27517
27518         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27519         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27520
27521 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27522
27523         * NEWS: Mention libm performance improvements and non-x86 PI
27524         futex support.
27525
27526         * csu/libc-start.c (__pthread_initialize_minimal): Change
27527         function arguments.
27528         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27529
27530 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27531
27532         [BZ #13550]
27533         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27534         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27535         <bp-sym.h> and <bp-asm.h>.
27536         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27537         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27538         and <bp-asm.h>.
27539         (memcpy): Don't use BP_SYM.
27540         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27541         <bp-asm.h>.
27542         (__mpn_add_n): Don't use BP_SYM.
27543         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27544         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27545         and <bp-asm.h>.
27546         (__mpn_addmul_1): Don't use BP_SYM.
27547         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27548         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27549         <bp-sym.h>.
27550         (_setjmp): Don't use BP_SYM.
27551         (__novmx_setjmp): Likewise.
27552         (__GI__setjmp): Likewise.
27553         (__vmx_setjmp): Likewise.
27554         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27555         <bp-sym.h>.
27556         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27557         (__bzero): Don't use BP_SYM.
27558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27560         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27561         <bp-sym.h> and <bp-asm.h>.
27562         (memcpy): Don't use BP_SYM.
27563         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27564         <bp-sym.h> and <bp-asm.h>.
27565         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27567         <bp-sym.h> and <bp-asm.h>.
27568         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27569         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27570         <bp-asm.h>.
27571         (__mpn_lshift): Don't use BP_SYM.
27572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27573         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27574         <bp-asm.h>.
27575         (memset): Don't use BP_SYM.
27576         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27577         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27578         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27579         <bp-asm.h>.
27580         (__mpn_mul_1): Don't use BP_SYM.
27581         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27583         <bp-sym.h> and <bp-asm.h>.
27584         (memcmp): Don't use BP_SYM.
27585         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27586         <bp-sym.h> and <bp-asm.h>.
27587         (memcpy): Don't use BP_SYM.
27588         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27589         <bp-sym.h> and <bp-asm.h>.
27590         (memset): Don't use BP_SYM.
27591         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27592         <bp-sym.h> and <bp-asm.h>.
27593         (strncmp): Don't use BP_SYM.
27594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27595         <bp-sym.h> and <bp-asm.h>.
27596         (memcpy): Don't use BP_SYM.
27597         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27598         <bp-sym.h> and <bp-asm.h>.
27599         (memset): Don't use BP_SYM.
27600         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27601         <bp-sym.h> and <bp-asm.h>.
27602         (__memchr): Don't use BP_SYM.
27603         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27604         <bp-sym.h> and <bp-asm.h>.
27605         (memcmp): Don't use BP_SYM.
27606         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27607         <bp-sym.h> and <bp-asm.h>.
27608         (memcpy): Don't use BP_SYM.
27609         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27610         <bp-sym.h> and <bp-asm.h>.
27611         (__mempcpy): Don't use BP_SYM.
27612         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27613         <bp-sym.h> and <bp-asm.h>.
27614         (__memrchr): Don't use BP_SYM.
27615         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27616         <bp-sym.h> and <bp-asm.h>.
27617         (memset): Don't use BP_SYM.
27618         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27619         <bp-sym.h> and <bp-asm.h>.
27620         (__rawmemchr): Don't use BP_SYM.
27621         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27622         <bp-sym.h> and <bp-asm.h>.
27623         (__STRCMP): Don't use BP_SYM.
27624         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27625         <bp-sym.h> and <bp-asm.h>.
27626         (strchr): Don't use BP_SYM.
27627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27628         <bp-sym.h> and <bp-asm.h>.
27629         (__strchrnul): Don't use BP_SYM.
27630         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27631         <bp-sym.h> and <bp-asm.h>.
27632         (strlen): Don't use BP_SYM.
27633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27634         <bp-sym.h> and <bp-asm.h>.
27635         (strncmp): Don't use BP_SYM.
27636         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27637         <bp-sym.h> and <bp-asm.h>.
27638         (__strnlen): Don't use BP_SYM.
27639         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27640         <bp-asm.h>.
27641         (__mpn_rshift): Don't use BP_SYM.
27642         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27644         <bp-sym.h> and <bp-asm.h>.
27645         (__sigsetjmp): Don't use BP_SYM.
27646         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27647         (L(start_addresses)): Don't use BP_SYM.
27648         (_start): Likewise.
27649         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27650         <bp-asm.h>.
27651         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27652         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27653         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27654         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27655         <bp-asm.h>.
27656         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27657         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27658         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27659         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27660         <bp-asm.h>.
27661         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27662         comments.
27663         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27664         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27665         <bp-asm.h>.
27666         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27667         FIXME comments.
27668         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27669         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27670         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27671         <bp-asm.h>.
27672         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27673         comment.
27674         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27675         and <bp-asm.h>.
27676         (strncmp): Don't use BP_SYM,
27677         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27678         <bp-asm.h>.
27679         (__mpn_sub_n): Don't use BP_SYM.
27680         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27681         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27682         and <bp-asm.h>.
27683         (__mpn_submul_1): Don't use BP_SYM.
27684         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27686         <bp-sym.h> and <bp-asm.h>.
27687         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27689         <bp-sym.h> and <bp-asm.h>.
27690         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27691         comment.
27692
27693 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27694
27695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27696         Use ZK to minimize writes to Z.
27697         (sub_magnitudes): Simplify code a bit.
27698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27699         Use ZK to minimize writes to Z.
27700         (sub_magnitudes): Simplify code a bit.
27701
27702 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27703
27704         * csu/gmon-start.c: Add special exception to license text.
27705
27706 2013-02-27  Richard Henderson  <rth@redhat.com>
27707
27708         * scripts/config.guess: Update from config.git.
27709         * scripts/config.sub: Likewise.
27710
27711 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712
27713         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27714
27715         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27716
27717         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27718
27719         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27720
27721         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27722
27723 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27724
27725         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27726         [$(build-shared = yes].
27727
27728 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27729
27730         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27731         (__mul): Reduce iterations for calculating mantissa.
27732
27733         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27734         MPTWO.
27735         (__mpranred): Likewise.
27736
27737         [BZ #15160]
27738         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27739         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27740
27741 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27742
27743         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27744         Define __attribute__.
27745
27746 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27747
27748         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27749         unused.
27750         * posix/regex_internal.h (__attribute): Remove.
27751         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27752         (re_string_context_at): Likewise.
27753         (bitset_not): Use __attribute__ and mark function as possibly
27754         unused.
27755         (bitset_merge): Likewise.
27756         (bitset_mask): Likewise.
27757         (re_string_char_size_at): Likewise.
27758         (re_string_wchar_at): Likewise.
27759         (re_string_elem_size_at): Likewise.
27760
27761 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27762
27763         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27764         code.
27765         (cc32): Likewise.
27766
27767         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27768         (__acr): Likewise.
27769         (__cpy): Likewise.
27770         (norm): Likewise.
27771         (denorm): Likewise.
27772         (__dbl_mp): Likewise.
27773         (add_magnitudes): Likewise.
27774         (sub_magnitudes): Likewise.
27775         (__mul): Likewise.
27776         (__inv): Likewise.
27777
27778         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27779         style.
27780
27781         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27782         style.
27783
27784         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27785         code.
27786
27787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27788         up changes with default code.
27789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27790         Likewise.
27791
27792 2013-02-24  Allan McRae  <allan@archlinux.org>
27793
27794         * manual/socket.texi (The Internet Namespace): Order menu items
27795         to match that in the file.
27796
27797         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27798         node listing of the info page menu.
27799
27800 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27801
27802         [BZ #13550]
27803         * sysdeps/i386/bp-asm.h: Remove file.
27804         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27805         (PARMS): Do not use macros from bp-asm.h.
27806         (S1): Likewise.
27807         (S2): Likewise.
27808         (SIZE): Likewise.
27809         (__mpn_add_n): Do not use BP_SYM
27810         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27811         "bp-asm.h".
27812         (PARMS): Do not use macros from bp-asm.h.
27813         (S1): Likewise.
27814         (SIZE): Likewise.
27815         (__mpn_addmul_1): Do not use BP_SYM
27816         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27817         "bp-asm.h".
27818         (PARMS): Do not use macros from bp-asm.h.
27819         (SIGMSK): Likewise.
27820         (_setjmp): Likewise.  Do not use BP_SYM.
27821         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27822         "bp-asm.h".
27823         (PARMS): Do not use macros from bp-asm.h.
27824         (SIGMSK): Likewise.
27825         (setjmp): Likewise.  Do not use BP_SYM.
27826         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27827         "bp-asm.h".
27828         (PARMS): Do not use macros from bp-asm.h.
27829         (__frexp): Do not use BP_SYM.
27830         (frexp): Likewise.
27831         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27832         "bp-asm.h".
27833         (PARMS): Do not use macros from bp-asm.h.
27834         (__frexpf): Do not use BP_SYM.
27835         (frexpf): Likewise.
27836         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27837         "bp-asm.h".
27838         (PARMS): Do not use macros from bp-asm.h.
27839         (__frexpl): Do not use BP_SYM.
27840         (frexpl): Likewise.
27841         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27842         "bp-asm.h".
27843         (PARMS): Do not use macros from bp-asm.h.
27844         (__remquo): Do not use BP_SYM.
27845         (remquo): Likewise.
27846         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27847         "bp-asm.h".
27848         (PARMS): Do not use macros from bp-asm.h.
27849         (__remquof): Do not use BP_SYM.
27850         (remquof): Likewise.
27851         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27852         "bp-asm.h".
27853         (PARMS): Do not use macros from bp-asm.h.
27854         (__remquol): Do not use BP_SYM.
27855         (remquol): Likewise.
27856         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27857         "bp-asm.h".
27858         (PARMS): Do not use macros from bp-asm.h.
27859         (DEST): Likewise.
27860         (SRC): Likewise.
27861         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27862         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27863         "bp-asm.h".
27864         (PARMS): Do not use macros from bp-asm.h.
27865         (strlen): Do not use BP_SYM.
27866         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27867         "bp-asm.h".
27868         (PARMS): Do not use macros from bp-asm.h.
27869         (S1): Likewise.
27870         (S2): Likewise.
27871         (SIZE): Likewise.
27872         (__mpn_add_n): Do not use BP_SYM.
27873         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27874         "bp-asm.h".
27875         (PARMS): Do not use macros from bp-asm.h.
27876         (S1): Likewise.
27877         (SIZE): Likewise.
27878         (__mpn_addmul_1): Do not use BP_SYM.
27879         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27880         weak_alias.
27881         (bzero): Likewise.
27882         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27883         "bp-asm.h".
27884         (PARMS): Do not use macros from bp-asm.h.
27885         (S): Likewise.
27886         (SIZE): Likewise.
27887         (__mpn_lshift): Do not use BP_SYM.
27888         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27889         "bp-asm.h".
27890         (PARMS): Do not use macros from bp-asm.h.
27891         (DEST): Likewise.
27892         (SRC): Likewise.
27893         (LEN): Likewise.
27894         (memcpy): Likewise.  Do not use BP_SYM.
27895         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27896         libc_hidden_def and weak_alias.
27897         (mempcpy): Do not use BP_SYM in weak_alias.
27898         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27899         "bp-asm.h".
27900         (PARMS): Do not use macros from bp-asm.h.
27901         (DEST): Likewise.
27902         (LEN): Likewise.
27903         [!BZERO_P] (CHR): Likewise.
27904         (memset): Likewise.  Do not use BP_SYM.
27905         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27906         "bp-asm.h".
27907         (PARMS): Do not use macros from bp-asm.h.
27908         (S1): Likewise.
27909         (SIZE): Likewise.
27910         (__mpn_mul_1): Do not use BP_SYM.
27911         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27912         "bp-asm.h".
27913         (PARMS): Do not use macros from bp-asm.h.
27914         (S): Likewise.
27915         (SIZE): Likewise.
27916         (__mpn_rshift): Do not use BP_SYM.
27917         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27918         "bp-asm.h".
27919         (PARMS): Do not use macros from bp-asm.h.
27920         (STR): Likewise.
27921         (CHR): Likewise.
27922         (strchr): Likewise.  Do not use BP_SYM.
27923         (index): Do not use BP_SYM in weak_alias.
27924         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27925         "bp-asm.h".
27926         (PARMS): Do not use macros from bp-asm.h.
27927         (DEST): Likewise.
27928         (SRC): Likewise.
27929         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27930         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27931         "bp-asm.h".
27932         (PARMS): Do not use macros from bp-asm.h.
27933         (strlen): Do not use BP_SYM.
27934         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27935         "bp-asm.h".
27936         (PARMS): Do not use macros from bp-asm.h.
27937         (S1): Likewise.
27938         (S2): Likewise.
27939         (SIZE): Likewise.
27940         (__mpn_sub_n): Do not use BP_SYM.
27941         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27942         "bp-asm.h".
27943         (PARMS): Do not use macros from bp-asm.h.
27944         (S1): Likewise.
27945         (SIZE): Likewise.
27946         (__mpn_submul_1): Do not use BP_SYM.
27947         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27948         "bp-asm.h".
27949         (PARMS): Do not use macros from bp-asm.h.
27950         (S1): Likewise.
27951         (S2): Likewise.
27952         (SIZE): Likewise.
27953         (__mpn_add_n): Do not use BP_SYM.
27954         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27955         weak_alias.
27956         (bzero): Likewise.
27957         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27958         "bp-asm.h".
27959         (PARMS): Do not use macros from bp-asm.h.
27960         (BLK2): Likewise.
27961         (LEN): Likewise.
27962         (memcmp): Do not use BP_SYM.
27963         (bcmp): Do not use BP_SYM in weak_alias.
27964         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27965         "bp-asm.h".
27966         (PARMS): Do not use macros from bp-asm.h.
27967         (DEST): Likewise.
27968         (SRC): Likewise.
27969         (LEN): Likewise.
27970         (memcpy): Likewise.  Do not use BP_SYM.
27971         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27972         "bp-asm.h".
27973         (PARMS): Do not use macros from bp-asm.h.
27974         (DEST): Likewise.
27975         (SRC): Likewise.
27976         (LEN): Likewise.
27977         (memmove): Likewise.  Do not use BP_SYM.
27978         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27979         "bp-asm.h".
27980         (PARMS): Do not use macros from bp-asm.h.
27981         (DEST): Likewise.
27982         (SRC): Likewise.
27983         (LEN): Likewise.
27984         (__mempcpy): Likewise.  Do not use BP_SYM.
27985         (mempcpy): Do not use BP_SYM in weak_alias.
27986         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27987         "bp-asm.h".
27988         (PARMS): Do not use macros from bp-asm.h.
27989         (DEST): Likewise.
27990         (LEN): Likewise.
27991         [!BZERO_P] (CHR): Likewise.
27992         (memset): Likewise.  Do not use BP_SYM.
27993         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27994         "bp-asm.h".
27995         (PARMS): Do not use macros from bp-asm.h.
27996         (STR2): Likewise.
27997         (strcmp): Do not use BP_SYM.
27998         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27999         "bp-asm.h".
28000         (PARMS): Do not use macros from bp-asm.h.
28001         (STR): Likewise.
28002         (DELIM): Likewise.
28003         [USE_AS_STRTOK_R] (SAVE): Likewise.
28004         (FUNCTION): Likewise.  Do not use BP_SYM.
28005         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28006         aliases.
28007         (strtok_r): Likewise.
28008         (__GI___strtok_r): Likewise.
28009         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28010         (PARMS): Do not use macros from bp-asm.h.
28011         (S): Likewise.
28012         (SIZE): Likewise.
28013         (__mpn_lshift): Do not use BP_SYM.
28014         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28015         (PARMS): Do not use macros from bp-asm.h.
28016         (STR): Likewise.
28017         (CHR): Likewise.
28018         (__memchr): Do not use BP_SYM.
28019         (memchr): Do not use BP_SYM in weak_alias.
28020         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28021         (PARMS): Do not use macros from bp-asm.h.
28022         (BLK2): Likewise.
28023         (LEN): Likewise.
28024         (memcmp): Do not use BP_SYM.
28025         (bcmp): Do not use BP_SYM in weak_alias.
28026         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28027         (PARMS): Do not use macros from bp-asm.h.
28028         (S1): Likewise.
28029         (SIZE): Likewise.
28030         (__mpn_mul_1): Do not use BP_SYM.
28031         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28032         "bp-asm.h".
28033         (PARMS): Do not use macros from bp-asm.h.
28034         (STR): Likewise.
28035         (CHR): Likewise.
28036         (__rawmemchr): Do not use BP_SYM.
28037         (rawmemchr): Do not use BP_SYM in weak_alias.
28038         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28039         (PARMS): Do not use macros from bp-asm.h.
28040         (S): Likewise.
28041         (SIZE): Likewise.
28042         (__mpn_rshift): Do not use BP_SYM.
28043         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28044         (PARMS): Do not use macros from bp-asm.h.
28045         (SIGMSK): Likewise.
28046         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28047         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28048         (_start): Do not use BP_SYM.
28049         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28050         (PARMS): Do not use macros from bp-asm.h.
28051         (DEST): Likewise.
28052         (SRC): Likewise.
28053         (__stpcpy): Likewise.  Do not use BP_SYM.
28054         (stpcpy): Do not use BP_SYM in weak_alias.
28055         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28056         "bp-asm.h".
28057         (PARMS): Do not use macros from bp-asm.h.
28058         (DEST): Likewise.
28059         (SRC): Likewise.
28060         (LEN): Likewise.
28061         (__stpncpy): Likewise.  Do not use BP_SYM.
28062         (stpncpy): Do not use BP_SYM in weak_alias.
28063         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28064         (PARMS): Do not use macros from bp-asm.h.
28065         (STR): Likewise.
28066         (CHR): Likewise.
28067         (strchr): Likewise.  Do not use BP_SYM.
28068         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28069         "bp-asm.h".
28070         (PARMS): Do not use macros from bp-asm.h.
28071         (STR): Likewise.
28072         (CHR): Likewise.
28073         (__strchrnul): Likewise.  Do not use BP_SYM.
28074         (strchrnul): Do not use BP_SYM in weak_alias.
28075         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28076         "bp-asm.h".
28077         (PARMS): Do not use macros from bp-asm.h.
28078         (STOP): Likewise.
28079         (strcspn): Do not use BP_SYM.
28080         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28081         "bp-asm.h".
28082         (PARMS): Do not use macros from bp-asm.h.
28083         (STR): Likewise.
28084         (STOP): Likewise.
28085         (strpbrk): Likewise.  Do not use BP_SYM.
28086         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28087         "bp-asm.h".
28088         (PARMS): Do not use macros from bp-asm.h.
28089         (STR): Likewise.
28090         (CHR): Likewise.
28091         (strrchr): Likewise.  Do not use BP_SYM.
28092         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28093         (PARMS): Do not use macros from bp-asm.h.
28094         (SKIP): Likewise.
28095         (strspn): Do not use BP_SYM.
28096         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28097         (PARMS): Do not use macros from bp-asm.h.
28098         (STR): Likewise.
28099         (DELIM): Likewise.
28100         (SAVE): Likewise.
28101         (FUNCTION): Likewise.  Do not use BP_SYM.
28102         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28103         aliases.
28104         (strtok_r): Likewise.
28105         (__GI___strtok_r): Likewise.
28106         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28107         (PARMS): Do not use macros from bp-asm.h.
28108         (S1): Likewise.
28109         (S2): Likewise.
28110         (SIZE): Likewise.
28111         (__mpn_sub_n): Do not use BP_SYM.
28112         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28113         "bp-asm.h".
28114         (PARMS): Do not use macros from bp-asm.h.
28115         (S1): Likewise.
28116         (SIZE): Likewise.
28117         (__mpn_submul_1): Do not use BP_SYM.
28118         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28119         <bp-sym.h>.
28120         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28121         and <bp-asm.h>.
28122         (PARMS): Do not use macros from bp-asm.h.
28123         (FLAGS): Likewise.
28124         (PTID): Likewise.
28125         (TLS): Likewise.
28126         (CTID): Likewise.
28127         (__clone): Do not use BP_SYM.
28128         (clone): Do not use BP_SYM in weak_alias.
28129         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28130         and <bp-asm.h>.
28131         (PARMS): Do not use macros from bp-asm.h.
28132         (LEN): Likewise.
28133         (__mmap64): Do not use BP_SYM.
28134         (mmap64): Do not use BP_SYM in weak_alias.
28135         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28136         <bp-sym.h> and <bp-asm.h>.
28137         (PARMS): Do not use macros from bp-asm.h.
28138         (__posix_fadvise64_l64): Do not use BP_SYM.
28139         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28140         (PARMS): Do not use macros from bp-asm.h.
28141         (NSOPS): Likewise.
28142         (semtimedop): Do not use BP_SYM.
28143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28144         and <bp-asm.h>.
28145
28146 2013-02-21  Allan McRae  <allan@archlinux.org>
28147
28148         * manual/message.texi (Charset conversion in gettext):
28149         Move @end statement to beginning of line.
28150
28151 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28152
28153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28154         static.
28155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28156         Likewise.
28157
28158         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28159         (denorm): Likewise.
28160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28162
28163 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28164
28165         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28166         tail-call to the resolved function if pltexit isn't needed.
28167
28168 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169
28170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28171         or Y being zero as being unlikely.
28172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28173         Likewise.
28174
28175 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28176
28177         * manual/nss.texi (System Databases and Name Service Switch):
28178         Remove frobnicate @pxref.
28179
28180 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28181
28182         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28183         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28184
28185 2013-02-20  Petr Machata  <pmachata@redhat.com>
28186
28187         * elf/elf.h (R_ARM_TARGET1): New macro.
28188         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28189         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28190         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28191         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28192         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28193         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28194         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28195         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28196         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28197         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28198         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28199         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28200         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28201         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28202         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28203         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28204         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28205         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28206         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28207         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28208         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28209         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28210         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28211         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28212         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28213         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28214         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28215         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28216         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28217         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28218         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28219         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28220         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28221         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28222         (R_ARM_THM_GOT_BREL12): Likewise.
28223         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28224         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28225         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28226         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28227         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28228         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28229         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28230         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28231         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28232
28233 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28234
28235         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28236         __attribute_used__ to __attribute__ ((unused)).
28237
28238 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28239
28240         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28241         powerpc mpa.c.
28242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28243         comment formatting.
28244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28245
28246 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28247
28248         [BZ #13550]
28249         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28250         Remove macro.
28251         (ENTER): Remove both macro definitions.
28252         (LEAVE): Likewise.
28253         (CHECK_BOUNDS_LOW): Likewise.
28254         (CHECK_BOUNDS_HIGH): Likewise.
28255         (CHECK_BOUNDS_BOTH): Likewise.
28256         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28257         (RETURN_BOUNDED_POINTER): Likewise.
28258         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28259         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28260         (POP_ERRNO_LOCATION_RETURN): Likewise.
28261         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28262         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28263         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28264         macros.
28265         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28266         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28267         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28268         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28269         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28270         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28271         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28272         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28273         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28274         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28275         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28276         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28278         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28279         removed macros.
28280         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28281         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28282         macros.
28283         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28284         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28285         * sysdeps/i386/i586/memset.S (memset): Likewise.
28286         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28287         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28288         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28289         macros.
28290         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28291         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28292         Change uses of L(2) to L(out).
28293         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28294         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28295         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28296         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28297         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28298         removed macros.
28299         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28300         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28301         macros.
28302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28303         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28304         (RETURN): Do not use macro LEAVE.
28305         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28306         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28307         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28308         * sysdeps/i386/i686/memset.S (memset): Likewise.
28309         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28310         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28311         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28312         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28313         Likewise.
28314         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28315         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28316         L(1_2) and L(1_3) into L(1).
28317         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28318         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28320         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28321         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28322         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28323         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28324         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28325         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28326         macros.
28327         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28328         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28329         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28330         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28331         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28332         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28333         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28334         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28335         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28336         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28337         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28338         * sysdeps/i386/strspn.S (strspn): Likewise.
28339         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28340         conditional code.
28341         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28342         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28343         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28344         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28345         L(1_3) into L(1_1).
28346         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28347         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28348         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28349         macros.
28350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28351
28352 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28353
28354         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28355         macro.
28356
28357 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28358
28359         * math/atest-exp.c (exp_mpn): Remove ROUND.
28360         * math/atest-exp2.c (exp_mpn): Likewise.
28361         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28362
28363         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28364         * stdlib/tst-tls-atexit-lib.c: Likewise.
28365         * stdlib/tst-tls-atexit.c: Likewise.
28366
28367 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28368
28369         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28370         and __attribute_alloc_size__.
28371
28372 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28373
28374         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28375         __attribute_alloc_size__.
28376         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28377         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28378
28379 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28380
28381         * include/programs/xmalloc.h: New file.
28382         * catgets/gencat.c: Include it.
28383         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28384         * elf/pldd.c: Likewise.
28385         * iconv/iconv_charmap.c: Likewise.
28386         * iconv/iconvconfig.c: Likewise.
28387         * iconv/strtab.c: Likewise.
28388         * locale/programs/locale.c: Likewise.
28389         * locale/programs/localedef.h: Likewise.
28390         * locale/programs/simple-hash.c: Likewise.
28391         * nscd/nscd.h: Likewise.
28392         * nss/makedb.c: Likewise.
28393         * sysdeps/generic/ldconfig.h: Likewise.
28394
28395 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28396
28397         * Versions.def: Add GLIBC_2.18.
28398         * include/link.h (struct link_map): New member l_tls_dtor_count.
28399         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28400         (__call_tls_dtors): Likewise.
28401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28402         __cxa_thread_atexit_impl.
28403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28404         Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28406         Likewise.
28407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28408         Likewise.
28409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28410         Likewise.
28411         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28413         Likewise.
28414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28415         Likewise.
28416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28418         Likewise.
28419         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28420         (tests): Add test case tst-tls-atexit.
28421         (modules-names): Add shared library for tst-tls-atexit.
28422         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28423         (GLIBC_PRIVATE): Add __call_tls_dtors.
28424         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28425         for libstdc++.
28426         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28427         * stdlib/tst-tls-atexit.c: New test case.
28428         * stdlib/tst-tls-atexit-lib.c: New test case.
28429
28430         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28431
28432         * elf/Versions (ld): Add _dl_find_dso_for_object.
28433         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28434         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28435         (dl_open_worker): Use _dl_find_dso_for_object.
28436         * elf/dl-sym.c (do_sym): Likewise.
28437         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28438
28439 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28440
28441         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28442         Syntactic changes only.
28443         (_dl_runtime_profile): Do a tail-call to the resolved function.
28444
28445 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28446
28447         [BZ #13550]
28448         * sysdeps/x86_64/bp-asm.h: Remove file.
28449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28450         <bp-sym.h> and <bp-asm.h>.
28451         (__clone): Do not use BP_SYM.
28452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28453         <bp-sym.h> and <bp-asm.h>.
28454         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28455         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28456         "bp-asm.h".
28457         (_setjmp): Do not use BP_SYM.
28458         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28459         "bp-asm.h".
28460         (setjmp): Do not use BP_SYM.
28461         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28462         libc_hidden_def.
28463         (mempcpy): Do not use BP_SYM in weak_alias.
28464         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28465         "bp-asm.h".
28466         (strchr): Do not use BP_SYM.
28467         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28468         "bp-asm.h".
28469         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28470         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28471         (_start): Do not use BP_SYM.
28472         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28473         "bp-asm.h".
28474         (strcat): Do not use BP_SYM.
28475         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28476         "bp-asm.h".
28477         (STRCMP): Do not use BP_SYM.
28478         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28479         "bp-asm.h".
28480         (STRCPY): Do not use BP_SYM.
28481         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28482         "bp-asm.h".
28483         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28484         "bp-asm.h".
28485         (FUNCTION): Do not use BP_SYM.
28486         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28487         weak_alias.
28488         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28489
28490 2013-02-17  Andreas Jaeger  <aj@suse.de>
28491
28492         * time/Versions: Sort entries.
28493         * string/Versions: Likewise.
28494         * resolv/Versions: Likewise.
28495         * posix/Versions: Likewise.
28496         * iconv/Versions: Likewise.
28497         * elf/Versions: Likewise.
28498         * wcsmbs/Versions: Likewise.
28499
28500 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28501
28502         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28503         loop termination condition.
28504
28505         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28506         variable to calculate EZ.
28507         (__sqr): Likewise.
28508
28509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28510         the lower precision input.
28511
28512 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28513
28514         [BZ #13550]
28515         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28516         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28517         (run-via-rtld-prefix): Do not handle %-bp tests.
28518         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28519         (all-object-suffixes): Remove .ob.
28520         (bppfx): Remove variable.
28521         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28522         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28523         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28524         [$(build-bounded) = yes] (libtype.ob): Likewise.
28525         * Makerules (elide-routines.ob): Remove variable.
28526         (do-tests-clean): Do not handle *-bp.out.
28527         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28528         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28529         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28530         (tests): Do not include $(tests-bp.out).
28531         (xtests): Do not include $(xtests-bp.out).
28532         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28533         [$(build-bounded) = yes] ($(addprefix
28534         $(objpfx),$(binaries-bounded))): Remove rule.
28535         ($(objpfx)%-bp.out): Remove rule.
28536         * config.make.in (build-bounded): Remove variable.
28537         * crypt/Makefile [$(build-bounded) = yes]
28538         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28539         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28540         append to variable.
28541         [$(build-bounded) = yes] (install-lib): Likewise.
28542         [$(build-bounded) = yes] (generated): Likewise.
28543         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28544         Remove rule.
28545         * intl/Makefile [$(build-bounded) = yes]
28546         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28547         * math/Makefile [$(build-bounded) = yes]
28548         ($(tests:%=$(objpfx)%-bp): Likewise.
28549         * misc/Makefile [$(build-bounded) = yes]
28550         ($(objpfx)tst-tsearch-bp): Likewise.
28551         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28552         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28553         Remove dependency.
28554         * string/Makefile (o-objects.ob): Remove variable.
28555         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28556         (CFLAGS-.ob): Remove variable.
28557         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28558         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28559         both definitions of variable.
28560         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28561         (ASFLAGS-.ob): Remove variable.
28562
28563 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28564
28565         [BZ #13550]
28566         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28567         Remove __BOUNDED_POINTERS__ from condition.
28568         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28569         * string/bits/string2.h [!__NO_STRING_INLINES &&
28570         !__BOUNDED_POINTERS__]: Likewise.
28571         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28572         Likewise.
28573         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28574         Remove conditional code.
28575         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28576         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28577         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28578         condition.
28579
28580         [BZ #13550]
28581         * csu/libc-start.c: Do not include <bp-sym.h>.
28582         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28583         * elf/dl-open.c: Do not include <bp-sym.h>.
28584         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28585         * math/fegetenv.c: Do not include <bp-sym.h>.
28586         (fegetenv): Do not use BP_SYM in versioned symbols.
28587         * nptl/sysdeps/pthread/bits/libc-lockP.h
28588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28589         <bp-sym.h>.
28590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28591         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28593         (__pthread_mutex_destroy): Likewise.
28594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28595         (__pthread_mutex_lock): Likewise.
28596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28597         (__pthread_mutex_trylock): Likewise.
28598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28599         (__pthread_mutex_unlock): Likewise.
28600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28601         (__pthread_mutexattr_init): Likewise.
28602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28603         (__pthread_mutexattr_destroy): Likewise.
28604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28605         (__pthread_mutexattr_settype): Likewise.
28606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28607         (__pthread_rwlock_init): Likewise.
28608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28609         (__pthread_rwlock_destroy): Likewise.
28610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28611         (__pthread_rwlock_rdlock): Likewise.
28612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28613         (__pthread_rwlock_tryrdlock): Likewise.
28614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28615         (__pthread_rwlock_wrlock): Likewise.
28616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28617         (__pthread_rwlock_trywrlock): Likewise.
28618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28619         (__pthread_rwlock_unlock): Likewise.
28620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28621         (__pthread_key_create): Likewise.
28622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28623         (__pthread_setspecific): Likewise.
28624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28625         (__pthread_getspecific): Likewise.
28626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28627         Likewise.
28628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28629         (_pthread_cleanup_push_defer): Likewise.
28630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28631         (_pthread_cleanup_pop_restore): Likewise.
28632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28633         (pthread_setcancelstate): Likewise.
28634         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28635         <bp-sym.h>.
28636         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28637         (memchr): Do not use BP_SYM in weak_alias.
28638         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28639         (fegetenv): Do not use BP_SYM in versioned symbols.
28640         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28641         (fesetenv): Do not use BP_SYM in versioned symbols.
28642         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28643         (feupdateenv): Do not use BP_SYM in versioned symbols.
28644         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28645         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28646         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28647         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28648         (open64): Do not use BP_SYM in weak_alias.
28649         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28650         (fegetenv): Do not use BP_SYM in versioned symbols.
28651         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28652         (fesetenv): Do not use BP_SYM in versioned symbols.
28653         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28654         (feupdateenv): Do not use BP_SYM in versioned symbols.
28655         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28656         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28657         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28658         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28659         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28660         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28661         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28662         <bp-sym.h>.
28663         (__libc_start_main): Do not use BP_SYM.
28664
28665 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28666
28667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28668         redundant return line.
28669         (norm): Likewise.
28670         (denorm): Likewise.
28671         (dbl_mp): Likewise.
28672         (sub_magnitudes): Likewise.
28673         (__add): Likewise.
28674         (__sub): Likewise.
28675         (__mul): Likewise.
28676         (__inv): Likewise.
28677         (__dvd): Likewise.
28678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28679         (norm): Likewise.
28680         (denorm): Likewise.
28681         (dbl_mp): Likewise.
28682         (sub_magnitudes): Likewise.
28683         (__add): Likewise.
28684         (__sub): Likewise.
28685         (__mul): Likewise.
28686         (__inv): Likewise.
28687         (__dvd): Likewise.
28688
28689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28690         instead of __mul.
28691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28692         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28693         (cc32): Likewise.
28694
28695         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28696         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28698         of __mul for squares.
28699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28700         function
28701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28702         Likewise.
28703         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28704         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28705
28706 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28707
28708         [BZ #13550]
28709         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28710         code.
28711         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28712         prototype or function definition.  Rename ubp_* variables and
28713         parameters.  Remove argv definitions conditional on
28714         [__BOUNDED_POINTERS__].
28715         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28716         * elf/dl-runtime.c (_dl_fixup): Likewise.
28717         * include/set-hooks.h (RUN_HOOK): Likewise.
28718         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28719         definition.
28720         * string/strcpy.c (strcpy): Do not use __unbounded.
28721         * sysdeps/generic/frame.h (struct layout): Likewise.
28722         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28723         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28724         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28725         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28726         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28727         (__backtrace): Likewise.
28728         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28729         use __ptrvalue.
28730         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28731         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28732         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28733         Likewise.
28734         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28735         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28736         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28737         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28738         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28739         Do not use __unbounded.
28740         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28741         Rename __unboundedrlimits parameter to rlimits in prototype.
28742         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28743         Do not use __unbounded.
28744         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28745         not use __ptrvalue.
28746         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28747         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28748         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28749         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28750         __ptrvalue or __unbounded.
28751         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28752         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28753         use __unbounded.
28754         (__new_msgctl): Do not use __ptrvalue.
28755         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28756         __unbounded.
28757         (__libc_msgrcv): Do not use __ptrvalue.
28758         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28759         startup_info): Do not use __unbounded.
28760         (__libc_start_main): Likewise.  Rename ubp_* variables and
28761         parameters.  Remove argv definitions conditional on
28762         [__BOUNDED_POINTERS__].
28763         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28764         __ptrvalue.
28765         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28766         use __unbounded.
28767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28768         or __ptrvalue.
28769         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28770         use __unbounded.
28771         (__new_shmctl): Do not use __ptrvalue.
28772         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28773         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28774         Likewise.
28775         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28777         (__libc_sigaction): Likewise.
28778         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28780         Likewise.
28781         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28782
28783 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28784
28785         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28786
28787         * string/mempcpy.c: Implement by calling memcpy.
28788
28789 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28790
28791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28792
28793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28794         evaluation.
28795
28796         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28797         values in the mantissa.
28798
28799         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28800         minimize writes to Z.
28801         (sub_magnitudes): Simplify code a bit.
28802
28803 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28804
28805         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28806         from the message.  The linker prefixes all warnings with that already.
28807
28808 2013-02-12  Andreas Schwab  <schwab@suse.de>
28809
28810         [BZ #15078]
28811         * posix/regexec.c (extend_buffers): Add parameter min_len.
28812         (check_matching): Pass minimum needed length.
28813         (clean_state_log_if_needed): Likewise.
28814         (get_subexp): Likewise.
28815         * posix/Makefile (tests): Add bug-regex34.
28816         (bug-regex34-ENV): Define.
28817         * posix/bug-regex34.c: New file.
28818
28819         [BZ #11561]
28820         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28821         elements compare against the byte sequence of it, not its name.
28822         * posix/Makefile (tests): Add bug-regex35.
28823         (bug-regex35-ENV): Define.
28824         * posix/bug-regex35.c: New file.
28825
28826 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28827
28828         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28829         comment.
28830         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28831         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28832         (CHECK_EOL): Add undef.
28833
28834 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28835
28836         * bits/stdlib-bsearch.h: New file.
28837         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28838         * stdlib/stdlib.h: Likewise.
28839
28840 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28841
28842         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28843         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28844         declaration.
28845         * manual/search.texi (Array Search Function): Add missing const in
28846         lfind prototype.
28847         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28848         declaration to use rlim_t.
28849         (Basic Scheduling Functions): Remove erroneous const from
28850         sched_getparam prototype.  Remove erroneous * from
28851         sched_get_priority_max and sched_get_priority_min prototypes.
28852         (Resource Usage): Fix summary @comment on vtimes to refer to
28853         sys/vtimes.h rather than vtimes.h.
28854         Add missing *s in vtimes prototype.
28855         (Limits on Resources): Fix ulimit prototype to return long int.
28856         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28857         prototypes to use long int rather than double.
28858         (BSD Random): Fix initstate and setstate to use char *, not void *.
28859         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28860         prototype to make second argument 'struct aiocb64 *const[]'.
28861         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28862         (Status of AIO Operations): Remove erroneous const in aio_return and
28863         aio_return64 prototypes.
28864         (Synchronizing I/O): Fix sync prototype to return void.
28865         * manual/startup.texi (Suboptions): Remove an erroneous const in
28866         getsubopt prototype.
28867         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28868         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28869         use size_t rather than int.
28870         (Scanning All Users): Likewise for getpwent_r.
28871         (Setting Groups): Add missing const to setgroups prototype.
28872         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28873         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28874         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28875         'const void *' rather than 'const char *'.
28876         (Host Address Functions): Likewise for inet_ntop.
28877         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28878         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28879         ssize_t for return value.
28880         (Sending Data): Likewise for send, sendto, sendmsg.
28881         (Socket Option Functions): Add a missing const in setsockopt prototype.
28882         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28883         use wchar_t for the argument.
28884         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28885         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28886         take no arguments.
28887         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28888         double/float/long double for second argument.
28889         Fix return types of significand, significandf, significandl.
28890         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28891         argument in fchmod prototype.
28892         (File Owner): Use uid_t and gid_t in fchown prototype.
28893         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28894         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28895         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28896         use 'const struct dirent **' as argument types to CMP function pointer
28897         argument.
28898         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28899         (File Times): Fix summary magic @comment for struct utimbuf and utime
28900         to refer to utime.h, not time.h.
28901         * manual/string.texi (Argz Functions): Add missing const in
28902         argz_extract and argz_next prototypes.
28903         (Finding Tokens in a String): Likewise for basename.
28904         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28905         (Copying and Concatenation): Fix typo in wmemmove prototype.
28906         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28907         (Signal Stack): Remove erroneous const in sigstack prototype.
28908         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28909         prototype.
28910         (Simple Calendar Time): Likewise for stime.
28911         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28912         prototype.
28913         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28914         say sys/sysctl.h instead.
28915         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28916         and vsyslog prototypes.
28917
28918 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28919
28920         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28921         Remove.
28922
28923 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28924
28925         * misc/sys/mman.h: Fix typo in mremap comment.
28926
28927 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28928
28929         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28930         the '\0' terminator.
28931
28932 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28933
28934         [BZ #13550]
28935         * debug/segfault.c: Don't include <bp-checks.h>.
28936         * sysdeps/generic/bp-checks.h: Remove file.
28937         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28938         (__GETDENTS): Don't use CHECK_N.
28939         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28940         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28941         (__getgroups): Don't use CHECK_N.
28942         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28943         (setgroups): Don't use CHECK_N.
28944         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28945         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28946         (__libc_msgrcv): Don't use CHECK_N.
28947         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28948         (__libc_msgsnd): Don't use CHECK_N.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28950         <bp-checks.h>.
28951         (__libc_pread): Don't use CHECK_N.
28952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28953         include <bp-checks.h>.
28954         (__libc_pread64): Don't use CHECK_N.
28955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28956         include <bp-checks.h>.
28957         (__libc_pwrite): Don't use CHECK_N.
28958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28959         include <bp-checks.h>.
28960         (__libc_pwrite64): Don't use CHECK_N.
28961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28962         <bp-checks.h>.
28963         (__libc_pread): Don't use CHECK_N.
28964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28965         include <bp-checks.h>.
28966         (__libc_pread64): Don't use CHECK_N.
28967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28968         include <bp-checks.h>.
28969         (__libc_pwrite): Don't use CHECK_N.
28970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28971         include <bp-checks.h>.
28972         (__libc_pwrite64): Don't use CHECK_N.
28973         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28974         (do_pread): Don't use CHECK_N.
28975         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28976         (do_pread64): Don't use CHECK_N.
28977         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28978         (do_pwrite): Don't use CHECK_N.
28979         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28980         (do_pwrite64): Don't use CHECK_N.
28981         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28982         (__libc_readv): Don't use CHECK_N.
28983         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28984         (semop): Don't use CHECK_N.
28985         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28986         <bp-checks.h>.
28987         (semtimedop): Don't use CHECK_N.
28988         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28989         (__libc_pread): Don't use CHECK_N.
28990         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28991         <bp-checks.h>.
28992         (__libc_pread64): Don't use CHECK_N.
28993         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28994         <bp-checks.h>.
28995         (__libc_pwrite): Don't use CHECK_N.
28996         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28997         <bp-checks.h>.
28998         (__libc_pwrite64): Don't use CHECK_N.
28999         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29000         <bp-checks.h>.
29001         (__libc_msgrcv): Don't use CHECK_N.
29002         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29003         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29004         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29005         (__libc_writev): Don't use CHECK_N.
29006
29007 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29008
29009         * string/strcpy.c: Removed unused variable.
29010
29011         * Makeconfig (+sysdep-includes): Define with := rather than =.
29012         Use an existing include/ subdir of each sysdeps dir before it.
29013
29014 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29015
29016         * nscd/connection.c (register_traced_file): Comment function.
29017         [HAVE_INOTIFY] (union __inev): Define.
29018         [HAVE_INOTIFY] (inotify_check_files): New function.
29019         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29020         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29021         clear_db_cache.
29022         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29023
29024 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29025
29026         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29027         loaded if not already and that a failure is permanent.
29028
29029 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29030
29031         [BZ #15006]
29032         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29033         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29034
29035 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29036
29037         [BZ #13550]
29038         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29039         (CHECK_1_NULL_OK): Likewise.
29040         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29041         (__fxstat): Do not use CHECK_1.
29042         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29043         <bp-checks.h>.
29044         (___fxstat64): Do not use CHECK_1.
29045         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29046         <bp-checks.h>.
29047         (__fxstatat): Do not use CHECK_1.
29048         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29049         <bp-checks.h>.
29050         (__fxstatat64): Do not use CHECK_1.
29051         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29052         <bp-checks.h>.
29053         (__fxstat): Do not use CHECK_1.
29054         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29055         <bp-checks.h>.
29056         (__fxstatat): Do not use CHECK_1.
29057         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29058         <bp-checks.h>.
29059         (__getresgid): Do not use CHECK_1.
29060         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29061         <bp-checks.h>.
29062         (__getresuid): Do not use CHECK_1.
29063         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29064         <bp-checks.h>.
29065         (__lxstat): Do not use CHECK_1.
29066         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29067         <bp-checks.h>.
29068         (__old_msgctl): Do not use CHECK_1.
29069         (__new_msgctl): Likewise.
29070         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29071         <bp-checks.h>.
29072         (__new_setrlimit): Do not use CHECK_1.
29073         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29074         <bp-checks.h>.
29075         (__old_shmctl): Do not use CHECK_1.
29076         (__new_shmctl): Likewise.
29077         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29078         <bp-checks.h>.
29079         (__xstat): Do not use CHECK_1.
29080         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29081         (__lxstat): Do not use CHECK_1.
29082         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29083         <bp-checks.h>.
29084         (___lxstat64): Do not use CHECK_1.
29085         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29086         (__old_msgctl): Do not use CHECK_1.
29087         (__new_msgctl): Likewise.
29088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29089         <bp-checks.h>.
29090         (__gettimeofday): Do not use CHECK_1.
29091         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29092         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29093         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29094         <bp-checks.h>.
29095         (__gettimeofday): Do not use CHECK_1.
29096         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29097         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29098         (__new_shmctl): Do not use CHECK_1.
29099         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29100         <bp-checks.h>.
29101         (do_sigtimedwait): Do not use CHECK_1.
29102         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29103         <bp-checks.h>.
29104         (do_sigwaitinfo): Do not use CHECK_1.
29105         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29106         <bp-checks.h>.
29107         (msgctl): Do not use CHECK_1.
29108         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29109         <bp-checks.h>.
29110         (shmctl): Do not use CHECK_1.
29111         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29112         (ustat): Do not use CHECK_1.
29113         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29114         <bp-checks.h>.
29115         (__fxstat): Do not use CHECK_1.
29116         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29117         <bp-checks.h>.
29118         (__fxstatat): Do not use CHECK_1.
29119         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29120         <bp-checks.h>.
29121         (__lxstat): Do not use CHECK_1.
29122         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29123         <bp-checks.h>.
29124         (__xstat): Do not use CHECK_1.
29125         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29126         (__xstat): Do not use CHECK_1.
29127         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29128         (___xstat64): Do not use CHECK_1.
29129
29130         [BZ #13550]
29131         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29132         definitions.
29133         (CHECK_BOUNDS_HIGH): Likewise.
29134         * string/strcpy.c: Do not include <bp-checks.h>.
29135         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29136
29137 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29138
29139         * nscd/nscd-client.h (__nscd_drop_map_ref):
29140         Add __attribute__ ((unused)).
29141         * nis/nss-nisplus.h (niserr2nss): Likewise.
29142
29143         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29144         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29145
29146         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29147         Remove inline keyword.
29148         * include/rounding-mode.h (round_away): Likewise.
29149         * libio/wfileops.c (adjust_wide_data): Likewise.
29150         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29151         (__m128i_strloadu_tolower): Likewise.
29152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29153         (__m128i_strloadu_tolower): Likewise.
29154         * time/mktime.c (ydhms_diff): Likewise.
29155         * locale/elem-hash.h (elem_hash): Likewise.
29156         * locale/setlocale.c (setdata): Likewise.
29157         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29158         (re_string_wchar_at): Likewise.
29159         (bitset_not, bitset_merge, bitset_mask): Likewise.
29160         [!(__GNUC__ > 3)] (inline): Remove macro.
29161         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29162         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29163         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29164         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29165         * string/memcmp.c (memcmp_bytes): Likewise.
29166         * locale/programs/locarchive.c (compute_hashval): Likewise.
29167         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29168         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29169         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29170         * nss/getent.c (print_rpc, print_protocols): Likewise.
29171         (print_passwd, print_group, print_aliases): Likewise.
29172         * nis/nss-nisplus.h (niserr2nss): Likewise.
29173         * nscd/connections.c (restart_p): Likewise.
29174         Change return type to bool.
29175
29176 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29177
29178         * Makeconfig (all-Depend-files): Add existing
29179         $(sorted-subdirs:=/Depend) files.
29180         (all-subdirs): Remove nss.
29181         * sysdeps/unix/inet/Subdirs: Add it here instead.
29182         * hesiod/Depend: New file.
29183
29184         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29185         instead of calling alloca.
29186
29187         * io/lseek.c (__lseek): Rename to __libc_lseek.
29188         Define __lseek as an alias.
29189
29190         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29191
29192 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29193
29194         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29195         else clause and remove check for non-standard endianness.
29196
29197 2013-02-04  David S. Miller  <davem@davemloft.net>
29198
29199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29200
29201 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29202
29203         [BZ #13550]
29204         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29205         (__ubp_memchr): Remove prototype.
29206         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29207         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29208         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29209         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29210         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29211         Remove alias.
29212         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29213         (__ubp_memchr): Likewise.
29214         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29215         (__ubp_memchr): Likewise.
29216         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29217         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29218         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29219         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29220         CHECK_STRING.
29221         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29222         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29223         (__getcwd): Do not use CHECK_STRING.
29224         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29225         <bp-checks.h>.
29226         (__real_chown): Do not use CHECK_STRING.
29227         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29228         <bp-checks.h>.
29229         (fchownat): Do not use CHECK_STRING.
29230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29231         CHECK_STRING.
29232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29233         <bp-checks.h>.
29234         (__lchown): Do not use CHECK_STRING.
29235         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29237         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29238         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29240         include <bp-checks.h>.
29241         (truncate64): Do not use CHECK_STRING.
29242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29243         <bp-checks.h>.
29244         (__real_chown): Do not use CHECK_STRING.
29245         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29246         <bp-checks.h>.
29247         (__lchown): Do not use CHECK_STRING.
29248         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29249         <bp-checks.h>.
29250         (__chown): Do not use CHECK_STRING.
29251         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29252         <bp-checks.h>.
29253         (truncate64): Do not use CHECK_STRING.
29254         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29255         Likewise.
29256         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29257         (__xmknod): Do not use CHECK_STRING.
29258         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29259         <bp-checks.h>.
29260         (__xmknodat): Do not use CHECK_STRING.
29261         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29262         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29263
29264 2013-02-04  Andreas Schwab  <schwab@suse.de>
29265
29266         [BZ #14142]
29267         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29268         * include/netdb.h: Likewise for h_errno.
29269         * elf/tst-stackguard1.c: Include <tls.h>.
29270
29271 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29272
29273         * elf/link.h (struct link_map): Extend the l_addr comment.
29274         * include/link.h (struct link_map): Likewise.
29275
29276 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29277
29278         [BZ #13550]
29279         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29280         (BOUNDED_1): Remove macro.
29281         * debug/backtrace.c: Don't include <bp-checks.h>.
29282         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29283         (__backtrace): Likewise.
29284         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29285         <bp-checks.h>.
29286         (__backtrace): Don't use BOUNDED_1.
29287         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29288         <bp-checks.h>.
29289         (__backtrace): Don't use BOUNDED_1.
29290         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29291         (__backtrace): Don't use BOUNDED_1.
29292         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29293         (shmat): Don't use BOUNDED_N.
29294
29295 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29296
29297         [BZ #13550]
29298         * sysdeps/generic/bp-start.h: Remove file.
29299         * csu/libc-start.c: Don't include <bp-start.h>.
29300         (LIBC_START_MAIN): Set up __environ directly instead of using
29301         INIT_ARGV_and_ENVIRON.
29302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29303         <bp-start.h>.
29304
29305         [BZ #13550]
29306         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29307         definitions.
29308         (CHECK_FCNTL): Likewise.
29309         (CHECK_N_PAGES): Likewise.
29310
29311         [BZ #13550]
29312         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29313         definitions.
29314         (CHECK_SIGSET_NULL_OK): Likewise.
29315         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29316         <bp-checks.h>.
29317         (sigpending): Don't use CHECK_SIGSET.
29318         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29319         <bp-checks.h>.
29320         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29321         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29322         <bp-checks.h>.
29323         (do_sigsuspend): Don't use CHECK_SIGSET.
29324         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29325         use CHECK_SIGSET.
29326         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29327         (do_sigwait): Don't use CHECK_SIGSET.
29328         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29329         use CHECK_SIGSET.
29330         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29331         include <bp-checks.h>.
29332         (sigpending): Don't use CHECK_SIGSET.
29333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29334         include <bp-checks.h>.
29335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29336         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29337         <bp-checks.h>.
29338         (sigpending): Don't use CHECK_SIGSET.
29339         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29340         <bp-checks.h>.
29341         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29342
29343         [BZ #13550]
29344         * sysdeps/generic/bp-semctl.h: Remove file.
29345         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29346         <bp-checks.h> and <bp-semctl.h>.
29347         (__old_semctl): Don't use CHECK_SEMCTL.
29348         (__new_semctl): Likewise.
29349         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29350         and <bp-semctl.h>.
29351         (__old_semctl): Don't use CHECK_SEMCTL.
29352         (__new_semctl): Likewise.
29353         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29354         <bp-checks.h> and <bp-semctl.h>.
29355         (__old_semctl): Don't use CHECK_SEMCTL.
29356         (__new_semctl): Likewise.
29357         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29358         <bp-checks.h> and <bp-semctl.h>.
29359         (semctl): Don't use CHECK_SEMCTL.
29360
29361         [BZ #13550]
29362         * Makerules (elide-bp-thunks): Remove variable.
29363         (elide-routines.oS): Don't use $(elide-bp-thunks).
29364         (elide-routines.os): Likewise.
29365         (elide-routines.o): Likewise.
29366         (elide-routines.op): Likewise.
29367         (elide-routines.og): Likewise.
29368         (objects): Don't use $(bp-thunks).
29369         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29370         include.
29371         (common-generated): Do not add s-proto-bp.d.
29372         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29373         (int): Likewise.
29374         (typ): Likewise.
29375         Do not generate makefile rules for bounded-pointer thunks.
29376         * sysdeps/generic/bp-thunks.h: Remove file.
29377         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29378         * sysdeps/unix/s-proto-bp.S: Likewise.
29379
29380         [BZ #15062]
29381         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29382         parts of result separately when argument is not close to line from
29383         -i to i and one part of argument is small.
29384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29386         * math/libm-test.inc (cacos_test): Add more tests.
29387         (casin_test): Likewise.
29388         (casinh_test): Likewise.
29389         * sysdeps/i386/fpu/libm-test-ulps: Update.
29390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29391
29392 2013-01-31  David S. Miller  <davem@davemloft.net>
29393
29394         * po/de.po: Update from translation team.
29395
29396 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29397
29398         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29399
29400 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29401
29402         * configure.in (_AC_PROG_CC_C89): New definition.
29403         * configure: Regenerate.
29404
29405         * configure.in (AC_PROG_CPP): New definition.
29406         * configure: Regenerate.
29407
29408 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29409
29410         * debug/tst-backtrace.h: New file.
29411         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29412         (ret): Remove variable.
29413         (x): Likewise.
29414         (FAIL): Remove macro.
29415         (NO_INLINE): Likewise.
29416         (fn1): Use match function instead of strstr.
29417         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29418         (ret): Remove variable.
29419         (x): Likewise.
29420         (FAIL): Remove macro.
29421         (NO_INLINE): Likewise.
29422         (fn): Use match function instead of strstr.
29423         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29424         (ret): Remove variable.
29425         (x): Likewise.
29426         (FAIL): Remove macro.
29427         (NO_INLINE): Likewise.
29428         (handle_signal): Use match function instead of strstr.
29429         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29430         (ret): Remove variable.
29431         (x): Likewise.
29432         (FAIL): Remove macro.
29433         (NO_INLINE): Likewise.
29434         (handle_signal): Use match function instead of strstr.
29435
29436 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29437
29438         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29439
29440 2013-01-23  David S. Miller  <davem@davemloft.net>
29441
29442         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29443         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29444         argument of CAS if possible.
29445         * sysdeps/sparc/sparc64/bits/atomic.h
29446         (__arch_compare_and_exchange_val_32_acq): Likewise.
29447         (__arch_compare_and_exchange_val_64_acq): Likewise.
29448
29449 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29450
29451         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29452         * sysdeps/posix/ulimit.c: ... this.
29453         Include <limits.h>.
29454         * sysdeps/unix/bsd/ulimit.c: Remove file.
29455
29456 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29457
29458         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29459         (LDFLAGS-tst-array5): Likewise.
29460
29461 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29462
29463         [BZ #15036]
29464         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29465         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29466         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29467         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29468
29469 2013-01-21  David S. Miller  <davem@davemloft.net>
29470
29471         * sysdeps/sparc/backtrace.c: New file.
29472         * sysdeps/sparc/sparc32/backtrace.h: New file.
29473         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29474         * sysdeps/sparc/sparc64/backtrace.h: New file.
29475         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29476         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29477         -funwind-tables.
29478
29479 2013-01-21  Andreas Schwab  <schwab@suse.de>
29480
29481         [BZ #15020]
29482         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29483         closed its stdout.
29484
29485 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29486
29487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29488         "mpa2.h".
29489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29490
29491 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29492             Mark Mitchell  <mark@codesourcery.com>
29493             Tom de Vries  <tom@codesourcery.com>
29494             Paul Pluzhnikov  <ppluzhnikov@google.com>
29495
29496         * debug/tst-backtrace2.c: New file.
29497         * debug/tst-backtrace3.c: Likewise.
29498         * debug/tst-backtrace4.c: Likewise.
29499         * debug/tst-backtrace5.c: Likewise.
29500         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29501         (CFLAGS-tst-backtrace3.c): Likewise.
29502         (CFLAGS-tst-backtrace4.c): Likewise.
29503         (CFLAGS-tst-backtrace5.c): Likewise.
29504         (LDFLAGS-tst-backtrace2): Likewise.
29505         (LDFLAGS-tst-backtrace3): Likewise.
29506         (LDFLAGS-tst-backtrace4): Likewise.
29507         (LDFLAGS-tst-backtrace5): Likewise.
29508         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29509         tst-backtrace4 and tst-backtrace5.
29510
29511 2013-01-18  Anton Blanchard  <anton@samba.org>
29512             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29513
29514         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29515         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29516         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29517         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29519         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29520         "+r" and remove output regs list as redundant.  Add explicit inline
29521         asm to specify register of return val to work around compiler codegen
29522         bug.  Remove (int) cast on return value.  Add return type parameter to
29523         use in macro so that this macro does not truncate return value for
29524         64-bit values.
29525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29526         pass to INTERNAL_VSYSCALL_NCS.
29527         (INLINE_VSYSCALL): Add 'long int' as return type to
29528         INTERNAL_VSYSCALL_NCS macro invocation.
29529         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29530         INTERNAL_VSYSCALL_NCS macro invocation.
29531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29532
29533 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29534
29535         [BZ #14496]
29536         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29537         Fix application of SIMD FP exception mask.
29538
29539         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29540         mp_no from a power of two.
29541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29542         __mpexp_twomm1.  Use __pow_mp.
29543
29544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29545         multiplication.
29546
29547 2013-01-17  David S. Miller  <davem@davemloft.net>
29548
29549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29550
29551 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29552
29553         [BZ #15023]
29554         * include/complex.h: Condition contents on [!_COMPLEX_H].
29555         (__kernel_casinhf): New prototype.
29556         (__kernel_casinh): Likewise.
29557         (__kernel_casinhl): Likewise.
29558         * math/Makefile (libm_calls): Add k_casinh.
29559         * math/k_casinh.c: New file.
29560         * math/k_casinhf.c: Likewise.
29561         * math/k_casinhl.c: Likewise.
29562         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29563         finite nonzero arguments.
29564         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29565         finite nonzero arguments.
29566         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29567         finite nonzero arguments.
29568         * math/s_casinh.c: Do not include <float.h>.
29569         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29570         * math/s_casinhf.c: Do not include <float.h>.
29571         (__casinhf): Move code for finite nonzero arguments to
29572         k_casinhf.c.
29573         * math/s_casinhl.c: Do not include <float.h>.
29574         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29575         redefine.
29576         (__casinhl): Move code for finite nonzero arguments to
29577         k_casinhl.c.
29578         * math/libm-test.inc (cacos_test): Add more tests.
29579         * sysdeps/i386/fpu/libm-test-ulps: Update.
29580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29581
29582 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29583
29584         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29585         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29586         [!HAVE_MREMAP]: Remove [defined linux] case.
29587         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29588
29589 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29590
29591         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29592
29593 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29594
29595         * elf/elf.h (R_386_SIZE32): New relocation.
29596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29597         R_386_SIZE32.
29598         (elf_machine_rela): Likewise.
29599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29600         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29601
29602 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29603
29604         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29605         (FP_FAST_FMA): Do not define.
29606         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29607         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29608         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29609         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29610         !_SOFT_FLOAT]: Likewise.
29611         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29612         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29613         value.
29614         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29615         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29616         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29617         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29618         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29619         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29620         file.
29621
29622 2013-01-16  Andreas Schwab  <schwab@suse.de>
29623
29624         [BZ #14327]
29625         * include/stdlib.h (__mktemp): Add declaration.
29626         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29627         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29628
29629 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630
29631         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29632         definitions.
29633         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29634         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29635         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29636         definitions here.
29637         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29638         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29639         definitions.
29640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29641         and ONE.
29642         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29643         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29644         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29645         definitions.
29646         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29647         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29648         definitions.
29649         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29650
29651         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29652
29653 2013-01-15  David S. Miller  <davem@davemloft.net>
29654
29655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29656         trunc{,f} to libm-sysdep_routes.
29657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29659         file.
29660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29662         file.
29663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29664         file.
29665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29671         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29672         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29673
29674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29675         nearbyint{,f} to libm-sysdep_routes.
29676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29678         New file.
29679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29680         file.
29681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29682         New file.
29683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29684         file.
29685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29687         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29688         file.
29689         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29690         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29691         file.
29692         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29693         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29694         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29695
29696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29697         libc_feholdexcept and libc_fesetenv.
29698
29699 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29700
29701         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29702
29703 2013-01-14  David S. Miller  <davem@davemloft.net>
29704
29705         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29706         (SPARC_ASM_VIS2_IFUNC): Likewise.
29707         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29709         use of 'siam' instruction.
29710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29711         Likewise.
29712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29713         Likewise.
29714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29715         Likewise.
29716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29721         file.
29722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29723         file.
29724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29725         file.
29726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29727         file.
29728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29733         new VIS2 routines.
29734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29737         Likewise.
29738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29743         routines to libm-sysdep_routines.
29744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29745
29746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29747         fdim/fdimf to libm-sysdep_routines.
29748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29749         file.
29750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29752         file.
29753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29756         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29757         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29758         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29759         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29760
29761 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29762
29763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29764         to optimize copies.
29765
29766         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29769
29770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29771         local variable MPTWO.
29772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29773         Likewise.
29774
29775 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29776
29777         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29778         GLOB_NOESCAPE.
29779
29780 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29781
29782         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29783
29784 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29785
29786         * manual/pattern.texi (glob_t): Document gl_flags.
29787         (glob64_t): Likewise.
29788
29789 2013-01-11  David S. Miller  <davem@davemloft.net>
29790
29791         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29792         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29793         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29794         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29795         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29796         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29797         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29798         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29799         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29800         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29801         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29802         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29803         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29804
29805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29806         sparc V9 rather than using V8 code.
29807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29809
29810         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29811         Move to...
29812         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29813         Here.
29814
29815 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29816
29817         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29818         not in the main loop.
29819         * configure: Regenerated.
29820
29821 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29822
29823         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29824         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29825         to just #else.
29826         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29827         [!__GLIBC_HAVE_LONG_LONG] case.
29828         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29829         condition to just #else.
29830         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29831         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29832         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29833         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29834         unconditional.
29835         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29836         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29837         #elif condition to just #else.
29838         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29839         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29840         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29841         #elif condition to just #else.
29842
29843 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29844
29845         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29846         (EF_MIPS_ARCH_64): Fix value.
29847         (EF_MIPS_ARCH_32R2): New.
29848         (EF_MIPS_ARCH_64R2): New.
29849
29850 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29851
29852         * Makeconfig (+link-pie-before-libc): New.
29853         (+link-pie-after-libc): Likewise.
29854         (+link-pie-tests): Likewise.
29855         (+link-pie): Rewritten.
29856         (link-before-libc): Remove $(config-LDFLAGS).
29857         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29858         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29859         (config-LDFLAGS): Renamed to ...
29860         (rtld-LDFLAGS): This.
29861         (rtld-tests-LDFLAGS): New macro.
29862         (link-libc-rpath-link): Likewise.
29863         (link-libc-tests-rpath-link): Likewise.
29864         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29865         (link-libc): Prepand $(link-libc-rpath-link).
29866         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29867         (test-program-prefix): New macro.
29868         (test-via-rtld-prefix): Likewise.
29869         (test-program-cmd): Likewise.
29870         (host-test-program-cmd): Likewise.
29871         * Makefile ($(common-objpfx)testrun.sh): Replace
29872         $(run-program-prefix) with $(test-program-prefix).
29873         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29874         $(rtld-LDFLAGS).
29875         ($(common-objpfx)shlib.lds): Likewise.
29876         (build-module-helper): Likewise.
29877         ($(common-objpfx)format.lds): Likewise.
29878         * Rules (binaries-pie-tests): New.
29879         (binaries-pie-notests): Likewise.
29880         (binaries-pie): Rewritten.
29881         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29882         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29883         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29884         (make-test-out): Replace $(host-built-program-cmd) with
29885         $(host-test-program-cmd).
29886         * config.make.in (build-hardcoded-path-in-tests): New variable.
29887         * configure.in (--enable-hardcoded-path-in-tests): New configure
29888         option.
29889         (hardcoded_path_in_tests): New AC_SUBST.
29890         * configure: Regenerated.
29891         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29892         $(built-program-cmd) with $(test-program-cmd).
29893         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29894         (test_program_cmd): This.
29895         * elf/Makefile ($(objpfx)order.out): Run test with
29896         $(test-program-prefix).
29897         ($(objpfx)order2.out): Likewise.
29898         ($(objpfx)tst-initorder.out): Likewise.
29899         ($(objpfx)tst-initorder2.out): Likewise.
29900         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29901         $(test-program-cmd).
29902         ($(objpfx)tst-array1-static.out): Likewise.
29903         ($(objpfx)tst-array2.out): Likewise.
29904         ($(objpfx)tst-array3.out): Likewise.
29905         ($(objpfx)tst-array4.out): Likewise.
29906         ($(objpfx)tst-array5.out): Likewise.
29907         ($(objpfx)tst-array5-static.out): Likewise.
29908         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29909         $(test-program-cmd).
29910         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29911         $(run-program-prefix) with $(test-program-prefix).
29912         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29913         (test_program_prefix): This.
29914         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29915         $(run-program-prefix) with $(test-program-prefix).
29916         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29917         (test_program_prefix): This.
29918         * iconvdata/tst-tables.sh: Likewise.
29919         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29920         $(run-program-prefix) with $(test-program-prefix).
29921         ($(objpfx)tst-translit.out): Likewise.
29922         ($(objpfx)tst-gettext2.out): Likewise.
29923         ($(objpfx)tst-gettext4.out): Likewise.
29924         ($(objpfx)tst-gettext6.out): Likewise.
29925         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29926         (test_program_prefix): This.
29927         * intl/tst-gettext2.sh: Likewise.
29928         * intl/tst-gettext4.sh  Likewise.
29929         * intl/tst-gettext6.sh: Likewise.
29930         * intl/tst-translit.sh: Likewise.
29931         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29932         with $(test-program-cmd).
29933         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29934         $(run-program-prefix) with $(test-program-prefix).
29935         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29936         (test_program_prefix): This.
29937         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29938         $(run-program-prefix) with $(test-program-prefix).
29939         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29940         (test_program_prefix): This.
29941         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29942         * posix/Makefile ($(objpfx)globtest.out): Replace
29943         $(run-via-rtld-prefix) and $(test-wrapper) with
29944         $(test-program-prefix) and $(test-via-rtld-prefix).
29945         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29946         $(test-program-prefix).
29947         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29948         $(host-test-program-cmd).
29949         (tst-spawn-ARGS): Likewise.
29950         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29951         $(test-program-prefix).
29952         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29953         (test_via_rtld_prefix): This.
29954         (test_wrapper): Renamed to ...
29955         (test_program_prefix): This.
29956         (run_program_prefix): Replaced by test_program_prefix.
29957         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29958         (test_program_prefix): This.
29959         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29960         with $(host-test-program-cmd).
29961         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29962         $(run-program-prefix) with $(test-program-prefix).
29963         ($(objpfx)tst-printf.out): Likewise.
29964         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29965         $(test-program-cmd).
29966         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29967         (test_program_prefix): This.
29968         * stdio-common/tst-unbputc.sh: Likewise.
29969         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29970         $(run-program-prefix) with $(test-program-prefix).
29971         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29972         (test_program_prefix): This.
29973         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29974         $(built-program-cmd) with $(test-program-cmd).
29975
29976 2013-01-11  Andreas Jaeger  <aj@suse.de>
29977
29978         [BZ #15003]
29979         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29980         value. Sync with Linux 3.7.
29981
29982 2013-01-10  David S. Miller  <davem@davemloft.net>
29983
29984         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29985         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29986         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29987
29988 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29989
29990         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29991         never set.
29992         * configure: Regenerated.
29993
29994 2013-01-10  David S. Miller  <davem@davemloft.net>
29995
29996         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29997         sparc V9 rather than using V8 code.
29998         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29999         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30000
30001 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30002
30003         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30004         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30005         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30006         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30007         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30008         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30009         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30010         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30011         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30012         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30013         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30014         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30015         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30016         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30017         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30018         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30019         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30020         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30021         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30022         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30023         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30024         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30025         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30026         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30027         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30028         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30029         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30030
30031 2013-01-10  David S. Miller  <davem@davemloft.net>
30032
30033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30034
30035 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30036
30037         * posix/Makefile (tests-static): New variable.
30038         (tests): Add $(tests-static).
30039         (tst-exec-static-ARGS): New variable.
30040         (tst-spawn-static-ARGS): Likewise.
30041         * posix/tst-exec-static.c: New file.
30042         * posix/tst-spawn-static.c: Likewise.
30043         * posix/tst-exec.c: Support run directly.
30044         * posix/tst-spawn.c: Likewise.
30045
30046 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30047
30048         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30049         long.
30050         * math/bits/mathcalls.h (llrint): Likewise.
30051         (llround): Likewise.
30052         * stdlib/stdlib.h (struct drand48_data): Likewise.
30053         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30054         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30055         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30056         Likewise.
30057         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30058         Likewise.
30059         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30060         (elf_greg_t): Likewise.
30061         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30062         (__jmp_buf): Likewise.
30063         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30064         definitions.
30065         (llrint): Likewise, for all definitions.
30066         (llrintl): Likewise.
30067
30068         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30069         Remove [__GNUC__] condition.
30070         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30071         condition to just [__USE_ISOC99].
30072         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30073
30074 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30075
30076         [BZ #14200]
30077         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30078         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30079         defined.
30080         (_POSIX_V6_ILP32_OFF32): Likewise.
30081         (_XBS5_ILP32_OFF32): Likewise.
30082         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30083         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30084
30085 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30086
30087         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30088
30089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30090         doubles __mpexp_twomm1.  Adjust usage.
30091         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30092         Remove.
30093
30094 2013-01-10  Andreas Schwab  <schwab@suse.de>
30095
30096         [BZ #14964]
30097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30098         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30099
30100 2013-01-09  David S. Miller  <davem@davemloft.net>
30101
30102         [BZ #15003]
30103         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30104         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30105         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30106         (TCP_FASTOPEN): Define.
30107         (tcp_repair_opt): New structure.
30108         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30109         enum values.
30110         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30111         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30112         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30113         (tcp_cookie_transactions): New structure.
30114
30115 2013-01-09  Anton Blanchard  <anton@samba.org>
30116
30117         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30118         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30120         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30121
30122 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30123
30124         * include/features.h (__USE_ANSI): Remove.
30125
30126 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30127
30128         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30129
30130         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30131
30132 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30133
30134         * sysdeps/s390/fpu/libm-test-ulps: Update.
30135
30136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30137
30138         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30139         (__acr): Likewise.
30140         (__cpy): Likewise.
30141         (norm): Likewise.
30142         (denorm): Likewise.
30143         (__mp_dbl): Likewise.
30144         (__dbl_mp): Likewise.
30145         (add_magnitudes): Likewise.
30146         (sub_magnitudes): Likewise.
30147         (__add): Likewise.
30148         (__sub): Likewise.
30149         (__mul): Likewise.
30150         (__inv): Likewise.
30151         (__dvd): Likewise.
30152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30153         (__acr): Likewise.
30154         (__cpy): Likewise.
30155         (norm): Likewise.
30156         (denorm): Likewise.
30157         (__mp_dbl): Likewise.
30158         (__dbl_mp): Likewise.
30159         (add_magnitudes): Likewise.
30160         (sub_magnitudes): Likewise.
30161         (__add): Likewise.
30162         (__sub): Likewise.
30163         (__mul): Likewise.
30164         (__inv): Likewise.
30165         (__dvd): Likewise.
30166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30167         (__acr): Likewise.
30168         (__cpy): Likewise.
30169         (norm): Likewise.
30170         (denorm): Likewise.
30171         (__mp_dbl): Likewise.
30172         (__dbl_mp): Likewise.
30173         (add_magnitudes): Likewise.
30174         (sub_magnitudes): Likewise.
30175         (__add): Likewise.
30176         (__sub): Likewise.
30177         (__mul): Likewise.
30178         (__inv): Likewise.
30179         (__dvd): Likewise.
30180
30181 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30182
30183         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30184         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30185         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30186         2 && __USE_EXTERN_INLINES]: Likewise.
30187
30188 2013-01-08  Andreas Jaeger  <aj@suse.de>
30189
30190         [BZ# 14985]
30191         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30192         Remove.
30193         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30194         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30195
30196 2013-01-07  Anton Blanchard  <anton@samba.org>
30197
30198         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30199         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30200         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30201         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30202         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30203         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30204         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30205         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30207         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30208         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30209         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30210         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30211         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30212         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30213         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30219         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30222         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30223         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30224         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30225         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30227         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30228         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30230         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30231         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30232         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30235         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30239         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30240         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30241
30242 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30243
30244         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30245         (__MALLOC_PMT): Likewise.
30246         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30247         [__GNUC__], only on [_LIBC].
30248         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30249         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30250         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30251         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30252         forward declaration.
30253         (realloc_hook_ini): Likewise.
30254         (memalign_hook_ini): Likewise.
30255         (__libc_memalign): Do not use __MALLOC_PMT in variable
30256         declaration.
30257         (__libc_valloc): Likewise.
30258         (__libc_pvalloc): Likewise.
30259         (__libc_calloc): Likewise.
30260         (__posix_memalign): Likewise.
30261
30262         [BZ #14996]
30263         * math/s_casinh.c: Include <float.h>.
30264         (__casinh): Do not do computation with squaring and square root
30265         for large arguments.
30266         * math/s_casinhf.c: Include <float.h>.
30267         (__casinhf): Do not do computation with squaring and square root
30268         for large arguments.
30269         * math/s_casinhl.c: Include <float.h>.
30270         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30271         (__casinhl): Do not do computation with squaring and square root
30272         for large arguments.
30273         * math/libm-test.inc (casin_test): Add more tests.
30274         (casinh_test): Likewise.
30275         * sysdeps/i386/fpu/libm-test-ulps: Update.
30276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30277
30278 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30279
30280         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30281         (__x86_64_raw_data_cache_size): Likewise.
30282         (__x86_64_data_cache_size_half): Likewise.
30283         (__x86_64_raw_data_cache_size_half): Likewise.
30284         (__x86_64_shared_cache_size): Likewise.
30285         (__x86_64_raw_shared_cache_size): Likewise.
30286         (__x86_64_shared_cache_size_half): Likewise.
30287         (__x86_64_raw_shared_cache_size_half): Likewise.
30288         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30289         to ...
30290         (__x86_data_cache_size): This.
30291         (__x86_64_raw_data_cache_size): Renamed to ...
30292         (__x86_raw_data_cache_size): This.
30293         (__x86_64_data_cache_size_half): Renamed to ...
30294         (__x86_data_cache_size_half): This.
30295         (__x86_64_raw_data_cache_size_half): Renamed to ...
30296         (__x86_raw_data_cache_size_half): This.
30297         (__x86_64_shared_cache_size): Renamed to ...
30298         (__x86_shared_cache_size): This.
30299         (__x86_64_raw_shared_cache_size): Renamed to ...
30300         (__x86_raw_shared_cache_size): This.
30301         (__x86_64_shared_cache_size_half): Renamed to ...
30302         (__x86_shared_cache_size_half): This.
30303         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30304         (__x86_raw_shared_cache_size_half): This.
30305         * sysdeps/x86_64/memcpy.S: Updated.
30306         * sysdeps/x86_64/memset.S: Likewise.
30307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30310
30311 2013-01-04  David S. Miller  <davem@davemloft.net>
30312
30313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30314
30315 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30316
30317         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30318         1 to avoid redefinition warning.
30319         (__USE_GNU): Don't define.
30320         (init_signaling_nan): Protoize.
30321
30322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30323
30324 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30325
30326         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30328         (__cpymn): Likewise.
30329         (norm): Remove commented code.
30330         (denorm): Likewise.
30331         (__mp_dbl): Likewise.
30332         (__inv): Likewise.
30333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30334         (__cpymn): Likewise.
30335         (norm): Remove commented code.
30336         (denorm): Likewise.
30337         (__mp_dbl): Likewise.
30338         (__inv): Likewise.
30339
30340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30341         mp_no value for 1.0 and 2.0.
30342         (norm): Use RADIXI instead of radixi.d.
30343         (denorm): Likewise.
30344         (__mul): Use 0.0 instead of zero.d.
30345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30346         mp_no value for 1.0 and 2.0.
30347         (norm): Use RADIXI instead of radixi.d.
30348         (denorm): Likewise.
30349         (__mul): Use 0.0 instead of zero.d.
30350
30351 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30352
30353         [BZ #14994]
30354         * math/s_casinh.c (__casinh): Reduce finite argument to first
30355         quadrant then set signs of results at the end.
30356         * math/s_casinhf.c (__casinhf): Likewise.
30357         * math/s_casinhl.c (__casinhl): Likewise.
30358         * math/libm-test.inc (casin_test): Add more tests.
30359         (casinh_test): Likewise.
30360         * sysdeps/i386/fpu/libm-test-ulps: Update.
30361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30362
30363 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30364
30365         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30366
30367         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30368
30369         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30370         declarations.
30371         (denorm): Likewise.
30372         (__mp_dbl): Likewise.
30373         (__inv): Likewise.
30374
30375         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30376         and adjust the header comment.
30377
30378         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30379         variable name from declaration.
30380
30381 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30382
30383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30384         Initialize COMMON_CPUID_INDEX_7 element.
30385         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30386         (CPUID_RTM): Likewise.
30387         (HAS_RTM): Likewise.
30388         (COMMON_CPUID_INDEX_7): New enum.
30389
30390 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30391
30392         [BZ #14981]
30393         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30394         size is zero, record memory as freed.
30395
30396 2013-01-03  Andreas Jaeger  <aj@suse.de>
30397
30398         * po/ia.po: Add new Interlingua translation.
30399
30400 2012-01-03  Allan McRae  <allan@archlinux.org>
30401
30402         * locale/programs/localedef.c: Fix description of '--posix' flag.
30403
30404 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30405
30406         * NEWS: Update dates in second copyright notice.
30407         * README: Update copyright dates in example.
30408         * manual/libc.texinfo: Update copyright dates.
30409         * scripts/test-installation.pl: Update copyright date in --version
30410         output.
30411
30412         * hurd/ctty-input.c: Fix copyright notice formatting.
30413         * hurd/ctty-output.c: Likewise.
30414         * hurd/dtable.c: Likewise.
30415         * hurd/hurd-raise.c: Likewise.
30416         * hurd/hurdprio.c: Likewise.
30417         * hurd/msgportdemux.c: Likewise.
30418         * misc/sys/file.h: Likewise.
30419         * misc/sys/ioctl.h: Likewise.
30420         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30421         * sysdeps/mach/hurd/chdir.c: Likewise.
30422         * sysdeps/mach/hurd/fchdir.c: Likewise.
30423         * sysdeps/mach/hurd/rename.c: Likewise.
30424         * sysdeps/mach/hurd/rmdir.c: Likewise.
30425         * sysdeps/mach/hurd/seekdir.c: Likewise.
30426         * sysdeps/mach/hurd/setsid.c: Likewise.
30427         * sysdeps/posix/wait3.c: Likewise.
30428
30429         * All files with FSF copyright notices: Update copyright dates
30430         using scripts/update-copyrights.
30431         * intl/plural.c: Regenerated.
30432         * locale/programs/charmap-kw.h: Likewise.
30433         * locale/programs/locfile-kw.h: Likewise.
30434
30435 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30436
30437         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30438         four values.
30439
30440         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30441         calculation loop and add branch prediction.
30442
30443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30444         check access beyond bounds of m1np.
30445
30446         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30447         MPTWO.
30448         (__inv): Remove local variable MPTWO to use the global
30449         constant.
30450         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30451         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30452         variable MPTWO.
30453         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30454         MP3HALFS static const.
30455
30456 2013-01-01  David S. Miller  <davem@davemloft.net>
30457
30458         * po/ca.po: Update from translation team.
30459
30460 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30461
30462         * scripts/update-copyrights: New file.
30463         * Makeconfig: Reformat copyright notice.
30464         * ctype/ctype.h: Likewise.
30465         * debug/swprintf_chk.c: Likewise.
30466         * elf/dl-cache.c: Likewise.
30467         * elf/dl-debug.c: Likewise.
30468         * elf/dl-object.c: Likewise.
30469         * grp/initgroups.c: Likewise.
30470         * hurd/Makefile: Likewise.
30471         * hurd/hurd/signal.h: Likewise.
30472         * hurd/hurdfault.c: Likewise.
30473         * hurd/hurdioctl.c: Likewise.
30474         * hurd/hurdlookup.c: Likewise.
30475         * hurd/intr-msg.c: Likewise.
30476         * iconv/gconv_open.c: Likewise.
30477         * libio/swprintf.c: Likewise.
30478         * locale/lc-ctype.c: Likewise.
30479         * locale/nl_langinfo.c: Likewise.
30480         * mach/Machrules: Likewise.
30481         * mach/Makefile: Likewise.
30482         * malloc/obstack.h: Likewise.
30483         * manual/Makefile: Likewise.
30484         * manual/tsort.awk: Likewise.
30485         * misc/bits/stab.def: Likewise.
30486         * nis/nis_print_group_entry.c: Likewise.
30487         * nis/nis_table.c: Likewise.
30488         * nis/nss_compat/compat-pwd.c: Likewise.
30489         * nis/nss_compat/compat-spwd.c: Likewise.
30490         * po/Makefile: Likewise.
30491         * posix/fnmatch.c: Likewise.
30492         * posix/regex.h: Likewise.
30493         * resolv/Makefile: Likewise.
30494         * resolv/nss_dns/dns-network.c: Likewise.
30495         * resolv/res_hconf.c: Likewise.
30496         * scripts/gen-sorted.awk: Likewise.
30497         * soft-fp/soft-fp.h: Likewise.
30498         * stdio-common/printf.h: Likewise.
30499         * stdlib/monetary.h: Likewise.
30500         * stdlib/random.c: Likewise.
30501         * stdlib/random_r.c: Likewise.
30502         * sysdeps/generic/Makefile: Likewise.
30503         * sysdeps/gnu/Makefile: Likewise.
30504         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30505         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30506         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30508         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30511         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30512         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30514         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30515         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30516         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30517         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30518         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30519         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30520         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30522         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30523         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30524         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30525         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30526         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30527         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30528         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30529         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30530         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30531         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30532         * sysdeps/mach/hurd/errnos.awk: Likewise.
30533         * sysdeps/mach/hurd/fork.c: Likewise.
30534         * sysdeps/mach/hurd/getcwd.c: Likewise.
30535         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30536         * sysdeps/mach/hurd/mmap.c: Likewise.
30537         * sysdeps/mach/hurd/utimes.c: Likewise.
30538         * sysdeps/mach/hurd/xmknod.c: Likewise.
30539         * sysdeps/posix/profil.c: Likewise.
30540         * sysdeps/posix/readdir_r.c: Likewise.
30541         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30542         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30543         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30544         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30546         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30547         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30548         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30550         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30552         * sysdeps/pthread/lio_listio.c: Likewise.
30553         * sysdeps/sparc/dl-procinfo.h: Likewise.
30554         * sysdeps/unix/i386/sysdep.S: Likewise.
30555         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30556         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30557         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30558         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30560         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30561         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30562         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30563         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30564         * sysdeps/wordsize-32/divdi3.c: Likewise.
30565         * time/sys/time.h: Likewise.
30566         * wcsmbs/Makefile: Likewise.
30567
30568 2013-01-01  David S. Miller  <davem@davemloft.net>
30569
30570         * po/fr.po: Update from translation team.
30571
30572         * catgets/gencat.c: Update copyright year.
30573         * csu/version.c: Likewise.
30574         * debug/catchsegv.sh: Likewise.
30575         * debug/pcprofiledump.c: Likewise.
30576         * debug/xtrace.sh: Likewise.
30577         * elf/ldconfig.c: Likewise.
30578         * elf/ldd.bash.in: Likewise.
30579         * elf/pldd.c: Likewise.
30580         * elf/sotruss.ksh: Likewise.
30581         * elf/sprof.c: Likewise.
30582         * iconv/iconv_prog.c: Likewise.
30583         * iconv/iconvconfig.c: Likewise.
30584         * locale/programs/locale.c: Likewise.
30585         * locale/programs/localedef.c: Likewise.
30586         * login/programs/pt_chown.c: Likewise.
30587         * malloc/memusage.sh: Likewise.
30588         * malloc/memusagestat.c: Likewise.
30589         * malloc/mtrace.pl: Likewise.
30590         * nscd/nscd.c: Likewise.
30591         * nss/getent.c: Likewise.
30592         * nss/makedb.c: Likewise.
30593         * posix/getconf.c: Likewise.
30594
30595 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30596
30597         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30598         numbers.
30599
30600 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30601
30602         * math/bits/mathcalls.h (modf): Use __nonnull.
30603
30604 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30605
30606         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30607         (split): Use macro CN instead of the bare value.
30608         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30609         could be used.
30610         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30611         instead of the bare value.
30612         (power1): Likewise.
30613
30614 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30615
30616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30617         __ATAN_TWOM.
30618         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30619
30620         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30621         their values.
30622         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30624         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30625         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30626
30627 2012-12-28  Andreas Jaeger  <aj@suse.de>
30628
30629         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30630         values are from Linux 3.7.
30631
30632         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30633         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30634
30635 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30636
30637         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30638         TRUE case.
30639
30640         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30641         (norm): Likewise.
30642         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30643         variables with preprocessor constants.
30644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30645         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30646         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30647
30648 2012-12-27  Bruno Haible  <bruno@clisp.org>
30649
30650         [BZ #14317]
30651         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30652         only if needed.
30653
30654 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655
30656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30657         and use variable directly.
30658         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30659
30660         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30661         MPONE.
30662         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30663         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30664         variable MPONE.
30665         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30667         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30668         include directive.  Remove local variable MPONE.
30669         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30670         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30671         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30672
30673 2012-12-25  David S. Miller  <davem@davemloft.net>
30674
30675         * version.h (RELEASE): Set to "development".
30676         (VERSION): Set to "2.17.90".
30677         * NEWS: Add 2.18 section.
30678
30679 2012-12-21  David S. Miller  <davem@davemloft.net>
30680
30681         * po/hr.po: Update from translation team.
30682
30683 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30684
30685         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30686
30687 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30688
30689         * NEWS:  Mention new memcpy for MIPS.
30690
30691 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30692
30693         * manual/contrib.texi (Contributors): Spelling correction.
30694
30695 2012-12-15  David S. Miller  <davem@davemloft.net>
30696
30697         * po/ru.po: Update from translation team.
30698
30699 2012-12-13  David S. Miller  <davem@davemloft.net>
30700
30701         * NEWS: Mention IFUNC testsuite enhancements.
30702
30703         * po/pl.po: Update from translation team.
30704         * po/bg.po: Likewise.
30705
30706         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30707         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30708
30709 2012-12-11  David S. Miller  <davem@davemloft.net>
30710
30711         * po/sv.po: Update from translation team.
30712
30713         * po/vi.po: Update from translation team.
30714
30715         * po/cs.po: Update from translation team.
30716
30717         * po/de.po: Update from translation team.
30718         * po/eo.po: Likewise.
30719         * po/nl.po: Likewise.
30720
30721 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30722
30723         [BZ #14246]
30724         * manual/argp.texi (Argp Helper Functions): Move node to follow
30725         Argp Parsing State.
30726
30727         [BZ #14872]
30728         * manual/conf.texi (Limits on File System Capacity): Mention if
30729         terminating null is included in the max size.
30730
30731 2012-12-10  Andreas Jaeger  <aj@suse.de>
30732
30733         * po/cs.po: Update from translation team.
30734
30735 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30736
30737         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30738         void pointer and cast to uintptr_t.
30739         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30740         path.
30741         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30742         * sysdeps/s390/s390-64/memset.S: Likewise.
30743
30744 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30745
30746         [BZ #14833]
30747         * menual/message.texi (Message Translation): Fix typos.
30748         (Helper programs for gettext): Likewise.
30749
30750 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30751
30752         [BZ #14898]
30753         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30754         Change to -1.
30755
30756 2012-12-07  David S. Miller  <davem@davemloft.net>
30757
30758         * po/libc.pot: Update.
30759
30760 2012-12-07  Richard Henderson  <rth@redhat.com>
30761
30762         [BZ #10114]
30763         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30764         normal/normal case to before the switch.
30765         (_FP_DIV): Likewise.
30766
30767 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30768             Mike Frysinger  <vapier@gentoo.org>
30769
30770         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30771         check for __NR_fadvise64_64.
30772
30773 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30774
30775         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30776         0, not just to plain "0" as a statement.
30777         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30778         with cw.
30779
30780 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30781
30782         * NEWS: Use sourceware.org in Bugzilla URL.
30783
30784 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30785
30786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30787         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30788
30789         * stdio-common/tst-put-error.c (do_test): Add newline to the
30790         padded test to ensure flush.
30791
30792 2012-12-05  Jeff Law  <law@redhat.com>
30793
30794         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30795
30796 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30797
30798         * README: Don't refer to ports add-on as distributed separately.
30799         Mention AArch64 in list of systems supported in the ports add-on.
30800
30801         * LICENSES: Add more non-FSF copyright and license notices.
30802
30803         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30804         ((unused)).
30805
30806         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30807
30808         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30809         10000 as width of padded output.
30810
30811 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30812
30813         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30814
30815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30816         variable LX with __attribute__ ((unused)).
30817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30818         Likewise.
30819         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30821         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30822         with __attribute__ ((unused)).
30823
30824 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30825
30826         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30827
30828 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30829
30830         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30831         (CFLAGS-nldbl-acos.c): New variable.
30832         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30833         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30834         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30835         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30836         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30837         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30838         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30839         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30840         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30841         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30842         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30843         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30844         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30845         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30846         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30847         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30848         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30849         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30850         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30851         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30852         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30853         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30854         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30855         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30856         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30857         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30858         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30859         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30860         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30861         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30862         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30863         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30864         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30865         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30866         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30867         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30868         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30869         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30870         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30871         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30872         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30873         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30874         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30875         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30876         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30877         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30878         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30879         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30880         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30881         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30882         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30883         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30884         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30885         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30886         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30887         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30888         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30889         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30890         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30891         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30892         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30893         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30894         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30895         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30896         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30897         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30898         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30899         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30900         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30901         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30902         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30903         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30904         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30905         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30906         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30907         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30908         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30909         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30910         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30911         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30912         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30913         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30914         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30915         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30916         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30917         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30918         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30919         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30920         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30921         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30922         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30923         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30924         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30925         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30926         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30927         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30928         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30929
30930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30931         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30932
30933         [BZ #14914]
30934         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30935         whole low double instead of just low 47 bits when splitting values
30936         into two parts.
30937
30938 2012-12-03  Allan McRae  <allan@archlinux.org>
30939
30940         * manual/stdio.texi (Predefined Printf Handlers): Remove
30941         @hsep and @vsep usage.
30942
30943 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30944
30945         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30946         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30947
30948 2012-12-03  Jeff Law  <law@redhat.com>
30949
30950         * time/sys/time.h (settimeofday): Do not mark TV argument
30951         as __nonnull.
30952
30953 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30954
30955         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30956         when currently writing and seek to current position when not.
30957         * libio/Makefile (tests): Remove bug-fclose1.
30958         * libio/bug-fclose1.c: Delete.
30959
30960 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30961
30962         * manual/arith.texi (feenableexcept): Fix typo.
30963         (fedisableexcept): Likewise.
30964
30965 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30966
30967         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30968         second, differently-typed declaration, rather than a cast.
30969
30970 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30971
30972         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30973         * include/rpc/svc.h: ... here.
30974
30975 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30976
30977         [BZ #13013]
30978         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30979         depending n and resplen2 to catch cases where answer
30980         equals answerp2.
30981
30982 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30983
30984         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30985         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30986
30987 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30988
30989         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30990
30991 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30992
30993         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30994
30995 2012-11-28  Jeff Law  <law@redhat.com>
30996
30997         [BZ #13761]
30998         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30999         dataset_temporary.  Track alloca usage into alloca_used.
31000         If dataset is large allocate and release it via malloc/free.
31001
31002 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31003
31004         [BZ #14197]
31005         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31006
31007 2012-11-28  David S. Miller  <davem@davemloft.net>
31008
31009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31010
31011 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31012
31013         [BZ #14803]
31014         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31015         of pi/2 rounded to nearest to 64 bits.
31016         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31017         nearest to 64 bits.
31018         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31019         bits.
31020
31021 2012-11-28  Jeff Law <law@redhat.com>
31022             Martin Osvald <mosvald@redhat.com>
31023
31024         [BZ #14889]
31025         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31026         * sunrpc/svc.c: Include time.h.
31027         (__svc_accept_failed): New function.
31028         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31029         any reason other than EINTR, call __svc_accept_failed.
31030         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31031         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31032
31033 2012-11-28  Andreas Schwab  <schwab@suse.de>
31034
31035         * scripts/abilist.awk: Also handle indirect functions in .opd
31036         section.
31037
31038 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31039
31040         [BZ #13881]
31041         * sysdeps/x86/fpu/powl_helper.c: New file.
31042         * sysdeps/x86/fpu/Makefile: Likewise.
31043         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31044         (p3): New object.
31045         (__ieee754_powl): Use __powl_helper for finite arguments except
31046         integer exponents below 8.
31047         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31048         (p3): New object.
31049         (__ieee754_powl): Use __powl_helper for finite arguments except
31050         integer exponents below 8.
31051         * math/libm-test.inc (pow_test): Add more tests and enable some
31052         previously disabled tests.
31053         * sysdeps/i386/fpu/libm-test-ulps: Update.
31054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31055
31056 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31057             Carlos O'Donell  <carlos_odonell@mentor.com>
31058
31059         * nss/makedb.c (is_prime): Assert that input is odd and greater
31060         than 4.  Note that fact in a comment too.
31061         (next_prime): Add 4 to input.
31062
31063 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31064
31065         [BZ #11741]
31066         * libio/Makefile (tests): Add test case tst-fwrite-error.
31067         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31068         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31069         * libio/tst-fwrite-error.c: New test case.
31070
31071 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31072
31073         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31074         before casting to void *.
31075         * include/libc-internal.h (__pointer_type): New macro.
31076         (__integer_if_pointer_type_sub): Likewise.
31077         (__integer_if_pointer_type): Likewise.
31078         (cast_to_integer): Likewise.
31079         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31080         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31081         before casting to atomic64_t.
31082         (atomic_exchange_acq): Likewise.
31083         (__arch_exchange_and_add_body): Likewise.
31084         (__arch_add_body): Likewise.
31085         (atomic_add_negative): Likewise.
31086         (atomic_add_zero): Likewise.
31087
31088 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31089
31090         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31091         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31092         (add_fdes): Likewise.
31093         (linear_search_fdes): Likewise.
31094         (binary_search_unencoded_fdes): Likewise.
31095
31096 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31097
31098         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31099
31100 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31101
31102         * configure.in: Autodetect C++ header directories.
31103         * configure: Regenerated.
31104
31105 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31106
31107         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31108
31109 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31110
31111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31112
31113 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31114
31115         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31116         LDBL_MANT_DIG == 106]: Disable some tests.
31117         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31118         Likewise.
31119         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31120         Likewise.
31121
31122         [BZ #14871]
31123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31124         input for small inputs.  Return +/- pi/2 for large inputs.
31125         * math/libm-test.inc (atan_test): Add more tests.
31126
31127         * sysdeps/generic/unwind-dw2-fde-glibc.c
31128         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31129         __attribute__ ((unused)).
31130
31131         [BZ #14645]
31132         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31133         x * y if x and y are nonzero and z is zero.
31134
31135         [BZ #14811]
31136         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31137         nonzero exponents with absolute value below 0x1p-117 to +/-
31138         0x1p-117.
31139
31140         [BZ #14869]
31141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31142         up arguments below 2**-450, not just those below 2**-500.
31143         * math/libm-test.inc (hypot_test): Add another test.
31144
31145         [BZ #14868]
31146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31147         Return a+b for ratio over 2**120, not 2**60.
31148         * math/libm-test.inc (hypot_test): Add another test.
31149
31150         * math/libm-test.inc (clog_test): Use
31151         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31152         (clog10_test): Likewise.
31153
31154         [BZ #6778]
31155         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31156
31157 2012-11-22  Andreas Schwab  <schwab@suse.de>
31158
31159         * sysdeps/i386/fpu/libm-test-ulps: Update.
31160
31161 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31162
31163         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31164         printf output with newline.
31165
31166 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31167
31168         [BZ #14865]
31169         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31170         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31171         -z nodlopen, -z initfirst and -z execstack support.
31172         * configure: Regenerated.
31173
31174         * elf/elf.h (DF_1_NODIRECT): New macro.
31175         (DF_1_IGNMULDEF): Likewise.
31176         (DF_1_NOKSYMS): Likewise.
31177         (DF_1_NOHDR): Likewise.
31178         (DF_1_EDITED): Likewise.
31179         (DF_1_NORELOC): Likewise.
31180         (DF_1_SYMINTPOSE): Likewise.
31181         (DF_1_GLOBAUDIT): Likewise.
31182         (DF_1_SINGLETON): Likewise.
31183         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31184         DT_1_SUPPORTED_MASK bits.
31185         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31186
31187 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31188
31189         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31190
31191 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31192
31193         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31194         macro.
31195
31196         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31197         (sendmmsg): Move declarations...
31198         * socket/sys/socket.h: ... here.
31199         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31200         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31201         include it from...
31202         * socket/recvmmsg.c: ... this new file.
31203         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31204         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31205         definition of __sendmmsg hidden.
31206         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31207         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31208         Move ENOSYS stub into and include it from...
31209         * socket/sendmmsg.c: ... this new file.
31210         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31211         (sysdep_routines): Move recvmmsg and sendmmsg...
31212         * socket/Makefile (routines): ... here.
31213         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31214         (GLIBC_PRIVATE): Add __sendmmsg.
31215         * include/sys/socket.h (__sendmmsg): Add declarations.
31216         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31217         sendmmsg.
31218
31219 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31220
31221         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31222         variable I1 with __attribute__ ((unused)).
31223         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31224
31225 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31226
31227         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31228         DUMMY variables with __attribute__ ((unused)).
31229
31230         * bits/byteswap.h: Include <bits/types.h>.
31231         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31232
31233 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31234
31235         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31236         string_t.  Do not manually set errno.
31237         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31238         length with __strnlen.  Make sure to both set errno and return it on
31239         failure.
31240
31241 2012-11-19  David S. Miller  <davem@davemloft.net>
31242
31243         With help from Joseph Myers.
31244         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31245         very large arguments properly.
31246         * math/libm-test.inc (atan_test): New tests.
31247         (atan2_test): New tests.
31248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31250
31251 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31252
31253         [BZ #14856]
31254         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31255         Define to 3.
31256
31257         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31258         [POSIX] (EADDRNOTAVAIL): Likewise.
31259         [POSIX] (EAFNOSUPPORT): Likewise.
31260         [POSIX] (EALREADY): Likewise.
31261         [POSIX] (ECONNABORTED): Likewise.
31262         [POSIX] (ECONNREFUSED): Likewise.
31263         [POSIX] (ECONNRESET): Likewise.
31264         [POSIX] (EDESTADDRREQ): Likewise.
31265         [POSIX] (EDQUOT): Likewise.
31266         [POSIX] (EHOSTUNREACH): Likewise.
31267         [POSIX] (EIDRM): Likewise.
31268         [POSIX] (EISCONN): Likewise.
31269         [POSIX] (ELOOP): Likewise.
31270         [POSIX] (EMULTIHOP): Likewise.
31271         [POSIX] (ENETDOWN): Likewise.
31272         [POSIX] (ENETUNREACH): Likewise.
31273         [POSIX] (ENOBUFS): Likewise.
31274         [POSIX] (ENODATA): Likewise.
31275         [POSIX] (ENOLINK): Likewise.
31276         [POSIX] (ENOMSG): Likewise.
31277         [POSIX] (ENOPROTOOPT): Likewise.
31278         [POSIX] (ENOSR): Likewise.
31279         [POSIX] (ENOSTR): Likewise.
31280         [POSIX] (ENOTCONN): Likewise.
31281         [POSIX] (ENOTSOCK): Likewise.
31282         [POSIX] (EOPNOTSUPP): Likewise.
31283         [POSIX] (EOVERFLOW): Likewise.
31284         [POSIX] (EPROTO): Likewise.
31285         [POSIX] (EPROTONOSUPPORT): Likewise.
31286         [POSIX] (EPROTOTYPE): Likewise.
31287         [POSIX] (ESTALE): Likewise.
31288         [POSIX] (ETIME): Likewise.
31289         [POSIX] (ETXTBSY): Likewise.
31290         [POSIX] (EWOULDBLOCK): Likewise.
31291         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31292         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31293         [POSIX] (SEEK_CUR): Likewise.
31294         [POSIX] (SEEK_END): Likewise.
31295         [POSIX || UNIX98] (mode_t): Do not require.
31296         [POSIX] (off_t): Likewise.
31297         [POSIX] (pid_t): Likewise.
31298         [POSIX] (sys/stat.h): Do not allow header.
31299         [POSIX] (unistd.h): Likewise.
31300         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31301         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31302         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31303         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31304         require.
31305         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31306         sigevent): Specify elements.
31307         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31308         entry.
31309         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31310         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31311
31312         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31313         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31314         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31315         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31316         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31317         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31318         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31319         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31320         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31321         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31322         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31323         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31324         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31325         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31326         Likewise.
31327         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31328         Likewise.
31329         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31330         Likewise.
31331         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31332         Likewise.
31333         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31334         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31335         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31336         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31337         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31338         Specify lower bound on value.
31339         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31340         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31341         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31342         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31343         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31344         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31345         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31346         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31347         value.
31348         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31349         as optional.
31350         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31351         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31352         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31353         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31354         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31355         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31356         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31357         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31358         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31359         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31360         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31361         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31362         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31363         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31364         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31365         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31366         entry.
31367         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31368         optional.
31369         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31370         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31371         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31372         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31373         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31374         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31375         Likewise.
31376         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31377         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31378         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31379         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31380         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31381         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31382         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31383         as optional.
31384         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31385         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31386         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31387         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31388         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31389         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31390         specify as optional.
31391         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31392         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31393         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31394         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31395         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31396         [XPG3] (NL_LANGMAX): Likewise.
31397         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31398         [POSIX || XPG3] (NL_NMAX): Likewise.
31399         [POSIX || XPG3] (NL_SETMAX): Likewise.
31400         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31401         [XPG3] (NZERO): Likewise.
31402         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31403         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31404         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31405         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31406         (REG_ERANGE): Expect.
31407         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31408         optional-constant.
31409         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31410         Use (void) in prototype.
31411         [POSIX] (*_t): Allow.
31412         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31413         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31414         (WRDE_BADVAL): Expect.
31415
31416         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31417         expect.
31418         [XPG3 || XPG4] (O_RSYNC): Likewise.
31419         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31420         Likewise.
31421         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31422         [XPG3 || XPG4] (sigqueue): Likewise.
31423         [XPG3 || XPG4] (sigtimedwait): Likewise.
31424         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31425         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31426         [XPG3 || XPG4] (vsnprintf): Likewise.
31427         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31428         Likewise.
31429         [XPG3 || XPG4] (blksize_t): Likewise.
31430         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31431         Likewise.
31432         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31433         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31434         [XPG3 || XPG4] (struct itimerspec): Likewise.
31435         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31436         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31437         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31438         [XPG3 || XPG4] (clockid_t): Likewise.
31439         [XPG3 || XPG4] (timer_t): Likewise.
31440         [XPG3 || XPG4] (clock_getres): Likewise.
31441         [XPG3 || XPG4] (clock_gettime): Likewise.
31442         [XPG3 || XPG4] (clock_settime): Likewise.
31443         [XPG3 || XPG4] (nanosleep): Likewise.
31444         [XPG3 || XPG4] (timer_create): Likewise.
31445         [XPG3 || XPG4] (timer_delete): Likewise.
31446         [XPG3 || XPG4] (timer_gettime): Likewise.
31447         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31448         [XPG3 || XPG4] (timer_settime): Likewise.
31449         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31450         [XPG3 || XPG4] (getlogin_r): Likewise.
31451         [XPG3 || XPG4] (pread): Likewise.
31452         [XPG3 || XPG4] (pthread_atfork): Likewise.
31453         [XPG3 || XPG4] (pwrite): Likewise.
31454
31455         [BZ #14835]
31456         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31457         <bits/siginfo.h>.
31458
31459 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31460
31461         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31462         finalizing MALLSTREAM.
31463
31464         * sysdeps/mach/hurd/syncfs.c: New file.
31465
31466 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31467
31468         [BZ #14719]
31469         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31470         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31471         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31472         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31473         (_nss_dns_gethostbyname4_r): Likewise.
31474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31475         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31476
31477 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31478
31479         [BZ #13763]
31480         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31481
31482 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31483
31484         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31485         * elf/cache.c (print_entry): Print ",AArch64" for
31486         FLAG_AARCH64_LIB64
31487
31488         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31489         * elf/cache.c (print_entry): Print ",hard-float" for
31490         FLAG_ARM_LIBHF.
31491
31492 2012-11-18  David S. Miller  <davem@davemloft.net>
31493
31494         With help from Joseph Myers.
31495         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31496         cutoff to 2**-13.
31497         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31498         cutoff to 2**-25.
31499         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31500         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31501         small.
31502         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31503         * math/libm-test.inc (y0_test): New tests.
31504         (y1_test): New tests.
31505         * sysdeps/i386/fpu/libm-test-ulps: Update.
31506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31508
31509 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31510
31511         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31512         64-bit targets.
31513         * configure: Regenerated.
31514
31515 2012-11-17  David S. Miller  <davem@davemloft.net>
31516
31517         [BZ #14811]
31518         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31519         nonzero exponents with absolute value below 0x1p-128 to +/-
31520         0x1p-128.
31521
31522 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31523
31524         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31525
31526         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31527
31528         * posix/getconf-speclist.c: New file.
31529         * posix/posix-envs.def: Likewise.
31530         * posix/confstr.c (START_ENV_GROUP): New macro.
31531         (END_ENV_GROUP): Likewise.
31532         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31533         (KNOWN_PRESENT_ENV_STRING): Likewise.
31534         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31535         (UNKNOWN_ENVIRONMENT): Likewise.
31536         (confstr): Include posix-envs.def instead of handling
31537         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31538         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31539         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31540         (END_ENV_GROUP): Likewise.
31541         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31542         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31543         (UNKNOWN_ENVIRONMENT): Likewise.
31544         (__sysconf): Include posix-envs.def instead of handling associated
31545         cases directly here.
31546         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31547         preprocessing getconf-speclist.c rather than running getconf or
31548         generating empty file.
31549
31550 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31551
31552         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31553
31554 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31555
31556         [BZ #14672]
31557         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31558
31559 2012-11-16  David S. Miller  <davem@davemloft.net>
31560
31561         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31562         smaller than LDBL_EPSILON/2.0L, just return xm1.
31563
31564 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31565
31566         * elf/tst-array1.c (init): Set constructor priority to 1000.
31567         (fini): Set destructor priority to 1000.
31568         * elf/tst-array2dep.c: Likewise.
31569
31570 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31571
31572         [BZ #11741]
31573         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31574         (_IO_new_file_xsputn): Also return EOF if none of the input
31575         data was written when overflow failed.
31576         * libio/iopadn.c (_IO_padn): Likewise.
31577         * libio/iowpadn.c (_IO_wpadn): Likewise.
31578         * stdio-common/tst-put-error.c: Add copyright notice.
31579         (do_test): Add case for printing padded string.
31580         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31581         _IO_padn returned error.
31582         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31583         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31584         return EOF.
31585
31586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31587
31588         * libio/libioP.h: Add comment note that the references to C++
31589         bits are now obsolete.
31590
31591 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31592
31593         * math/libm-test.inc (check_complex): Use asprintf.
31594
31595 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31596
31597         * debug/pcprofiledump.c (print_version): Update copyright year.
31598         * malloc/memusagestat.c (print_version): Likewise.
31599
31600 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31601
31602         [BZ #14831]
31603         * elf/Makefile (tests): Add tst-audit8.
31604         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31605         ($(objpfx)tst-audit8.out): New target.
31606         (tst-audit8-ENV): New variable.
31607         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31608         audit if l_reloc_result is NULL.
31609         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31610         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31611         * elf/tst-audit8.c: New file.
31612
31613 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31614
31615         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31616         * misc/Makefile (CFLAGS-select.c): Define.
31617         * posix/Makefile (CFLAGS-pause.c): Define.
31618
31619 2012-11-13  David S. Miller  <davem@davemloft.net>
31620
31621         * crypt/Makefile: Move test targets after toplevel Rules
31622         inclusion.  Grab any necessary sysdep routines when linking.
31623         * crypt/md5.c (md5_process_block): Remove define, we will always
31624         name it __md5_process_block.
31625         (md5_finish_ctx): Update md5_process_block call.
31626         (md5_stream): Likewise.
31627         (md5_process_bytes): Likewise.
31628         (md5_process_block): Rename to __md5_process_block and move to ...
31629         * crypt/md5-block.c: ... here.
31630         * crypt/sha256.c (sha256_process_block): Move to ...
31631         * crypt/sha256-block.c: ... here.
31632         * crypt/sha512.c (sha512_process_block): Move to ...
31633         * crypt/sha512-block.c: ... here.
31634         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31635         path.
31636         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31637         * sysdeps/sparc/sparc64/multiarch/Makefile
31638         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31639         crypt subdir.
31640         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31641         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31642         multiarch changes.
31643         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31644         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31645         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31646         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31647         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31648         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31649         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31650         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31651         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31652         file.
31653         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31654         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31655         file.
31656         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31657
31658 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31659
31660         * timezone/tzselect.ksh: Update from tzcode git revision
31661         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31662         * timezone/zdump.c: Likewise.
31663         * timezone/zic.c: Likewise.
31664         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31665         in TZVERSION setting, not $(PKGVERSION).
31666         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31667         REPORT_BUGS_TO settings.
31668
31669         [BZ #14838]
31670         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31671         macro.
31672
31673 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31674
31675         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31676         detection to immediately after _FP_ROUND().
31677         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31678         bits are 0.
31679
31680 2012-11-11  David S. Miller  <davem@davemloft.net>
31681
31682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31683         inttypes.h
31684         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31685         __close rather than their public counterparts.
31686
31687 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31688
31689         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31690         file.
31691         [UNIX98] (sem_timedwait): Do not expect.
31692         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31693         [XPG4 || UNIX98] (sockatmark): Do not expect.
31694         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31695         (clock_getcpuclockid): Do not expect.
31696         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31697         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31698         Do not expect.
31699         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31700         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31701         [UNIX98] (vwscanf): Likewise.
31702         [UNIX98] (vswscanf): Likewise.
31703
31704 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31705
31706         * timezone/version.h: Remove file.
31707         * timezone/README: Do not refer to version.h.
31708         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31709         $(objpfx)version.h.
31710         ($(objpfx)zdump.o): Likewise.
31711         ($(objpfx)version.h): New target.
31712
31713         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31714         2012i.
31715         * timezone/README: Don't mention modification to tzselect.ksh.
31716         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31717         work on unmodified tzselect.ksh.  Substitute version numbers in
31718         tzselect.ksh.
31719
31720         * Makefile (format-me): Remove.
31721         (INSTALL): Adjust indentation.  Use commands directly instead of
31722         using $(format-me).
31723
31724         * aclocal.m4 (ACX_PKGVERSION): New macro.
31725         (ACX_BUGURL): Likewise.
31726         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31727         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31728         (REPORT_BUGS_TO): Likewise.
31729         * configure: Regenerated.
31730         * config.h.in (PKGVERSION): New macro.
31731         (REPORT_BUGS_TO): Likewise.
31732         * config.make.in (PKGVERSION): New variable.
31733         (PKGVERSION_TEXI): Likewise.
31734         (REPORT_BUGS_TO): Likewise.
31735         (REPORT_BUGS_TEXI): Likewise.
31736         * Makefile (format-me): Use -I$(common-objpfx)manual.
31737         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31738         ($(common-objpfx)manual/%): New target.
31739         (manual/%): Remove target.
31740         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31741         (print_version): Use PKGVERSION.
31742         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31743         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31744         and REPORT_BUGS_TO.
31745         ($(objpfx)xtrace): Likewise.
31746         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31747         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31748         (print_version): Use PKGVERSION.
31749         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31750         (do_version): Use PKGVERSION.
31751         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31752         REPORT_BUGS_TO.
31753         (common-ldd-rewrite): Likewise.
31754         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31755         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31756         (print_version): Use PKGVERSION.
31757         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31758         * elf/pldd.c (argp_program_bug_address): Remove variable.
31759         (more_help): New function.
31760         (argp): Use more_help.
31761         (print_version): Use PKGVERSION.
31762         * elf/sln.c (main): Use PKGVERSION.
31763         (usage): Use REPORT_BUGS_TO.
31764         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31765         (top level): Use PKGVERSION.
31766         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31767         (print_version): Use PKGVERSION.
31768         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31769         (print_version): Use PKGVERSION.
31770         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31771         (print_version): Use PKGVERSION.
31772         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31773         (print_version): Use PKGVERSION.
31774         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31775         (print_version): Use PKGVERSION.
31776         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31777         (print_version): Use PKGVERSION.
31778         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31779         and BUGURL.
31780         ($(objpfx)memusage): Likewise.
31781         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31782         (do_version): Use PKGVERSION.
31783         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31784         (print_version): Use PKGVERSION.
31785         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31786         ($PKGVERSION): New variable.
31787         ($REPORT_BUGS_TO): Likewise.
31788         (usage): Use $REPORT_BUGS_TO.
31789         (top level): Use $PKGVERSION.
31790         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31791         ($(objpfx)pkgvers.texi): New rule.
31792         ($(objpfx)stamp-pkgvers): Likewise.
31793         * manual/install.texi: Include pkgvers.texi.
31794         (--with-pkgversion): Document new configure option.
31795         (--with-bugurl): Likewise.
31796         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31797         than necessarily for this particular distribution.  Use
31798         REPORT_BUGS_TO for where to report bugs.
31799         * INSTALL: Regenerated.
31800         * manual/libc.texinfo: Include pkgvers.texi.
31801         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31802         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31803         (print_version): Use PKGVERSION.
31804         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31805         (print_version): Use PKGVERSION.
31806         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31807         (print_version): Use PKGVERSION.
31808         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31809         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31810         macro.
31811         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31812         (print_version): Use PKGVERSION.
31813         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31814         (print_version): Use PKGVERSION.
31815         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31816         and PKGVERSION.
31817
31818         * timezone/checktab.awk: Update from tzcode 2012i.
31819         * timezone/ialloc.c: Likewise.
31820         * timezone/private.h: Likewise.
31821         * timezone/scheck.c: Likewise.
31822         * timezone/tzfile.h: Likewise.
31823         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31824         (TZVERSION): Hardcode tzcode version number.
31825         * timezone/zdump.c: Update from tzcode 2012i.
31826         * timezone/zic.c: Likewise.
31827         * timezone/version.h: New file.
31828         * timezone/README: Describe version.h.  Update upstream location.
31829
31830         [BZ #14824]
31831         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31832         (mktemp): Enable declaration.
31833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31834         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31837         Likewise.
31838         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31839         Likewise.
31840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31841         Likewise.
31842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31843         Likewise.
31844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31845         Likewise.
31846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31847         Likewise.
31848
31849         [BZ #14821]
31850         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31851         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31852         for copies of such integer values.
31853         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31854         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31855
31856 2012-11-09  Andreas Jaeger  <aj@suse.de>
31857
31858         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31859         definitions and declarations that are provided by
31860         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31861
31862 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31863
31864         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31865         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31866         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31867         definition.
31868
31869 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31870
31871         * elf/elf.h: Update comment before AArch64 relocations.
31872
31873 2012-11-07  David S. Miller  <davem@davemloft.net>
31874
31875         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31876         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31877         (__start_context): Declare.
31878         (__makecontext_ret): Delete.
31879         (__makecontext): Hook up __start_context instead of
31880         __makecontext_ret.
31881         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31882         (sysdep_routines): Add __start_context when in stdlib.
31883
31884 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31885
31886         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31887         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31888         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31889         hardcoded "nm".
31890         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31891         (READELF): New variable.  Use it instead of hardcoded "readelf".
31892
31893 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31894
31895         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31896         * sysdeps/x86/Makefile: Here.
31897         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31898         * sysdeps/x86/tst-xmmymm.sh: This.
31899
31900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31901
31902         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31903         expectations.
31904         [UNIX98] (pthread_barrier_t): Do not expect.
31905         [UNIX98] (pthread_barrierattr_t): Likewise.
31906         [UNIX98] (pthread_spinlock_t): Likewise.
31907         [UNIX98] (pthread_barrier_destroy): Likewise.
31908         [UNIX98] (pthread_barrier_init): Likewise.
31909         [UNIX98] (pthread_barrier_wait): Likewise.
31910         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31911         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31912         [UNIX98] (pthread_barrierattr_init): Likewise.
31913         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31914         [UNIX98] (pthread_getcpuclockid): Likewise.
31915         [UNIX98] (pthread_mutex_timedlock): Likewise.
31916         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31917         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31918         [UNIX98] (pthread_sigmask): Likewise.
31919         [UNIX98] (pthread_spin_destroy): Likewise.
31920         [UNIX98] (pthread_spin_init): Likewise.
31921         [UNIX98] (pthread_spin_lock): Likewise.
31922         [UNIX98] (pthread_spin_trylock): Likewise.
31923         [UNIX98] (pthread_spin_unlock): Likewise.
31924         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31925         Do not expect.
31926         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31927         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31928         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31929         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31930         [XPG3 || XPG4] (pthread_key_t): Likewise.
31931         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31932         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31933         [XPG3 || XPG4] (pthread_once_t): Likewise.
31934         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31935         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31936         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31937         [XPG3 || XPG4] (pthread_t): Likewise.
31938
31939         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31940         not expect.
31941         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31942
31943         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31944         Change function return type to int.
31945
31946         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31947         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31948         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31949         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31950         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31951         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31952         [!POSIX] (posix_madvise): Likewise.
31953         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31954         && !UNIX98].
31955         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31956         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31957         (mode_t): Likewise.
31958         (posix_mem_offset): Likewise.
31959         (posix_typed_mem_get_info): Likewise.
31960         (posix_typed_mem_open): Likewise.
31961
31962         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31963         Change condition to [XOPEN2K8].
31964
31965         * conform/conformtest.pl: Preprocess allow-header data with -x c
31966         instead of from stdin.
31967         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31968         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31969         [C99-based standards] (cerfc): Likewise.
31970         [C99-based standards] (cexp2): Likewise.
31971         [C99-based standards] (cexpm1): Likewise.
31972         [C99-based standards] (clog10): Likewise.
31973         [C99-based standards] (clog1p): Likewise.
31974         [C99-based standards] (clog2): Likewise.
31975         [C99-based standards] (clgamma): Likewise.
31976         [C99-based standards] (ctgamma): Likewise.
31977         [C99-based standards] (cerff): Likewise.
31978         [C99-based standards] (cerfcf): Likewise.
31979         [C99-based standards] (cexp2f): Likewise.
31980         [C99-based standards] (cexpm1f): Likewise.
31981         [C99-based standards] (clog10f): Likewise.
31982         [C99-based standards] (clog1pf): Likewise.
31983         [C99-based standards] (clog2f): Likewise.
31984         [C99-based standards] (clgammaf): Likewise.
31985         [C99-based standards] (ctgammaf): Likewise.
31986         [C99-based standards] (cerfl): Likewise.
31987         [C99-based standards] (cerfcl): Likewise.
31988         [C99-based standards] (cexp2l): Likewise.
31989         [C99-based standards] (cexpm1l): Likewise.
31990         [C99-based standards] (clog10l): Likewise.
31991         [C99-based standards] (clog1pl): Likewise.
31992         [C99-based standards] (clog2l): Likewise.
31993         [C99-based standards] (clgammal): Likewise.
31994         [C99-based standards] (ctgammal): Likewise.
31995         * conform/data/inttypes.h-data [C99-based standards]: Include
31996         stdint.h-data.  Remove all expectations for stdint.h contents.
31997         [C99-based standards] (PRI*): Do not allow.
31998         [C99-based standards] (SCN*): Likewise.
31999         [C99-based standards] (*_t): Likewise.
32000         [C99-based-standards] (PRId8): Expect macro.
32001         [C99-based-standards] (PRIi8): Likewise.
32002         [C99-based-standards] (PRIo8): Likewise.
32003         [C99-based-standards] (PRIu8): Likewise.
32004         [C99-based-standards] (PRIx8): Likewise.
32005         [C99-based-standards] (PRIX8): Likewise.
32006         [C99-based-standards] (SCNd8): Likewise.
32007         [C99-based-standards] (SCNi8): Likewise.
32008         [C99-based-standards] (SCNo8): Likewise.
32009         [C99-based-standards] (SCNu8): Likewise.
32010         [C99-based-standards] (SCNx8): Likewise.
32011         [C99-based-standards] (PRIdLEAST8): Likewise.
32012         [C99-based-standards] (PRIiLEAST8): Likewise.
32013         [C99-based-standards] (PRIoLEAST8): Likewise.
32014         [C99-based-standards] (PRIuLEAST8): Likewise.
32015         [C99-based-standards] (PRIxLEAST8): Likewise.
32016         [C99-based-standards] (PRIXLEAST8): Likewise.
32017         [C99-based-standards] (SCNdLEAST8): Likewise.
32018         [C99-based-standards] (SCNiLEAST8): Likewise.
32019         [C99-based-standards] (SCNoLEAST8): Likewise.
32020         [C99-based-standards] (SCNuLEAST8): Likewise.
32021         [C99-based-standards] (SCNxLEAST8): Likewise.
32022         [C99-based-standards] (PRIdFAST8): Likewise.
32023         [C99-based-standards] (PRIiFAST8): Likewise.
32024         [C99-based-standards] (PRIoFAST8): Likewise.
32025         [C99-based-standards] (PRIuFAST8): Likewise.
32026         [C99-based-standards] (PRIxFAST8): Likewise.
32027         [C99-based-standards] (PRIXFAST8): Likewise.
32028         [C99-based-standards] (SCNdFAST8): Likewise.
32029         [C99-based-standards] (SCNiFAST8): Likewise.
32030         [C99-based-standards] (SCNoFAST8): Likewise.
32031         [C99-based-standards] (SCNuFAST8): Likewise.
32032         [C99-based-standards] (SCNxFAST8): Likewise.
32033         [C99-based-standards] (PRId16): Likewise.
32034         [C99-based-standards] (PRIi16): Likewise.
32035         [C99-based-standards] (PRIo16): Likewise.
32036         [C99-based-standards] (PRIu16): Likewise.
32037         [C99-based-standards] (PRIx16): Likewise.
32038         [C99-based-standards] (PRIX16): Likewise.
32039         [C99-based-standards] (SCNd16): Likewise.
32040         [C99-based-standards] (SCNi16): Likewise.
32041         [C99-based-standards] (SCNo16): Likewise.
32042         [C99-based-standards] (SCNu16): Likewise.
32043         [C99-based-standards] (SCNx16): Likewise.
32044         [C99-based-standards] (PRIdLEAST16): Likewise.
32045         [C99-based-standards] (PRIiLEAST16): Likewise.
32046         [C99-based-standards] (PRIoLEAST16): Likewise.
32047         [C99-based-standards] (PRIuLEAST16): Likewise.
32048         [C99-based-standards] (PRIxLEAST16): Likewise.
32049         [C99-based-standards] (PRIXLEAST16): Likewise.
32050         [C99-based-standards] (SCNdLEAST16): Likewise.
32051         [C99-based-standards] (SCNiLEAST16): Likewise.
32052         [C99-based-standards] (SCNoLEAST16): Likewise.
32053         [C99-based-standards] (SCNuLEAST16): Likewise.
32054         [C99-based-standards] (SCNxLEAST16): Likewise.
32055         [C99-based-standards] (PRIdFAST16): Likewise.
32056         [C99-based-standards] (PRIiFAST16): Likewise.
32057         [C99-based-standards] (PRIoFAST16): Likewise.
32058         [C99-based-standards] (PRIuFAST16): Likewise.
32059         [C99-based-standards] (PRIxFAST16): Likewise.
32060         [C99-based-standards] (PRIXFAST16): Likewise.
32061         [C99-based-standards] (SCNdFAST16): Likewise.
32062         [C99-based-standards] (SCNiFAST16): Likewise.
32063         [C99-based-standards] (SCNoFAST16): Likewise.
32064         [C99-based-standards] (SCNuFAST16): Likewise.
32065         [C99-based-standards] (SCNxFAST16): Likewise.
32066         [C99-based-standards] (PRId32): Likewise.
32067         [C99-based-standards] (PRIi32): Likewise.
32068         [C99-based-standards] (PRIo32): Likewise.
32069         [C99-based-standards] (PRIu32): Likewise.
32070         [C99-based-standards] (PRIx32): Likewise.
32071         [C99-based-standards] (PRIX32): Likewise.
32072         [C99-based-standards] (SCNd32): Likewise.
32073         [C99-based-standards] (SCNi32): Likewise.
32074         [C99-based-standards] (SCNo32): Likewise.
32075         [C99-based-standards] (SCNu32): Likewise.
32076         [C99-based-standards] (SCNx32): Likewise.
32077         [C99-based-standards] (PRIdLEAST32): Likewise.
32078         [C99-based-standards] (PRIiLEAST32): Likewise.
32079         [C99-based-standards] (PRIoLEAST32): Likewise.
32080         [C99-based-standards] (PRIuLEAST32): Likewise.
32081         [C99-based-standards] (PRIxLEAST32): Likewise.
32082         [C99-based-standards] (PRIXLEAST32): Likewise.
32083         [C99-based-standards] (SCNdLEAST32): Likewise.
32084         [C99-based-standards] (SCNiLEAST32): Likewise.
32085         [C99-based-standards] (SCNoLEAST32): Likewise.
32086         [C99-based-standards] (SCNuLEAST32): Likewise.
32087         [C99-based-standards] (SCNxLEAST32): Likewise.
32088         [C99-based-standards] (PRIdFAST32): Likewise.
32089         [C99-based-standards] (PRIiFAST32): Likewise.
32090         [C99-based-standards] (PRIoFAST32): Likewise.
32091         [C99-based-standards] (PRIuFAST32): Likewise.
32092         [C99-based-standards] (PRIxFAST32): Likewise.
32093         [C99-based-standards] (PRIXFAST32): Likewise.
32094         [C99-based-standards] (SCNdFAST32): Likewise.
32095         [C99-based-standards] (SCNiFAST32): Likewise.
32096         [C99-based-standards] (SCNoFAST32): Likewise.
32097         [C99-based-standards] (SCNuFAST32): Likewise.
32098         [C99-based-standards] (SCNxFAST32): Likewise.
32099         [C99-based-standards] (PRId64): Likewise.
32100         [C99-based-standards] (PRIi64): Likewise.
32101         [C99-based-standards] (PRIo64): Likewise.
32102         [C99-based-standards] (PRIu64): Likewise.
32103         [C99-based-standards] (PRIx64): Likewise.
32104         [C99-based-standards] (PRIX64): Likewise.
32105         [C99-based-standards] (SCNd64): Likewise.
32106         [C99-based-standards] (SCNi64): Likewise.
32107         [C99-based-standards] (SCNo64): Likewise.
32108         [C99-based-standards] (SCNu64): Likewise.
32109         [C99-based-standards] (SCNx64): Likewise.
32110         [C99-based-standards] (PRIdLEAST64): Likewise.
32111         [C99-based-standards] (PRIiLEAST64): Likewise.
32112         [C99-based-standards] (PRIoLEAST64): Likewise.
32113         [C99-based-standards] (PRIuLEAST64): Likewise.
32114         [C99-based-standards] (PRIxLEAST64): Likewise.
32115         [C99-based-standards] (PRIXLEAST64): Likewise.
32116         [C99-based-standards] (SCNdLEAST64): Likewise.
32117         [C99-based-standards] (SCNiLEAST64): Likewise.
32118         [C99-based-standards] (SCNoLEAST64): Likewise.
32119         [C99-based-standards] (SCNuLEAST64): Likewise.
32120         [C99-based-standards] (SCNxLEAST64): Likewise.
32121         [C99-based-standards] (PRIdFAST64): Likewise.
32122         [C99-based-standards] (PRIiFAST64): Likewise.
32123         [C99-based-standards] (PRIoFAST64): Likewise.
32124         [C99-based-standards] (PRIuFAST64): Likewise.
32125         [C99-based-standards] (PRIxFAST64): Likewise.
32126         [C99-based-standards] (PRIXFAST64): Likewise.
32127         [C99-based-standards] (SCNdFAST64): Likewise.
32128         [C99-based-standards] (SCNiFAST64): Likewise.
32129         [C99-based-standards] (SCNoFAST64): Likewise.
32130         [C99-based-standards] (SCNuFAST64): Likewise.
32131         [C99-based-standards] (SCNxFAST64): Likewise.
32132         [C99-based-standards] (PRIdMAX): Likewise.
32133         [C99-based-standards] (PRIiMAX): Likewise.
32134         [C99-based-standards] (PRIoMAX): Likewise.
32135         [C99-based-standards] (PRIuMAX): Likewise.
32136         [C99-based-standards] (PRIxMAX): Likewise.
32137         [C99-based-standards] (PRIXMAX): Likewise.
32138         [C99-based-standards] (SCNdMAX): Likewise.
32139         [C99-based-standards] (SCNiMAX): Likewise.
32140         [C99-based-standards] (SCNoMAX): Likewise.
32141         [C99-based-standards] (SCNuMAX): Likewise.
32142         [C99-based-standards] (SCNxMAX): Likewise.
32143         [C99-based-standards] (PRIdPTR): Likewise.
32144         [C99-based-standards] (PRIiPTR): Likewise.
32145         [C99-based-standards] (PRIoPTR): Likewise.
32146         [C99-based-standards] (PRIuPTR): Likewise.
32147         [C99-based-standards] (PRIxPTR): Likewise.
32148         [C99-based-standards] (PRIXPTR): Likewise.
32149         [C99-based-standards] (SCNdPTR): Likewise.
32150         [C99-based-standards] (SCNiPTR): Likewise.
32151         [C99-based-standards] (SCNoPTR): Likewise.
32152         [C99-based-standards] (SCNuPTR): Likewise.
32153         [C99-based-standards] (SCNxPTR): Likewise.
32154         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32155         allow.
32156         * conform/data/stdint.h-data: Update comments to clarify
32157         requirements.
32158         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32159         type.
32160         [C99-based standards] (INT8_MAX): Likewise.
32161         [C99-based standards] (INT16_MIN): Likewise.
32162         [C99-based standards] (INT16_MAX): Likewise.
32163         [C99-based standards] (INT32_MIN): Likewise.
32164         [C99-based standards] (INT32_MAX): Likewise.
32165         [C99-based standards] (INT64_MIN): Likewise.
32166         [C99-based standards] (INT64_MAX): Likewise.
32167         [C99-based standards] (UINT8_MAX): Likewise.
32168         [C99-based standards] (UINT16_MAX): Likewise.
32169         [C99-based standards] (UINT32_MAX): Likewise.
32170         [C99-based standards] (UINT64_MAX): Likewise.
32171         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32172         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32173         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32174         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32175         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32176         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32177         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32178         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32179         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32180         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32181         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32182         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32183         [C99-based standards] (INT_FAST8_MIN): Likewise.
32184         [C99-based standards] (INT_FAST8_MAX): Likewise.
32185         [C99-based standards] (INT_FAST16_MIN): Likewise.
32186         [C99-based standards] (INT_FAST16_MAX): Likewise.
32187         [C99-based standards] (INT_FAST32_MIN): Likewise.
32188         [C99-based standards] (INT_FAST32_MAX): Likewise.
32189         [C99-based standards] (INT_FAST64_MIN): Likewise.
32190         [C99-based standards] (INT_FAST64_MAX): Likewise.
32191         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32192         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32193         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32194         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32195         [C99-based standards] (INTPTR_MIN): Likewise.
32196         [C99-based standards] (INTPTR_MAX): Likewise.
32197         [C99-based standards] (UINTPTR_MAX): Likewise.
32198         [C99-based standards] (INTMAX_MIN): Likewise.
32199         [C99-based standards] (INTMAX_MAX): Likewise.
32200         [C99-based standards] (UINTMAX_MAX): Likewise.
32201         [C99-based standards] (PTRDIFF_MIN): Likewise.
32202         [C99-based standards] (PTRDIFF_MAX): Likewise.
32203         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32204         [C99-based standards] (SIZE_MAX): Likewise.
32205         [C99-based standards] (WCHAR_MAX): Likewise.
32206         [C99-based standards] (WINT_MAX): Likewise.
32207         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32208         constraint on value.
32209         [C99-based standards] (WCHAR_MIN): Likewise.
32210         [C99-based standards] (WINT_MIN): Likewise.
32211         [C99-based standards] (*_t): Allow.
32212         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32213         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32214         Include math.h-data and complex.h-data.  Remove all expectations
32215         of math.h and complex.h contents.
32216         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32217         at end of line.
32218         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32219         (struct tm): Expect tag.
32220         [C99-based-standards] (wcstof): Expect function.
32221         [C99-based-standards] (wcstold): Likewise.
32222         [C99-based-standards] (wcstoll): Likewise.
32223         [C99-based-standards] (wcstoull): Likewise.
32224         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32225         macro-int-constant.  Specify type.
32226         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32227         constraint on value.
32228         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32229         Specify type.
32230         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32231         Specify value.
32232         [ISO C standards]: Do not allow headers.
32233         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32234         wcs[abcdefghijklmnopqrstuvwxyz]*.
32235         [ISO C standards] (*_t): Do not allow.
32236         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32237         Expect function.
32238         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32239         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32240         Specify type.
32241         [ISO C standards]: Do not allow headers.
32242         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32243         is[abcdefghijklmnopqrstuvwxyz]*.
32244         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32245         to[abcdefghijklmnopqrstuvwxyz]*.
32246         [ISO C standards] (*_t): Do not allow.
32247         * conform/data/stdalign.h-data: New file.
32248         * conform/data/stdbool.h-data: Likewise.
32249         * conform/data/stdnoreturn.h-data: Likewise.
32250
32251 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32252
32253         [BZ #14815]
32254         * manual/filesys.texi (Directory Entries): Typo fix.
32255         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32256
32257 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32258
32259         * elf/elf.h (EM_AARCH64): New macro.
32260         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32261         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32262         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32263         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32264         (R_AARCH64_TLSDESC): Likewise.
32265         (NT_ARM_TLS): Likewise.
32266         (NT_ARM_HW_BREAK): Likewise.
32267         (NT_ARM_HW_WATCH): Likewise.
32268
32269 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32270
32271         [BZ #14811]
32272         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32273         (__ieee754_powl): Saturate nonzero exponents with absolute value
32274         below 0x1p-79 to +/- 0x1p-79.
32275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32276         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32277         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32278         nonzero exponents with absolute value below 0x1p-32 to +/-
32279         0x1p-32.
32280         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32281         (__ieee754_powl): Saturate nonzero exponents with absolute value
32282         below 0x1p-79 to +/- 0x1p-79.
32283         * math/libm-test.inc (pow_test): Add more tests.
32284
32285 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32286
32287         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32288         _dl_s390_cap_flags with kernel. Increase string length.
32289         (_dl_s390_platforms): Add z196 and zEC12.
32290
32291 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32292
32293         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32294         Change XOPEN21K to XOPEN2K.
32295
32296 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32297
32298         * string/memmove.c: Use memcpy when possible.
32299
32300 2012-11-06  Andreas Jaeger  <aj@suse.de>
32301
32302         * po/eo.po: Update from translation team.
32303
32304 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32305
32306         [BZ #14793]
32307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32308         exponent and small x and y exponents, scale x or y up.  Increase
32309         by 2 the exponent used in scaling up.
32310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32312         * math/libm-test.inc (fma_test): Add more tests.
32313         (fma_test_towardzero): Likewise.
32314         (fma_test_downward): Likewise.
32315         (fma_test_upward): Likewise.
32316
32317 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32318
32319         [BZ #14805]
32320         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32321         fenv_t *.
32322
32323         [BZ #14801]
32324         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32325         namespace for names of struct fields.
32326         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32327         fenv_t fields.
32328         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32329         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32330
32331 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32332
32333         [BZ #3665]
32334         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32335
32336 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32337
32338         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32339         PTR_DEMANGLE.
32340
32341         [BZ #5246]
32342         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32343         PTR_DEMANGLE.
32344
32345 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32346
32347         [BZ #14797]
32348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32349         definitely overflow as x * y not x * y + z.
32350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32352         * math/libm-test.inc (fma_test): Add more tests.
32353         (fma_test_towardzero): Likewise.
32354         (fma_test_downward): Likewise.
32355         (fma_test_upward): Likewise.
32356
32357 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32358
32359         [BZ #157]
32360
32361         * include/stub-tag.h: Remove file.
32362         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32363         '#include' of it.
32364         * manual/maint.texi (Porting): Don't reference it.
32365         * Makerules ($(objpfx)stubs): Likewise.
32366         * dirent/closedir.c: Don't include <stub-tag.h>.
32367         * dirent/dirfd.c: Likewise.
32368         * dirent/fdopendir.c: Likewise.
32369         * dirent/getdents.c: Likewise.
32370         * dirent/getdents64.c: Likewise.
32371         * dirent/opendir.c: Likewise.
32372         * dirent/readdir.c: Likewise.
32373         * dirent/readdir64.c: Likewise.
32374         * dirent/readdir64_r.c: Likewise.
32375         * dirent/readdir_r.c: Likewise.
32376         * dirent/rewinddir.c: Likewise.
32377         * dirent/seekdir.c: Likewise.
32378         * dirent/telldir.c: Likewise.
32379         * gmon/profil.c: Likewise.
32380         * grp/setgroups.c: Likewise.
32381         * inet/if_index.c: Likewise.
32382         * io/access.c: Likewise.
32383         * io/chdir.c: Likewise.
32384         * io/chmod.c: Likewise.
32385         * io/chown.c: Likewise.
32386         * io/close.c: Likewise.
32387         * io/dup.c: Likewise.
32388         * io/dup2.c: Likewise.
32389         * io/dup3.c: Likewise.
32390         * io/euidaccess.c: Likewise.
32391         * io/faccessat.c: Likewise.
32392         * io/fchdir.c: Likewise.
32393         * io/fchmod.c: Likewise.
32394         * io/fchmodat.c: Likewise.
32395         * io/fchown.c: Likewise.
32396         * io/fchownat.c: Likewise.
32397         * io/fcntl.c: Likewise.
32398         * io/flock.c: Likewise.
32399         * io/fstatfs.c: Likewise.
32400         * io/fstatfs64.c: Likewise.
32401         * io/fstatvfs.c: Likewise.
32402         * io/fstatvfs64.c: Likewise.
32403         * io/futimens.c: Likewise.
32404         * io/fxstat.c: Likewise.
32405         * io/fxstat64.c: Likewise.
32406         * io/fxstatat.c: Likewise.
32407         * io/fxstatat64.c: Likewise.
32408         * io/getcwd.c: Likewise.
32409         * io/isatty.c: Likewise.
32410         * io/lchmod.c: Likewise.
32411         * io/lchown.c: Likewise.
32412         * io/link.c: Likewise.
32413         * io/linkat.c: Likewise.
32414         * io/lseek.c: Likewise.
32415         * io/lseek64.c: Likewise.
32416         * io/lxstat64.c: Likewise.
32417         * io/mkdir.c: Likewise.
32418         * io/mkdirat.c: Likewise.
32419         * io/mkfifo.c: Likewise.
32420         * io/mkfifoat.c: Likewise.
32421         * io/open.c: Likewise.
32422         * io/open64.c: Likewise.
32423         * io/openat.c: Likewise.
32424         * io/openat64.c: Likewise.
32425         * io/pipe.c: Likewise.
32426         * io/pipe2.c: Likewise.
32427         * io/poll.c: Likewise.
32428         * io/posix_fadvise.c: Likewise.
32429         * io/posix_fadvise64.c: Likewise.
32430         * io/posix_fallocate.c: Likewise.
32431         * io/posix_fallocate64.c: Likewise.
32432         * io/read.c: Likewise.
32433         * io/readlink.c: Likewise.
32434         * io/readlinkat.c: Likewise.
32435         * io/rmdir.c: Likewise.
32436         * io/sendfile.c: Likewise.
32437         * io/sendfile64.c: Likewise.
32438         * io/statfs.c: Likewise.
32439         * io/statfs64.c: Likewise.
32440         * io/statvfs.c: Likewise.
32441         * io/statvfs64.c: Likewise.
32442         * io/symlink.c: Likewise.
32443         * io/symlinkat.c: Likewise.
32444         * io/ttyname.c: Likewise.
32445         * io/ttyname_r.c: Likewise.
32446         * io/umask.c: Likewise.
32447         * io/unlink.c: Likewise.
32448         * io/unlinkat.c: Likewise.
32449         * io/utime.c: Likewise.
32450         * io/utimensat.c: Likewise.
32451         * io/write.c: Likewise.
32452         * io/xmknod.c: Likewise.
32453         * io/xmknodat.c: Likewise.
32454         * io/xstat.c: Likewise.
32455         * io/xstat64.c: Likewise.
32456         * login/getpt.c: Likewise.
32457         * login/grantpt.c: Likewise.
32458         * login/unlockpt.c: Likewise.
32459         * math/e_acoshl.c: Likewise.
32460         * math/e_acosl.c: Likewise.
32461         * math/e_asinl.c: Likewise.
32462         * math/e_atan2l.c: Likewise.
32463         * math/e_atanhl.c: Likewise.
32464         * math/e_coshl.c: Likewise.
32465         * math/e_expl.c: Likewise.
32466         * math/e_fmodl.c: Likewise.
32467         * math/e_gammal_r.c: Likewise.
32468         * math/e_hypotl.c: Likewise.
32469         * math/e_j0l.c: Likewise.
32470         * math/e_j1l.c: Likewise.
32471         * math/e_jnl.c: Likewise.
32472         * math/e_lgammal_r.c: Likewise.
32473         * math/e_log10l.c: Likewise.
32474         * math/e_log2l.c: Likewise.
32475         * math/e_logl.c: Likewise.
32476         * math/e_powl.c: Likewise.
32477         * math/e_rem_pio2l.c: Likewise.
32478         * math/e_sinhl.c: Likewise.
32479         * math/e_sqrtl.c: Likewise.
32480         * math/fclrexcpt.c: Likewise.
32481         * math/fedisblxcpt.c: Likewise.
32482         * math/feenablxcpt.c: Likewise.
32483         * math/fegetenv.c: Likewise.
32484         * math/fegetexcept.c: Likewise.
32485         * math/fegetround.c: Likewise.
32486         * math/feholdexcpt.c: Likewise.
32487         * math/fesetenv.c: Likewise.
32488         * math/fesetround.c: Likewise.
32489         * math/feupdateenv.c: Likewise.
32490         * math/fgetexcptflg.c: Likewise.
32491         * math/fraiseexcpt.c: Likewise.
32492         * math/fsetexcptflg.c: Likewise.
32493         * math/ftestexcept.c: Likewise.
32494         * math/k_cosl.c: Likewise.
32495         * math/k_rem_pio2l.c: Likewise.
32496         * math/k_sinl.c: Likewise.
32497         * math/k_tanl.c: Likewise.
32498         * math/s_asinhl.c: Likewise.
32499         * math/s_atanl.c: Likewise.
32500         * math/s_cbrtl.c: Likewise.
32501         * math/s_erfl.c: Likewise.
32502         * math/s_expm1l.c: Likewise.
32503         * math/s_log1pl.c: Likewise.
32504         * math/s_tanhl.c: Likewise.
32505         * misc/acct.c: Likewise.
32506         * misc/brk.c: Likewise.
32507         * misc/chflags.c: Likewise.
32508         * misc/chroot.c: Likewise.
32509         * misc/fchflags.c: Likewise.
32510         * misc/fgetxattr.c: Likewise.
32511         * misc/flistxattr.c: Likewise.
32512         * misc/fremovexattr.c: Likewise.
32513         * misc/fsetxattr.c: Likewise.
32514         * misc/fsync.c: Likewise.
32515         * misc/ftruncate.c: Likewise.
32516         * misc/futimes.c: Likewise.
32517         * misc/futimesat.c: Likewise.
32518         * misc/getdomain.c: Likewise.
32519         * misc/getdtsz.c: Likewise.
32520         * misc/gethostid.c: Likewise.
32521         * misc/gethostname.c: Likewise.
32522         * misc/getloadavg.c: Likewise.
32523         * misc/getpagesize.c: Likewise.
32524         * misc/getsysstats.c: Likewise.
32525         * misc/getxattr.c: Likewise.
32526         * misc/gtty.c: Likewise.
32527         * misc/ioctl.c: Likewise.
32528         * misc/lgetxattr.c: Likewise.
32529         * misc/listxattr.c: Likewise.
32530         * misc/llistxattr.c: Likewise.
32531         * misc/lremovexattr.c: Likewise.
32532         * misc/lsetxattr.c: Likewise.
32533         * misc/lutimes.c: Likewise.
32534         * misc/madvise.c: Likewise.
32535         * misc/mincore.c: Likewise.
32536         * misc/mlock.c: Likewise.
32537         * misc/mlockall.c: Likewise.
32538         * misc/mmap.c: Likewise.
32539         * misc/mprotect.c: Likewise.
32540         * misc/msync.c: Likewise.
32541         * misc/munlock.c: Likewise.
32542         * misc/munlockall.c: Likewise.
32543         * misc/munmap.c: Likewise.
32544         * misc/preadv.c: Likewise.
32545         * misc/preadv64.c: Likewise.
32546         * misc/ptrace.c: Likewise.
32547         * misc/pwritev.c: Likewise.
32548         * misc/pwritev64.c: Likewise.
32549         * misc/readv.c: Likewise.
32550         * misc/reboot.c: Likewise.
32551         * misc/remap_file_pages.c: Likewise.
32552         * misc/removexattr.c: Likewise.
32553         * misc/revoke.c: Likewise.
32554         * misc/select.c: Likewise.
32555         * misc/setdomain.c: Likewise.
32556         * misc/setegid.c: Likewise.
32557         * misc/seteuid.c: Likewise.
32558         * misc/sethostid.c: Likewise.
32559         * misc/sethostname.c: Likewise.
32560         * misc/setregid.c: Likewise.
32561         * misc/setreuid.c: Likewise.
32562         * misc/setxattr.c: Likewise.
32563         * misc/sstk.c: Likewise.
32564         * misc/stty.c: Likewise.
32565         * misc/swapoff.c: Likewise.
32566         * misc/swapon.c: Likewise.
32567         * misc/sync.c: Likewise.
32568         * misc/syncfs.c: Likewise.
32569         * misc/syscall.c: Likewise.
32570         * misc/truncate.c: Likewise.
32571         * misc/ualarm.c: Likewise.
32572         * misc/usleep.c: Likewise.
32573         * misc/ustat.c: Likewise.
32574         * misc/utimes.c: Likewise.
32575         * misc/vhangup.c: Likewise.
32576         * misc/writev.c: Likewise.
32577         * posix/_exit.c: Likewise.
32578         * posix/alarm.c: Likewise.
32579         * posix/execve.c: Likewise.
32580         * posix/fexecve.c: Likewise.
32581         * posix/fork.c: Likewise.
32582         * posix/fpathconf.c: Likewise.
32583         * posix/getaddrinfo.c: Likewise.
32584         * posix/getegid.c: Likewise.
32585         * posix/geteuid.c: Likewise.
32586         * posix/getgid.c: Likewise.
32587         * posix/getgroups.c: Likewise.
32588         * posix/getlogin.c: Likewise.
32589         * posix/getlogin_r.c: Likewise.
32590         * posix/getpgid.c: Likewise.
32591         * posix/getpid.c: Likewise.
32592         * posix/getppid.c: Likewise.
32593         * posix/getresgid.c: Likewise.
32594         * posix/getresuid.c: Likewise.
32595         * posix/getsid.c: Likewise.
32596         * posix/getuid.c: Likewise.
32597         * posix/glob64.c: Likewise.
32598         * posix/nanosleep.c: Likewise.
32599         * posix/pathconf.c: Likewise.
32600         * posix/pause.c: Likewise.
32601         * posix/posix_madvise.c: Likewise.
32602         * posix/pread.c: Likewise.
32603         * posix/pread64.c: Likewise.
32604         * posix/pwrite.c: Likewise.
32605         * posix/pwrite64.c: Likewise.
32606         * posix/sched_getaffinity.c: Likewise.
32607         * posix/sched_getp.c: Likewise.
32608         * posix/sched_gets.c: Likewise.
32609         * posix/sched_primax.c: Likewise.
32610         * posix/sched_primin.c: Likewise.
32611         * posix/sched_rr_gi.c: Likewise.
32612         * posix/sched_setaffinity.c: Likewise.
32613         * posix/sched_setp.c: Likewise.
32614         * posix/sched_sets.c: Likewise.
32615         * posix/sched_yield.c: Likewise.
32616         * posix/setgid.c: Likewise.
32617         * posix/setlogin.c: Likewise.
32618         * posix/setpgid.c: Likewise.
32619         * posix/setresgid.c: Likewise.
32620         * posix/setresuid.c: Likewise.
32621         * posix/setsid.c: Likewise.
32622         * posix/setuid.c: Likewise.
32623         * posix/sleep.c: Likewise.
32624         * posix/spawni.c: Likewise.
32625         * posix/sysconf.c: Likewise.
32626         * posix/times.c: Likewise.
32627         * posix/wait.c: Likewise.
32628         * posix/wait3.c: Likewise.
32629         * posix/wait4.c: Likewise.
32630         * posix/waitpid.c: Likewise.
32631         * resolv/gai_sigqueue.c: Likewise.
32632         * resource/getpriority.c: Likewise.
32633         * resource/getrlimit.c: Likewise.
32634         * resource/getrusage.c: Likewise.
32635         * resource/nice.c: Likewise.
32636         * resource/setpriority.c: Likewise.
32637         * resource/setrlimit.c: Likewise.
32638         * resource/ulimit.c: Likewise.
32639         * rt/aio_cancel.c: Likewise.
32640         * rt/aio_fsync.c: Likewise.
32641         * rt/aio_read.c: Likewise.
32642         * rt/aio_sigqueue.c: Likewise.
32643         * rt/aio_suspend.c: Likewise.
32644         * rt/aio_write.c: Likewise.
32645         * rt/clock_getres.c: Likewise.
32646         * rt/clock_gettime.c: Likewise.
32647         * rt/clock_nanosleep.c: Likewise.
32648         * rt/clock_settime.c: Likewise.
32649         * rt/lio_listio.c: Likewise.
32650         * rt/mq_close.c: Likewise.
32651         * rt/mq_getattr.c: Likewise.
32652         * rt/mq_notify.c: Likewise.
32653         * rt/mq_open.c: Likewise.
32654         * rt/mq_receive.c: Likewise.
32655         * rt/mq_send.c: Likewise.
32656         * rt/mq_setattr.c: Likewise.
32657         * rt/mq_timedreceive.c: Likewise.
32658         * rt/mq_timedsend.c: Likewise.
32659         * rt/mq_unlink.c: Likewise.
32660         * rt/shm_open.c: Likewise.
32661         * rt/shm_unlink.c: Likewise.
32662         * rt/timer_create.c: Likewise.
32663         * rt/timer_delete.c: Likewise.
32664         * rt/timer_getoverr.c: Likewise.
32665         * rt/timer_gettime.c: Likewise.
32666         * rt/timer_settime.c: Likewise.
32667         * setjmp/__longjmp.c: Likewise.
32668         * setjmp/setjmp.c: Likewise.
32669         * signal/kill.c: Likewise.
32670         * signal/killpg.c: Likewise.
32671         * signal/raise.c: Likewise.
32672         * signal/sigaction.c: Likewise.
32673         * signal/sigaltstack.c: Likewise.
32674         * signal/sigblock.c: Likewise.
32675         * signal/sigignore.c: Likewise.
32676         * signal/sigintr.c: Likewise.
32677         * signal/signal.c: Likewise.
32678         * signal/sigpause.c: Likewise.
32679         * signal/sigpending.c: Likewise.
32680         * signal/sigqueue.c: Likewise.
32681         * signal/sigreturn.c: Likewise.
32682         * signal/sigset.c: Likewise.
32683         * signal/sigsetmask.c: Likewise.
32684         * signal/sigstack.c: Likewise.
32685         * signal/sigsuspend.c: Likewise.
32686         * signal/sigtimedwait.c: Likewise.
32687         * signal/sigvec.c: Likewise.
32688         * signal/sigwait.c: Likewise.
32689         * signal/sigwaitinfo.c: Likewise.
32690         * signal/sysv_signal.c: Likewise.
32691         * socket/accept.c: Likewise.
32692         * socket/accept4.c: Likewise.
32693         * socket/bind.c: Likewise.
32694         * socket/connect.c: Likewise.
32695         * socket/getpeername.c: Likewise.
32696         * socket/getsockname.c: Likewise.
32697         * socket/getsockopt.c: Likewise.
32698         * socket/isfdtype.c: Likewise.
32699         * socket/listen.c: Likewise.
32700         * socket/recv.c: Likewise.
32701         * socket/recvfrom.c: Likewise.
32702         * socket/recvmsg.c: Likewise.
32703         * socket/send.c: Likewise.
32704         * socket/sendmsg.c: Likewise.
32705         * socket/sendto.c: Likewise.
32706         * socket/setsockopt.c: Likewise.
32707         * socket/shutdown.c: Likewise.
32708         * socket/sockatmark.c: Likewise.
32709         * socket/socket.c: Likewise.
32710         * socket/socketpair.c: Likewise.
32711         * stdio-common/ctermid.c: Likewise.
32712         * stdio-common/cuserid.c: Likewise.
32713         * stdio-common/remove.c: Likewise.
32714         * stdio-common/rename.c: Likewise.
32715         * stdio-common/renameat.c: Likewise.
32716         * stdio-common/tempname.c: Likewise.
32717         * stdlib/getcontext.c: Likewise.
32718         * stdlib/makecontext.c: Likewise.
32719         * stdlib/setcontext.c: Likewise.
32720         * stdlib/swapcontext.c: Likewise.
32721         * stdlib/system.c: Likewise.
32722         * streams/fattach.c: Likewise.
32723         * streams/fdetach.c: Likewise.
32724         * streams/getmsg.c: Likewise.
32725         * streams/getpmsg.c: Likewise.
32726         * streams/putmsg.c: Likewise.
32727         * streams/putpmsg.c: Likewise.
32728         * sysdeps/unix/bsd/getpt.c: Likewise.
32729         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32730         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32731         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32733         Likewise.
32734         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32735         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32736         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32737         * sysvipc/msgctl.c: Likewise.
32738         * sysvipc/msgget.c: Likewise.
32739         * sysvipc/msgrcv.c: Likewise.
32740         * sysvipc/msgsnd.c: Likewise.
32741         * sysvipc/semctl.c: Likewise.
32742         * sysvipc/semget.c: Likewise.
32743         * sysvipc/semop.c: Likewise.
32744         * sysvipc/semtimedop.c: Likewise.
32745         * sysvipc/shmat.c: Likewise.
32746         * sysvipc/shmctl.c: Likewise.
32747         * sysvipc/shmdt.c: Likewise.
32748         * sysvipc/shmget.c: Likewise.
32749         * termios/tcdrain.c: Likewise.
32750         * termios/tcflow.c: Likewise.
32751         * termios/tcflush.c: Likewise.
32752         * termios/tcgetattr.c: Likewise.
32753         * termios/tcgetpgrp.c: Likewise.
32754         * termios/tcsendbrk.c: Likewise.
32755         * termios/tcsetattr.c: Likewise.
32756         * termios/tcsetpgrp.c: Likewise.
32757         * time/adjtime.c: Likewise.
32758         * time/clock.c: Likewise.
32759         * time/getitimer.c: Likewise.
32760         * time/gettimeofday.c: Likewise.
32761         * time/setitimer.c: Likewise.
32762         * time/settimeofday.c: Likewise.
32763         * time/stime.c: Likewise.
32764         * time/time.c: Likewise.
32765
32766 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32767
32768         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32769         /usr/old/bin.
32770
32771         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32772         instead of spaces.
32773         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32774
32775 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32776
32777         [BZ #14796]
32778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32779         FE_TONEAREST before applying Dekker multiplication and Knuth
32780         addition.  Clear inexact exceptions and check for exact zero
32781         results afterwards.
32782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32785         * math/libm-test.inc (fma_test): Add more tests.
32786         (fma_test_towardzero): Likewise.
32787         (fma_test_downward): Likewise.
32788         (fma_test_upward): Likewise.
32789         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32790         function.
32791         (libc_fesetround): New macro.
32792         (libc_fesetroundf): Likewise.
32793         (libc_fesetroundl): Likewise.
32794         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32795         function.
32796         (libc_fesetround_387): Likewise.
32797         (libc_fesetroundf): New macro.
32798         (libc_fesetround): Likewise.
32799         (libc_fesetroundl): Likewise.
32800         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32801         function.
32802         (libc_fesetroundf): New macro.
32803         (libc_fesetround): Likewise.
32804         (libc_fesetroundl): Likewise.
32805         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32806         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32807         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32808         libm_hidden_ver.
32809         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32810         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32811         libm_hidden_def.
32812         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32813         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32814         libm_hidden_ver.
32815         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32816         libm_hidden_def.
32817
32818         [BZ #3439]
32819         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32820         integer constant usable in #if and use that to give value to enum
32821         constant.
32822         (FE_DIVBYZERO): Likewise.
32823         (FE_UNDERFLOW): Likewise.
32824         (FE_OVERFLOW): Likewise.
32825         (FE_INVALID): Likewise.
32826         (FE_INVALID_SNAN): Likewise.
32827         (FE_INVALID_ISI): Likewise.
32828         (FE_INVALID_IDI): Likewise.
32829         (FE_INVALID_ZDZ): Likewise.
32830         (FE_INVALID_IMZ): Likewise.
32831         (FE_INVALID_COMPARE): Likewise.
32832         (FE_INVALID_SOFTWARE): Likewise.
32833         (FE_INVALID_SQRT): Likewise.
32834         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32835         (FE_TONEAREST): Likewise.
32836         (FE_TOWARDZERO): Likewise.
32837         (FE_UPWARD): Likewise.
32838         (FE_DOWNWARD): Likewise.
32839         * sysdeps/s390/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         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32849         (FE_UNDERFLOW): Likewise.
32850         (FE_OVERFLOW): Likewise.
32851         (FE_DIVBYZERO): Likewise.
32852         (FE_INVALID): Likewise.
32853         (FE_TONEAREST): Likewise.
32854         (FE_TOWARDZERO): Likewise.
32855         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32856         (FE_OVERFLOW): Likewise.
32857         (FE_UNDERFLOW): Likewise.
32858         (FE_DIVBYZERO): Likewise.
32859         (FE_INEXACT): Likewise.
32860         (FE_TONEAREST): Likewise.
32861         (FE_TOWARDZERO): Likewise.
32862         (FE_UPWARD): Likewise.
32863         (FE_DOWNWARD): Likewise.
32864         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32865         (FE_DIVBYZERO): Likewise.
32866         (FE_OVERFLOW): Likewise.
32867         (FE_UNDERFLOW): Likewise.
32868         (FE_INEXACT): Likewise.
32869         (FE_TONEAREST): Likewise.
32870         (FE_DOWNWARD): Likewise.
32871         (FE_UPWARD): Likewise.
32872         (FE_TOWARDZERO): Likewise.
32873
32874 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32875
32876         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32877
32878 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32879
32880         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32881         commands.  Quote $PWD.
32882         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32883         -x" by "export".
32884         (remove_newlines): Remove.
32885
32886 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32887
32888         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32889         * stdlib/stdlib.h (atof): Moved to ...
32890         * include/bits/stdlib-float.h: Here.  New file.
32891         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32892         * stdlib/bits/stdlib-float.h: New file.
32893         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32894         -mno-sse -mno-mmx.
32895         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32896         <xmmintrin.h>.
32897
32898 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32899
32900         * conform/conformtest.pl (@headers): Add fenv.h.
32901         * conform/data/fenv.h-data: New file.
32902         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32903         include of <math/fenv.h>.
32904
32905         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32906         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32907         && !UNIX98].  Enables tests for XOPEN2K8.
32908         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32909         POSIX2008]: Likewise.
32910
32911         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32912         (struct rusage): Do not expect type or its members.
32913
32914         [BZ #3439]
32915         * math/math.h (FP_NAN): Define macro to integer constant usable in
32916         #if and use that to give value to enum constant.
32917         (FP_INFINITE): Likewise.
32918         (FP_ZERO): Likewise.
32919         (FP_SUBNORMAL): Likewise.
32920         (FP_NORMAL): Likewise.
32921
32922 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32923
32924         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32925         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32926         arguments.
32927
32928 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32929
32930         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32931         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32932         autoconf-time if not.
32933         * configure.in: Remove AC_PREREQ.
32934
32935 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32936
32937         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32938         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32939         of the internal implementation.
32940
32941 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32942
32943         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32944         except include of <misc/sys/syslog.h>.
32945
32946 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32947
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32949         function returns with a NULL context exit with zero.
32950
32951 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32952
32953         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32954
32955 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32956
32957         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32958         (run_program_cmd): This.
32959         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32960         (tst_langinfo): New variable.  Use it.
32961
32962 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32963
32964         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32965         floating point opcodes.
32966
32967 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32968
32969         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32970         variable.
32971
32972         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32973
32974         * sysdeps/mach/hurd/powerpc: Remove directory.
32975         * sysdeps/mach/powerpc: Likewise.
32976
32977 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32978
32979         * scripts/check-local-headers.sh: Ignore c++ headers.
32980
32981 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32982
32983         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32984         __libc_cleanup_region_start argument.
32985
32986 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32987
32988         [BZ #14784]
32989         [BZ #14785]
32990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32991         x * y using scaling, not as x * y + z.
32992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32994         * math/libm-test.inc (fma_test): Add more tests.
32995         (fma_test_towardzero): Likewise.
32996         (fma_test_downward): Likewise.
32997         (fma_test_upward): Likewise.
32998
32999 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33000
33001         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33002
33003 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33004
33005         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33006         New variable.
33007
33008 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33009
33010         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33011
33012 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33013
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33015         Fix sort order.
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33017         Likewise.
33018
33019 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33020
33021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33022         Fix the order of the list for glibc 2.17.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33024         Likewise.
33025
33026 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33027
33028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33029
33030 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33031
33032         [BZ #14610]
33033         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33034         for low part of x being zero before using __atanl (y).
33035         * math/libm-test.inc (atan2_test): Add another test.
33036
33037         * manual/install.texi (Configuring and compiling): Document
33038         general use of test-wrapper and test-wrapper-env.
33039         * INSTALL: Regenerated.
33040
33041         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33042         (__fma): Do not extract and scale down low bits on after-rounding
33043         systems when result rounded to normal precision would have normal
33044         exponent.
33045         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33046         (__fmal): Do not extract and scale down low bits on after-rounding
33047         systems when result rounded to normal precision would have normal
33048         exponent.
33049         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33050         (__fmal): Do not extract and scale down low bits on after-rounding
33051         systems when result rounded to normal precision would have normal
33052         exponent.
33053         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33054         macro.
33055         (fma_test): Add more tests.
33056         (fma_test_towardzero): Likewise.
33057         (fma_test_downward): Likewise.
33058         (fma_test_upward): Likewise.
33059
33060 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33061
33062         * sysdeps/i386/tininess.h: Renamed to ...
33063         * sysdeps/x86/tininess.h: This.
33064         * sysdeps/x86_64/tininess.h: Removed.
33065
33066 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33067
33068         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33069         input.  Use $(build-program-cmd).
33070         ($(objpfx)tst-array1-static.out): Likewise.
33071         ($(objpfx)tst-array2.out): Likewise.
33072         ($(objpfx)tst-array3.out): Likewise.
33073         ($(objpfx)tst-array4.out): Likewise.
33074         ($(objpfx)tst-array5.out): Likewise.
33075         ($(objpfx)tst-array5-static.out): Likewise.
33076
33077 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33078
33079         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33080         if defined.
33081
33082         * nss/nsswitch.h (nss_interface_function): Provide new
33083         macro for use with NSS functions.
33084         * grp/initgroups.c: Use new macro.
33085         * nss/getXXbyYY.c: Likewise.
33086         * nss/getXXbyYY_r.c: Likewise.
33087         * nss/getXXent.c: Likewise.
33088         * nss/getXXent_r.c: Likewise.
33089         * sysdeps/posix/getaddrinfo.c: Likewise.
33090
33091 2012-10-30  Andreas Jaeger  <aj@suse.de>
33092
33093         * po/ru.po: Update Russion translation from translation project.
33094
33095 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33096
33097         [BZ #14152]
33098         [BZ #14783]
33099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33100         result and shift together with sticky bit instead of replicating
33101         round-to-nearest rounding.
33102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33104         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33105         missing underflow exceptions.
33106         (fma_test_towardzero): Add more tests.
33107         (fma_test_downward): Likewise.
33108         (fma_test_upward): Likewise.
33109
33110         [BZ #14047]
33111         * sysdeps/generic/tininess.h: New file.
33112         * sysdeps/i386/tininess.h: Likewise.
33113         * sysdeps/sh/tininess.h: Likewise.
33114         * sysdeps/x86_64/tininess.h: Likewise.
33115         * stdlib/tst-strtod-underflow.c: Likewise.
33116         * stdlib/tst-tininess.c: Likewise.
33117         * stdlib/strtod_l.c: Include <tininess.h>.
33118         (round_and_return): Do not set errno for exact underflow cases.
33119         Force an underflow exception when setting errno for underflow.
33120         Determine underflow based on rounding to normal precision if
33121         TININESS_AFTER_ROUNDING.
33122         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33123         ERANGE for exact underflow cases.
33124         * stdlib/Makefile (tests): Add tst-tininess and
33125         tst-strtod-underflow.
33126         ($(objpfx)tst-tininess): Use $(link-libm).
33127         ($(objpfx)tst-strtod-underflow): Likewise.
33128
33129 2012-10-30  Andreas Jaeger  <aj@suse.de>
33130
33131         [BZ#14767]
33132         * elf/Makefile (tests): Remove conditional for have-initfini-array
33133         since this is now always required and the variable does not exist
33134         anymore.
33135         (tests-static): Likewise.
33136         (modules-names): Likewise.
33137
33138         * po/eo.po: Add Esperanto translation from translation project.
33139
33140         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33141         merged with constructor/destructor.
33142         (init_array): Likewise.
33143         * elf/tst-array2dep.c (fini_array): Likewise.
33144         (init_array): Likewise.
33145
33146 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33147
33148         * manual/message.texi: Delete @cartouche tags.
33149
33150 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33151
33152         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33153         EOPNOTSUPP.
33154         * sysdeps/mach/hurd/fsync.c: Likewise.
33155
33156         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33157         [_POSIX_REALTIME_SIGNALS]: Change condition to
33158         [_POSIX_REALTIME_SIGNALS > 0].
33159
33160 2012-10-27  Andreas Jaeger  <aj@suse.de>
33161
33162         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33163         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33165         [__WORDSIZE != 64]: Likewise.
33166
33167 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33168
33169         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33170         *  iconvdata/tst-tables.sh: Likewise.
33171
33172 2012-10-25  David S. Miller  <davem@davemloft.net>
33173
33174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33175         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33176         of strtoull.
33177
33178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33179         ifunc-impl-list.c
33180         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33181         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33182         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33183         file.
33184
33185 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33186
33187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33188         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33189         __getdirentries.
33190
33191 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33192             Jim Blandy  <jimb@codesourcery.com>
33193
33194         * scripts/cross-test-ssh.sh: New file.
33195         * manual/install.texi (Configuring and compiling): Document use of
33196         cross-test-ssh.sh.
33197         * INSTALL: Regenerated.
33198
33199 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33200
33201         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33202         EOPNOTSUPP.
33203
33204 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33205
33206         * Makeconfig (run-program-prefix): Fix comment.
33207
33208 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33209             Jim Blandy  <jimb@codesourcery.com>
33210
33211         * Makeconfig (test-wrapper): New variable,
33212         (test-wrapper-env): Likewise.
33213         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33214         (run-built-tests): Define to yes.
33215         (run-program-prefix): Use $(test-wrapper).
33216         (built-program-cmd): Likewise.
33217         * Rules (make-test-out): Use $(test-wrapper-env) and
33218         $(host-built-program-cmd).
33219         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33220         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33221         tst-pathopt.sh.
33222         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33223         $(test-wrapper-env) to tst-rtld-load-self.sh.
33224         ($(objpfx)order2.out): Use $(test-wrapper).
33225         ($(objpfx)tst-initorder.out): Likewise.
33226         ($(objpfx)tst-initorder2.out): Likewise.
33227         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33228         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33229         (test_wrapper_env): New variable.  Use it to run ld.so.
33230         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33231         Use it to run ld.so.
33232         (test_wrapper_env): Likewise.
33233         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33234         $(test-wrapper) to run-iconv-test.sh.
33235         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33236         (ICONV): Use $test_wrapper.
33237         * posix/Makefile ($(objpfx)globtest.out): Pass
33238         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33239         globtest.sh, not $(run-program-prefix).
33240         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33241         (test_wrapper): Likewise.
33242         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33243         set together with run_via_rtld_prefix.
33244         (run_program_prefix): Define in terms of test_wrapper and
33245         run_via_rtld_prefix.
33246
33247 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33248
33249         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33250         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33251         Targets removed.
33252
33253         [BZ #14743]
33254         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33255         Declare __clock_getres, __clock_gettime, __clock_settime,
33256         __clock_nanosleep, and __clock_getcpuclockid.
33257         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33258         Remove librt_hidden_def (clock_gettime).
33259         * sysdeps/unix/clock_gettime.c: Likewise.
33260         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33261         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33262         * rt/clock_getres.c: Define __clock_getres as an alias.
33263         * sysdeps/posix/clock_getres.c: Likewise.
33264         * rt/clock_settime.c: Define __clock_settime as an alias.
33265         * sysdeps/unix/clock_settime.c: Likewise.
33266         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33267         * sysdeps/unix/clock_nanosleep.c: Likewise.
33268         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33269         * rt/clock-compat.c: New file.
33270         * rt/Makefile (librt-routines): Add clock-compat and move
33271         $(clock-routines) to ...
33272         (routines): ... here, new variable.
33273         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33274         Don't add get_clockfreq here.
33275         * rt/Versions (libc: GLIBC_2.17): New version set.
33276         Add clock_* symbols here.
33277         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33279         (GLIBC_2.17): Add clock_* symbols.
33280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33284         Likewise.
33285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33286         Likewise.
33287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33291         * NEWS: Mention the move.
33292
33293         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33294         Use __open, __read, __close rather than their public counterparts.
33295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33296         (__get_clockfreq_via_cpuinfo): Likewise.
33297         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33298         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33299
33300         * config.h.in (HAVE_IFUNC): New #undef.
33301         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33302         was successful.
33303         * configure: Regenerated.
33304
33305 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33306
33307         * configure.in: Move READELF check to start of file.
33308         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33309         libc_cv_asm_gnu_indirect_function in the process.
33310         * configure: Regenerated.
33311
33312 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33313
33314         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33315         send the output to /dev/null.
33316         (libc_cv_cc_with_libunwind): Likewise.
33317         (libc_cv_as_noexecstack): Likewise.
33318         * configure: Regenerate.
33319
33320 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33321
33322         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33323
33324         * posix/globtest.sh (TMPDIR): Do not set.
33325         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33326         (testout): Likewise.
33327
33328 2012-10-24  Andreas Jaeger  <aj@suse.de>
33329
33330         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33331         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33332         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33333         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33334         posix_fadvise64, posix_fallocate64.
33335
33336         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33337         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33338         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33339         Likewise.
33340         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33341         Likewise.
33342         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33343
33344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33345         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33346         <bits/fcntl-linux.h>.
33347         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33348
33349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33350         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33351         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33352         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33353         [__WORDSIZE != 64]: Likewise.
33354
33355 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33356
33357         * Makeconfig (run-built-tests): New variable.
33358         * Rules [$(cross-compiling) = yes]: Change condition to
33359         [$(run-built-tests) = no].
33360         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33361         to [$(run-built-tests) = yes].
33362         * elf/Makefile [$(cross-compiling) = no]: Likewise
33363         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33364         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33365         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33366         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33367         * io/Makefile [$(cross-compiling) = no]: Likewise.
33368         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33369         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33370         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33371         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33372         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33373         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33374         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33375         * string/Makefile [$(cross-compiling) = no]: Likewise.
33376
33377         * posix/Makefile ($(objpfx)globtest.out): Pass
33378         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33379         $(rtld-installed-name).
33380         * posix/globtest.sh (elf_objpfx): Remove variable.
33381         (rtld_installed_name): Likewise.
33382         (library_path): Likewise.
33383         (run_program_prefix): New variable.  Use for running globtest
33384         binary.
33385
33386 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33387             Joseph Myers  <joseph@codesourcery.com>
33388
33389         * Makeconfig (host-built-program-cmd): New variable.
33390         * elf/Makefile (tst-stackguard1-ARGS): Use
33391         $(host-built-program-cmd).
33392         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33393         (tst-spawn-ARGS): Likewise.
33394         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33395
33396 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33397             Jim Blandy  <jimb@codesourcery.com>
33398
33399         * Makeconfig (run-via-rtld-prefix): New variable.
33400         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33401         (built-program-cmd): Likewise.
33402
33403 2012-10-22  Andreas Jaeger  <aj@suse.de>
33404
33405         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33406         __O_RSYNC if it exists, otherwise to O_SYNC.
33407
33408 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33409             Joseph Myers  <joseph@codesourcery.com>
33410
33411         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33412         /dev/null.
33413         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33414         from /dev/null
33415         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33416         /dev/null.
33417
33418 2012-10-22  Andreas Jaeger  <aj@suse.de>
33419
33420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33421         Define always.
33422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33423
33424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33425         bits/fcntl-linux.h.
33426
33427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33428         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33429
33430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33431         to __O_LARGEFILE.
33432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33433         to __O_LARGEFILE.
33434
33435 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33436             Joseph Myers  <joseph@codesourcery.com>
33437
33438         * config.make.in (NM): New variable.
33439
33440 2012-10-21  Andreas Jaeger  <aj@suse.de>
33441
33442         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33443         definitions and declarations that are provided by
33444         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33445
33446 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33447
33448         [BZ #14683]
33449         * elf/Makefile (tests-static): Add tst-leaks1-static.
33450         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33451         ($(objpfx)tst-leaks1-static): New rule.
33452         ($(objpfx)tst-leaks1-static-mem): Likewise.
33453         (tst-leaks1-static-ENV): New macro.
33454         * elf/dl-open.c (dl_open_worker): Check the main application
33455         only if SHARED is defined.
33456         * elf/tst-leaks1-static.c: New file.
33457
33458 2012-10-20  Andreas Jaeger  <aj@suse.de>
33459
33460         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33461         generic values for Linux.
33462         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33463         and declarations that are provided by <bits/fcntl-linux.h> and
33464         include <bits/fcntl-linux.h>.
33465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33467
33468 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33469
33470         * io/fcntl.h: Move include of <bits/types.h> to the top and
33471         include it unconditionally.
33472
33473 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33474
33475         * wcsmbs/Makefile (tests-ifunc): New variable.
33476         (tests): Add $(tests-ifunc).
33477         * wcsmbs/test-wcschr-ifunc.c: New file.
33478         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33479         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33480         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33481         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33482         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33483
33484         * string/Makefile (tests-ifunc): New variable.
33485         (tests): Add $(tests-ifunc).
33486         * string/test-memccpy.c (TEST_NAME): New macro.
33487         * string/test-memchr.c (TEST_NAME): Likewise.
33488         * string/test-memcmp.c (TEST_NAME): Likewise.
33489         * string/test-memcpy.c (TEST_NAME): Likewise.
33490         * string/test-memmem.c (TEST_NAME): Likewise.
33491         * string/test-memmove.c (TEST_NAME): Likewise.
33492         * string/test-memset.c (TEST_NAME): Likewise.
33493         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33494         * string/test-stpcpy.c (TEST_NAME): Likewise.
33495         * string/test-stpncpy.c (TEST_NAME): Likewise.
33496         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33497         * string/test-strcasestr.c (TEST_NAME): Likewise.
33498         * string/test-strcat.c (TEST_NAME): Likewise.
33499         * string/test-strchr.c (TEST_NAME): Likewise.
33500         * string/test-strcmp.c(TEST_NAME): Likewise.
33501         * string/test-strcpy.c (TEST_NAME): Likewise.
33502         * string/test-strcspn.c (TEST_NAME): Likewise.
33503         * string/test-strlen.c (TEST_NAME): Likewise.
33504         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33505         * string/test-strncmp.c (TEST_NAME): Likewise.
33506         * string/test-strncpy.c (TEST_NAME): Likewise.
33507         * string/test-strnlen.c (TEST_NAME): Likewise.
33508         * string/test-strpbrk.c (TEST_NAME): Likewise.
33509         * string/test-strrchr.c (TEST_NAME): Likewise.
33510         * string/test-strspn.c (TEST_NAME): Likewise.
33511         * string/test-strstr.c (TEST_NAME): Likewise.
33512         * string/test-bcopy-ifunc.c: New file.
33513         * string/test-bzero-ifunc.c: Likewise.
33514         * string/test-memccpy-ifunc.c: Likewise.
33515         * string/test-memchr-ifunc.c: Likewise.
33516         * string/test-memcmp-ifunc.c: Likewise.
33517         * string/test-memcpy-ifunc.c: Likewise.
33518         * string/test-memmem-ifunc.c: Likewise.
33519         * string/test-memmove-ifunc.c: Likewise.
33520         * string/test-mempcpy-ifunc.c: Likewise.
33521         * string/test-memset-ifunc.c: Likewise.
33522         * string/test-rawmemchr-ifunc.c: Likewise.
33523         * string/test-stpcpy-ifunc.c: Likewise.
33524         * string/test-stpncpy-ifunc.c: Likewise.
33525         * string/test-strcasecmp-ifunc.c: Likewise.
33526         * string/test-strcasestr-ifunc.c: Likewise.
33527         * string/test-strcat-ifunc.c: Likewise.
33528         * string/test-strchr-ifunc.c: Likewise.
33529         * string/test-strchrnul-ifunc.c: Likewise.
33530         * string/test-strcmp-ifunc.c: Likewise.
33531         * string/test-strcpy-ifunc.c: Likewise.
33532         * string/test-strcspn-ifunc.c: Likewise.
33533         * string/test-strlen-ifunc.c: Likewise.
33534         * string/test-strncasecmp-ifunc.c: Likewise.
33535         * string/test-strncat-ifunc.c: Likewise.
33536         * string/test-strncmp-ifunc.c: Likewise.
33537         * string/test-strncpy-ifunc.c: Likewise.
33538         * string/test-strnlen-ifunc.c: Likewise.
33539         * string/test-strpbrk-ifunc.c: Likewise.
33540         * string/test-strrchr-ifunc.c: Likewise.
33541         * string/test-strspn-ifunc.c: Likewise.
33542         * string/test-strstr-ifunc.c: Likewise.
33543
33544         * debug/Makefile (tests-ifunc): New variable.
33545         (tests): Add $(tests-ifunc).
33546         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33547         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33548         * debug/test-stpcpy_chk-ifunc.c: New file.
33549         * debug/test-strcpy_chk-ifunc.c: Likewise.
33550
33551 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552
33553         [BZ #13601]
33554         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33555         header is not read in.
33556
33557 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33558
33559         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33560         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33561         directly.  Pass built executable to script as
33562         $(built-program-cmd).
33563         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33564         $testprogram without using LD_LIBRARY_PATH and $ldso.
33565
33566         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33567         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33568         $(rtld-installed-name).
33569         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33570         (rtld_installed_name): Likewise.
33571         (library_path): Likewise.
33572         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33573         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33574         $(run-program-prefix) to tst-tables.sh.
33575         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33576         it to run tst-table-from and tst-table-to.
33577         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33578         Pass it to tst-table.sh.
33579         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33580         $(run-program-prefix) to tst-gettext.sh.
33581         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33582         tst-translit.sh.
33583         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33584         tst-gettext2.sh.
33585         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33586         to run tst-gettext.
33587         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33588         to run tst-gettext2.
33589         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33590         to run tst-translit.
33591         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33592         $(run-program-prefix) to tst-mtrace.sh.
33593         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33594         to run tst-mtrace.
33595         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33596         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33597         $(rtld-installed-name).
33598         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33599         (rtld_installed_name): Likewise.
33600         (run_program_prefix): New variable.  Use it to run wordexp-test.
33601
33602         * Makeconfig (ARCH): Remove all definitions.
33603         (machine): Likewise.
33604         [ARCH]: Remove conditional code.
33605         [!objdir]: Give error.
33606         [!objdir] (objpfx): Remove.
33607         [!objdir] (common-objpfx): Likewise.
33608         [!objdir] (common-objdir): Likewise.
33609         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33610         AC_CONFIG_FILES call.
33611         * configure: Regenerated.
33612
33613         [BZ #13888]
33614         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33615         or TMPDIR.
33616         (testout): Likewise.
33617
33618         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33619         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33620         $(rtld-installed-name).
33621         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33622         (rtld_installed_name): Likwise.
33623         (runit): Remove function.
33624         (run_getconf): New variable,  Use it for running getconf binary.
33625
33626 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33627
33628         [BZ #14716]
33629         * string/test-memmem.c (check_result): New function.
33630         (do_one_test): Use it.
33631         (check1): New function.
33632         (test_main): Use it.
33633
33634 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33635
33636         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33637
33638 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33639
33640         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33641         (_G_LSEEK64): Likewise.
33642         (_G_MMAP64): Likewise.
33643         (_G_FSTAT64): Likewise.
33644         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33645         (_G_LSEEK64): Likewise.
33646         (_G_MMAP64): Likewise.
33647         (_G_FSTAT64): Likewise.
33648         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33649         unconditional.  Call __mmap64 directly.
33650         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33651         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33652         __lseek64 directly.
33653         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33654         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33655         __mmap64 directly.
33656         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33657         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33658         __lseek64 directly.
33659         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33660         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33661         __lseek64 directly.
33662         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33663         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33664         __lseek64 directly.
33665         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33666         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33667         __fxstat64 directly.
33668         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33669         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33670         unconditional.
33671         (freopen64) [!_G_OPEN64]: Remove conditional code.
33672         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33673         unconditional.
33674         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33675         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33676         unconditional.
33677         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33678         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33679         unconditional.
33680         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33681         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33682         unconditional.
33683         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33684         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33685         unconditional.
33686         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33687         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33688         unconditional.
33689         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33690         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33691         unconditional.
33692         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33693
33694 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33695
33696         [BZ #12140]
33697         * manual/memory.texi (Malloc Tunable Parameters): Add note
33698         about free list pointers overwriting some perturb bytes.
33699         Wording suggested by Roland McGrath.
33700
33701 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33702
33703         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33704         (lgamma_test): Likewise.
33705         (tgamma_test): Likewise.
33706
33707 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33708
33709         [BZ #14700]
33710         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33711         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33712
33713 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33714
33715         * NEWS: Mention BZ #14716.
33716         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33717         when removing AVAILABLE1_USES_J macro.
33718
33719 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33720
33721         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33722         (__bswap_64): __uint64_t for unsigned 64-bit int.
33723
33724 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33725
33726         * include/string.h (memmem): Declare libc hidden alias.
33727         * string/memmem.c (memmem): Define libc hidden alias.
33728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33729         __read, __close instead of open, read, close.
33730
33731 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33732
33733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33734         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33735         global and hidden.
33736         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33737         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33738         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33739         Likewise.
33740         (__rawmemchr_sse2): Likewise.
33741         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33742         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33743         (__strchr_sse2): Likewise.
33744         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33745         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33746         (__strcasecmp_sse2): Likewise.
33747         (__strncasecmp_sse2): Likewise.
33748         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33749         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33750         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33751         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33752         (__strrchr_sse2): Likewise.
33753         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33754         ifunc-impl-list.c.
33755         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33756         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33757         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33758         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33759         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33760         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33761         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33762         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33763         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33764         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33765         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33766         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33767         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33768         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33769         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33770         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33771         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33772         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33773         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33774         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33775         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33776         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33777         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33778         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33779         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33780         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33781         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33782         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33783         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33784         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33785
33786         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33787         global and hidden.
33788         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33789         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33790         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33791         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33792         Likewise.
33793         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33794         Likewise.
33795         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33796         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33797         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33798         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33799         ifunc-impl-list.c.
33800         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33801         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33802         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33803         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33804         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33805         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33806         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33807         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33808         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33809         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33810         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33811         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33812         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33813         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33814         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33816         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33817         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33818         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33819         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33820         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33821         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33822         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33823         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33824         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33825         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33826         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33827         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33828         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33829         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33830         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33831         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33832         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33833         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33834         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33835         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33836         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33837         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33838         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33839         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33840         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33841
33842         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33843         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33844         * include/ifunc-impl-list.h: New file.
33845         * misc/ifunc-impl-list.c: Likewise.
33846         * misc/Makefile (routines): Add ifunc-impl-list.
33847         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33848         * string/test-string.h: Include <ifunc-impl-list.h>.
33849         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33850         TEST_NAME]: New variables.
33851         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33852         are defined.
33853         (test_init): Call __libc_ifunc_impl_list to initialize
33854         func_list if TEST_IFUNC and TEST_NAME are defined.
33855
33856         * string/Makefile (strop-tests): Add bcopy and bzero.
33857         * string/test-bcopy.c: New file.
33858         * string/test-bzero.c: Likewise.
33859         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33860         defined.
33861         * string/test-memset.c: Support bzero test if TEST_BZERO is
33862         defined.
33863         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33864         __libc_memmove.
33865         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33866         __libc_memset.
33867         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33868         of memset.
33869
33870 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33871
33872         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33873         * configure: Regenerated.
33874
33875         * Makeconfig (+link-static-before-libc): Don't include
33876         $(link-static-libc).
33877
33878         * libio/libio.h (_IO_pos_t): Remove.
33879
33880 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33881
33882         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33883         McGrath.
33884
33885 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33886
33887         * crypt/crypt-entry.c: Include fips-private.h.
33888         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33889         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33890         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33891         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33892
33893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33894
33895         * crypt/crypt-private.h: Include stdbool.h.
33896         (_ufc_setup_salt_r): Return bool.
33897         * crypt/crypt-entry.c: Include errno.h.
33898         (__crypt_r): Return NULL with EINVAL for bad salt.
33899         * crypt/crypt_util.c (bad_for_salt): New.
33900         (_ufc_setup_salt_r): Check that salt is long enough and within
33901         the specified alphabet.
33902         * crypt/badsalttest.c: New file.
33903         * crypt/Makefile (tests): Add it.
33904         ($(objpfx)badsalttest): New.
33905
33906 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33907
33908         * NEWS: Add entry for BZ #14602.
33909
33910 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33911
33912         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33913         type-generic.
33914         * math/libm-test.inc: Update comment listing what functions and
33915         macros are tested.
33916         (isgreater_test): New function.
33917         (isgreaterequal_test): Likewise.
33918         (isless_test): Likewise.
33919         (islessequal_test): Likewise.
33920         (islessgreater_test): Likewise.
33921         (isunordered_test): Likewise.
33922         (main): Call the new functions.
33923
33924 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33925
33926         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33927         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33928         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33929         * sysdeps/i386/configure: Regenerated.
33930         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33931         * sysdeps/mach/configure: Regenerated.
33932         * sysdeps/mach/hurd/configure: Regenerated.
33933         * sysdeps/powerpc/configure: Regenerated.
33934         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33935         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33936         * sysdeps/s390/s390-32/configure: Regenerated.
33937         * sysdeps/s390/s390-64/configure: Regenerated.
33938         * sysdeps/sh/configure: Regenerated.
33939         * sysdeps/sparc/configure: Regenerated.
33940         * sysdeps/unix/sysv/linux/configure: Regenerated.
33941         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33942         * sysdeps/x86_64/configure: Regenerated.
33943
33944         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33945         defined.  Don't check if MAP is NULL.
33946
33947 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33948
33949         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33950         (_G_stat64): Likewise.
33951         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33952         (_G_stat64): Likewise.
33953         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33954         instead of struct _G_stat64.
33955         * libio/fileops.c (mmap_remap_check): Likewise.
33956         (decide_maybe_mmap): Likewise.
33957         (_IO_new_file_seekoff): Likewise.
33958         (_IO_file_stat): Likewise.
33959         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33960         _G_off64_t.
33961         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33962         instead of struct _G_stat64.
33963         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33964
33965 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33966
33967         [BZ #14602]
33968         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33969         Replace with ...
33970         (CHECK_EOL): New macro.
33971         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33972         CHECK_EOL.
33973         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33974         Replace with CHECK_EOL.
33975         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33976         Replace with CHECK_EOL.
33977
33978 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33979
33980         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33981         type-generic.
33982         * math/libm-test.inc: Update comment listing what functions and
33983         macros are tested.
33984         (finite_test): New function.
33985         (isinf_test): Likewise.
33986         (isnan_test): Likewise.
33987         (fpclassify_test): Test subnormal input.
33988         (isfinite_test): Likewise.
33989         (isnormal_test): Likewise.
33990         (main): Call the new functions.
33991
33992 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33993
33994         [BZ #14660]
33995         * Makerules (%.dynsym): Force C locale when running
33996         $(OBJDUMP) --dynamic-syms.
33997
33998 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33999
34000         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34001         <stdint.h>.
34002
34003 2012-10-06  David S. Miller  <davem@davemloft.net>
34004
34005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34006         upper 32-bits of the length value in %o2 since we use branch-on-register
34007         tests which consider the entire 64-bit register.
34008
34009 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34010
34011         * string/test-strstr.c (check2): Add a test for page boundary.
34012
34013 2012-10-05  David S. Miller  <davem@davemloft.net>
34014
34015         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34016         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34017         file.
34018         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34019         sysdep_routines.
34020         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34021         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34022         and bzero when HWCAP_SPARC_CRYPTO is present.
34023
34024 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34025
34026         [BZ #14602]
34027         * string/test-strstr.c (check2): New function.
34028         (test_main): Call check2.
34029
34030         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34031         and bug-strchr1.
34032         * string/bug-strcasestr1.c (do_test): Moved to ...
34033         * string/test-strcasestr.c (check1): Here.  New function.
34034         (do_one_test): Break out result checking code into ...
34035         (check_result): This.  New function.
34036         (do_one_test): Call check_result.
34037         (test_main): Call check1.
34038         * string/bug-strchr1.c (do_test): Moved to ...
34039         * string/test-strchr.c (check1): Here.  New function.
34040         (do_one_test): Break out result checking code into ...
34041         (check_result): This.  New function.
34042         (do_one_test): Call check_result.
34043         (test_main): Call check1.
34044         * string/bug-strstr1.c (main): Moved to ...
34045         * string/test-strstr.c (check1): Here.  New function.
34046         (do_one_test): Break out result checking code into ...
34047         (check_result): This.  New function.
34048         (do_one_test): Call check_result.
34049         (test_main): Call check1.
34050         * string/bug-strcasestr1.c: Removed.
34051         * string/bug-strchr1.c: Likewise.
34052         * string/bug-strstr1.c: Likewise.
34053
34054         * elf/Makefile (dl-routines): Add hwcaps.
34055         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34056         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34057         (_dl_important_hwcaps): Moved to ...
34058         * elf/dl-hwcaps.c: Here.  New file.
34059         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34060
34061         [BZ #14557]
34062         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34063         if IS_IN_rtld isn't defined.
34064
34065         * elf/dl-support.c (_dl_sysinfo_map): New.
34066         Include "get-dynamic-info.h" and "setup-vdso.h".
34067         (_dl_non_dynamic_init): Call setup_vdso.
34068         * elf/dynamic-link.h: Don't include <assert.h>.
34069         (elf_get_dynamic_info): Moved to ...
34070         * elf/get-dynamic-info.h: Here.  New file.
34071         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34072         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34073         * elf/setup-vdso.h: Here.  New file.
34074         * elf/rtld.c: Include "setup-vdso.h".
34075         (dl_main): Call setup_vdso.
34076
34077 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34078
34079         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34080         creal in comment listing functions tested.  List finite, isinf,
34081         isnan, isless, islessequal, isgreater, isgreaterequal,
34082         islessgreater, isunordered, lgamma_r and pow10 as functions and
34083         macros not tested.  Mention which functions not tested are aliases
34084         for other functions.  Fix typo.  Note that signs of NaNs are not
34085         tested.
34086
34087         * scripts/config.guess: Update from config.git.
34088         * scripts/config.sub: Likewise.
34089
34090 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34091
34092         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34093         * misc/madvise.c (madvise): Renamed to __madvise.
34094         Make madvise a weak alias.
34095         * include/sys/mman.h: Declare __madvise.
34096         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34097         * sysdeps/unix/syscalls.list
34098         (madvise): Make __madvise the strong name, and madvise a weak alias.
34099         * sysdeps/unix/sysv/linux/syscalls.list
34100         (madvise, mmap): Remove redundant entries.
34101         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34102         * malloc/malloc.c (mtrim): Likewise.
34103         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34104
34105 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34106
34107         * sysdeps/mach/hurd/dl-cache.c: File removed.
34108         * config.h.in (USE_LDCONFIG): New #undef.
34109         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34110         * configure: Regenerated.
34111         * elf/Makefile (dl-routines): Add dl-cache only under
34112         [$(use-ldconfig) = yes].
34113         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34114         cache on [USE_LDCONFIG].
34115         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34116         [USE_LDCONFIG].
34117         * elf/rtld.c (dl_main): Likewise.
34118
34119 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34120
34121         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34122         _SC_LEVEL4_CACHE_LINESIZE.
34123
34124 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34125
34126         * sysdeps/unix/bsd/confstr.h: File removed.
34127
34128 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34129
34130         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34131         sys/sdt-config.h.
34132
34133 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34134
34135         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34136         Make 'mapoff' field ElfW(Off) rather than off_t.
34137
34138 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34139
34140         * nscd/Makefile: Remove nscd-cflags and all its users.
34141         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34142         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34143
34144         [BZ #10631]
34145         * malloc.c (malloc_printerr): Clarify error message.
34146
34147 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34148
34149         [BZ #14648]
34150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34151         Set bit_FMA_Usable if FMA is supported.
34152         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34153         macro.
34154         (bit_FMA4_Usable): Updated.
34155         (index_FMA_Usable): New macro.
34156         (CPUID_FMA): Likewise
34157         (HAS_FMA): Defined with bit_FMA_Usable.
34158
34159 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34160
34161         * bits/types.h (__swblk_t): Type removed.
34162         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34163         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34164         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34165         (__SWBLK_T_TYPE): Likewise.
34166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34167         (__SWBLK_T_TYPE): Likewise.
34168         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34169         (__SWBLK_T_TYPE): Likewise.
34170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34171         (__SWBLK_T_TYPE): Likewise.
34172
34173 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34174             Honza Horak <hhorak@redhat.com>
34175
34176         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34177         (xdr_mapname): Use YPMAXMAP as maxsize.
34178         (xdr_peername): Use YPMAXPEER as maxsize.
34179         (xdr_keydat): Use YPAXRECORD as maxsize.
34180         (xdr_valdat): Use YPMAXRECORD as maxsize.
34181
34182 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34183
34184         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34185
34186         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34187         * csu/init-first.c: ... here.
34188         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34189         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34190         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34192         * sysdeps/i386/init-first.c: File removed.
34193         * sysdeps/sh/init-first.c: File removed.
34194
34195 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34196
34197         [BZ #14645]
34198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34199         if x * y might underflow to zero and z is zero.
34200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34202         * math/libm-test.inc (min_subnorm_value): New variable.
34203         (fma_test): Add more tests.
34204         (fma_test_towardzero): Likewise.
34205         (fma_test_downward): Likewise
34206         (fma_test_upward): Likewise.
34207         (initialize): Set min_subnorm_value.
34208
34209 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34210
34211         [BZ #14638]
34212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34213         0 + 0.
34214         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34215         mode for addition resulting in exact zero.
34216         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34218         exact 0 + 0.
34219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34221         * math/libm-test.inc (fma_test): Add more tests.
34222         (fma_test_towardzero): New function.
34223         (fma_test_downward): Likewise.
34224         (fma_test_upward): Likewise.
34225         (main): Call the new functions.
34226
34227 2012-09-28  David S. Miller  <davem@davemloft.net>
34228
34229         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34230
34231 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34232
34233         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34234         instead of SIGALRM.
34235
34236         * sysdeps/gnu/_G_config.h: Moved to ...
34237         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34238         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34239         * sysdeps/generic/_G_config.h: ... here.
34240
34241         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34242
34243         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34244
34245         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34246         Conditionalize target on [libnss_test1.so-version].
34247
34248         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34249
34250         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34251         (elfobjdir): Move out of conditionals.
34252
34253         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34254         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34255         (__nss_lookup_function): Conditionalize label remove_from_tree on
34256         [!DO_STATIC_NSS || SHARED], matching its only use.
34257
34258 2012-09-28  David S. Miller  <davem@davemloft.net>
34259
34260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34261         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34262         file.
34263         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34264         sysdep_routines.
34265         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34267         when HWCAP_SPARC_CRYPTO is present.
34268
34269 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34270
34271         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34272
34273 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34274
34275         [BZ #6530]
34276         * stdio-common/vfprintf.c (process_string_arg): Revert
34277         2000-07-22 change.
34278
34279 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34280
34281         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34282         for testcase.
34283         * stdio-common/tst-sprintf.c: Include <locale.h>
34284         (main): Test sprintf's handling of incomplete multibyte
34285         characters.
34286
34287 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34288
34289         * elf/dl-runtime.c (VERSYMIDX): Removed.
34290         * elf/dl-version.c (VERSYMIDX): Likewise.
34291         * elf/do-rel.h (VERSYMIDX): Likewise.
34292         (VALIDX): Likewise.
34293         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34294         * elf/rtld.c (VALIDX): Likewise.
34295         (ADDRIDX): Likewise.
34296         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34297         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34298         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34299         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34300         (VALIDX): Likewise.
34301         (ADDRIDX): Likewise.
34302
34303 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34304
34305         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34306
34307 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34308
34309         [BZ #11438]
34310         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34311         to global scope.
34312         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34313         addresses are in the same scope as 192.0.2/24.
34314         * posix/gai.conf: Document new scope table defaults.
34315
34316 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34317
34318         [BZ #5298]
34319         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34320         for ftell.  Compute offsets from write pointers instead.
34321         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34322
34323 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34324
34325         [BZ #14543]
34326         * libio/Makefile (tests): New test case tst-fseek.
34327         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34328         combination works in wide mode.
34329         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34330         state when the external buffer state changes.
34331
34332 2012-09-27  David S. Miller  <davem@davemloft.net>
34333
34334         [BZ #14376]
34335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34336         pass reloc->r_addend in as the 'high' argument to
34337         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34338
34339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34340
34341 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34342
34343         * rt/tst-aio2.c: Include <pthread.h>.
34344         * rt/tst-aio3.c: Likewise.
34345
34346 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34347
34348         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34349
34350 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34351
34352         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34353         contents on [SHARED].
34354
34355 2012-09-26  Marek Polacek  <polacek@redhat.com>
34356
34357         [BZ #14530]
34358         [BZ #13741]
34359         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34360         for C++ and GCC <4.3 as well as for non GCC compilers.
34361
34362 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34363
34364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34365
34366 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34367
34368         * Makefile.in (all, install): Declare with .PHONY.
34369         Reported by Michael Hope <michael.hope@linaro.org>.
34370
34371 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34372
34373         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34374         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34375         system header.
34376         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34377         Likewise.
34378         (sydep_routines): Add the new and the internal functions.
34379         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34380         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34382         (GLIBC_2.17): Add the new function.
34383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34384         (GLIBC_2.17): Likewise.
34385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34386         (GLIBC_2.17): Likewise.
34387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34388         (GLIBC_2.17): Likewise.
34389         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34390
34391 2012-09-25  Alan Modra  <amodra@gmail.com>
34392
34393         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34394         Add release barrier before setting once_control to say
34395         initialisation is done.  Add hints on lwarx.  Use macro in
34396         place of isync.
34397         (clear_once_control): Add release barrier.
34398
34399 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34400
34401         [BZ #13629]
34402         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34403         specially.
34404         * math/s_clog10.c (__clog10): Likewise.
34405         * math/s_clog10f.c (__clog10f): Likewise.
34406         * math/s_clog10l.c (__clog10l): Likewise.
34407         * math/s_clogf.c (__clogf): Likewise.
34408         * math/s_clogl.c (__clogl): Likewise.
34409         * math/Makefile (libm-calls): Add x2y2m1.
34410         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34411         (__x2y2m1): Likewise.
34412         (__x2y2m1l): Likewise.
34413         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34414         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34415         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34416         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34417         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34418         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34419         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34420         * sysdeps/i386/fpu/libm-test-ulps: Update.
34421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34422
34423         [BZ #14621]
34424         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34425         int as type of variable DEPTH.
34426         (glob): Use size_t instead of int as type of variables NEWCOUNT
34427         and OLD_PATHC.
34428
34429 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34430
34431         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34432         Add s_sincosf-sse2.
34433         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34434         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34435         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34436         macros for using routine as __sincosf_ia32.
34437         Use macro for function declaration and weak_alias.
34438         * sysdeps/i386/fpu/libm-test-ulps: Update.
34439
34440         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34442
34443         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34444         subnormal argument.
34445         * math/s_cexpf.c (__cexpf): Likewise.
34446         * math/s_csinf.c (__csinf): Likewise.
34447         * math/s_csinhf.c (__csinhf): Likewise.
34448         * math/s_ctanf.c (__ctanf): Likewise.
34449         * math/s_ctanhf.c (__ctanhf): Likewise.
34450         * math/s_ccosh.c (__ccoshf): Likewise.
34451         * math/s_cexp.c (__cexpl): Likewise.
34452         * math/s_csin.c (__csin): Likewise.
34453         * math/s_csinh.c (__csinh): Likewise.
34454         * math/s_ctan.c (__ctan): Likewise.
34455         * math/s_ctanh.c (ctanh): Likewise.
34456         * math/s_ccoshl.c (__ccoshl): Likewise.
34457         * math/s_cexpl.c (__cexpl): Likewise.
34458         * math/s_csinl.c (__csinl): Likewise.
34459         * math/s_csinhl.c (__csinhl): Likewise.
34460         * math/s_ctanl.c (__ctanl): Likewise.
34461         * math/s_ctanhl.c (__ctanhl): Likewise.
34462
34463 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34464
34465         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34466         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34467         (_IO_off_t): Define to __off_t, not _G_off_t.
34468         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34469         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34470         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34471         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34472         type of __dummy and __dummy2 fields.
34473         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34474         (_G_ssize_t): Likewise.
34475         (_G_off_t): Likewise.
34476         (_G_pid_t): Likewise.
34477         (_G_uid_t): Likewise.
34478         (_G_wchar_t): Likewise.
34479         (_G_wint_t): Likewise.
34480         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34481         (_G_ssize_t): Likewise.
34482         (_G_off_t): Likewise.
34483         (_G_pid_t): Likewise.
34484         (_G_uid_t): Likewise.
34485         (_G_wchar_t): Likewise.
34486         (_G_wint_t): Likewise.
34487         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34488         (_G_ssize_t): Likewise.
34489         (_G_off_t): Likewise.
34490         (_G_pid_t): Likewise.
34491         (_G_uid_t): Likewise.
34492         (_G_wchar_t): Likewise.
34493         (_G_wint_t): Likewise.
34494
34495 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34496
34497         * malloc/arena.c: Include malloc-sysdep.h.
34498         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34499         is sufficient to shrink the heap or an unmap is needed.
34500         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34501         new function check_may_shrink_heap.
34502         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34503         new function check_may_shrink_heap.
34504
34505 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34506
34507         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34508         comments.
34509
34510 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34511
34512         * catgets/test-gencat.sh: Add "set -e".
34513         * elf/tst-pathopt.sh: Likewise.
34514         * grp/tst_fgetgrent.sh: Likewise.
34515         * iconvdata/run-iconv-test.sh: Likewise.
34516         * intl/tst-gettext.sh: Likewise.
34517         * intl/tst-gettext2.sh: Likewise.
34518         * intl/tst-gettext4.sh: Likewise.
34519         * intl/tst-gettext6.sh: Likewise.
34520         * intl/tst-translit.sh: Likewise.
34521         * io/ftwtest-sh: Likewise.
34522         * libio/test-freopen.sh: Likewise.
34523         * malloc/tst-mtrace.sh: Likewise.
34524         * posix/globtest.sh: Likewise.
34525         * posix/tst-getconf.sh: Likewise.
34526         * posix/wordexp-tst.sh: Likewise.
34527         * stdio-common/tst-printf.sh: Likewise.
34528         * stdio-common/tst-unbputc.sh: Likewise.
34529         * stdlib/tst-fmtmsg.sh: Likewise.
34530         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34531         * catgets/Makefile: Do not specify -e option when running
34532         testsuite shell scripts.
34533         * elf/Makefile: Likewise.
34534         * grp/Makefile: Likewise.
34535         * iconvdata/Makefile: Likewise.
34536         * intl/Makefile: Likewise.
34537         * io/Makefile: Likewise.
34538         * libio/Makefile: Likewise.
34539         * malloc/Makefile: Likewise.
34540         * posix/Makefile: Likewise.
34541         * stdio-common/Makefile: Likewise.
34542         * stdlib/Makefile: Likewise.
34543         * sysdeps/x86_64/Makefile: Likewise.
34544
34545         * io/ftwtest-sh: Add copyright header.
34546         * posix/globtest.sh: Likewise.
34547         * posix/tst-getconf.sh: Likewise.
34548         * posix/wordexp-tst.sh: Likewise.
34549         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34550
34551 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34552
34553         [BZ #13679]
34554         * Makeconfig (+link): Defined as $(+link-static) if
34555         $(build-shared) isn't yes.
34556         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34557         isn't yes.
34558         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34559
34560         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34561
34562         [BZ #14562]
34563         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34564         new chunk size with MALLOC_ALIGN_MASK.
34565
34566 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34567
34568         [BZ #5044]
34569         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34570         <rounding-mode.h>.
34571         (__printf_fphex): Determine rounding using get_rounding_mode and
34572         round_away.
34573         * stdio-common/tst-printf-round.c (struct hex_test): New
34574         structure.
34575         (hex_tests): New variable.
34576         (test_hex_in_one_mode): New function.
34577         (do_test): Also run tests for hex float output.
34578
34579 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34580
34581         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34582         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34583         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34584         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34585         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34586         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34587         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34588         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34589
34590 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34591
34592         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34593         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34594         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34595         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34596
34597 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34598
34599         [BZ #14579]
34600         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34601         mode only.
34602         * elf/tst-rtld-load-self.sh: New test.
34603         * elf/Makefile: Run it.
34604
34605 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34606
34607         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34608         (tst-writev-ENV): Remove.
34609         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34610
34611 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
34612
34613         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34614
34615 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
34616
34617         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34618         unconditional.
34619         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34620         Likewise.
34621         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34622         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34623         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34624         Likewise.
34625
34626 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34627
34628         [BZ #14587]
34629         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34630         * config.make.in (have-cpp-asm-debuginfo): Removed.
34631         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34632         * configure: Regenerated.
34633
34634 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34635
34636         [BZ #5044]
34637         * stdio-common/printf_fp.c: Include <stdbool.h> and
34638         <rounding-mode.h>.
34639         (___printf_fp): Determine rounding using get_rounding_mode and
34640         round_away.
34641         * stdio-common/tst-printf-round.c: New file.
34642         * stdio-common/Makefile (tests): Add tst-printf-round.
34643         (link-libm): New variable.
34644         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34645
34646 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34647
34648         [BZ #14576]
34649         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34650         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34651         Likewise.
34652         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34653         Likewise.
34654
34655 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34656
34657         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34658         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34659         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34660         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34661
34662 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34663
34664         [BZ #14518]
34665         * include/rounding-mode.h: New file.
34666         * sysdeps/generic/get-rounding-mode.h: Likewise.
34667         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34668         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34669         (MAX_VALUE): New macro.
34670         (MIN_VALUE): Likewise.
34671         (overflow_value): New function.
34672         (underflow_value): Likewise.
34673         (round_and_return): Use overflow_value and underflow_value to
34674         determine return values in overflow and underflow cases.  Use
34675         round_away to determine rounding depending on rounding mode.
34676         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34677         determine return values in overflow and underflow cases.
34678         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34679         (struct test_results): New structure.
34680         (struct test): Use struct test_results to store expected results
34681         for all rounding modes.
34682         (TEST): Include expected results for all rounding modes.
34683         (test_in_one_mode): New function.
34684         (do_test): Use test_in_one_mode to compute and check results.
34685         Check results for all rounding modes.
34686         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34687         $(link-libm).
34688
34689 2012-12-09  Allan McRae  <allan@archlinux.org>
34690
34691         * sysdeps/i386/fpu/libm-test-ulps: Update
34692
34693 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34694
34695         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34696         (_G_int32_t): Likewise.
34697         (_G_uint16_t): Likewise.
34698         (_G_uint32_t): Likewise.
34699         (_G_HAVE_BOOL): Likewise.
34700         (_G_HAVE_ATEXIT): Likewise.
34701         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34702         (_G_HAVE_IO_FILE_OPEN): Likewise.
34703         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34704         (_G_int32_t): Likewise.
34705         (_G_uint16_t): Likewise.
34706         (_G_uint32_t): Likewise.
34707         (_G_HAVE_BOOL): Likewise.
34708         (_G_HAVE_ATEXIT): Likewise.
34709         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34710         (_G_HAVE_IO_FILE_OPEN): Likewise.
34711         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34712         (_G_int32_t): Likewise.
34713         (_G_uint16_t): Likewise.
34714         (_G_uint32_t): Likewise.
34715         (_G_HAVE_BOOL): Likewise.
34716         (_G_HAVE_ATEXIT): Likewise.
34717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34718         (_G_HAVE_IO_FILE_OPEN): Likewise.
34719
34720 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34721
34722         * csu/libc-tls.c: Update copyright years.
34723
34724 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34725
34726         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34727         [!_G_USING_THUNKS]: Remove conditional code.
34728         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34729         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34730
34731         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34732         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34733         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34734         (_G_VTABLE_LABEL_PREFIX): Likewise.
34735         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34736         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34737         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34738         (_G_VTABLE_LABEL_PREFIX): Likewise.
34739         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34740         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34741         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34742         (_G_VTABLE_LABEL_PREFIX): Likewise.
34743         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34744
34745 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34746
34747         * libio/Makefile: Include ../Makeconfig before tests.
34748         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34749         only if $(build-shared) is yes.
34750
34751         * iconv/gconv_db.c: Update copyright years.
34752
34753 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34754
34755         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34756         unwind info if defined PIC. Fix special cases description.
34757         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34758
34759         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34760         DP_HI_MASK entry.
34761         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34762
34763 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34764
34765         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34766
34767         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34768         is NULL.
34769
34770         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34771         (LDLIBS-tst-chk4): This.
34772         (LDFLAGS-tst-chk5): Renamed to ...
34773         (LDLIBS-tst-chk5): This.
34774         (LDFLAGS-tst-chk6): Renamed to ...
34775         (LDLIBS-tst-chk6): This.
34776         (LDFLAGS-tst-lfschk4): Renamed to ...
34777         (LDLIBS-tst-lfschk4): This.
34778         (LDFLAGS-tst-lfschk5): Renamed to ...
34779         (LDLIBS-tst-lfschk5): This.
34780         (LDFLAGS-tst-lfschk6): Renamed to ...
34781         (LDLIBS-tst-lfschk6): This.
34782
34783         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34784         on $(common-objpfx)soversions.mk.
34785
34786 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34787
34788         [BZ #10014]
34789         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34790         example host name.
34791
34792 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34793
34794         * malloc/arena.c (arena_get_retry): New function that gets
34795         another arena for the caller to try its request on.
34796         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34797         current arena cannot fulfill the request.
34798         (__libc_memalign): Likewise.
34799         (__libc_memalign): Likewise.
34800         (__libc_pvalloc): Likewise.
34801         (__libc_calloc): Likewise.
34802
34803 2012-09-05  John Tobey  <john.tobey@gmail.com>
34804
34805         [BZ #13542]
34806         * manual/arith.texi (Operations on Complex): Fix description
34807         of carg branch cut.
34808
34809 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34810
34811         [BZ #10014]
34812         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34813         host name.
34814
34815         [BZ #10038]
34816         * manual/memory.texi (Memory): Make order of menu items match
34817         order of sections.
34818
34819 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34820
34821         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34822         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34823         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34824
34825 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34826
34827         * csu/libc-tls.c (static_dtv): Renamed to ...
34828         (_dl_static_dtv): This.  Make it global.
34829         (_dl_initial_dtv): Removed.
34830         (__libc_setup_tls): Updated.
34831         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34832         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34833         DL_INITIAL_DTV.
34834
34835 2012-09-06  Petr Machata  <pmachata@redhat.com>
34836
34837         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34838         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34839         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34840         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34841
34842 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34843
34844         [BZ #14545]
34845         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34846         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34847         freeing dtv[-1].
34848
34849 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34850
34851         [BZ #14544]
34852         * Makeconfig (link-static-before-libc): Replace $(+prector)
34853         with $(+prectorT).
34854         (link-static-after-libc): Replace $(+postctor) with
34855         $(+postctorT).
34856         (link-bounded): Replace $(+prector)/$(+postctor) with
34857         $(+prectorT)/$(+postctorT).
34858         (+prectorT): New macro.
34859         (+postctorT): Likewise.
34860
34861 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34862
34863         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34864         (round_str): Handle values above the maximum for IBM long double
34865         as inexact.
34866         * stdlib/tst-strtod-round.c (tests): Regenerated.
34867
34868 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34869
34870         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34871         assembler flag.
34872         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34873         zarch_nohighgprs around the zarch optimized routines.
34874         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34875         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34876         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34877         for zarch.
34878
34879 2012-09-05  David S. Miller  <davem@davemloft.net>
34880
34881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34882
34883         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34884         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34885         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34886         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34887         entries.
34888
34889 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34890
34891         * malloc/arena.c: Fold copyright years.
34892         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34893
34894 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34895
34896         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34897
34898 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34899
34900         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34901
34902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34903
34904         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34905         change internal state upon failure.
34906
34907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34908
34909         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34910         * malloc/memusage.c (mmap): Likewise.
34911         (mmap64, mremap): Likewise.  Adjust name in comment.
34912
34913 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914
34915         * libio/fileops.c: Fix typos in comments.
34916         * libio/oldfileops.c: Likewise.
34917         * libio/wfileops.c: Likewise.
34918
34919 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34920
34921         [BZ #1349]
34922         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34923         (tst-malloc-usable-ENV): Set environment for test case.
34924         * malloc/hooks.c (malloc_check_get_size): New function to get
34925         requested size.
34926         * malloc/malloc.c (musable): Use malloc_check_get_size.
34927         * malloc/tst-malloc-usable.c: New test case.
34928
34929 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34930
34931         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34932
34933 2012-09-05  Allan McRae  <allan@archlinux.org>
34934
34935         [BZ #13966]
34936         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34937         determine header location.
34938         * configure: Regenerated.
34939
34940 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34941
34942         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34943         float format.
34944         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34945         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34946         format.
34947         (test): Regenerate.
34948
34949 2012-09-04  David S. Miller  <davem@davemloft.net>
34950
34951         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34952         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34953         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34954
34955 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34956
34957         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34958         failures.
34959
34960         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34961
34962 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34963
34964         [BZ #9914]
34965         * libio/iogetdelim.c: Include <limits.h>.
34966         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34967         + len + 1 would overflow.
34968
34969 2012-09-03  Andreas Jaeger  <aj@suse.de>
34970
34971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34972         * sysdeps/i386/fpu/libm-test-ulps: Update.
34973
34974 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34975
34976         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34977         Add s_sinf-sse2, s_conf-sse2.
34978
34979         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34980         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34981         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34982         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34983
34984         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34985         for using routine as __sinf_ia32.
34986         Use macro for function declaration and weak_alias.
34987         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34988         for using routine as __cosf_ia32.
34989         Use macro for function declaration and weak_alias.
34990
34991         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34992         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34993
34994         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34995         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34997
34998         * math/libm-test.inc (cos_test): Add more test cases.
34999         (sin_test): Likewise.
35000         (sincos_test): Likewise.
35001
35002 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35003
35004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35005         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35006         hidden.
35007         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35008
35009 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35010
35011         [BZ #14538]
35012         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35013         first element of the GOT.
35014         (elf_machine_load_address): Return the difference between
35015         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35016
35017 2012-09-01  Allan McRae  <allan@archlinux.org>
35018
35019         [BZ #13412]
35020         * configure.in (AWK): Require gawk version 3.0 or later.
35021         * configure: Regenerated.
35022
35023 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35024
35025         * sysdeps/unix/sysv/linux/kernel-features.h
35026         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35027         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35028         [__NR_clock_getres]: Make code unconditional.
35029         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35030         (clock_getcpuclockid): Remove code left unreachable by removal of
35031         conditionals.
35032         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35033         code unconditional.
35034         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35035         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35036         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35037         Make code unconditional.
35038         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35039         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35040         * sysdeps/unix/sysv/linux/clock_settime.c
35041         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35042         conditional code.
35043         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35044         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35045
35046 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35047
35048         [BZ #14476]
35049         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35050         scripts/test-installation.pl.
35051
35052         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35053         and $ld_so_version if it is set.
35054
35055 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35056
35057         [BZ #14516]
35058         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35059         failure if reading from procfs failed.
35060         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35061
35062 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35063
35064         * sysdeps/unix/sysv/linux/kernel-features.h
35065         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35066         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35067         Remove conditional code.
35068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35069         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35070         Remove conditional code.
35071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35072         * sysdeps/unix/sysv/linux/i386/fxstat.c
35073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35075         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35076         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35078         * sysdeps/unix/sysv/linux/i386/lxstat.c
35079         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35081         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35082         Remove conditional code.
35083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35084         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35085         Remove conditional code.
35086         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35087         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35088         <kernel-features.h>.
35089         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35090         Remove.
35091         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35092         Remove conditional code.
35093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35094         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35095         Remove conditional.
35096
35097 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35098
35099         [BZ #5400]
35100         * NEWS: Add fixed bug number.
35101
35102 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35103
35104         [BZ #14519]
35105         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35106         underflowing exponent in case of negative sign.
35107         * stdlib/tst-strtod-round-data: Add more tests.
35108         * stdlib/tst-strtod-round.c (tests): Regenerated.
35109
35110         [BZ #3479]
35111         * stdlib/strtod_l.c (NDIG): Remove.
35112         (HEXNDIG): Likewise.
35113         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35114         smallest representable value.
35115         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35116         lie within an exact representation of 1/2 ulp of the result.
35117         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35118         unconditionally.
35119         (TENS_P9_IDX): Define unconditionally.
35120         (TENS_P9_SIZE): Likewise.
35121         (TENS_P10_IDX): Likewise.
35122         (TENS_P10_SIZE): Likewise.
35123         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35124         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35125         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35126         entries for 10^2^13 and 10^2^14.
35127         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35128         (TENS_P13_IDX): Define.
35129         (TENS_P13_SIZE): Likewise.
35130         (TENS_P14_IDX): Likewise.
35131         (TENS_P14_SIZE): Likewise.
35132         (_fpioconst_pow10): Change array size to
35133         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35134         unconditional.
35135         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35136         1024]: Add entries for 10^2^13 and 10^2^14.
35137         [LAST_POW10 > _LAST_POW10]: Remove #error.
35138         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35139         (_fpioconst_pow10): Change array size to
35140         FPIOCONST_POW10_ARRAY_SIZE.
35141         * stdlib/gen-fpioconst.c: New file.
35142         * stdlib/gen-tst-strtod-round.c: Likewise.
35143         * stdlib/tst-strtod-round-data: Likewise.
35144         * stdlib/tst-strtod-round.c: Likewise.
35145         * stdlib/Makefile (tests): Add tst-strtod-round.
35146
35147         [BZ #14459]
35148         * stdlib/strtod_l.c: Include <stdint.h>.
35149         (NDEBUG): Do not define.
35150         (round_and_return): Change EXPONENT parameter to type intmax_t.
35151         Rearrange calculations to avoid internal overflow possibilities.
35152         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35153         Rearrange calculations to avoid internal overflow possibilities.
35154         Assert that number fits inside MPNSIZE limbs.
35155         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35156         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35157         calculations and add assertions to avoid internal overflow
35158         possibilities.  Add casts to avoid signed/unsigned operations.
35159         * stdlib/tst-strtod-overflow.c: New file.
35160         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35161
35162 2012-08-25  Marek Polacek  <polacek@redhat.com>
35163
35164         * time/time.h: Fix some typos in comments.
35165
35166 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35167
35168         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35169         * posix/tst-rfc3484-2.c: Likewise.
35170         * posix/tst-rfc3484-3.c: Likewise.
35171
35172 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35173
35174         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35175         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35176
35177 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35178
35179         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35180         #include of fxstatat64.c.
35181
35182 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35183
35184         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35185         * shadow/getspent_r.c: Likewise.
35186         * shadow/getspnam.c: Likewise.
35187         * shadow/getspnam_r.c: Likewise.
35188         * gshadow/getsgent.c: Likewise.
35189         * gshadow/getsgent_r.c: Likewise.
35190         * gshadow/getsgnam.c: Likewise.
35191         * gshadow/getsgnam_r.c: Likewise.
35192         * inet/getnetbyad.c: Likewise.
35193         * inet/getnetbyad_r.c: Likewise.
35194         * inet/getnetbynm.c: Likewise.
35195         * inet/getnetbynm_r.c: Likewise.
35196         * inet/getnetent.c: Likewise.
35197         * inet/getnetent_r.c: Likewise.
35198         * inet/getproto.c: Likewise.
35199         * inet/getproto_r.c: Likewise.
35200         * inet/getprtent.c: Likewise.
35201         * inet/getprtent_r.c: Likewise.
35202         * inet/getprtname.c: Likewise.
35203         * inet/getprtname_r.c: Likewise.
35204         * inet/getrpcbyname.c: Likewise.
35205         * inet/getrpcbyname_r.c: Likewise.
35206         * inet/getrpcbynumber.c: Likewise.
35207         * inet/getrpcbynumber_r.c: Likewise.
35208         * inet/getrpcent.c: Likewise.
35209         * inet/getrpcent_r.c: Likewise.
35210         * inet/getaliasent.c: Likewise.
35211         * inet/getaliasent_r.c: Likewise.
35212         * inet/getaliasname.c: Likewise.
35213         * inet/getaliasname_r.c: Likewise.
35214         * nscd/getgrgid_r.c: Likewise.
35215         * nscd/getgrnam_r.c: Likewise.
35216         * nscd/gethstbyad_r.c: Likewise.
35217         * nscd/gethstbynm3_r.c: Likewise.
35218         * nscd/getpwnam_r.c: Likewise.
35219         * nscd/getpwuid_r.c: Likewise.
35220         * nscd/getsrvbynm_r.c: Likewise.
35221         * nscd/getsrvbypt_r.c: Likewise.
35222         * nscd/gai.c: Likewise.
35223
35224         * configure.in (build_nscd): New substituted variable, set
35225         by --disable-build-nscd and defaults to $use_nscd.
35226         * configure: Regenerated.
35227         * config.make.in (build-nscd): New substituted variable.
35228         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35229         Change conditional to require [$(build-nscd) = yes] as well.
35230         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35231
35232         [BZ# 13696]
35233         * configure.in (use_nscd): New substituted variable, set by
35234         --disable-nscd.  If enabled, define USE_NSCD.
35235         * configure: Regenerated.
35236         * config.h.in: Add USE_NSCD.
35237         * config.make.in (use-nscd): New substituted variable.
35238         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35239         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35240         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35241         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35242         (CFLAGS-getgrnam_r.c): Likewise.
35243         (CFLAGS-initgroups.c): Likewise.
35244         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35245         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35246         Variables removed.
35247         * inet/getnetgrent_r.c
35248         (nscd_setnetgrent): New function, broken out of ...
35249         (setnetgrent): ... here.  Call it.
35250         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35251         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35252         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35253         * nscd/Makefile (routines, aux): Move definitions after include of
35254         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35255         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35256         Conditionalize on [USE_NSCD].
35257         (is_nscd, nscd_init_cb): Likewise.
35258         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35259         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35260         * nss/nss_db/db-init.c: Likewise.
35261         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35262         [USE_NSCD].
35263         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35264         (make_request): Use it.
35265         (cache_valid_p): New function.
35266         (__check_pf): Use it.
35267         * NEWS: Add item for --disable-nscd.
35268
35269 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35270
35271         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35272         to support sed >= 4.2.1-20-ga9bf076.
35273         * configure: Regenerated.
35274
35275 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35276
35277         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35278         Conditionalize whole body on [IREL].
35279
35280 2012-08-22  Jeff Law <law@redhat.com>
35281
35282         [BZ #14505]
35283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35284         if the family is PF_UNSPEC.
35285
35286 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35287
35288         * Makerules (lib-version): Rename from V.
35289         (install-lib-nosubdir): Change V to lib-version.
35290
35291 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35292
35293         [BZ #14252]
35294         * powerpc32/power6/wcschr.c: New file.
35295         * powerpc32/power6/wcscpy.c: New file.
35296         * powerpc32/power6/wcsrchr.c: New file.
35297         * powerpc64/power6/wcschr.c: New file.
35298         * powerpc64/power6/wcscpy.c: New file.
35299         * powerpc64/power6/wcsrchr.c: New file.
35300
35301 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35302
35303         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35304         (two_way_short_needle): Use it.
35305         * string/strstr.c (AVAILABLE1_USES_J): Define.
35306         * string/strcasestr.c: Likewise.
35307
35308         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35309         array references.
35310         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35311
35312         [BZ #11607]
35313         * NEWS: Add an entry.
35314         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35315         define their defaults.
35316         (two_way_short_needle): Detect end-of-string on-the-fly.
35317         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35318         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35319         * string/bug-strcasestr1.c: New test.
35320         * string/Makefile: Run it.
35321
35322 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35323
35324         [BZ #11607]
35325         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35326         the first character.
35327
35328 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35329
35330         * csu/elf-init.c (__libc_csu_irel): Function removed.
35331         * csu/libc-start.c (apply_irel): New function.
35332         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35333
35334 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35335
35336         * sysdeps/unix/sysv/linux/kernel-features.h
35337         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35338         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35339         <kernel-features.h>.
35340         [__NR_fadvise64_64]: Make code unconditional.
35341         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35342         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35343         !__NR_fadvise64_64)]: Likewise.
35344         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35345         !__NR_fadvise64_64))]: Likewise.
35346         [__NR_fadvise64]: Make code unconditional.
35347         [!__NR_fadvise64]: Remove conditional code.
35348         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35349         <kernel-features.h>.
35350         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35351         unconditional.
35352         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35353         conditional code.
35354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35355         not include <kernel-features.h>.
35356         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35357         unconditional.
35358         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35359         conditional code.
35360         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35361         include <kernel-features.h>.
35362         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35363         unconditional.
35364         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35365         conditional code.
35366
35367 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35368
35369         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35370         slight instruction rearrangements per scrollpipe analysis.
35371         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35372
35373 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35374
35375         * manual/syslog.texi (syslog; vsyslog, closelog):
35376         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35377         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35378
35379         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35380         DSOCAPS to match condition on defining it.
35381
35382 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35383
35384         * sysdeps/unix/sysv/linux/kernel-features.h
35385         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35390         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35391         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35393         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35394         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35395
35396         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35397         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35398
35399         * sysdeps/unix/sysv/linux/kernel-features.h
35400         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35401         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35402         unconditional.
35403         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35404         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35405         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35406         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35407         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35408         Make code unconditional.
35409         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35410         (__mmap64) [!__NR_mmap2]: Likewise.
35411         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35412         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35413         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35414         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35415         [__NR_mmap2]: Make code unconditional.
35416         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35417         (__mmap64) [!__NR_mmap2]: Likewise.
35418
35419 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35420
35421         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35422
35423 2012-08-18  Andreas Jaeger  <aj@suse.de>
35424
35425         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35426
35427 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35428
35429         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35430         * include/unistd.h (__have_sock_cloexec): Likewise.
35431         (__have_pipe2): Likewise.
35432         (__have_dup3): Likewise.
35433
35434 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35435
35436         [BZ #9685]
35437         * include/unistd.h (__have_pipe2): Change define into an extern int.
35438         (__have_dup3): Likewise.
35439         * socket/have_sock_cloexec.c: Include fcntl.h.
35440         (__have_pipe2): New variable.
35441         (__have_dup3): Likewise.
35442
35443 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35444
35445         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35446
35447 2012-08-17  Marek Polacek  <polacek@redhat.com>
35448
35449         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35450         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35451
35452 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35453
35454         * configure.in: Add AC_SUBST for sysheaders.
35455         * configure: Regenerated.
35456         * config.make.in (sysheaders): New substituted variable.
35457
35458         * sysdeps/unix/mkfifo.c: Moved ...
35459         * sysdeps/posix/mkfifo.c: ... here.
35460         * sysdeps/unix/mkfifoat.c: Moved ...
35461         * sysdeps/posix/mkfifoat.c: ... here.
35462
35463         * sysdeps/unix/utime.c: Moved ...
35464         * sysdeps/posix/utime.c: ... here.
35465
35466         * sysdeps/unix/time.c: Moved ...
35467         * sysdeps/posix/time.c: ... here.
35468         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35469         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35470
35471         * sysdeps/unix/nice.c: Moved ...
35472         * sysdeps/posix/nice.c: ... here.
35473
35474         * sysdeps/unix/alarm.c: Moved ...
35475         * sysdeps/posix/alarm.c: ... here.
35476
35477         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35478
35479 2012-08-17  Jeff Law <law@redhat.com>
35480
35481         * intl/Makefile (codeset_mo): New variable.
35482         ($(codeset_mo)): New target.
35483         (tst-codeset.out): Depend on that.  Remove explicit rule.
35484         (tst-gettext3.out, tst-gettext5.out): Likewise.
35485         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35486         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35487         * intl/tst-codeset.sh: Remove.
35488         * intl/tst-gettext3.sh: Likewise.
35489         * intl/tst-gettext5.sh: Likewise.
35490
35491 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35492
35493         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35494         * sysdeps/unix/syscalls.list: ... here.
35495
35496         * sysdeps/posix/getaddrinfo.c
35497         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35498         (gaiconf_init, gaiconf_reload): Use them.
35499         [!_STATBUF_ST_NSEC]
35500         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35501         Define using time_t rather than struct timespec.
35502
35503         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35504         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35505         Macros removed.
35506         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35507         [!NO_THREADS].
35508         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35509         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35510         Likewise.
35511
35512         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35513         __libc_cleanup_push argument.
35514
35515         * bits/param.h: New file.
35516         * misc/sys/param.h: New file.
35517         * include/sys/param.h: New file.
35518         * misc/Makefile (headers): Add bits/param.h.
35519         * sysdeps/generic/sys/param.h: File removed.
35520         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35521         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35522         * sysdeps/mach/hurd/bits/param.h: New file.
35523         * sysdeps/mach/hurd/sys/param.h: File removed.
35524
35525         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35526         last change.
35527
35528         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35529         [_IO_MTSAFE_IO].
35530         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35531         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35532         New macros.
35533
35534         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35535         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35536         rather than -D_IO_MTSAFE_IO conditionally.
35537         * stdio-common/Makefile (CPPFLAGS): Likewise.
35538         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35539         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35540         Use $(libio-mtsafe).
35541         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35542         of -D_IO_MTSAFE_IO.
35543         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35544         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35545         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35546         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35547         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35548         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35549         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35550         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35551         (CFLAGS-fread_u_chk.c): Likewise.
35552         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35553         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35554         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35555         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35556         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35557         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35558         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35559         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35560         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35561
35562         * libio/Makefile: Test [$(libc-reentrant) = yes]
35563         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35564
35565         * Makeconfig
35566         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35567         * sysdeps/pthread/configure: File removed.
35568         * sysdeps/pthread/Makeconfig: New file.
35569         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35570         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35571
35572 2012-08-16  Gary Benson  <gbenson@redhat.com>
35573
35574         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35575         unmapping the first object in a namespace.
35576
35577 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35578
35579         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35580         (__internal_setnetgrent): ... this.  Add internal_function to
35581         definition.  Add libc_hidden_def.
35582         (setnetgrent): Update caller.
35583         (internal_endnetgrent): Renamed to ...
35584         (__internal_endnetgrent): ... this.  Add internal_function to
35585         definition.  Add libc_hidden_def.
35586         (endnetgrent): Update caller.
35587         (internal_getnetgrent_r): Renamed to ...
35588         (__internal_getnetgrent_r): ... this.  Add internal_function to
35589         definition.  Add libc_hidden_def.
35590         (__getnetgrent_r): Update caller.
35591         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35592
35593 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35594
35595         * stdlib/longlong.h: Update from GCC.
35596
35597 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35598
35599         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35600         on _QL, which is set by umul_ppmm but never used.
35601         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35602         variables, which are set by GMP macros but never used.
35603         * stdio-common/_itowa.c (_itowa): Likewise.
35604         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35605         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35606
35607 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35608
35609         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35610         struct La_sh_regs is not constant.
35611         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35612         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35613         and struct La_sparc64_regs are not constant.
35614
35615 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35616
35617         * sysdeps/unix/sysv/linux/kernel-features.h
35618         (__ASSUME_POSIX_TIMERS): Remove.
35619         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35621         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35622         Make code unconditional.
35623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35624         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35625         Make code unconditional.
35626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35627         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35628         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35630         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35631         Make code unconditional.
35632         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35633         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35634         (__libc_missing_posix_timers): Remove.
35635
35636 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35637
35638         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35639         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35640
35641         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35642
35643         * elf/dl-sym.c: Include <stdlib.h>.
35644
35645         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35646         constants, which avoids warnings in 32-bit builds.
35647
35648         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35649         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35650
35651         * misc/lseek.c: File moved to ...
35652         * io/lseek.c: ... here.
35653
35654         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35655
35656         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35657         shifting LEN more than 31 bits at once.
35658
35659 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35660
35661         [BZ #14195]
35662         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35663         segmentation fault for a case of two empty input strings.
35664         * string/test-strncasecmp.c (check1): Renamed to...
35665         (bz12205): ...this.
35666         (bz14195): Add new testcase for two empty input strings and N > 0.
35667         (test_main): Call new testcase, adapt for renamed function.
35668
35669 2012-08-15  Andreas Jaeger  <aj@suse.de>
35670
35671         [BZ #14090]
35672         * crypt/md5test2.c: New test, based on test supplied by Serge
35673         Belyshev <belyshev@depni.sinp.msu.ru>.
35674         * crypt/Makefile (xtests): Add md5test-giant..
35675         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35676
35677 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35678
35679         [BZ #14090]
35680         * crypt/md5.c (md5_process_block): Don't assume the buffer
35681         length is less than 2**32.
35682         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35683         length is less than 2**64.
35684
35685 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35686
35687         * string/str-two-way.h: Include <sys/param.h>.
35688         (MAX): Macro removed.
35689
35690         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35691         Move #define and #undef of memmove to just before and after
35692         including <string.h>.
35693
35694         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35695         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35696         and after including <string.h>.  Move declarations of
35697         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35698         to before #include "string/memmove.c".
35699
35700         * include/dirent.h: Declare __getdirentries.
35701
35702         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35703         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35704
35705 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35706
35707         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35708         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35709         * sysdeps/i386/configure: Regenerated.
35710         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35711         STABS_CURRENT_FILE, and STABS_FUN.
35712         (END): Remove call to STABS_FUN_END.
35713         (STABS_CURRENT_FILE1): Delete.
35714         (STABS_CURRENT_FILE): Likewise.
35715         (STABS_FUN): Likewise.
35716         (STABS_FUN_END): Likewise.
35717         (STABS_FUN2): Likewise.
35718         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35719         * sysdeps/x86_64/configure: Regenerated.
35720
35721 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35722
35723         * elf/dl-open.c: Include <atomic.h>.
35724         * elf/dl-lookup.c: Likewise.
35725
35726 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35727
35728         * sysdeps/unix/sysv/linux/kernel-features.h
35729         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35730         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35731         unconditionally.
35732         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35733         unconditionally.
35734         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35735         condition on __ASSUME_CLONE_THREAD_FLAGS.
35736
35737 2012-08-14  Andreas Jaeger  <aj@suse.de>
35738
35739         * sysdeps/i386/fpu/libm-test-ulps: Update.
35740
35741 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35742
35743         * include/atomic.h (atomic_exchange_and_add): Split into ...
35744         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35745         New atomic macros.
35746
35747 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35748
35749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35750
35751 2012-08-13  Jeff Law <law@redhat.com>
35752
35753         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35754         null byte in the output string.
35755
35756 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35757
35758         * sysdeps/unix/sysv/linux/kernel-features.h
35759         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35760         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35761         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35762         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35763         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35764         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35765         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35766
35767 2012-08-09  Jeff Law <law@redhat.com>
35768
35769         [BZ #13939]
35770         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35771         When avoid_arena is set, don't retry in the that arena.  Pick the
35772         next one, whatever it might be.
35773         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35774         (arena_lock): Pass in new parameter to arena_get2.
35775         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35776         arena_get2.
35777         (__libc_malloc): Unify retrying after main arena failure with
35778         __libc_memalign version.
35779         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35780
35781 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35782
35783         [BZ #14166]
35784         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35785         to __redirect_strstr.
35786         (__strstr_sse42): Use typeof __redirect_strstr.
35787         (__strstr_ia32): Likewise.
35788         (__libc_strstr): New prototype.
35789         (strstr): Renamed to ...
35790         (__libc_strstr): This.
35791         (strstr): New strong alias of __libc_strstr.
35792         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35793         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35794         __redirect_time.
35795         Include <time.h>.
35796         (__libc_time): New prototype.
35797         (time_ifunc): Replace time with __libc_time.
35798         (time): New strong alias and hidden definition of __libc_time.
35799         (__GI_time): Remove strong alias.
35800         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35801         Include <stddef.h>.
35802         (memmove): Redefined to __redirect_memmove.
35803         (__memmove_sse2): Use typeof __redirect_memmove.
35804         (__memmove_ssse3): Likewise.
35805         (__memmove_ssse3_back): Likewise.
35806         (__libc_memmove): New prototype.
35807         (memmove): Renamed to ...
35808         (__libc_memmove): This.
35809         (memmove): New strong alias of __libc_memmove.
35810
35811 2012-08-08  Mark Salter  <msalter@redhat.com>
35812
35813         * elf/elf.h
35814         (R_MN10300_TLS_GD): Define.
35815         (R_MN10300_TLS_LD): Likewise.
35816         (R_MN10300_TLS_LDO): Likewise.
35817         (R_MN10300_TLS_GOTIE): Likewise.
35818         (R_MN10300_TLS_IE): Likewise.
35819         (R_MN10300_TLS_LE): Likewise.
35820         (R_MN10300_TLS_DTPMOD): Likewise.
35821         (R_MN10300_TLS_DTPOFF): Likewise.
35822         (R_MN10300_TLS_TPOFF): Likewise.
35823         (R_MN10300_SYM_DIFF): Likewise.
35824         (R_MN10300_ALIGN): Likewise.
35825         (R_MN10300_NUM): Update.
35826
35827 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35828
35829         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35830         Remove.
35831
35832 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35833
35834         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35835
35836         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35837         sysdeps/unix -> sysdeps/posix move.
35838         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35839
35840 2012-08-07      Allan McRae     <allan@archlinux.org>
35841
35842         [BZ #14303]
35843         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35844         (SUNOS_CPP): Likewise.
35845         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35846         not found.
35847         (open_input): Call CPP using execvp.
35848
35849 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35850
35851         * sysdeps/unix/sysv/linux/kernel-features.h
35852         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35853         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35854         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35855         (__ASSUME_WAITID_SYSCALL): Likewise.
35856         * sysdeps/unix/sysv/linux/dl-execstack.c
35857         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35858         code unconditional.
35859         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35860         conditional code.
35861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35862         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35863         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35864         code.
35865         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35866         unconditional.
35867         [__ASSUME_WAITID_SYSCALL]: Likewise.
35868         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35869
35870 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35871
35872         * sysdeps/unix/closedir.c: Renamed to ...
35873         * sysdeps/posix/closedir.c: ... here.
35874         * sysdeps/unix/dirfd.c: Renamed to ...
35875         * sysdeps/posix/dirfd.c: ... here.
35876         * sysdeps/unix/dirstream.h: Renamed to ...
35877         * sysdeps/posix/dirstream.h: ... here.
35878         * sysdeps/unix/fdopendir.c: Renamed to ...
35879         * sysdeps/posix/fdopendir.c: ... here.
35880         * sysdeps/unix/opendir.c: Renamed to ...
35881         * sysdeps/posix/opendir.c: ... here.
35882         * sysdeps/unix/readdir.c: Renamed to ...
35883         * sysdeps/posix/readdir.c: ... here.
35884         * sysdeps/unix/readdir_r.c: Renamed to ...
35885         * sysdeps/posix/readdir_r.c: ... here.
35886         * sysdeps/unix/rewinddir.c: Renamed to ...
35887         * sysdeps/posix/rewinddir.c: ... here.
35888         * sysdeps/unix/seekdir.c: Renamed to ...
35889         * sysdeps/posix/seekdir.c: ... here.
35890         * sysdeps/unix/telldir.c: Renamed to ...
35891         * sysdeps/posix/telldir.c: ... here.
35892         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35893         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35894         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35895         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35896
35897         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35898         * bits/fcntl.h: ... here.
35899
35900         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35901         not 0.
35902         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35903         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35904         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35905         (struct flock): Move l_start, l_len to the beginning.
35906         Use __pid_t for l_pid.
35907         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35908         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35909         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35910         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35911         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35912         [__USE_LARGEFILE64] (struct flock64): New type.
35913         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35914
35915         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35916         * bits/dirent.h: ... here.
35917
35918         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35919         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35920
35921 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35922
35923         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35924         Change from 2.6.0 to 2.6.16.
35925         * sysdeps/unix/sysv/linux/configure: Regenerated.
35926         * sysdeps/unix/sysv/linux/kernel-features.h
35927         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35928         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35929         version.
35930         (__ASSUME_UTIMES): Likewise.
35931         (__ASSUME_CLONE_STOPPED): Remove.
35932         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35933         architectures, not kernel version.
35934         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35935         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35936         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35937         (__ASSUME_WAITID_SYSCALL): Likewise.
35938         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35939         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35940         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35941         refer to older versions.
35942
35943 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35944
35945         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35946         Define alphasort64 as an alias.
35947         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35948         Define versionsort64 as an alias.
35949         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35950         Define scandir64 as an alias.
35951         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35952         Define scandirat64 as an alias.
35953         * dirent/alphasort64.c (alphasort64):
35954         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35955         * dirent/versionsort64.c: Likewise.
35956         * dirent/scandir64.c: Likewise.
35957         * dirent/scandirat64.c: Likewise.
35958         * sysdeps/wordsize-64/alphasort.c: File removed.
35959         * sysdeps/wordsize-64/alphasort64.c: File removed.
35960         * sysdeps/wordsize-64/scandir.c: File removed.
35961         * sysdeps/wordsize-64/scandir64.c: File removed.
35962         * sysdeps/wordsize-64/scandirat.c: File removed.
35963         * sysdeps/wordsize-64/scandirat64.c: File removed.
35964         * sysdeps/wordsize-64/versionsort.c: File removed.
35965         * sysdeps/wordsize-64/versionsort64.c: File removed.
35966         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35968         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35969         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35970         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35971         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35972         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35974
35975         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35977         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35979         [defined __arch64__ || defined __sparcv9]
35980         (__INO_T_MATCHES_INO64_T): New macro.
35981         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35982         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35983         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35984         * sysdeps/unix/sysv/linux/bits/dirent.h
35985         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35986         (_DIRENT_MATCHES_DIRENT64): New macro.
35987
35988         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35989         Define lockf64 as an alias.
35990         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35991         Define fseeko64 as an alias.
35992         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35993         Define ftello64 as an alias.
35994         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35995         Define _IO_fgetpos64 and fgetpos64 as aliases.
35996         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35997         Define _IO_fsetpos64 and fsetpos64 as aliases.
35998         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35999         Conditionalize body on this.
36000         * libio/fseeko64.c: Likewise.
36001         * libio/ftello64.c: Likewise.
36002         * libio/iofgetpos64.c: Likewise.
36003         * libio/iofsetpos64.c: Likewise.
36004         * sysdeps/wordsize-64/lockf.c: File removed.
36005         * sysdeps/wordsize-64/lockf64.c: File removed.
36006         * sysdeps/wordsize-64/fseeko.c: File removed.
36007         * sysdeps/wordsize-64/fseeko64.c: File removed.
36008         * sysdeps/wordsize-64/ftello.c: File removed.
36009         * sysdeps/wordsize-64/ftello64.c: File removed.
36010         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36011         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36012         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36013         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36014         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36016         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36018         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36020         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36021         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36022         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36023         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36024
36025         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36027         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36029         [defined __arch64__ || defined __sparcv9]
36030         (__OFF_T_MATCHES_OFF64_T): New macro.
36031         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36032         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36033         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36034         (__OFF_T_MATCHES_OFF64_T): New macro.
36035
36036 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36037
36038         * stdlib/secure-getenv.c (__secure_getenv): Replace
36039         GLIBC_2_16 with GLIBC_2_17.
36040
36041 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36042
36043         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36044         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36045
36046 2012-08-03  David S. Miller  <davem@davemloft.net>
36047
36048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36049
36050 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36051
36052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36053         Remove.
36054         (__ASSUME_CORRECT_SI_PID): Likewise.
36055         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36056         (__ASSUME_TMPFS_NAME): Likewise.
36057         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36058         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36059         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36060         (HAVE_AUX_SECURE): Make definition unconditional.
36061         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36062         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36063
36064 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36065
36066         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36067         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36068         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36069         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36070         __eloop_threshold instead of SYMLOOP_MAX.
36071
36072         * sysdeps/generic/eloop-threshold.h: New file.
36073         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36074         of MAXSYMLINKS.
36075         * elf/chroot_canon.c (chroot_canon): Likewise.
36076
36077 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36078
36079         [BZ #13717]
36080         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36081         Change to 2.6.0 everywhere.
36082         * sysdeps/unix/sysv/linux/configure: Regenerated.
36083         * sysdeps/unix/sysv/linux/kernel-features.h
36084         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36085         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36086         kernel versions.
36087         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36088         (__ASSUME_FUTEX_REQUEUE): Remove.
36089         (__ASSUME_STATFS64): Define unconditionally.
36090         (__ASSUME_AT_SECURE): Likewise.
36091         (__ASSUME_CORRECT_SI_PID): Likewise.
36092         (__ASSUME_TGKILL): Define without depending on kernel version for
36093         i386.
36094         (__ASSUME_UTIMES): Likewise.
36095         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36096         kernel version.
36097         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36098         (__ASSUME_TMPFS_NAME): Likewise.
36099         * README: Update reference to Linux kernel versions.
36100
36101 2012-08-02  Marek Polacek  <polacek@redhat.com>
36102
36103         [BZ# 14150]
36104         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36105         libc_cv_asm_type_prefix with %.
36106         * configure: Regenerated.
36107         * include/libc-symbols.h: Remove comment about
36108         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36109         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36110         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36111         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36112         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36113         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36114         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36115         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36116         * elf/tst-unique2mod1.c: Likewise.
36117         * elf/tst-unique1mod2.c: Likewise.
36118         * elf/tst-unique1mod1.c: Likewise.
36119         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36120         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36121         Replace ASM_TYPE_DIRECTIVE with .type.
36122         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36123         * sysdeps/i386/sysdep.h: Likewise.
36124         * sysdeps/x86_64/sysdep.h: Likewise.
36125         * sysdeps/sh/sysdep.h: Likewise.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36127         Do not define ASM_TYPE_DIRECTIVE.
36128         * sysdeps/powerpc/sysdep.h: Likewise.
36129         * sysdeps/powerpc/powerpc32/sysdep.h:
36130         Replace ASM_TYPE_DIRECTIVE with .type.
36131         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36132         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36133         * sysdeps/i386/fpu/e_powf.S: Likewise.
36134         * sysdeps/i386/fpu/e_expl.S: Likewise.
36135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36136         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36137         * sysdeps/i386/fpu/e_pow.S: Likewise.
36138         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36139         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36140         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36141         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36142         * sysdeps/i386/fpu/e_log2.S: Likewise.
36143         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36144         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36145         * sysdeps/i386/fpu/e_powl.S: Likewise.
36146         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36147         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36148         * sysdeps/i386/fpu/e_logl.S: Likewise.
36149         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36150         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36151         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36152         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36153         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36154         * sysdeps/i386/fpu/e_log.S: Likewise.
36155         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36156         * sysdeps/i386/fpu/e_logf.S: Likewise.
36157         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36158         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36159         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36160         * sysdeps/i386/fpu/e_log10.S: Likewise.
36161         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36162         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36163         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36164         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36166         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36167         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36168         * sysdeps/i386/i686/strtok.S: Likewise.
36169         * sysdeps/i386/i386-mcount.S: Likewise.
36170         * sysdeps/i386/strtok.S: Likewise.
36171         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36172         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36173         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36174         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36175         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36176         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36177         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36178         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36179         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36180         * sysdeps/x86_64/_mcount.S: Likewise.
36181         * sysdeps/x86_64/strtok.S: Likewise.
36182         * sysdeps/sh/_mcount.S: Likewise.
36183
36184 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36185
36186         * libio/iofopen.c: Include <fcntl.h>.
36187         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36188         (_IO_fopen64, fopen64): Define as aliases.
36189         * libio/iofopen64.c: Include <fcntl.h>.
36190         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36191         Conditionalize body on this.
36192         * sysdeps/wordsize-64/iofopen.c: File removed.
36193         * sysdeps/wordsize-64/iofopen64.c: File removed.
36194
36195 2012-08-01  Marek Polacek  <polacek@redhat.com>
36196
36197         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36198         Use dlfcn directly instead of a variable.
36199         (binfmt-subdir): Do not define.
36200         (dlfcn): Likewise.
36201
36202 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36203
36204         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36205         Remove all definitions.
36206         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36207         <kernel-features.h>.
36208         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36209         (miss_F_GETOWN_EX): Remove all definitions.
36210         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36211         macro definition.
36212         [!__ASSUME_FCNTL64]: Remove conditional code.
36213         [__ASSUME_FCNTL64]: Make code unconditional.
36214         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36215         <kernel-features.h>.
36216         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36217         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36218         (lockf64) [__NR_fcntl64]: Make code unconditional.
36219         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36220
36221         * sysdeps/unix/sysv/linux/kernel-features.h
36222         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36223         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36224         Make code unconditional.
36225         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36226         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36228         [__NR_vfork]: Make code unconditional.
36229         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36230         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36232         [__NR_vfork]: Make code unconditional.
36233         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36234         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36235
36236 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36237
36238         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36239         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36240
36241         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36242         Define mkstemp64 as an alias.
36243         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36244         Define mkstemps64 as an alias.
36245         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36246         Define mkostemp64 as an alias.
36247         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36248         Define mkostemps64 as an alias.
36249         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36250         Conditionalize body on this.
36251         * misc/mkostemp64.c: Likewise.
36252         * misc/mkostemps64.c: Likewise.
36253         * misc/mkstemps64.c: Likewise.
36254         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36255         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36256         * sysdeps/wordsize-64/mkostemp.c: File removed.
36257         * sysdeps/wordsize-64/mkstemp.c: File removed.
36258         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36259         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36260         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36261         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36262
36263         [BZ #14138]
36264         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36265         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36266         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36267         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36268
36269         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36270         compat_symbol macros from <shlib-compat.h> rather than the underlying
36271         default_symbol_version and symbol_version macros, so that DEFAULT
36272         lines in shlib-versions are respected.
36273         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36274
36275 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36276
36277         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36278         Declare with warn_unused_result.
36279         (setgid, setregid, setegid, setresgid): Likewise.
36280         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36281         Likewise.
36282         * WUR-REPORT: Remove set*id functions.
36283
36284 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36285
36286         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36287
36288 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36289
36290         [BZ #10191]
36291         * include/sys/socket.h (__libc_accept, __libc_accept4):
36292         Add attribute_hidden.
36293         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36294
36295         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36296         use of PTR_MANGLE.
36297         * inet/getnetgrent_r.c (setup): Likewise.
36298
36299         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36300
36301 2012-07-31  David S. Miller  <davem@davemloft.net>
36302
36303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36304
36305 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36306
36307         [BZ #13629]
36308         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36309         value between 1.0 and 2.0 and smaller part has absolute value less
36310         than 1.0.
36311         * math/s_clog10.c (__clog10): Likewise.
36312         * math/s_clog10f.c (__clog10f): Likewise.
36313         * math/s_clog10l.c (__clog10l): Likewise.
36314         * math/s_clogf.c (__clogf): Likewise.
36315         * math/s_clogl.c (__clogl): Likewise.
36316         * math/libm-test.inc (clog_test): Add more tests.
36317         (clog10_test): Likewise.
36318         * sysdeps/i386/fpu/libm-test-ulps: Update.
36319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36320
36321 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36322
36323         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36324         Exit with zero in case no suitable GID is found, and write a
36325         message to standard error.
36326
36327 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36328
36329         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36330         rather than to 1.
36331         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36332         (MAXPATHLEN): Removed.
36333         (NOGROUP, NODEV): New macros.
36334         (setbit, clrbit, isset, isclr): New macros.
36335         (howmany, roundup, powerof2): New macros.
36336         (DEV_BSIZE): New macro.
36337
36338         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36339         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36340
36341         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36342         definition on [!__NO_LONG_DOUBLE_MATH].
36343
36344         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36345         PTR_MANGLE and PTR_DEMANGLE.
36346
36347         * socket/accept4.c (accept4): Rename to __libc_accept4.
36348         Define accept4 as a weak alias.
36349
36350         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36351         on [_DIRENT_HAVE_D_TYPE].
36352         * io/ftw.c (ftw_dir): Likewise.
36353
36354         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36355
36356         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36357
36358         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36359         Use the BSD numbers rather than the arbitrary ones we had.
36360         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36361         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36362         (SIGXCPU, SIGXFSZ): New macros.
36363         (_NSIG): Now 32.
36364
36365         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36366         initializer on [_LIBC_REENTRANT].
36367
36368         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36369         definitions inside [_POSIX_MAPPED_FILES].
36370
36371         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36372
36373         * dirent/opendir.c: Include <fcntl.h>.
36374
36375         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36376         (__libc_getspecific): Likewise.
36377         (__libc_key_create): Likewise.
36378
36379         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36380         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36381         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36382         (tmpfile64): Define as alias.
36383         * sysdeps/wordsize-64/tmpfile.c: File removed.
36384         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36385         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36386         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36387
36388         * stdio-common/vfscanf.c: Include <stdbool.h>.
36389         * nss/makedb.c: Likewise.
36390         * stdio-common/_i18n_number.h: Likewise.
36391         * argp/argp-help.c: Likewise.
36392         * posix/wordexp.c: Likewise.
36393         * sysdeps/posix/spawni.c: Likewise.
36394         * nss/nss_files/files-initgroups.c: Likewise.
36395         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36396         * nss/nss_files/files-initgroups.c: Likewise.
36397         * nss/nss_db/db-netgrp.c: Likewise.
36398         * nss/nss_db/db-initgroups.c: Likewise.
36399         * io/fchmodat.c: Include <sys/stat.h>.
36400
36401         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36402         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36403
36404         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36405         [HAVE_MMAP].
36406
36407         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36408         Add multiple inclusion protection.
36409
36410 2012-07-27  David S. Miller  <davem@davemloft.net>
36411
36412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36413
36414 2012-07-27  Gary Benson  <gbenson@redhat.com>
36415
36416         [BZ #14298]
36417         * elf/rtld.c: Include <stap-probe.h>.
36418         (dl_main): Added static probes "init_start" and "init_complete".
36419         * elf/dl-load.c: Include <stap-probe.h>.
36420         (lose): Take new parameter "nsid".
36421         Added static probe "map_failed".
36422         (_dl_map_object_from_fd): Pass namespace id to lose.
36423         Added static probe "map_start".
36424         (open_verify): Pass namespace id to lose.
36425         * elf/dl-open.c: Include <stap-probe.h>.
36426         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36427         and "reloc_complete".
36428         * elf/dl-close.c: Include <stap-probe.h>.
36429         (_dl_close_worker): Added static probes "unmap_start" and
36430         "unmap_complete".
36431         * elf/rtld-debugger-interface.txt: New file documenting the above.
36432
36433 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36434
36435         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36436         rather than a string variable.
36437         * sunrpc/rpc_main.c (h_output): Likewise.
36438         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36439
36440 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36441
36442         * inet/check_native.c: New file.
36443
36444 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36445
36446         [BZ #13629]
36447         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36448         if larger part has absolute value 1.0.
36449         * math/s_clog10.c (__clog10): Likewise.
36450         * math/s_clog10f.c (__clog10f): Likewise.
36451         * math/s_clog10l.c (__clog10l): Likewise.
36452         * math/s_clogf.c (__clogf): Likewise.
36453         * math/s_clogl.c (__clogl): Likewise.
36454         * math/libm-test.inc (clog_test): Add more tests.
36455         (clog10_test): Likewise.
36456         * sysdeps/i386/fpu/libm-test-ulps: Update.
36457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36458
36459         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36460         (pltexit): Likewise.
36461         (La_regs): Likewise.
36462         (La_retval): Likewise.
36463         (int_retval): Likewise.
36464         Update #error for removed macros to refer only to definitions in
36465         tst-audit.h.
36466         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36467         macro.
36468         (pltexit): Likewise.
36469         (La_regs): Likewise.
36470         (La_retval): Likewise.
36471         (int_retval): Likewise.
36472         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36473         macro.
36474         (pltexit): Likewise.
36475         (La_regs): Likewise.
36476         (La_retval): Likewise.
36477         (int_retval): Likewise.
36478         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36479         macro.
36480         (pltexit): Likewise.
36481         (La_regs): Likewise.
36482         (La_retval): Likewise.
36483         (int_retval): Likewise.
36484         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36485         macro.
36486         (pltexit): Likewise.
36487         (La_regs): Likewise.
36488         (La_retval): Likewise.
36489         (int_retval): Likewise.
36490         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36491         macro.
36492         (pltexit): Likewise.
36493         (La_regs): Likewise.
36494         (La_retval): Likewise.
36495         (int_retval): Likewise.
36496         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36497         macro.
36498         (pltexit): Likewise.
36499         (La_regs): Likewise.
36500         (La_retval): Likewise.
36501         (int_retval): Likewise.
36502         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36503         macro definitions in tst-audit.h.
36504         * sysdeps/i386/tst-audit.h: New file.
36505         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36506         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36507         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36508         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36509         * sysdeps/sh/tst-audit.h: Likewise.
36510         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36511         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36512         * sysdeps/x86_64/tst-audit.h: Likewise.
36513
36514 2012-07-26  Andreas Jaeger  <aj@suse.de>
36515
36516         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36517         ptrace.
36518
36519         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36520         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36521         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36522         PTRACE_O_MASK.
36523         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36524         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36525         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36526
36527         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36528         value.
36529
36530         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36531         _sigsys.
36532         (si_call_addr, si_syscall, si_arch): Define new macro.
36533         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36534         _sigsys.
36535         (si_call_addr, si_syscall, si_arch): Define new marcro.
36536         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36537         _sigsys.
36538         (si_call_addr, si_syscall, si_arch): Define new macro.
36539         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36540         _sigsys.
36541         (si_call_addr, si_syscall, si_arch): Define new macro.
36542
36543 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36544
36545         [BZ #13717]
36546         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36547         Change to 2.4.21 where previously 2.4.1.
36548         * sysdeps/unix/sysv/linux/configure: Regenerated.
36549         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36550         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36551         Linux kernel version.
36552         (__ASSUME_STD_AUXV): Remove.
36553         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36554         kernel version.
36555         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36556         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36557         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36558         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36559         (__ASSUME_NETLINK_SUPPORT): Likewise.
36560         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36561         (__no_netlink_support): Remove conditional definition.
36562         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36563         Remove.
36564         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36565         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36566         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36567         (if_nameindex_ioctl): Remove.
36568         (if_nameindex_netlink): Do not handle __no_netlink_support.
36569         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36570         code.
36571         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36572         Remove conditional code.
36573         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36574         code.
36575         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36576         unconditional.
36577         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36578         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36579         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36580         Remove.
36581         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36582         [!__ASSUME_STD_AUXV]: Remove conditional code.
36583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36584         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36585         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36587         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36588         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36589         code.
36590         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36592         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36593         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36594         conditional code.
36595         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36597         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36598         code.
36599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36600         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36601         conditional code.
36602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36603         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36604         code unconditional.
36605         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36606         conditional code.
36607         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36608         unconditional.
36609         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36610         conditional code.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36612         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36613         unconditional.
36614         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36615         conditional code.
36616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36617         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36618         code unconditional.
36619         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36620         conditional code.
36621         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36622         unconditional.
36623         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36624         conditional code.
36625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36626         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36627         code unconditional.
36628         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36629         conditional code.
36630         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36631         unconditional.
36632         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36633         conditional code.
36634
36635 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36636
36637         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36638         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36639         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36640         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36641         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36642         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36643         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36644         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36645         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36646         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36647         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36648         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36649         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36650         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36651         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36652         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36653         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36654         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36655         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36657         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36658         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36659         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36660
36661 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36662
36663         * Versions.def: Add GLIBC_2.17.
36664         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36665         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36666         Introduce __libc_secure_getenv.
36667         * stdlib/Versions (2.17): Add secure_getenv
36668         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36669         * stdlib/secure-getenv.c: Rename __secure_getenv to
36670         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36671         symbol __secure_getenv for GLIBC_2.0.
36672         * stdlib/tst-secure-getenv.c: New.
36673         * stdlib/Makefile (tests): Add testcase.
36674         * manual/startup.texi (Environment Access): Document
36675         secure_getenv.
36676         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36677         __libc_secure_getenv.
36678         * inet/ruserpass.c (ruserpass): Likewise.
36679         * malloc/mtrace.c (mtrace): Likewise.
36680         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36681         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36682         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36683         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36684         HAVE_SECURE_GETENV.
36685         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36686         __secure_getenv to __libc_secure_getenv.
36687         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36689         Likewise.
36690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36691         Likewise.
36692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36699
36700 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36701
36702         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36703         (struct La_i86_retval): Likewise.
36704         (struct La_x86_64_regs): Likewise.
36705         (struct La_x86_64_retval): Likewise.
36706         (struct La_x32_regs): Likewise.
36707         (struct La_x32_retval): Likewise.
36708         (struct La_ppc32_regs): Likewise.
36709         (struct La_ppc32_retval): Likewise.
36710         (struct La_ppc64_regs): Likewise.
36711         (struct La_ppc64_retval): Likewise.
36712         (struct La_sh_regs): Likewise.
36713         (struct La_sh_retval): Likewise.
36714         (struct La_s390_32_regs): Likewise.
36715         (struct La_s390_32_retval): Likewise.
36716         (struct La_s390_64_regs): Likewise.
36717         (struct La_s390_64_retval): Likewise.
36718         (struct La_sparc32_regs): Likewise.
36719         (struct La_sparc32_retval): Likewise.
36720         (struct La_sparc64_regs): Likewise.
36721         (struct La_sparc64_retval): Likewise.
36722         (struct audit_ifaces): Remove architecture-specific pltenter and
36723         pltexit members.
36724         * sysdeps/i386/ldsodefs.h: New file.
36725         * sysdeps/powerpc/ldsodefs.h: Likewise.
36726         * sysdeps/s390/ldsodefs.h: Likewise.
36727         * sysdeps/sh/ldsodefs.h: Likewise.
36728         * sysdeps/sparc/ldsodefs.h: Likewise.
36729         * sysdeps/x86_64/ldsodefs.h: Likewise.
36730
36731 2012-07-25  Marek Polacek  <polacek@redhat.com>
36732
36733         [BZ #6808]
36734         * math/libm-test.inc (yn_test): Add another test.
36735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36736         to ERANGE when the result is +-Inf.
36737         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36740         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36741
36742 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36743
36744         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36745         equal to 0.
36746         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36747         clock_t.
36748         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36749
36750 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36751
36752         * configure.in <sysdeps resolving>: Correct printing
36753         Implies_before.
36754         * configure: Regenerate.
36755
36756 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36757
36758         * math/w_ilogb.c: Include <limits.h>.
36759         * math/w_ilogbl.c: Likewise.
36760
36761 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36762
36763         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36764         va_copy.  Document allowing for unavailable va_copy only as
36765         pre-C99 compatibility.
36766         * manual/string.texi (Copying and Concatenation): Use va_copy
36767         instead of __va_copy in concat example.
36768
36769 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36770
36771         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36772         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36773         it if not null.
36774
36775         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36776         with O_NOLINK passed to __file_name_lookup.
36777
36778         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36779         with O_NOLINK passed to __file_name_lookup.
36780
36781         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36782         negative N or less than NGIDS.
36783
36784         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36785         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36786         enough.  Use memcpy instead of strncpy.
36787
36788 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36789
36790         * elf/Makefile (check-data): Remove.
36791         (localplt.data): New vpath directive.
36792         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36793         instead of $(check-data).
36794         * scripts/data/localplt-generic.data: Move to ...
36795         * sysdeps/generic/localplt.data: ... here.
36796         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36797         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36798         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36800         ... here.
36801         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36803         ... here.
36804         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36806         ... here.
36807         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36809         ... here.
36810         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36812         ... here.
36813         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36815         ... here.
36816
36817 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36818
36819         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36820         PPC32 and PPC64 files.
36821         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36822         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36823
36824 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36825
36826         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36827         __makecontext_ret to ...
36828         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36829         ... here and call exit if uc_link is NULL.  New file.
36830         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36831         __makecontext_ret.S.
36832         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36833         __makecontext_ret to ...
36834         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36835         ... here and call exit if uc_link is NULL.  New file.
36836         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36837         __makecontext_ret.S.
36838
36839 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36840
36841         * elf/elf.h (R_390_IRELATIVE): New definition.
36842         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36843         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36844         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36846         (elf_machine_lazy_rel): Likewise.
36847         * sysdeps/s390/dl-irel.h: New file.
36848         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36849         * sysdeps/s390/s390-64/memset.S: New asm code.
36850         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36851         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36852         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36853         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36854         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36855         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36857         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36858         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36859         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36860         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36861         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36862         * sysdeps/s390/s390-32/memset.S: New asm code.
36863         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36864
36865 2012-07-17  Marek Polacek  <polacek@redhat.com>
36866
36867         [BZ #14349]
36868         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36869         * sysdeps/s390/s390-64/configure.in: Likewise.
36870         * sysdeps/sparc/configure.in: Likewise.
36871         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36872         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36873         * sysdeps/i386/configure.in: Likewise.
36874         * sysdeps/x86_64/configure.in: Likewise.
36875         * sysdeps/sh/configure.in: Likewise.
36876         * sysdeps/s390/s390-32/configure: Regenerated.
36877         * sysdeps/s390/s390-64/configure: Likewise.
36878         * sysdeps/x86_64/configure: Likewise.
36879         * sysdeps/sh/configure: Likewise.
36880         * sysdeps/powerpc/powerpc64/configure: Likewise.
36881         * sysdeps/powerpc/powerpc32/configure: Likewise.
36882         * sysdeps/sparc/configure: Likwise.
36883         * sysdeps/i386/configure: Likewise.
36884
36885         * elf/dl-open.c: Comment fixes.
36886
36887 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36888
36889         * Makefile [CXX] (check-data): Remove.
36890         [CXX] (c++-types.data): New vpath directive.
36891         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36892         vpath.  Do not allow for C++ type data being missing.
36893         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36894         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36895         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36896         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36897         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36898         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36899         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36901         ... here.
36902         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36904         ... here.
36905         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36907         ... here.
36908         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36910         ... here.
36911         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36913         ... here.
36914         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36916         ... here.
36917         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36919         ... here.
36920         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36922
36923         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36924         definitions to architecture-specific files.
36925         (TLS_IE): Likewise.
36926         (TLS_LD): Likewise.
36927         (TLS_GD): Likewise.
36928         * sysdeps/i386/tls-macros.h: New file.
36929         * sysdeps/powerpc/tls-macros.h: Likewise.
36930         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36931         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36932         * sysdeps/sh/tls-macros.h: Likewise.
36933         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36934         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36935         * sysdeps/x86_64/tls-macros.h: Likewise.
36936
36937 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36938
36939         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36940         zero value for regular exit case.
36941
36942         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36943         (__start_context): Preserve zero value for regular exit case.
36944
36945 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36946             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36947
36948         * manual/setjmp.texi (setcontext): Clarify normal process
36949         termination when uc_link is the null pointer.
36950         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36951         exit call.
36952
36953 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36954
36955         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36956         preprocessor.  Test for each exception mask separately.
36957
36958 2012-07-16  Andreas Jaeger  <aj@suse.de>
36959
36960         * po/ru.po: Update from translation team.
36961
36962 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36963
36964         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36965         equal to 0.
36966         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36967         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36968         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36969         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36971
36972 2012-07-13  Andreas Jaeger  <aj@suse.de>
36973
36974         * po/fr.po: Update from translation team.
36975
36976 2012-07-12  Marek Polacek  <polacek@redhat.com>
36977
36978         [BZ #14173]
36979         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36980         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36981         loop condition.
36982
36983 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36984
36985         [BZ #13717]
36986         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36987         Change to 2.4.1 where previously 2.4.0.
36988         * sysdeps/unix/sysv/linux/configure: Regenerated.
36989         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36990         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36991         version.
36992         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36993         (__ASSUME_AT_CLKTCK): Remove.
36994         (__ASSUME_AT_PAGESIZE): Likewise.
36995         (__ASSUME_AT_XID): Likewise.
36996         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36997         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36998         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36999         unconditionally.
37000         (HAVE_AUX_PAGESIZE): Likewise.
37001         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37002         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37003         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37004
37005 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37006
37007         [BZ #14307]
37008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37009         the temporary buffer used to invoke __gethostbyname2_r,
37010         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37011         host_data / struct gaih_addrtuple.
37012         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37013         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37014         header file nss/nsswitch.h.
37015         * nss/nsswitch.h (global scope): Add definition of implementation
37016         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37017         resolv/nss_dns/dns-host.c).
37018
37019 2012-07-11  Andreas Jaeger  <aj@suse.de>
37020
37021         * po/fr.po: Update from translation team.
37022
37023         * po/sv.po: Update from translation team
37024         * po/fr.po: Another update from translation team.
37025
37026 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37027
37028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37029         for subnormals or multiply small sinh result by itself.
37030         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37032
37033 2012-07-11  David S. Miller  <davem@davemloft.net>
37034
37035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37036
37037 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37038
37039         [BZ #14347]
37040         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37041         (INTERNAL_MARK): Shift it here.
37042
37043 2012-07-10  Marek Polacek  <polacek@redhat.com>
37044
37045         [BZ #14151]
37046         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37047         libc_cv_asm_global_directive with .globl.
37048         * configure: Regenerated.
37049         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37050         with .globl.
37051         * sysdeps/i386/configure: Regenerated.
37052         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37053         with .globl.
37054         * sysdeps/x86_64/configure: Regenerated.
37055         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37056         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37057         * elf/tst-unique2mod2.c: Likewise.
37058         * elf/tst-unique2mod1.c: Likewise.
37059         * elf/tst-unique1mod2.c: Likewise.
37060         * elf/tst-unique1mod1.c: Likewise.
37061         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37062         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37063         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37064         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37065         * sysdeps/mach/sysdep.h: Likewise.
37066         * sysdeps/i386/sysdep.h: Likewise.
37067         * sysdeps/i386/i386-mcount.S: Likewise.
37068         * sysdeps/x86_64/_mcount.S: Likewise.
37069         * sysdeps/x86_64/sysdep.h: Likewise.
37070         * sysdeps/sh/_mcount.S: Likewise.
37071         * sysdeps/sh/sysdep.h: Likewise.
37072         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37073         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37074         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37076         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37077         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37078         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37079         * locale/localeinfo.h: Likewise.
37080         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37081         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37082
37083 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37084
37085         [BZ #14336]
37086         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37087         system".
37088         * manual/message.texi (The Uniforum approach): Likewise.
37089         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37090         (glibc iconv Implementation): Likewise.
37091
37092 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37093
37094         [BZ #14337]
37095         * math/s_clog.c (__clog): Avoid scaling a value down where that
37096         could result in underflow.
37097         * math/s_clog10.c (__clog10): Likewise.
37098         * math/s_clog10f.c (__clog10f): Likewise.
37099         * math/s_clog10l.c (__clog10l): Likewise.
37100         * math/s_clogf.c (__clogf): Likewise.
37101         * math/s_clogl.c (__clogl): Likewise.
37102         * math/libm-test.inc (clog_test): Add more tests.
37103         (clog10_test): Likewise.
37104         * sysdeps/i386/fpu/libm-test-ulps: Update.
37105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37106
37107 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37108
37109         [BZ #14283]
37110         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37111         by 7 not 8 to examine high bit of fractional part.
37112
37113         [BZ #14042]
37114         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37115         for call to __mcount_internal.
37116         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37117         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37118         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37119
37120 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37121
37122         [BZ #14154]
37123         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37124         approximation for values within 0x1p-13f of an odd multiple of
37125         pi/4.
37126         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37127         exception.  Add more tests.
37128         * sysdeps/i386/fpu/libm-test-ulps: Update.
37129
37130         [BZ #6778]
37131         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37132         inputs and return -1 for them.  Do not check for +Inf in case not
37133         reachable for +Inf.
37134         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37135         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37136         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37137         and return -1 for them.  Do not check for +Inf in case not
37138         reachable for +Inf.
37139         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37140         define.
37141         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37142         and return -1 for them.  Do not check for +Inf in case not
37143         reachable for +Inf.
37144         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37145         spurious underflow.
37146         * sysdeps/i386/fpu/libm-test-ulps: Update.
37147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37148
37149 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37150
37151         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37152
37153 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37154
37155         [BZ #14157]
37156         [BZ #14331]
37157         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37158         could result in spurious underflow.  Scale down values above
37159         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37160         * math/s_csqrtf.c (__csqrtf): Likewise.
37161         * math/s_csqrtl.c (__csqrtl): Likewise.
37162         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37163         spurious underflow.
37164         * sysdeps/i386/fpu/libm-test-ulps: Update.
37165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37166
37167 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37168
37169         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37170         xopen-msg.sed.
37171         * catgets/xopen-msg.awk: New file.
37172         * catgets/xopen-msg.sed: Removed.
37173
37174         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37175         po2text.sed.
37176         * intl/po2test.awk: New file.
37177         * intl/po2test.sed: Removed.
37178
37179 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37180
37181         [BZ #14328]
37182         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37183         or multiply small sinh result by itself.
37184         * math/s_ctanf.c (__ctanf): Likewise.
37185         * math/s_ctanh.c (__ctanh): Likewise.
37186         * math/s_ctanhf.c (__ctanhf): Likewise.
37187         * math/s_ctanhl.c (__ctanhl): Likewise.
37188         * math/s_ctanl.c (__ctanl): Likewise.
37189         * math/libm-test.inc (ctan_test_tonearest): New function.
37190         (ctan_test_towardzero): Likewise.
37191         (ctan_test_downward): Likewise.
37192         (ctan_test_upward): Likewise.
37193         (ctanh_test_tonearest): Likewise.
37194         (ctanh_test_towardzero): Likewise.
37195         (ctanh_test_downward): Likewise.
37196         (ctanh_test_upward): Likewise.
37197         (main): Call these new functions.
37198         * sysdeps/i386/fpu/libm-test-ulps: Update.
37199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37200
37201 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37202
37203         * .gitignore: Delete /ports entry.
37204
37205 2012-07-03  Andreas Jaeger  <aj@suse.de>
37206
37207         * po/bg.po: Update from translation team.
37208         * po/cs.po: Likewise.
37209         * po/de.po: Likewise.
37210         * po/hr.po: Likewise.
37211         * po/nl.pl: Likewise.
37212         * po/pl.po: Likewise.
37213         * po/vi.po: Likewise.
37214
37215 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37216
37217         * Makeconfig [!+link] (+link-before-libc): New variable.
37218         [!+link] (+link-after-libc): Likewise.
37219         [!+link] (+link-tests): Likewise.
37220         [!+link] (+link): Define in terms of $(+link-before-libc) and
37221         $(+link-after-libc).
37222         [!+link-static] (+link-static-before-libc): New variable.
37223         [!+link-static] (+link-static-after-libc): Likewise.
37224         [!+link-static] (+link-static-tests): Likewise.
37225         [!+link-static] (+link-static): Define in terms of
37226         $(+link-static-before-libc) and $(+link-static-after-libc).
37227         [build-shared] (link-libc-before-gnulib): New variable.
37228         [build-shared] (link-libc-tests): Likewise.
37229         [build-shared] (link-libc): Define in terms of
37230         $(link-libc-before-gnulib).
37231         [!build-shared] (link-libc-tests): New variable.
37232         (link-libc-static-tests): New variable.
37233         [!gnulib] (gnulib-arch): New variable.
37234         [!gnulib] (gnulib-tests): Likewise.
37235         [!gnulib] (static-gnulib-arch): Likewise.
37236         [!gnulib] (static-gnulib-tests): Likewise.
37237         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37238         Define with "=" instead of ":=".
37239         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37240         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37241         * Rules (binaries-all-notests): New variable.
37242         (binaries-all-tests): Likewise.
37243         (binaries-static-notests): Likewise.
37244         (binaries-static-tests): Likewise.
37245         (binaries-all): Define using $(binaries-all-notests) and
37246         $(binaries-all-tests).
37247         (binaries-static): Define using $(binaries-static-notests) and
37248         $(binaries-static-tests).
37249         (binaries-shared-tests): New variable.
37250         (binaries-shared-notests): Likewise.
37251         (binaries-shared): Remove variable.
37252         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37253         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37254         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37255         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37256         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37257         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37258         * elf/Makefile (sln-modules): New variable.
37259         (extra-objs): Add $(sln-modules:=.o).
37260         (ldconfig-modules): Add static-stubs.
37261         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37262         * elf/static-stubs.c: New file.
37263
37264         [BZ #14283]
37265         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37266         by 7 not 8 to examine high bit of fractional part.  Use volatile
37267         variables when splitting into final array of floats if
37268         __FLT_EVAL_METHOD__ != 0.
37269         * math/libm-test.inc (cos_test): Add another test.
37270         (sin_test): Likewise.
37271         * sysdeps/i386/fpu/libm-test-ulps: Update.
37272
37273         [BZ #14273]
37274         * math/libm-test.inc (cosh_test): Add more tests.
37275
37276         * version.h (RELEASE): Set to "development".
37277         (VERSION): Set to "2.16.90".
37278
37279 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37280
37281         * NEWS: Update copyright. Remove last-updated date.
37282         Mention math library bug fixes and timezone data changes.
37283         * README: Mention GNU/Hurd, x32, and HPPA support status.
37284
37285 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37286
37287         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37288
37289 2012-06-27  Andreas Jaeger  <aj@suse.de>
37290
37291         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37292
37293 2012-06-25  Andreas Jaeger  <aj@suse.de>
37294
37295         * sysdeps/s390/fpu/libm-test-ulps: Update.
37296
37297 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37298             Thomas Schwinge  <thomas@codesourcery.com>
37299
37300         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37301         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37303         fanotify_mark.
37304
37305 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37306
37307         * sysdeps/mach/start.c: Remove file.
37308         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37309         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37310         * sysdeps/sh/init-first.c: Likewise.
37311
37312         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37313         registers for frame unwinding purposes, add CFI directives.
37314         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37316         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37317         Likewise.
37318
37319         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37320         __fortify_fail returning.
37321         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37322
37323         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37324         sysdeps/sh/____longjmp_chk.S.
37325         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37326         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37327         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37328         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37329
37330         * sysdeps/sh/abort-instr.h: New file.
37331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37332         process in case exit returns.
37333
37334         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37335         initialize the GOT register before use.
37336
37337         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37338         calculation of ARGC > 4.
37339
37340         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37341         meaningful names to some local labels.
37342
37343 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37344             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37345
37346         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37347         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37348         (__arch_compare_and_exchange_val_16_acq): Likewise.
37349         (__arch_compare_and_exchange_val_32_acq): Likewise.
37350         (atomic_exchange_and_add): Fix gUSA sequence.
37351         (atomic_add): Likewise.
37352         (atomic_add_negative): Likewise.
37353         (atomic_add_zero): Likewise.
37354         (atomic_bit_test_set): Likewise.
37355
37356 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37357
37358         [BZ #13579]
37359         * include/link.h (struct link_map): Add l_free_initfini.
37360         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37361         l_initfini.
37362         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37363         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37364         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37365         set.
37366
37367 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37368
37369         * configure.in: Use AC_LANG_SOURCE.
37370         * configure: Regenerate.
37371
37372 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37373
37374         * configure.in (libc_cv_localstatedir): New substituted variable.
37375         * configure: Regenerated.
37376         * config.make.in (localstatedir): New variable, substituted from
37377         libc_cv_localstatedir.
37378         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37379         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37380         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37381         * sysdeps/gnu/configure: Regenerated.
37382
37383 2012-06-21  Jeff Law  <law@redhat.com>
37384
37385         [BZ #14277]
37386         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37387         free.  Simplify list management for _LIBC case.
37388
37389 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37390
37391         [BZ #14273]
37392         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37393         Clear sign bit of 64-bit integer value before comparing against
37394         overflow value.
37395
37396         * sysdeps/mach/configure: Regenerated.
37397
37398 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37399
37400         [BZ #14278]
37401         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37402
37403 2012-06-21  Jeff Law  <law@redhat.com>
37404
37405         [BZ #13882]
37406         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37407         uint16_t for elements in the "seen" array to avoid char overflows.
37408         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37409         * elf/dl-open.c (dl_open_worker): Likewise.
37410
37411 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37412
37413         * scripts/list-sources.sh: Scan PORTS for translations.
37414         * po/libc.pot: Regenerated.
37415
37416 2012-06-21  Andreas Jaeger  <aj@suse.de>
37417
37418         [BZ #12194]
37419         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37420         warning.
37421         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37422         * bits/byteswap-16.h (__bswap_16): Likewise.
37423         * bits/byteswap.h (__bswap_constant_16): Likewise.
37424
37425 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37426
37427         [BZ #14117]
37428         * sysdeps/i386/fpu_control.h: Removed.
37429         * sysdeps/x86_64/fpu_control.h: Moved to ...
37430         * sysdeps/x86/fpu_control.h: Here.
37431
37432         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37433         (_FPU_SETCW): Likewise.
37434
37435 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37436
37437         [BZ #14117]
37438         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37439         * sysdeps/x86/fpu/bits/mathinline.h: This.
37440         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37441
37442         [BZ #14050]
37443         [BZ #14117]
37444         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37445         functions if __x86_64__ is defined.
37446
37447 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37448
37449         * string/endian.h: Add !__ASSEMBLER__ condition for including
37450         conversion interfaces.
37451
37452 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37453
37454         [BZ #14241]
37455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37456         of ABS(x) in calculating zero to negative powers other than odd
37457         integers.
37458         * math/libm-test.inc (pow_test): Add more tests.
37459
37460 2012-06-15  Andreas Jaeger  <aj@suse.de>
37461
37462         * manual/contrib.texi (Contributors): Update entry of Liubov
37463         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37464         Machado Filho.
37465
37466 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37467
37468         * string/string.h: Add __wur to GNU version of strerror_r.
37469
37470 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37471
37472         [BZ #14229]
37473         * string/Makefile (tests): Add tst-strtok_r.
37474         * string/tst-strtok_r.c: New file.
37475         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37476         RAX_LP/RDX_LP on SAVE_PTR.
37477
37478 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37479
37480         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37481
37482 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37483
37484         * libm_test.inc (csqrt_test): Allow more spurious underflow
37485         exceptions.
37486         (j0_test): Likewise.
37487         (j1_test): Likewise.
37488         (y0_test): Likewise.
37489         (y1_test): Likewise.
37490
37491 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37492
37493         * po/Makefile (libc.pot): Use UTF-8 charset.
37494
37495 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37496
37497         [BZ #14210]
37498         Suppress sign-conversion warning from FD_SET.
37499         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37500         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37501         not unsigned long int.
37502         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37503
37504 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37505
37506         [BZ #14050]
37507         [BZ #14117]
37508         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37509         __extern_always_inline instead of __extern_inline.
37510         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37511         (__signbit): Likewise.
37512         (__signbitl): Support C++ namespace.
37513         (lrintf): New inline function.
37514         (lrint): Likewise.
37515         (llrintf): Likewise.
37516         (llrint): Likewise.
37517         (fmaxf): Likewise.
37518         (fmax): Likewise.
37519         (fminf): Likewise.
37520         (fmin): Likewise.
37521         (rint): Likewise.
37522         (rintf): Likewise.
37523         (ceil): Likewise.
37524         (ceilf): Likewise.
37525         (floor): Likewise.
37526         (floorf): Likewise.
37527         (nearbyint): Likewise.
37528         (nearbyintf): Likewise.
37529
37530 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37531
37532         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37533         non-default versions.
37534
37535 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37536
37537         [BZ #14218]
37538         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37539
37540 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37541
37542         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37543         (FE_UPWARD, FE_DOWNWARD): Don't define.
37544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37545         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37546
37547         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37548         reading it.
37549         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37550         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37551
37552 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37553
37554         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37556         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37557         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37558
37559 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37560
37561         [BZ #14117]
37562         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37563         * sysdeps/i386/fpu/Implies: New file.
37564         * sysdeps/x86_64/fpu/Implies: Likewise.
37565         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37566         * sysdeps/x86/fpu/bits/fenv.h: This.
37567
37568         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37569         __SSE_MATH__.
37570
37571 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37572
37573         [BZ #14134]
37574         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37575         character 0xffff that matches the last element of the
37576         conversion table.
37577
37578 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37579
37580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37581         fmodl commit.
37582
37583 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37584
37585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37586         values higher than 25.6283.
37587
37588 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37589
37590         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37591         subnormal exponent extraction and add some __builtin_expect.
37592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37593         Fix for subnormal mantissa calculation.
37594
37595 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37596
37597         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37598         cpu2 is -1 and errno is not ENOSYS.
37599
37600 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37601
37602         [BZ #14117]
37603         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37604         * sysdeps/x86/bits/string.h: This.
37605         * sysdeps/x86_64/bits/string.h: Removed.
37606
37607         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37608         if not compiling for x86-64, but compiling for >= i486.
37609
37610         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37611         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37612
37613         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37614         New macro from Linux kernel 3.4.0.
37615         (FP_XSTATE_MAGIC2): Likewise.
37616         (FP_XSTATE_MAGIC2_SIZE): Likewise.
37617         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37618         (struct _fpx_sw_bytes): New struct.
37619         (struct _xsave_hdr): Likewise.
37620         (struct _ymmh_state): Likewise.
37621         (struct _xstate): Likewise.
37622
37623         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37624         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37625         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37626         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37627         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37628         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37629
37630         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37631         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37632         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37633         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37634         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37635         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37636
37637 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37638
37639         [BZ #13743]
37640         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37641         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37642         (sysdep_headers): Include sys/platform/ppc.h.
37643         * sysdeps/powerpc/test-gettimebase.c: Test for
37644         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37645         * manual/Makefile (appendices): Include platform.texi.
37646         * manual/contrib.texi (Contributors): Update @node pointers.
37647         * manual/maint.texi (Maintenance): Likewise.
37648         (Platform): New node.
37649         * manual/platform.texi: New file.  Document the new features.
37650
37651 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37652             Jakub Jelinek  <jakub@redhat.com>
37653
37654         [BZ #14188]
37655         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37656         where __builtin_expect is unavailable.
37657
37658 2012-06-03  David S. Miller  <davem@davemloft.net>
37659
37660         * stdlib/longlong.h: Updated from GCC.
37661
37662 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37663
37664         [BZ #14042]
37665         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37666         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37667         __mcount_internal.
37668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37669         (GLIBC_2.16): Likewise.
37670
37671 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37672
37673         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37674
37675 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37676
37677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37678         (default-abi): New variable.
37679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37680         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37681         variable.
37682         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37683         Likewise.
37684         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37685         Likewise.
37686         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37687         Likewise.
37688
37689         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37690         definition.  Document in comment.
37691
37692 2012-06-01  David S. Miller  <davem@davemloft.net>
37693
37694         * stdlib/longlong.h: Updated from GCC.
37695
37696 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37697
37698         [BZ #14117]
37699         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37700         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37701         sys/debugreg.h sys/io.h here.
37702         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37703         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37704         sys/io.h.
37705         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37706         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37707         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37708         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37709         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37710         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37711
37712         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37713         Define only if __x86_64__ is defined.
37714
37715 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37716
37717         [BZ #14048]
37718         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37719         Use int64_t for variable i.
37720         * math/libm-test.inc (fmod_test): Add more tests.
37721
37722         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37723         z computation is not scheduled after fetestexcept.
37724         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37725         Use math_force_eval instead of asm to ensure calculation scheduled
37726         before exception test.
37727         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37728         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37729
37730 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37731
37732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37733         computation is not scheduled after fetestexcept.
37734
37735 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37736
37737         [BZ #14117]
37738         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37739         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37740
37741 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37742
37743         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37744         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37745
37746 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37747
37748         [BZ #14117]
37749         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37750         <bits/wordsize.h>.
37751         (__WCHAR_MIN): Support __WORDSIZE == 64.
37752         (__WCHAR_MAX): Likewise.
37753
37754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37755         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37756
37757         [BZ #14183]
37758         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37759         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37760
37761         [BZ #14117]
37762         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37764
37765         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37766         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37767
37768         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37769         Defined to 1 if __x86_64__ isn't defined.
37770         (_STAT_VER_LINUX_OLD): New.
37771         (st_atime): Remove duplicate.
37772         (st_mtime): Likewise.
37773         (st_ctime): Likewise.
37774
37775 2012-05-31  David S. Miller  <davem@davemloft.net>
37776
37777         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37778         entries.
37779
37780 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37781
37782         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37783         gen-libm-test.pl.
37784
37785         [BZ #14132]
37786         * elf/dl-reloc.c: Include <_itoa.h>.
37787         (_dl_reloc_bad_type): Remove use of INTUSE.
37788         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37789         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37790         * stdio-common/psiginfo.c (psiginfo): Likewise.
37791         * stdio-common/psignal.c (psignal): Likewise.
37792         * string/strsignal.c (strsignal): Likewise.
37793         * include/signal.h (_sys_siglist): Declare hidden proto.
37794         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37795         INTVARDEF with libc_hidden_data_def.
37796         * stdio-common/itoa-udigits.c: Likewise.
37797         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37798         (_itoa_lower_digits_internal): Remove declaration.
37799         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37800         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37801         (_sys_sigabbrev_internal): Remove aliases.
37802         (_sys_siglist): Define hidden alias.
37803
37804 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37805
37806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37807         bits/sysctl.h.
37808
37809 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37810
37811         [BZ #14117]
37812         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37813         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37814
37815         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37816         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37817         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37818         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37819         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37820         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37821
37822         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37823         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37824         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37825
37826         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37827         with __addr.
37828         (insw): Likewise.
37829         (insl): Likewise.
37830         (outsb): Likewise.
37831         (outsw): Likewise.
37832         (outsl): Likewise.
37833
37834         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37835         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37836         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37837
37838         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37839         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37840         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37841         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37842         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37843         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37844
37845         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37846         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37847
37848         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37849         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37850
37851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37852         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37853         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37854
37855         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37856         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37857         to ...
37858         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37859
37860         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37861         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37862         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37863
37864         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37865         for x86-64.
37866         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37867
37868 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37869
37870         * math/math.h (M_El): Use two more decimal places.
37871         (M_LOG2El): Likewise.
37872         (M_LOG10El): Likewise.
37873         (M_LN2l): Likewise.
37874         (M_LN10l): Likewise.
37875         (M_PIl): Likewise.
37876         (M_PI_2l): Likewise.
37877         (M_PI_4l): Likewise.
37878         (M_1_PIl): Likewise.
37879         (M_2_PIl): Likewise.
37880         (M_2_SQRTPIl): Likewise.
37881         (M_SQRT2l): Likewise.
37882         (M_SQRT1_2l): Likewise.
37883
37884 2012-05-31  David S. Miller  <davem@davemloft.net>
37885
37886         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37887         values between float registers.
37888         * sysdeps/sparc/sparc64/memset.S: Likewise.
37889         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37890
37891 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37892
37893         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37894         -D_FORTIFY_SOURCE=1.
37895         (CPPFLAGS-tst-longjmp_chk.c): Define.
37896         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37897         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37898         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37899         CFLAGS-tst-wchar-h.c.
37900
37901 2012-05-31  Marek Polacek  <polacek@redhat.com>
37902
37903         [BZ #14132]
37904         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37905         __endmntent_internal): Remove declaration.
37906         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37907         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37908         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37909
37910 2012-05-30  David S. Miller  <davem@davemloft.net>
37911
37912         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37913         (___Q_simulate_exceptions): Use real FP ops rather than writing
37914         into the %fsr.
37915         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37916         Likewise.
37917
37918 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37919
37920         [BZ #14117]
37921         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37922         * sysdeps/x86/bits/xtitypes.h: This.
37923
37924         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37925         * sysdeps/x86/bits/wordsize.h: This.
37926
37927         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37928         * sysdeps/x86/bits/huge_vall.h: This.
37929
37930         * sysdeps/i386/bits/select.h: Removed.
37931         * sysdeps/x86_64/bits/select.h: Renamed to ...
37932         * sysdeps/x86/bits/select.h: This.
37933
37934         * sysdeps/i386/bits/setjmp.h: Removed.
37935         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37936         * sysdeps/x86/bits/setjmp.h: This.
37937
37938         * sysdeps/i386/bits/mathdef.h: Removed.
37939         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37940         * sysdeps/x86/bits/mathdef.h: This.
37941
37942 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37943
37944         [BZ #14132]
37945         * include/sys/socket.h (__connect_internal)
37946         (__libc_sa_len_internal): Remove declaration.
37947         (__connect, __libc_sa_len): Declare hidden_proto.
37948         (SA_LEN): Remove use of INTUSE.
37949         * socket/connect.c: Add libc_hidden_def.
37950         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37951         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37952         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37953         alias.
37954         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37955         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37956         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37957         of adding _internal alias.
37958
37959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37960
37961         [BZ #14117]
37962         * sysdeps/i386/bits/link.h: Removed.
37963         * sysdeps/i386/bits/linkmap.h: Likewise.
37964         * sysdeps/x86_64/bits/link.h: Renamed to ...
37965         * sysdeps/x86/bits/link.h: This.
37966         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37967         * sysdeps/x86/bits/linkmap.h: This.
37968
37969         * sysdeps/i386/bits/endian.h: Removed.
37970         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37971         * sysdeps/x86/bits/endian.h: This.
37972
37973         * sysdeps/i386/bits/byteswap.h: Removed.
37974         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37975         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37976         * sysdeps/x86/bits/byteswap.h: This.
37977         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37978         * sysdeps/x86/bits/byteswap-16.h: This.
37979         * sysdeps/i386/Implies: Add x86.
37980         * sysdeps/x86_64/Implies: Likewise.
37981
37982 2012-05-30  David S. Miller  <davem@davemloft.net>
37983
37984         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37985         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37986         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37987         (FP_TRAPPING_EXCEPTIONS): Define.
37988         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37989         (FP_TRAPPING_EXCEPTIONS): Define.
37990         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37991         subnormals only when inexact has been signalled or underflow
37992         exceptions are enabled.
37993         (_FP_PACK_CANONICAL): Likewise.
37994
37995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37996
37997         [BZ #14183]
37998         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37999         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38000
38001 2012-05-30  Richard Henderson  <rth@twiddle.net>
38002
38003         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38004         with #ifndef NOT_IN_libc.
38005
38006         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38007         marked to avoid plt entry.
38008
38009 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38010
38011         [BZ #14112]
38012         * Makeconfig (default-abi): New macro.
38013         (abi-includes): Likewise.
38014         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38015         $(abi-$(default-abi)-lib-soname) for soname if defined.
38016         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38017         abi-variants.
38018         * Makefile (installed-stubs): Likewise.
38019         * include/stubs-biarch.h: Removed.
38020         * scripts/lib-names.awk: Only handle one library at a time.
38021         * scripts/soversions.awk: Remove WORDSIZE support.
38022         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38023         entries.
38024         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38025         Removed.
38026         (syscall-list-default-condition): Likewise.
38027         (syscall-list-default-condition): Likewise.
38028         (syscall-list-includes): Likewise.
38029         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38030         syscall-list-* with abi-*.  Handle undefined abi-variants.
38031         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38032         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38033         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38034         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38035         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38036         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38037         Removed.
38038         (syscall-list-32-options): Likewise.
38039         (syscall-list-32-condition): Likewise.
38040         (syscall-list-64-options): Likewise.
38041         (syscall-list-64-condition): Likewise.
38042         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38043         macro.
38044         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38045         Renamed to ...
38046         (abi-*): This.
38047         (abi-64-ld-soname): New macro.
38048         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38049         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38050         Renamed to ...
38051         (abi-*): This.
38052         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38053         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38054
38055 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38056
38057         * sysdeps/unix/sysv/linux/kernel-features.h
38058         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38059         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38060         include <kernel-features.h>.
38061         [!__NR_ftruncate64]: Remove conditional code.
38062         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38063         [__NR_ftruncate64]: Make code unconditional.
38064         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38065         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38066         include <kernel-features.h>.
38067         [!__NR_ftruncate64]: Remove conditional code.
38068         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38069         [__NR_ftruncate64]: Make code unconditional.
38070         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38072         include <kernel-features.h>.
38073         [!__NR_ftruncate64]: Remove conditional code.
38074         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38075         [__NR_ftruncate64]: Make code unconditional.
38076         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38078         include <kernel-features.h>.
38079         [!__NR_ftruncate64]: Remove conditional code.
38080         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38081         [__NR_ftruncate64]: Make code unconditional.
38082         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38083
38084         * configure.in (libc_cv_fpie): Weaken to a compile test using
38085         LIBC_TRY_CC_OPTION.
38086         * configure: Regenerated.
38087
38088 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38089
38090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38094         Refreshed.
38095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38101         Refreshed.
38102
38103 2012-05-27  David S. Miller  <davem@davemloft.net>
38104
38105         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38106         (___Q_zero): New.
38107         (__Q_simulate_exceptions): Return void.  Change to simulate
38108         exceptions by writing into the %fsr.
38109         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38110         (__Qp_handle_exceptions): Likewise.
38111         (numbers): Delete.
38112         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38113         __Qp_handle_exceptions.
38114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38115         __Qp_handle_exceptions.
38116         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38117         as unused and give dummy FP_RND_NEAREST initializer.
38118         (FP_INHIBIT_RESULTS): Define.
38119         (___Q_simulate_exceptions): Update declaration.
38120         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38121         formatting.
38122         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38123         as unused and give dummy FP_RND_NEAREST initializer.
38124         (__Qp_handle_exceptions): Update declaration.
38125         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38126         formatting.
38127
38128 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38129
38130         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38131         the temporary FPU control word.
38132         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38133         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38134         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38135         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38136         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38137         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38138         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38139         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38140         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38141         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38142         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38143
38144 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38145
38146         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38147         fields.
38148
38149 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38150
38151         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38152         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38153         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38154         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38155         Likewise.
38156         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38157         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38158         Likewise.
38159
38160 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38161
38162         * po/h.po: Update from translation team.
38163
38164 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38165
38166         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38167
38168         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38169         handling of denormals.
38170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38171         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38172         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38173         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38177         Likewise.
38178
38179 2012-05-26  Marek Polacek  <polacek@redhat.com>
38180
38181         [BZ #14152]
38182         * math/libm-test.inc (fma_test): Don't always expect underflow
38183         exception.
38184
38185 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38186
38187         [BZ #12416]
38188         * elf/tst-execstack.c: Include stackinfo.h.
38189         (do_test): Adjust test case to ensure that pthread_getattr_np
38190         behaviour remains the same after marking stack executable.
38191
38192 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38193
38194         * sysdeps/unix/sysv/linux/kernel-features.h
38195         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38196         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38197         kernel-features.h.
38198         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38199         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38200         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38201         kernel-features.h.
38202         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38203         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38204
38205 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38206
38207         * configure.in: Define the default includes to being none.
38208         * configure: Regenerated.
38209
38210 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38211
38212         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38213         * sysdeps/x86_64/setjmp.S: Likewise.
38214         * sysdeps/i386/bsd-setjmp.S: Likewise.
38215         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38216         * sysdeps/i386/setjmp.S: Likewise.
38217         * sysdeps/i386/__longjmp.S: Likewise.
38218         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38219         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38220
38221         * include/stap-probe.h: New file.
38222         * configure.in: Handle --enable-systemtap.
38223         * configure: Regenerated.
38224         * config.h.in (USE_STAP_PROBE): New #undef.
38225         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38226         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38227         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38228
38229 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38230
38231         [BZ #13717]
38232         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38233         to 2.4.0 where earlier.
38234         * sysdeps/unix/sysv/linux/configure: Regenerated.
38235         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38236         <kernel-features.h>.
38237         [__ASSUME_32BITUIDS]: Make code unconditional.
38238         [!__ASSUME_32BITUIDS]: Remove conditional code.
38239         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38240         <kernel-features.h>.
38241         [__ASSUME_32BITUIDS]: Make code unconditional.
38242         [!__ASSUME_32BITUIDS]: Remove conditional code.
38243         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38244         [__ASSUME_32BITUIDS]: Make code unconditional.
38245         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38246         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38247         <kernel-features.h>.
38248         [__ASSUME_32BITUIDS]: Make code unconditional.
38249         [!__ASSUME_32BITUIDS]: Remove conditional code.
38250         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38251         <kernel-features.h>.
38252         [__ASSUME_32BITUIDS]: Make code unconditional.
38253         [!__ASSUME_32BITUIDS]: Remove conditional code.
38254         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38255         <kernel-features.h>.
38256         [__ASSUME_32BITUIDS]: Make code unconditional.
38257         [!__ASSUME_32BITUIDS]: Remove conditional code.
38258         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38259         <kernel-features.h>.
38260         [__ASSUME_32BITUIDS]: Make code unconditional.
38261         [!__ASSUME_32BITUIDS]: Remove conditional code.
38262         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38263         <kernel-features.h>.
38264         [__ASSUME_32BITUIDS]: Make code unconditional.
38265         [!__ASSUME_32BITUIDS]: Remove conditional code.
38266         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38267         <kernel-features.h>.
38268         [__ASSUME_32BITUIDS]: Make code unconditional.
38269         [!__ASSUME_32BITUIDS]: Remove conditional code.
38270         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38271         <kernel-features.h>.
38272         [__ASSUME_32BITUIDS]: Make code unconditional.
38273         [!__ASSUME_32BITUIDS]: Remove conditional code.
38274         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38275         <kernel-features.h>.
38276         [__ASSUME_32BITUIDS]: Make code unconditional.
38277         [!__ASSUME_32BITUIDS]: Remove conditional code.
38278         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38279         <kernel-features.h>.
38280         [__ASSUME_32BITUIDS]: Make code unconditional.
38281         [!__ASSUME_32BITUIDS]: Remove conditional code.
38282         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38283         <kernel-features.h>.
38284         [__ASSUME_32BITUIDS]: Make code unconditional.
38285         [!__ASSUME_32BITUIDS]: Remove conditional code.
38286         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38287         <kernel-features.h>.
38288         [__NR_setresgid] (__setresgid): Do not declare.
38289         [__ASSUME_32BITUIDS]: Make code unconditional.
38290         [!__ASSUME_32BITUIDS]: Remove conditional code.
38291         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38292         <kernel-features.h>.
38293         [__NR_setresuid] (__setresuid): Do not declare.
38294         [__ASSUME_32BITUIDS]: Make code unconditional.
38295         [!__ASSUME_32BITUIDS]: Remove conditional code.
38296         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38297         <kernel-features.h>.
38298         [__ASSUME_32BITUIDS]: Make code unconditional.
38299         [!__ASSUME_32BITUIDS]: Remove conditional code.
38300         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38301         <kernel-features.h>.
38302         [__ASSUME_32BITUIDS]: Make code unconditional.
38303         [!__ASSUME_32BITUIDS]: Remove conditional code.
38304         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38305         <kernel-features.h>.
38306         [__ASSUME_32BITUIDS]: Make code unconditional.
38307         [!__ASSUME_32BITUIDS]: Remove conditional code.
38308         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38309         <kernel-features.h>.
38310         [__ASSUME_32BITUIDS]: Make code unconditional.
38311         [!__ASSUME_32BITUIDS]: Remove conditional code.
38312         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38313         <kernel-features.h>.
38314         [__ASSUME_32BITUIDS]: Make code unconditional.
38315         [!__ASSUME_32BITUIDS]: Remove conditional code.
38316         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38317         <kernel-features.h>.
38318         [__ASSUME_32BITUIDS]: Make code unconditional.
38319         [!__ASSUME_32BITUIDS]: Remove conditional code.
38320         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38321         <kernel-features.h>.
38322         [__ASSUME_32BITUIDS]: Make code unconditional.
38323         [!__ASSUME_32BITUIDS]: Remove conditional code.
38324         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38325         <kernel-features.h>.
38326         [__ASSUME_32BITUIDS]: Make code unconditional.
38327         [!__ASSUME_32BITUIDS]: Remove conditional code.
38328         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38329         <kernel-features.h>.
38330         [__ASSUME_32BITUIDS]: Make code unconditional.
38331         [!__ASSUME_32BITUIDS]: Remove conditional code.
38332         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38333         <kernel-features.h>.
38334         [__ASSUME_32BITUIDS]: Make code unconditional.
38335         [!__ASSUME_32BITUIDS]: Remove conditional code.
38336         * sysdeps/unix/sysv/linux/kernel-features.h
38337         (__ASSUME_SETRESUID_SYSCALL): Remove.
38338         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38339         (__ASSUME_32BITUIDS): Likewise.
38340         (__ASSUME_LDT_WORKS): Likewise.
38341         (__ASSUME_O_DIRECTORY): Likewise.
38342         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38343         architecture but not kernel version.
38344         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38345         (__ASSUME_MMAP2_SYSCALL): Likewise.
38346         (__ASSUME_STAT64_SYSCALL): Likewise.
38347         (__ASSUME_IPC64): Likewise.
38348         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38349         <kernel-features.h>.
38350         [__ASSUME_32BITUIDS]: Make code unconditional.
38351         [!__ASSUME_32BITUIDS]: Remove conditional code.
38352         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38353         <kernel-features.h>.
38354         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38355         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38356         132096]: Remove conditional code.
38357         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38358         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38359         <kernel-features.h>.
38360         [__ASSUME_32BITUIDS]: Make code unconditional.
38361         [!__ASSUME_32BITUIDS]: Remove conditional code.
38362         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38363         <kernel-features.h>.
38364         [__ASSUME_32BITUIDS]: Make code unconditional.
38365         [!__ASSUME_32BITUIDS]: Remove conditional code.
38366         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38367         <kernel-features.h>.
38368         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38369         unconditional.
38370         (__setresgid): Do not declare.
38371         [__ASSUME_32BITUIDS]: Make code unconditional.
38372         [!__ASSUME_32BITUIDS]: Remove conditional code.
38373         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38374         <kernel-features.h>.
38375         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38376         unconditional.
38377         (__setresuid): Do not declare.
38378         [__ASSUME_32BITUIDS]: Make code unconditional.
38379         [!__ASSUME_32BITUIDS]: Remove conditional code.
38380         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38381         <kernel-features.h>.
38382         [__ASSUME_32BITUIDS]: Make code unconditional.
38383         [!__ASSUME_32BITUIDS]: Remove conditional code.
38384         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38385         <kernel-features.h>.
38386         [__ASSUME_32BITUIDS]: Make code unconditional.
38387         [!__ASSUME_32BITUIDS]: Remove conditional code.
38388
38389 2012-05-25  Richard Henderson  <rth@twiddle.net>
38390
38391         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38392         dl_hwcap to ifunc resolver.
38393         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38394         elf_ifunc_invoke.
38395         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38396         dl_hwcap to ifunc resolver.
38397         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38398
38399 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38400
38401         [BZ #14153]
38402         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38403         for |x| <= 2**-26, not 2**-57.
38404         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38405         exception.
38406
38407 2012-05-24  Jeff Law  <law@redhat.com>
38408
38409         * stdio-common/Makefile (tests): Add bug25.
38410         * stdio-common/bug25.c: New test.
38411
38412 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38413
38414         [BZ #13576]
38415         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38416         multiple of MALLOC_ALIGNMENT in size.
38417         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38418
38419 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38420
38421         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38422         Require >= 256.
38423         (FILENAME_MAX): Use macro-int-constant.
38424         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38425         (_IOFBF): Use macro-int-constant.
38426         (_IOLBF): Likewise.
38427         (_IONBF): Likewise.
38428         (SEEK_CUR): Likewise.
38429         (SEEK_END): Likewise.
38430         (SEEK_SET): Likewise.
38431         (TMP_MAX): Likewise.
38432         (EOF): Use macro-int-constant.  Require < 0.
38433         (NULL): Use macro-constant.  Require == 0.
38434         (stdin): Require type to be FILE *.
38435         (stdout): Likewise.
38436         (stderr): Likewise.
38437         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38438         macro-int-constant.
38439         (EXIT_SUCCESS): Likewise.
38440         (NULL): Use macro-constant.  Require == 0.
38441         (RAND_MAX): Use macro-int-constant.
38442         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38443         [C99-based standards] (strtof): Require function.
38444         [C99-based standards] (strtold): Likewise.
38445         [C99-based standards] (strtoll): Likewise.
38446         [C99-based standards] (strtoull): Likewise.
38447         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38448         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38449         [ISO || ISO99 || ISO11] (math.h): Likewise.
38450         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38451         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38453
38454 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38455
38456         [BZ #14132]
38457         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38458         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38459         * intl/dgettext.c (DCGETTEXT): Likewise.
38460         * intl/gettext.c (DCGETTEXT): Likewise.
38461         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38462         * posix/regex_internal.h (gettext): Likewise.
38463         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38464         Remove declaration.
38465         * include/argz.h (__argz_count_internal)
38466         (__argz_stringify_internal): Remove declaration.
38467         (__argz_count, __argz_stringify): Declare hidden proto.
38468         * intl/dcgettext.c: Remove use of INTDEF.
38469         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38470         * string/argz-stringify.c: Likewise.
38471         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38472         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38473         Declare hidden proto.
38474         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38475         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38476         Declare hidden proto.
38477         * include/stdio.h (__asprintf_internal): Don't declare.
38478         (__asprintf): Don't define as macro.  Declare hidden proto.
38479         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38480         (__fsetlocking): Declare hidden proto.
38481         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38482         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38483         hidden proto.
38484         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38485         (_IO_setlinebuf): Remove use of INTUSE.
38486         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38487         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38488         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38489         Remove declaration.
38490         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38491         (_IO_do_flush): Remove use of INTUSE.
38492         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38493         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38494         (_IO_adjust_column, _IO_least_wmarker)
38495         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38496         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38497         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38498         (_IO_default_doallocate, _IO_wdefault_doallocate)
38499         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38500         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38501         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38502         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38503         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38504         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38505         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38506         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38507         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38508         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38509         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38510         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38511         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38512         proto.
38513         (_IO_flush_all_internal, _IO_adjust_column_internal)
38514         (_IO_default_uflow_internal, _IO_default_finish_internal)
38515         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38516         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38517         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38518         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38519         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38520         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38521         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38522         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38523         (_IO_file_close_internal, _IO_file_close_it_internal)
38524         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38525         (_IO_file_init_internal, _IO_file_attach_internal)
38526         (_IO_file_fopen_internal, _IO_file_read_internal)
38527         (_IO_file_sync_internal, _IO_file_seek_internal)
38528         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38529         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38530         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38531         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38532         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38533         (_IO_list_all_internal, _IO_link_in_internal)
38534         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38535         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38536         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38537         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38538         (_IO_do_write_internal, _IO_padn_internal)
38539         (_IO_getline_info_internal, _IO_getline_internal)
38540         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38541         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38542         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38543         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38544         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38545         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38546         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38547         with libc_hidden_ver, remove use of INTUSE.
38548         * libio/genops.c: Likewise.
38549         * libio/freopen.c: Likewise.
38550         * libio/freopen64.c: Likewise.
38551         * libio/iofclose.c: Likewise.
38552         * libio/iofdopen.c: Likewise.
38553         * libio/iofflush.c: Likewise.
38554         * libio/iofflush_u.c: Likewise.
38555         * libio/iofgets.c: Likewise.
38556         * libio/iofgets_u.c: Likewise.
38557         * libio/iofopen.c: Likewise.
38558         * libio/iofopncook.c: Likewise.
38559         * libio/iofread.c: Likewise.
38560         * libio/iofread_u.c: Likewise.
38561         * libio/ioftell.c: Likewise.
38562         * libio/iofwrite.c: Likewise.
38563         * libio/iogetline.c: Likewise.
38564         * libio/iogets.c: Likewise.
38565         * libio/iogetwline.c: Likewise.
38566         * libio/iopadn.c: Likewise.
38567         * libio/iopopen.c: Likewise.
38568         * libio/ioseekoff.c: Likewise.
38569         * libio/ioseekpos.c: Likewise.
38570         * libio/iosetbuffer.c: Likewise.
38571         * libio/iosetvbuf.c: Likewise.
38572         * libio/ioungetc.c: Likewise.
38573         * libio/ioungetwc.c: Likewise.
38574         * libio/iovdprintf.c: Likewise.
38575         * libio/iovsprintf.c: Likewise.
38576         * libio/iovsscanf.c: Likewise.
38577         * libio/memstream.c: Likewise.
38578         * libio/obprintf.c: Likewise.
38579         * libio/oldfileops.c: Likewise.
38580         * libio/oldiofclose.c: Likewise.
38581         * libio/oldiofdopen.c: Likewise.
38582         * libio/oldiofopen.c: Likewise.
38583         * libio/oldiopopen.c: Likewise.
38584         * libio/oldstdfiles.c: Likewise.
38585         * libio/putc.c: Likewise.
38586         * libio/setbuf.c: Likewise.
38587         * libio/setlinebuf.c: Likewise.
38588         * libio/stdfiles.c: Likewise.
38589         * libio/strops.c: Likewise.
38590         * libio/vasprintf.c: Likewise.
38591         * libio/vscanf.c: Likewise.
38592         * libio/vsnprintf.c: Likewise.
38593         * libio/vswprintf.c: Likewise.
38594         * libio/wfiledoalloc.c: Likewise.
38595         * libio/wfileops.c: Likewise.
38596         * libio/wgenops.c: Likewise.
38597         * libio/wmemstream.c: Likewise.
38598         * libio/wstrops.c: Likewise.
38599         * libio/__fpurge.c: Likewise.
38600         * libio/__fsetlocking.c: Likewise.
38601         * assert/assert.c: Likewise.
38602         * debug/fgets_chk.c: Likewise.
38603         * debug/fgets_u_chk.c: Likewise.
38604         * debug/fread_chk.c: Likewise.
38605         * debug/fread_u_chk.c: Likewise.
38606         * debug/gets_chk.c: Likewise.
38607         * debug/obprintf_chk.c: Likewise.
38608         * debug/vasprintf_chk.c: Likewise.
38609         * debug/vdprintf_chk.c: Likewise.
38610         * debug/vsnprintf_chk.c: Likewise.
38611         * debug/vsprintf_chk.c: Likewise.
38612         * malloc/mtrace.c: Likewise.
38613         * misc/error.c: Likewise.
38614         * misc/syslog.c: Likewise.
38615         * stdio-common/asprintf.c: Likewise.
38616         * stdio-common/fxprintf.c: Likewise.
38617         * stdio-common/getw.c: Likewise.
38618         * stdio-common/isoc99_fscanf.c: Likewise.
38619         * stdio-common/isoc99_scanf.c: Likewise.
38620         * stdio-common/isoc99_vfscanf.c: Likewise.
38621         * stdio-common/isoc99_vscanf.c: Likewise.
38622         * stdio-common/isoc99_vsscanf.c: Likewise.
38623         * stdio-common/printf-prs.c: Likewise.
38624         * stdio-common/printf_fp.c: Likewise.
38625         * stdio-common/printf_fphex.c: Likewise.
38626         * stdio-common/printf_size.c: Likewise.
38627         * stdio-common/putw.c: Likewise.
38628         * stdio-common/scanf.c: Likewise.
38629         * stdio-common/sprintf.c: Likewise.
38630         * stdio-common/tmpfile.c: Likewise.
38631         * stdio-common/vfprintf.c: Likewise.
38632         * stdio-common/vfscanf.c: Likewise.
38633         * stdlib/strfmon_l.c: Likewise.
38634         * sunrpc/openchild.c: Likewise.
38635         * sunrpc/xdr_stdio.c: Likewise.
38636         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38637         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38638
38639 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38640
38641         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38642
38643         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38644         in the third column, to generate for the shared library an IFUNC
38645         that uses _dl_vdso_vsym.
38646         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38647         * Makeconfig (object-suffixes-noshared): New variable.
38648
38649         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38650         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38651         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38652         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38653
38654         [BZ #14132]
38655         * include/sys/time.h (__gettimeofday): Remove macro.
38656         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38657         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38658         Remove INTDEF.
38659         (__gettimeofday): Add libc_hidden_def.
38660         (gettimeofday): Add libc_hidden_weak.
38661         * sysdeps/mach/gettimeofday.c: Likewise.
38662         * sysdeps/posix/gettimeofday.c: Likewise.
38663         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38664         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38666         (__gettimeofday_internal): Remove strong_alias.
38667         (__gettimeofday): Add libc_hidden_def.
38668         (gettimeofday): Add libc_hidden_weak.
38669         * sysdeps/unix/syscalls.list (gettimeofday):
38670         Remove __gettimeofday_internal alias.
38671
38672 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38673             H.J. Lu  <hongjiu.lu@intel.com>
38674
38675         [BZ #12495]
38676         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38677         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38678         (largebin_index_32_big): New.
38679         (largebin_index): Use it for 16-byte alignment.
38680         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38681         correction with front_misalign.
38682
38683 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38684
38685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38687         Likewise.
38688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38689         Likewise.
38690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38691         Likewise.
38692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38693         Likewise.
38694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38695         Likewise.
38696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38697         Likewise.
38698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38699         Likewise.
38700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38701         Likewise.
38702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38703         Likewise.
38704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38705         Likewise.
38706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38707         Likewise.
38708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38709         Likewise.
38710
38711         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38712         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38713
38714 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38715
38716         [BZ #10846]
38717         [BZ #14036]
38718         * math/libm-test.inc (exp_test): Add test from bug 14036.
38719         (pow_test): Add test from bug 10846.
38720
38721         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38722         and other flags.
38723         (special_function): Do not include flags in test name.
38724         (parse_args): Likewise.
38725         * sysdeps/i386/fpu/libm-test-ulps: Update.
38726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38730
38731         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38732         exceptions.
38733         * math/libm-test.inc ("Philosophy"): Update comment about
38734         exception testing.
38735         (UNDERFLOW_EXCEPTION): New macro.
38736         (UNDERFLOW_EXCEPTION_OK): Likewise.
38737         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38738         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38739         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38740         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38741         (INVALID_EXCEPTION_OK): Update value.
38742         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38743         (OVERFLOW_EXCEPTION_OK): Likewise.
38744         (IGNORE_ZERO_INF_SIGN): Likewise.
38745         (test_exceptions): Handle underflow exceptions.
38746         (acos_test): Update for underflow exception expectations.
38747         (cexp_test): Likewise.
38748         (clog_test): Likewise.
38749         (clog10_test): Likewise.
38750         (csqrt_test): Likewise.
38751         (ctan_test): Likewise.
38752         (ctanh_test): Likewise.
38753         (exp_test): Likewise.
38754         (exp10_test): Likewise.
38755         (exp2_test): Likewise.
38756         (expm1_test): Likewise.
38757         (fma_test): Likewise.
38758         (j0_test): Likewise.
38759         (jn_test): Likewise.
38760         (nexttoward_test): Likewise.
38761         (pow_test): Likewise.
38762         (scalbn_test): Likewise.
38763         (scalbln_test): Likewise.
38764         (tan_test): Likewise.
38765         (y1_test): Likewise.
38766         * sysdeps/i386/fpu/libm-test-ulps: Update.
38767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38768
38769 2012-05-23  David S. Miller  <davem@davemloft.net>
38770
38771         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38772         (__libc_sigaction): Remove unused local variables.
38773
38774 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38775
38776         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38777
38778 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38779
38780         mktime: avoid signed integer overflow
38781         * time/mktime.c (__mktime_internal): Do not mishandle the case
38782         where diff == INT_MIN.
38783
38784         mktime: simplify computation of average
38785         * time/mktime.c (ranged_convert): Use new time_t_avg function
38786         instead of rolling our own (probably-slower) code.
38787
38788         mktime: do not assume signed right shift propagates sign bit
38789         * time/mktime.c (isdst_differ): New static function.
38790         (__mktime_internal): No need to normalize tm_isdst now.
38791         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38792         tm_isdst values.
38793
38794         mktime: merge another wrapv change from gnulib
38795         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38796         from some compilers.
38797
38798         mktime: remove incorrect attempt at unusual arithmetics
38799         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38800         The code didn't really work on such machines anyway.
38801         (TYPE_MINIMUM): Assume two's complement.
38802         (twos_complement_arithmetic): Verify that long_int and time_t
38803         are two's complement (or unsigned, in the latter case).
38804
38805         mktime: check signed shifts on long_int and time_t, too
38806         * time/mktime.c (SHR): Check that shifts work as desired
38807         on the types long_int and time_t too, as SHR is used on
38808         such types.
38809
38810         mktime: do not assume 'long' is wide enough
38811         * time/mktime.c (verify): Move decl up.
38812         (long_int): New type.
38813         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38814         to remove assumption in the code that 'long' is wide enough to
38815         store year values.  This assumption is not true on x32 and on
38816         some non-glibc platforms.
38817
38818         mktime: merge wrapv change from gnulib
38819         * time/mktime.c (WRAPV): New macro.
38820         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38821         (guess_time_tm, __mktime_internal): Do not assume that signed
38822         integer overflow wraps around; modern compilers generate code
38823         where this assumption is no longer valid.
38824
38825 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38826
38827         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38828         Replace "jmp L(pseudo_end)" with "ret".
38829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38830         Likewise.
38831
38832 2012-05-23  Andreas Jaeger  <aj@suse.de>
38833
38834         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38835         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38836
38837 2012-05-23  Andreas Jaeger  <aj@suse.de>
38838             Maximilian Attems  <max@stro.at>
38839
38840         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38841         New macros.
38842
38843 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38844
38845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38846         code so that pseudo_end is just ret and the stack pointer is
38847         correct also for static library in error case.
38848
38849 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38850
38851         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38852         move to syscalls.list.
38853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38857
38858         * manual/install.texi (Running make install): Do not mention Linux
38859         kernel version for which pt_chown is not needed.
38860         (Linux): Do not mention problems with nscd with 2.0 kernels.
38861         * INSTALL: Regenerated.
38862
38863 2012-05-23  Andreas Jaeger  <aj@suse.de>
38864
38865         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38866         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38867         macro.
38868         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38869         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38870         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38871         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38872         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38873         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38875         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38876         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38878         * sysdeps/unix/sysv/linux/bits/in.h
38879         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38880
38881 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38882
38883         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38884         (PREPARE_VERSION): Just use assert instead, it will be elided
38885         under [NDEBUG] anyway.
38886
38887 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38888
38889         * sysdeps/unix/sysv/linux/Makefile: Include
38890         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38891         (sysdep_routines): Remove sysctl.
38892         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38893         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38894         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38895         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38896         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38897
38898 2012-05-22  Andreas Jaeger  <aj@suse.de>
38899
38900         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38901         that pseudo_end is just ret and the stack pointer is correct also
38902         for static library in error case.
38903
38904 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38905
38906         [BZ #14122]
38907         * nss/nsswitch.c (defconfig_entries): New variable.
38908         (__nss_database_lookup): Don't leak defconfig entries.
38909         (nss_parse_service_list): Don't leak on error paths.
38910         (free_database_entries): New function.
38911         (free_defconfig): New function.
38912         (free_mem): Move common code to free_database_entries.
38913
38914 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38915
38916         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38917         Add arch_prctl.
38918         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38919
38920         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38921         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38923         New macro.
38924         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38925         (INTERNAL_SYSCALL_TYPES): Likewise.
38926         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38927         (LOAD_REGS_TYPES_[1-6]): Likewise.
38928         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38929         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38930
38931 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38932
38933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38934         copysignl for GLIBC_2_0.
38935         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38936         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38938         logbl for GLIBC_2_0.
38939         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38940         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38941
38942 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38943
38944         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38945         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38946
38947         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38948         Use "neg %eax".
38949
38950         * time/mktime.c: Update copyright years.
38951
38952 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38953
38954         mktime: merge comment-quoting-style change from gnulib
38955         * time/mktime.c: Quote 'like this' in comments.
38956         The GNU coding standards suggest that we no longer quote `like this',
38957         as "`" and "'" are typically rendered asymmetrically nowadays.
38958         The typical gnulib style is to quote 'like this' when quoting
38959         code, and "like this" when quoting English.
38960
38961         * time/mktime.c (compile-command): Add "-I.".
38962
38963         mktime: merge mktime-internal.h change from gnulib
38964         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38965
38966         mktime: merge time_r change from gnulib
38967         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38968
38969         mktime: merge DEBUG change from gnulib
38970         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38971         case system <time.h> has a #define.
38972
38973         mktime: merge <sys/types.h> change from gnulib
38974         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38975         since <time.t> is now guaranteed to define time_t.
38976
38977         mktime: merge HAVE_CONFIG_H change from gnulib
38978         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38979
38980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38981
38982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38983         Use "neg %eax".
38984
38985         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38986         __rlim_t cast.
38987         (struct rusage): Use anonymous union to pad each field to
38988         __syscall_slong_t.
38989
38990 2012-05-21  David S. Miller  <davem@davemloft.net>
38991
38992         * Makefules (o-iterator): Remove .s cases.
38993         (compile-command.s): Delete.
38994         (COMPILE.s): Delete.
38995         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38996
38997 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38998
38999         * configure.in (libc_cv_predef_stack_protector): Only consider
39000         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39001         * configure: Regenerated.
39002
39003 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39004
39005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39006         New macro.  Use R*LP on int and pointer.
39007         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39008         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39009         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39010         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39011
39012         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39013         [__WORDSIZE_TIME64_COMPAT32] instead of
39014         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39015         (struct utmp): Likewise.
39016         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39017         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39018         Renamed to ...
39019         (__WORDSIZE_TIME64_COMPAT32): This.
39020         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39021         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39022         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39023         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39024         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39025         (__WORDSIZE_TIME64_COMPAT32): New macro.
39026
39027 2012-05-21  Andreas Jaeger  <aj@suse.de>
39028
39029         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39030         only if [SHARED]. Add prototype for __wcschr_ia32.
39031
39032 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39033
39034         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39035         of %rbp unmolested in the jmp_buf while mangling the low bits.
39036         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39037         unmolested high bits of %rbp while demangling the low bits.
39038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39039
39040 2012-05-21  Andreas Jaeger  <aj@suse.de>
39041
39042         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39043         * sunrpc/svc_simple.c: Use it for registerrpc.
39044         * sunrpc/xcrypt.c: Use it for passwd2des.
39045
39046         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39047
39048 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39049
39050         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39051         Don't define if [__SYSCALL_WORDSIZE != 32].
39052         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39053         New macro.
39054
39055 2012-05-21  Bruno Haible  <bruno@clisp.org>
39056             Andreas Jaeger  <aj@suse.de>
39057
39058         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39059         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39060         inptr and inend for must_buffer_ch.
39061         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39062         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39063         * stdio-common/Makefile (tests): Remove bug15.
39064         (bug15-ENV): Remove macro.
39065         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39066         anymore.
39067
39068 2012-05-19  Andreas Jaeger  <aj@suse.de>
39069             Roland McGrath  <roland@hack.frob.com>
39070
39071         * manual/contrib.texi: Completely rewritten. It contains now an
39072         alphabetical list of contributors and their contributions.
39073
39074 2012-05-21  Richard Henderson  <rth@twiddle.net>
39075
39076         * misc/getauxval.c (__getauxval): Use unsigned long int.
39077         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39078         (getauxval): Use unsigned long int.
39079
39080 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39081
39082         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39083
39084 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39085
39086         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39087         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39088         __alignof__ (long double).
39089
39090 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39091
39092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39093
39094 2012-05-20  Richard Henderson  <rth@twiddle.net>
39095
39096         * misc/getauxval.c: New file.
39097         * misc/sys/auxv.h: New file.
39098         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39099         (routines): Add getauxval.
39100         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39102         * elf/dl-sysdep.c (_dl_auxv): Remove.
39103         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39104         * elf/dl-support.c (_dl_auxv): New variable.
39105         (_dl_aux_init): Initialize it.
39106         * manual/startup.texi (Auxiliary Vector): New node.
39107         * sysdeps/generic/bits/hwcap.h: New file.
39108         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39109         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39110         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39111         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39112         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39113         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39115         Update.
39116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39124
39125 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39126
39127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39128
39129 2012-05-19  David S. Miller  <davem@davemloft.net>
39130
39131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39132
39133 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39134
39135         [BZ #14123]
39136         * math/s_ccosh.c: Include <float.h>
39137         (__ccosh): Avoid internal overflow calculating sinh and cosh
39138         values before multiplying by sin and cos values.
39139         * math/s_ccoshf.c: Likewise.
39140         * math/s_ccoshl.c: Likewise.
39141         * math/s_csin.c: Likewise.
39142         * math/s_csinf.c: Likewise.
39143         * math/s_csinl.c: Likewise.
39144         * math/s_csinh.c: Likewise.
39145         * math/s_csinhf.c: Likewise.
39146         * math/s_csinhl.c: Likewise.
39147         * math/libm-test.inc (ccos_test): Add more tests.
39148         (ccosh_test): Likewise.
39149         (csin_test): Likewise.
39150         (csinh_test): Likewise.
39151         * sysdeps/i386/fpu/libm-test-ulps: Update.
39152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39153
39154 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39155
39156         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39157         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39158
39159         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39160
39161 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39162
39163         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39164         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39165         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39166         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39167         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39168         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39169         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39170         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39171         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39172         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39173         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39174         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39175         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39176         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39177         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39178         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39179         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39180         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39181         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39182         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39183         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39184         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39185         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39186         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39187         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39188         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39189         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39190         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39191         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39192         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39193         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39194
39195 2012-05-18  Andreas Jaeger  <aj@suse.de>
39196
39197         * csu/.gitignore: Delete.
39198
39199 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39200
39201         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39202         (timex): Use __syscall_slong_t.
39203
39204 2012-05-18  Andreas Jaeger  <aj@suse.de>
39205             Carlos O'Donell  <carlos_odonell@mentor.com>
39206
39207         * manual/install.texi (Configuring and compiling): Update
39208         description about files modified in the source directory.
39209         * INSTALL: Regenerated.
39210
39211 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39212
39213         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39214         value.  Use "or" to set return value to -1.
39215         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39216         negate return value.
39217
39218 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39219
39220         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39221         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39222         failure if the compiler has Graphite support disabled.
39223         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39224         Likewise.
39225         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39226         (CFLAGS-memmove.c): Likewise.
39227         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39228         Likewise.
39229
39230 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39231
39232         * sysdeps/x86_64/x32/_itoa.h: New file.
39233
39234         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39235         getdents system call only if kernel and user dirents have the
39236         same d_ino and d_off.
39237
39238         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39239         LLONG_MAX != LONG_MAX.
39240         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39241         (_fitoa_word): Likewise.
39242
39243         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39244         years.
39245         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39246         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39247         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39248
39249         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39250         include <bits/wordsize.h>.  Check __x86_64__ instead of
39251         __WORDSIZE.
39252         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39253         if __x86_64__ is defined.  Use anonymous union on fpstate.
39254
39255         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39256         anonymous union.
39257
39258 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39259
39260         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39261         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39262         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39263         Refer to _rtld_local_ro instead of _rtld_global_ro.
39264         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39265         Likewise.
39266         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39267         Likewise.
39268         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39269         Likewise.
39270         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39271         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39272         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39273
39274         * sysdeps/powerpc/powerpc32/dl-machine.c
39275         (__elf_machine_runtime_setup) [PROF]: Don't reference
39276         _dl_prof_resolve.
39277
39278 2012-05-18  Andreas Jaeger  <aj@suse.de>
39279
39280         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39281         function only available for GCCs before 3.4 since GCC 3.4
39282         introduced a builtin.
39283         (lrint): Likewise.
39284         (llrintf): Likewise.
39285         (llrint): Likewise.
39286         (fmaxf): Likewise.
39287         (fmax): Likewise.
39288         (fminf): Likewise.
39289         (fmin): Likewise.
39290         (rint): Likewise.
39291         (rintf): Likewise.
39292         (nearbyint): Likewise.
39293         (nearbyintf): Likewise.
39294         (ceil): Likewise.
39295         (ceilf): Likewise.
39296         (floor): Likewise.
39297         (floorf): Likewise.
39298
39299 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39300
39301         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39302         on both fields and cast pointer to __syscall_ulong_t.
39303
39304         * bits/types.h (__fsword_t): New type.
39305         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39306         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39308         (__FSWORD_T_TYPE): Likewise.
39309         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39310         (__FSWORD_T_TYPE): Likewise.
39311         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39312         (__FSWORD_T_TYPE): Likewise.
39313         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39314         (__FSWORD_T_TYPE): Likewise.
39315         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39316         __SWORD_TYPE with __fsword_t.
39317         (statfs64): Likewise.
39318
39319 2012-05-17  David S. Miller  <davem@davemloft.net>
39320
39321         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39322
39323 2012-05-17  Andreas Jaeger  <aj@suse.de>
39324
39325         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39326         warning.
39327
39328 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39329
39330         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39331
39332 2012-05-17  Andreas Jaeger  <aj@suse.de>
39333
39334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39335         when it is used.
39336
39337 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39338
39339         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39340
39341 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39342
39343         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39344         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39345
39346 2012-05-17  Andreas Jaeger  <aj@suse.de>
39347             Carlos O'Donell  <carlos_odonell@mentor.com>
39348
39349         [BZ #14059]
39350         * sysdeps/x86_64/multiarch/init-arch.h
39351         (bit_YMM_Usable): Rename to...
39352         (bit_AVX_Usable): ... this.
39353         (bit_FMA4_Usable): New macro.
39354         (bit_XMM_state): New macro.
39355         (bit_YMM_state): New macro.
39356         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39357         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39358         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39359         (CPUID_OSXSAVE): New macro.
39360         (CPUID_AVX): New macro.
39361         (CPUID_FMA4): New macro.
39362         (index_YMM_Usable): Rename to...
39363         (index_AVX_Usable): ... this.
39364         (HAS_AVX): Use HAS_ARCH_FEATURE.
39365         (HAS_FMA4): Likewise.
39366         (HAS_YMM_USABLE): Remove.
39367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39368         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39369         are present.
39370         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39371         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39372         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39373         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39374         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39375
39376 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39377
39378         * math/libm-test.c: Support platforms without multiple rounding modes.
39379         * math/bug-nextafter.c: Support platforms without FP exceptions.
39380         * math/bug-nexttoward.c: Likewise.
39381         * math/test-fenv.c: Likewise.
39382         * math/test-misc.c: Likewise.
39383         * stdlib/bug-getcontext.c: Likewise.
39384
39385 2012-05-17  Andreas Jaeger  <aj@suse.de>
39386
39387         * manual/examples/search.c (critter_cmp): Change signature to
39388         avoid warnings.
39389         * manual/string.texi (Collation Functions): Likewise.
39390
39391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39392
39393         * bits/types.h: Fold copyright years.
39394         * bits/typesizes.h: Likewise.
39395         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39396         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39397         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39399         * time/time.h: Likewise.
39400
39401 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39402
39403         [BZ #208]
39404         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39405         in instead of returning them.  Return void.
39406         (__libc_mallinfo): Accumulate over all arenas.
39407         (__malloc_stats): Adjust for change in int_mallinfo interface.
39408
39409 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39410
39411         [BZ #10375]
39412         * configure.in (NM): Add AC_CHECK_TOOL for it.
39413         (libc_extra_cflags): New substituted variable.
39414         Check for -fstack-protector being used implicitly.
39415         * configure: Regenerated.
39416         * config.make.in (config-extra-cflags): New variable,
39417         gets @libc_extra_cflags@.
39418         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39419
39420         [BZ #10375]
39421         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39422         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39423         * configure: Regenerated.
39424         * config.make.in (CPPUNDEFS): New substituted variable.
39425         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39426         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39427         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39428
39429 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39430
39431         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39432         (mq_attr): Use __syscall_slong_t.
39433
39434 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39435
39436         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39437         Check __x86_64__ instead of __WORDSIZE.
39438         (_STAT_VER_LINUX): Likewise.
39439         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39440         __syscall_ulong_t and __syscall_slong_t.
39441         (stat64): Likewise.
39442
39443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39444
39445         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39446
39447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39448
39449         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39450
39451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39452
39453         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39454         __syscall_ulong_t.
39455
39456         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39457         include <bits/wordsize.h>.  Check __x86_64__ instead of
39458         __WORDSIZE.
39459         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39460         defined.
39461         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39462
39463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39464         include <bits/wordsize.h>.  Check __x86_64__ instead of
39465         __WORDSIZE.
39466         (user_regs_struct): Use "__extension__ unsigned long long"
39467         instead of "unsigned long" if __x86_64__ is defined.
39468         (user): Likewise.  Pad after pointer field if __ILP32__ is
39469         defined.
39470
39471 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39472
39473         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39474         versions 5 to 9.
39475         * configure: Regenerated.
39476         * manual/install.texi (texinfo): Increase version requirement to
39477         4.5 or later.
39478         * INSTALL: Regenerated.
39479
39480         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39481
39482 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39483
39484         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39485
39486         * sysdeps/x86_64/x32/ffs.c: New file.
39487
39488         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39489         __syscall_ulong_t.
39490         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39491         defined.  Use __syscall_ulong_t.
39492         (shminfo): Use __syscall_ulong_t.
39493         (shm_info): Likewise.
39494
39495         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39496         __syscall_ulong_t.
39497
39498         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39499         <bits/wordsize.h>.
39500         (msgqnum_t): Use __syscall_ulong_t.
39501         (msglen_t): Likewise.
39502         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39503         __syscall_ulong_t.
39504
39505         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39506         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39507
39508         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39509
39510         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39511         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39512
39513         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39514         __syscall_slong_t.
39515
39516         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39517         include <bits/wordsize.h>.  Check __x86_64__ instead of
39518         __WORDSIZE.
39519
39520         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39521         "unsigned long long int" if __x86_64__ is defined.
39522         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39523
39524         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39525         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39526         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39527
39528         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39529         <stdint.h>.
39530         (GET_PC): Cast to uintptr_t first.
39531         (GET_FRAME): Likewise.
39532         (GET_STACK): Likewise.
39533
39534         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39536         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39537         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39538         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39539         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39540         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39541         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39542         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39543         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39544         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39545         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39546         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39547         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39548         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39549         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39550         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39551         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39552         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39553         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39554         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39555         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39556         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39557         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39558         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39559         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39560         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39561         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39562         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39563
39564 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39565
39566         * Makerules (+depfiles): Also collect depfiles from .oS in
39567         $(extra-objs).
39568         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39569         .oS, $(libnldbl-routines)).
39570
39571         * Makerules (native-compile-mkdep-flags): Define.
39572         * sunrpc/Makefile (extra-objs): Add $(addprefix
39573         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39574         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39575         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39576         calling $(make-target-directory).
39577
39578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39579
39580         * bits/types.h (__snseconds_t): Removed.
39581         * time/time.h (struct timespec): Replace __snseconds_t with
39582         __syscall_slong_t.
39583         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39584         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39585         Likewise.
39586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39587         (__SNSECONDS_T_TYPE): Likewise.
39588         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39589         (__SNSECONDS_T_TYPE): Likewise.
39590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39591         (__SNSECONDS_T_TYPE): Likewise.
39592
39593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39594
39595         * sysdeps/mach/hurd/bits/typesizes.h
39596         (__SYSCALL_SLONG_TYPE): New macro.
39597         (__SYSCALL_ULONG_TYPE): Likewise.
39598
39599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39600
39601         * bits/types.h (__syscall_slong_t): New type.
39602         (__syscall_ulong_t): Likewise.
39603
39604         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39605         (__SYSCALL_ULONG_TYPE): Likewise.
39606         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39607         (__SYSCALL_SLONG_TYPE): Likewise.
39608         (__SYSCALL_ULONG_TYPE): Likewise.
39609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39610         (__SYSCALL_SLONG_TYPE): Likewise.
39611         (__SYSCALL_ULONG_TYPE): Likewise.
39612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39613         (__SYSCALL_SLONG_TYPE): Likewise.
39614         (__SYSCALL_ULONG_TYPE): Likewise.
39615
39616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39617
39618         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39619         Add sigaltstack-offsets.sym.
39620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39621         <sigaltstack-offsets.h>.
39622         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39623         longjmp_msg pointer.
39624         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39625         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39626         signal stack.
39627         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39628
39629 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39630
39631         * elf/stackguard-macros.h: Remove file.
39632         * sysdeps/generic/stackguard-macros.h: New file.
39633         * sysdeps/i386/stackguard-macros.h: Likewise.
39634         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39635         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39636         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39637         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39638         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39639         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39640         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39641         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39642         <elf/stackguard-macros.h>.
39643
39644         [BZ #14109]
39645         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39646         __aligned__ in attribute.
39647         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39648         (gregset_t): Likewise.
39649
39650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39651
39652         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39653         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39654         * sysdeps/x86_64/x32/Implies-after: New file.
39655
39656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39657
39658         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39659         and access return value for _dl_profile_fixup.  Use R10_LP to
39660         load frame size.
39661
39662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39663
39664         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39665
39666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39667
39668         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39669         * sysdeps/x86_64/x32/sysdep.h: New file.
39670
39671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39672
39673         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39674         * sysdeps/x86_64/setjmp.S: Likewise.
39675
39676 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39677
39678         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39679         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39680         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39682         remove unused global constant.
39683
39684 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39685
39686         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39687         include of <not-cancel.h>.
39688
39689 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39690
39691         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39692
39693 2012-05-15  Jeff Law  <law@redhat.com>
39694             Andreas Jaeger  <aj@suse.de>
39695
39696         [BZ #13594]
39697         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39698         out from...
39699         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39700         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39701         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39702         code changing __hst_map_handle.map.
39703
39704 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39705
39706         * configure.in (sysnames): Look for Implies-before and Implies-after
39707         files.
39708         * configure: Regenerated.
39709
39710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39711
39712         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39713         8-byte data alignment with LP_SIZE alignment.
39714
39715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39716
39717         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39718         into R10_LP.
39719
39720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39721
39722         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39723
39724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39725
39726         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39727         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39729         Likewise.
39730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39731
39732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39733
39734         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39735         (stackinfo_sub_sp): Likewise.
39736
39737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39738
39739         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39740         RAX_LP.
39741
39742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39743
39744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39745         into R*_LP.
39746
39747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39748
39749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39750         sizes into R*_LP.
39751
39752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39753
39754         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39755
39756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39757
39758         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39759         into R11_LP and load __x86_64_shared_cache_size_half into
39760         R8_LP.
39761
39762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39763
39764         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39765         R8_LP.
39766
39767 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39768
39769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39770         logb for POWER7.
39771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39772         logbf for POWER7.
39773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39774         logbl for POWER7.
39775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39776         powerpc32/power7/fpu/s_logb.c via #include.
39777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39778         powerpc32/power7/fpu/s_logbf.c via #include.
39779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39780         powerpc32/power7/fpu/s_logbl.c via #include.
39781
39782 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39783
39784         * README.libm: Remove file.
39785
39786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39787
39788         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39789         count for x32.  Use R*_LP and omit operand-size suffix.
39790
39791 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39792
39793         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39794         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39795         * sysdeps/x86_64/x32/shlib-versions: New file.
39796
39797 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39798
39799         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39800         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39801         Use _dl_fatal_printf instead.
39802
39803 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39804
39805         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39806         set if not set by the user.  Do not allow for being unset.
39807         * sysdeps/unix/sysv/linux/configure: Regenerated.
39808
39809 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39810
39811         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39812         the `q' suffix from lea and replace .quad with ASM_ADDR.
39813
39814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39815
39816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39817         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39818         instead of $17.
39819         (PTR_DEMANGLE): Likewise.
39820
39821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39822
39823         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39824         (LP_OP): Likewise.
39825         (ASM_ADDR): Likewise.
39826         (RAX_LP): Likewise.
39827         (RBP_LP): Likewise.
39828         (RBX_LP): Likewise.
39829         (RCX_LP): Likewise.
39830         (RDI_LP): Likewise.
39831         (RSI_LP): Likewise.
39832         (RSP_LP): Likewise.
39833         (R8_LP): Likewise.
39834         (R9_LP): Likewise.
39835         (R10_LP): Likewise.
39836         (R10_LP): Likewise.
39837         (R11_LP): Likewise.
39838         (R12_LP): Likewise.
39839         (R13_LP): Likewise.
39840         (R14_LP): Likewise.
39841         (R15_LP): Likewise.
39842
39843 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39844
39845         * sysdeps/x86_64/x32/dl-machine.h: New file.
39846
39847 2012-05-14  Andreas Jaeger  <aj@suse.de>
39848
39849         * manual/Makefile (subdir): Remove export of subdir.
39850         (all): Remove target.
39851         (.PHONY): Remove all from list.
39852         (mkinstalldirs): Remove.
39853         (.PHONY): Remove installdirs from list.
39854         ($(inst_infodir)/libc.info): Use make-target-directory.
39855         (installdirs): Remove.
39856         (subdir_%): Remove.
39857         (glibc-targets): Remove.
39858         (lib): Remove.
39859         (stubs): Remove.
39860         ($(objpfx)stubs ../po/manual.pot): Remove.
39861         ($(objpfx)stamp%): Remove.
39862         (make-target-directory): Remove.
39863         (subdir_install): Remove.
39864         (routines): Remove.
39865         (aux): Remove.
39866         (sources): Remove.
39867         (objects): Remove.
39868         (headers): Remove.
39869
39870         [BZ #13750]
39871         * manual/.gitignore: Remove, it's not needed anymore.
39872         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39873         all files in it.
39874         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39875         directory.
39876         (texis): Renamed to $(objpfx)texis.
39877         (texis-path): New, contains path to generated files.
39878         (chapters.%): Use texis-path for complete path, add extra argument
39879         libc-texinfo.sh.
39880         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39881         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39882         (summary,texi, stamp-summary): Use complete path of
39883         files. Generate files in build dir.
39884         (dir-add.texi): Build in build dir.
39885         (libm-err.texi,stamp-libm-err): Likewise.
39886         (version.texi, stamp-version): Likewise.
39887         (.%c.texi): Likewise.
39888         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39889         (mostlyclean): Remove target.
39890         (realclean): Remove target.
39891         (generated): Add new variable with contents from mostlyclean and
39892         realclean, remove entries duplicated in common-mostlyclean, add
39893         stamp-libm-err and stamp-version.
39894         (generated-dirs): Add libc directory.
39895         ($(inst_infodir)/libc.info): Install files from build dir.
39896
39897         * manual/install.texi (Configuring and compiling): Adjust since
39898         the info files are not part of the tar ball anymore.
39899
39900 2012-05-14  Andreas Jaeger  <aj@suse.de>
39901
39902         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39903         variable.
39904
39905 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39906
39907         [BZ #13717]
39908         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39909         to 2.2.0 where earlier.
39910         * sysdeps/unix/sysv/linux/configure: Regenerated.
39911         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39912         Remove conditional code.
39913         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39914         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39915         Remove conditional code.
39916         [!__NR_lchown]: Likewise.
39917         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39918         [__NR_lchown]: Likewise.
39919         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39920         comment referencing __ASSUME_LCHOWN_SYSCALL.
39921         * sysdeps/unix/sysv/linux/i386/sigaction.c
39922         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39923         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39924         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39925         Remove conditional code.
39926         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39927         (__protocol_available): Remove #if 0 code.
39928         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39929         conditional code.
39930         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39931         * sysdeps/unix/sysv/linux/kernel-features.h
39932         (__ASSUME_GETCWD_SYSCALL): Don't define.
39933         (__ASSUME_REALTIME_SIGNALS): Likewise.
39934         (__ASSUME_PREAD_SYSCALL): Likewise.
39935         (__ASSUME_PWRITE_SYSCALL): Likewise.
39936         (__ASSUME_POLL_SYSCALL): Likewise.
39937         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39938         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39939         non-SPARC.
39940         (__ASSUME_SIOCGIFNAME): Don't define.
39941         (__ASSUME_MSG_NOSIGNAL): Likewise.
39942         (__ASSUME_SENDFILE): Define unconditionally.
39943         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39944         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39945         conditional code.
39946         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39947         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39948         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39949         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39950         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39951         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39952         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39954         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39957         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39960         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39963         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39969         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39970         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39975         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39977         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39978         Remove conditional code.
39979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39980         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39981         Remove conditional code.
39982         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39983         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39984         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39985         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39986         Remove conditional code.
39987         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39988         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39989         Remove conditional code.
39990         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39991         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39992         Remove conditional code.
39993         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39994         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39995         Remove conditional code.
39996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39997         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39998         Remove conditional code.
39999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40000         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40003         * sysdeps/unix/sysv/linux/sigaction.c
40004         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40005         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40006         * sysdeps/unix/sysv/linux/sigpending.c
40007         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40008         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40009         * sysdeps/unix/sysv/linux/sigprocmask.c
40010         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40011         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40012         * sysdeps/unix/sysv/linux/sigsuspend.c
40013         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40014         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40015         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40016         (__libc_missing_rt_sigs): Remove.
40017         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40018         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40019         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40020         Remove conditional code.
40021         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40022         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40023         return 1.
40024         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40025         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40026         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40027         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40028
40029 2012-05-14  Andreas Jaeger  <aj@suse.de>
40030
40031         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40032         it's not used in glibc.
40033         (__coshm1): Likewise.
40034         (__acosh1p): Likewise.
40035         (__sgn): Likewise.
40036
40037         * manual/string.texi (Copying and Concatenation): Add missing
40038         variable in concat example.
40039         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40040
40041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40042
40043         [BZ #14103]
40044         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40045         __builtin_clzl with __builtin_clzll.
40046
40047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40048
40049         [BZ #14104]
40050         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40051         libc_freeres_ptr.
40052
40053 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40054
40055         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40056         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40057         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40058         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40059
40060 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40061
40062         * NEWS: Update ia64 info.
40063
40064 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40065
40066         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40067         used as bcopy.
40068
40069 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40070
40071         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40072         * sysdeps/unix/syscalls.list (dup3): Likewise.
40073         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40074         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40075
40076 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40077
40078         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40079         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40080
40081 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40082
40083         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40084         thread pointer.
40085         (TLS_IE): Use mov/add instead of movq/addq to load thread
40086         pointer.
40087         (TLS_GD_PREFIX): New.
40088         (TLS_GD): Use it.
40089
40090 2012-05-11  David S. Miller  <davem@davemloft.net>
40091
40092         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40093         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40094         (_FPU_SETCW): Likewise.
40095
40096 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40097
40098         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40099         is 32-byte aligned.
40100
40101 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40102
40103         [BZ #11837]
40104         * iconvdata/gb18030.c: Update tables.
40105         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40106         characters specially.
40107         (BODY for TO_LOOP): Add encoding of missing ranges.
40108
40109 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40110
40111         [BZ #13673]
40112         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40113         * sysdeps/mach/hurd/dup3.c: Likewise.
40114         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40115         * sysdeps/powerpc/memmove.c:: Likewise.
40116
40117 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40118
40119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40120         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40121
40122 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40123
40124         * elf/elf.h (R_X86_64_RELATIVE64): New.
40125         (R_X86_64_NUM): Updated.
40126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40127         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40128         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40129         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40130         tst-quad1pie tst-quad2pie
40131         (modules-names): Add tst-quadmod1 tst-quadmod2.
40132         ($(objpfx)tst-quad1): New dependency.
40133         ($(objpfx)tst-quad2): Likewise.
40134         ($(objpfx)tst-quad1pie): Likewise.
40135         ($(objpfx)tst-quad2pie): Likewise.
40136         * sysdeps/x86_64/tst-quad1.c: New file.
40137         * sysdeps/x86_64/tst-quad1pie.c: New file.
40138         * sysdeps/x86_64/tst-quad2.c: Likewise.
40139         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40140         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40141         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40142         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40143         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40144
40145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40146
40147         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40148         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40149         * streams/stropts.h (t_scalar_t): Define type.
40150
40151         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40152         (_PATH_PRESERVE): Set to "/var/lib".
40153         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40154
40155         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40156         instead of int.
40157
40158         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40159         if __dir_mkfile succeeded.
40160
40161         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40162         checking for _hurd_dtablesize.  Unlock it right after having
40163         finished _hurd_dtable allocation.
40164
40165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40166
40167         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40168         * sysdeps/mach/hurd/configure: Regenerated.
40169         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40170         special-casing to...
40171         * sysdeps/gnu/configure.in: ... this new file.
40172         * sysdeps/unix/sysv/linux/configure: Regenerated.
40173         * sysdeps/gnu/configure: New generated file.
40174
40175         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40176         for Linux: use nsec instead of usec, as well as:
40177         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40178         members of type struct timespec.
40179         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40180         New macros.
40181         (struct stat64): Likewise.
40182         (_STATBUF_ST_NSEC): New macro.
40183         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40184
40185         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40186         __strtoul_internal rather than strtoul.
40187
40188 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40189
40190         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40191         and reject them.
40192
40193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40194
40195         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40196         which preserves existing values.
40197         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40198
40199 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40200
40201         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40202         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40203         greater than FD_SETSIZE.
40204
40205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40206
40207         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40208         allocated, call __vm_protect to finish enabling the existing space, and
40209         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40210         allocate the remainder.
40211
40212 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40213
40214         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40215         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40216
40217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40218
40219         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40220         sysdeps/mach/hurd/readlink.c.
40221
40222         * posix/tst-sysconf.c (posix_options): Only use
40223         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40224         _POSIX_SYNCHRONIZED_IO when they are defined
40225         * sysdeps/mach/hurd/bits/posix_opt.h:
40226         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40227         (_XOPEN_REALTIME): Undefine macro.
40228         (_XOPEN_REALTIME_THREADS): Undefine macro.
40229         (_XOPEN_SHM): Undefine macro.
40230         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40231         macro to -1.
40232         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40233         macro to -1.
40234         (_POSIX_ASYNC_IO): Undefine macro.
40235         (_POSIX_PRIORITIZED_IO): Undefine macro.
40236         (_POSIX_SPIN_LOCKS): Define macro to -1.
40237
40238         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40239         SA_NODEFER, SA_RESETHAND.
40240         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40241         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40242         F_DUPFD_CLOEXEC.
40243
40244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40245
40246         * elf/Makefile (pldd-modules): Define unconditionally.
40247
40248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40249
40250         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40251
40252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40253
40254         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40255         Return ENOENT when name is empty.
40256         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40257
40258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40259
40260         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40261
40262         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40263
40264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40265
40266         Fix mlock in all cases except non-readable pages.
40267         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40268         instead of VM_PROT_ALL as parameter to __vm_wire function.
40269
40270         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40271         (__mkdir): When path is `/', just fail with EEXIST.
40272         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40273
40274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40275
40276         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40277         <sys/uio.h> (for writev).
40278         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40279         and <sys/param.h> (for MIN).
40280
40281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40282
40283         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40284         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40285         if interrupted.
40286
40287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40288
40289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40290         Depend on against $(link-rpcuserlibs).
40291
40292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40293
40294         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40295         (__libc_stack_end): Do not use attribute_relro.
40296         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40297         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40298         to libthread-provided value.
40299         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40300         attribute_relro.
40301
40302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40303
40304         [BZ #3748]
40305         * bits/libc-lock.h (__libc_once_get): New macro.
40306         * sysdeps/mach/bits/libc-lock.h: Likewise.
40307         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40309         instead of using implementation details.
40310
40311         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40312         * libio/freopen.c: Likewise.
40313         * libio/freopen64.c: Likewise.
40314         * misc/syslog.c: Likewise.
40315         * nscd/connections.c: Likewise.
40316         * nscd/netgroupcache.c: Likewise.
40317         * sysdeps/posix/getcwd.c: Likewise.
40318
40319 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40320
40321         * math/w_ilogbf.c: Add #include <limits.h>.
40322
40323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40324
40325         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40326         path instead of returning without unlocking.
40327
40328         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40329         immediate-write ioctls.
40330         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40331
40332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40333
40334         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40335         __builtin_frame_address instead of making assumptions about the
40336         location of the return address relative to DATA.  Force early load of
40337         the return address.
40338         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40339         __builtin_frame_address.
40340
40341         dup3 for GNU Hurd.
40342         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40343         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40344         implement dup3 and do some further code clean-ups.
40345         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40346         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40347
40348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40349
40350         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40351
40352         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40353         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40354         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40355         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40356         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40357         d->port.lock.
40358
40359         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40360         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40361         when handler == SIG_ERR, not when handler != SIG_ERR.
40362
40363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40364
40365         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40366         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40367         definitions.
40368
40369         accept4 for GNU Hurd.
40370         * include/sys/socket.h (__libc_accept4): New prototype.
40371         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40372         to implement __libc_accept4.
40373         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40374         __libc_accept4.
40375         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40376
40377         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40378         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40379         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40380         signal-defines.sym.
40381
40382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40383
40384         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40385
40386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40387
40388         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40389         assertion on O_CLOEXEC flag.
40390         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40391         * hurd/intern-fd.c: Likewise.
40392         * hurd/port2fd.c: Likewise.
40393
40394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40395
40396         [BZ #3906]
40397         * bits/in.h (IPV6_PKTINFO): Define new macro.
40398         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40399
40400 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40401
40402         [BZ #13954]
40403         [BZ #13955]
40404         [BZ #13956]
40405         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40407         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40408         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40410         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40411         * math/libm-test.inc (logb_test) : Additional logb tests.
40412
40413 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40414             Andreas Jaeger  <aj@suse.de>
40415
40416         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40417         * configure: Regenerated.
40418         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40419         * config.make.in (link-obsolete-rpc): New substituted variable.
40420         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40421         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40422         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40423         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40424         so that libc.a contains the symbols.
40425         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40426         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40427         * sunrpc/auth_none.c: Likewise.
40428         * sunrpc/auth_unix.c: Likewise.
40429         * sunrpc/authdes_prot.c: Likewise.
40430         * sunrpc/authuxprot.c: Likewise.
40431         * sunrpc/clnt_gen.c: Likewise.
40432         * sunrpc/clnt_perr.c: Likewise.
40433         * sunrpc/clnt_raw.c: Likewise.
40434         * sunrpc/clnt_simp.c: Likewise.
40435         * sunrpc/clnt_tcp.c: Likewise.
40436         * sunrpc/clnt_udp.c: Likewise.
40437         * sunrpc/clnt_unix.c: Likewise.
40438         * sunrpc/des_crypt.c: Likewise.
40439         * sunrpc/des_soft.c: Likewise.
40440         * sunrpc/get_myaddr.c: Likewise.
40441         * sunrpc/key_call.c: Likewise.
40442         * sunrpc/key_prot.c: Likewise.
40443         * sunrpc/netname.c: Likewise.
40444         * sunrpc/pm_getmaps.c: Likewise.
40445         * sunrpc/pm_getport.c: Likewise.
40446         * sunrpc/pmap_clnt.c: Likewise.
40447         * sunrpc/pmap_prot.c: Likewise.
40448         * sunrpc/pmap_prot2.c: Likewise.
40449         * sunrpc/pmap_rmt.c: Likewise.
40450         * sunrpc/publickey.c: Likewise.
40451         * sunrpc/rpc_cmsg.c: Likewise.
40452         * sunrpc/rpc_common.c: Likewise.
40453         * sunrpc/rpc_dtable.c: Likewise.
40454         * sunrpc/rpc_prot.c: Likewise.
40455         * sunrpc/rpc_thread.c: Likewise.
40456         * sunrpc/rtime.c: Likewise.
40457         * sunrpc/svc.c: Likewise.
40458         * sunrpc/svc_auth.c: Likewise.
40459         * sunrpc/svc_raw.c: Likewise.
40460         * sunrpc/svc_run.c: Likewise.
40461         * sunrpc/svc_tcp.c: Likewise.
40462         * sunrpc/svc_udp.c: Likewise.
40463         * sunrpc/svc_unix.c: Likewise.
40464         * sunrpc/svcauth_des.c: Likewise.
40465         * sunrpc/xcrypt.c: Likewise.
40466         * sunrpc/xdr.c: Likewise.
40467         * sunrpc/xdr_array.c: Likewise.
40468         * sunrpc/xdr_float.c: Likewise.
40469         * sunrpc/xdr_intXX_t.c: Likewise.
40470         * sunrpc/xdr_mem.c: Likewise.
40471         * sunrpc/xdr_rec.c: Likewise.
40472         * sunrpc/xdr_ref.c: Likewise.
40473         * sunrpc/xdr_sizeof.c: Likewise.
40474         * sunrpc/xdr_stdio.c: Likewise.
40475
40476 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40477
40478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40479         change.  Update copyright years.
40480
40481 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40482
40483         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40484
40485 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40486             Joseph Myers  <joseph@codesourcery.com>
40487             Paul Pluzhnikov  <ppluzhnikov@google.com>
40488
40489         [BZ #14012]
40490         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40491         requiring rpcgen.
40492         [cross-compiling] (extra-libs): Likewise.
40493         [cross-compiling] (extra-libs-others): Likewise.
40494         [cross-compiling] (librpcsvc-routines): Likewise.
40495         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40496         [cross-compiling] (omit-deps): Likewise.
40497         (sunrpc-CPPFLAGS): New variable.
40498         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40499         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40500         (cross-rpcgen-objs): New variable.
40501         (extra-objs): Append $(cross-rpcgen-objs).
40502         ($(cross-rpcgen-objs)): New rule.
40503         ($(objpfx)cross-rpcgen): Likewise.
40504         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40505         comment.
40506         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40507         ($(objpfx)x%.stmp): Likewise.
40508         * sunrpc/proto.h [IS_IN_build] (_): Define.
40509         [IS_IN_build] (_libc_intl_domainname): Likewise.
40510
40511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40512
40513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40514         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40515         and R_X86_64_TPOFF64.
40516
40517 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40518
40519         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40520         sysdeps/unix/sysv/syscalls.list.
40521         (stime): Likewise.
40522         (utime): Likewise.
40523         * sysdeps/unix/sysv/syscalls.list: Remove file.
40524
40525 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40526
40527         [BZ #3440]
40528         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40529         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40530         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40531         (__LC_IDENTIFICATION): Make these macros useful in #if
40532         expressions, as required by C99.
40533
40534 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40535
40536         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40537         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40538         after this.
40539
40540 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40541
40542         * stdlib/longlong.h: Updated from GCC.
40543
40544 2012-05-09  Andreas Jaeger  <aj@suse.de>
40545
40546         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40547         default is first entry.
40548         (run_mode): Set type.
40549         (main): Remove informal message about syslog.
40550         (options): Fix typo.
40551
40552         [BZ #14053]
40553         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40554         to asm.
40555         (lrint): Likewise.
40556         (llrintf): Likewise.
40557         (llrint): Likewise.
40558         (rint): Likewise.
40559         (rintf): Likewise.
40560         (nearbyint): Likewise.
40561         (nearbyintf): Likewise.
40562
40563 2012-05-09  Andreas Jaeger  <aj@suse.de>
40564             Pedro Alves  <palves@redhat.com>
40565
40566         * nscd/nscd.c (run_mode): Use enum.
40567         (main): Cleanup coding style issue.
40568
40569 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40570             Andreas Jaeger  <aj@suse.de>
40571
40572         * nscd/nscd.c (go_background): Replaced with...
40573         (run_mode): ... this.
40574         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40575         (options): Add -F --foreground.
40576         (main): Implement it.
40577         (parse_opt): Parse it.
40578
40579 2012-05-09  Andreas Jaeger  <aj@suse.de>
40580
40581         [BZ #14083]
40582         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40583         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40584         -Wconversion warning.
40585         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40586         Likewise.
40587
40588 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40589
40590         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40591         == 0.
40592         (LC_ALL): Use macro-int-constant.
40593         (LC_COLLATE): Likewise.
40594         (LC_CTYPE): Likewise.
40595         (LC_MESSAGES): Likewise.
40596         (LC_MONETARY): Likewise.
40597         (LC_NUMERIC): Likewise.
40598         (LC_TIME): Likewise.
40599         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40600         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40602         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40603         Specify type.
40604         [C99-based standards] (float_t): Expect type.
40605         [C99-based standards] (double_t): Expect type.
40606         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40607         type.
40608         [C99-based standards] (HUGE_VALL): Likewise.
40609         [C99-based standards] (INFINITY): Likewise.
40610         [C99-based standards] (NAN): Likewise.
40611         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40612         [C99-based standards] (FP_NAN): Likewise.
40613         [C99-based standards] (FP_NORMAL): Likewise.
40614         [C99-based standards] (FP_SUBNORMAL): Likewise.
40615         [C99-based standards] (FP_ZERO): Likewise.
40616         [C99-based standards] (FP_FAST_FMA): Use
40617         optional-macro-int-constant.  Specify type.  Require == 1.
40618         [C99-based standards] (FP_FAST_FMAF): Likewise.
40619         [C99-based standards] (FP_FAST_FMAL): Likewise.
40620         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40621         [C99-based standards] (FP_ILOGBNAN): Likewise.
40622         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40623         Specify type.
40624         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40625         [C99-based standards] (math_errhandling): Specify type.
40626         [ISO99 || ISO11] (signgam): Do not allow.
40627         [non-C99-based standards] (copysignf): Do not allow.
40628         [non-C99-based standards] (exp2f): Likewise.
40629         [non-C99-based standards] (log2f): Likewise.
40630         [non-C99-based standards] (modff): Allow.
40631         [non-C99-based standards] (erff): Do not allow.
40632         [non-C99-based standards] (erfcf): Likewise.
40633         [non-C99-based standards] (gammaf): Likewise.
40634         [non-C99-based standards] (hypotf): Likewise.
40635         [non-C99-based standards] (j0f): Likewise.
40636         [non-C99-based standards] (j1f): Likewise.
40637         [non-C99-based standards] (jnf): Likewise.
40638         [non-C99-based standards] (lgammaf): Likewise.
40639         [non-C99-based standards] (tgammaf): Likewise.
40640         [non-C99-based standards] (y0f): Likewise.
40641         [non-C99-based standards] (y1f): Likewise.
40642         [non-C99-based standards] (ynf): Likewise.
40643         [non-C99-based standards] (isnanf): Likewise.
40644         [non-C99-based standards] (acoshf): Likewise.
40645         [non-C99-based standards] (asinhf): Likewise.
40646         [non-C99-based standards] (atanhf): Likewise.
40647         [non-C99-based standards] (cbrtf): Likewise.
40648         [non-C99-based standards] (expm1f): Likewise.
40649         [non-C99-based standards] (ilogbf): Likewise.
40650         [non-C99-based standards] (log1pf): Likewise.
40651         [non-C99-based standards] (logbf): Likewise.
40652         [non-C99-based standards] (nextafterf): Likewise.
40653         [non-C99-based standards] (remainderf): Likewise.
40654         [non-C99-based standards] (rintf): Likewise.
40655         [non-C99-based standards] (scalbf): Likewise.
40656         [non-C99-based standards] (copysignl): Likewise.
40657         [non-C99-based standards] (exp2l): Likewise.
40658         [non-C99-based standards] (log2l): Likewise.
40659         [non-C99-based standards] (modfl): Allow.
40660         [non-C99-based standards] (erfl): Do not allow.
40661         [non-C99-based standards] (erfcl): Likewise.
40662         [non-C99-based standards] (gammal): Likewise.
40663         [non-C99-based standards] (hypotl): Likewise.
40664         [non-C99-based standards] (j0l): Likewise.
40665         [non-C99-based standards] (j1l): Likewise.
40666         [non-C99-based standards] (jnl): Likewise.
40667         [non-C99-based standards] (lgammal): Likewise.
40668         [non-C99-based standards] (tgammal): Likewise.
40669         [non-C99-based standards] (y0l): Likewise.
40670         [non-C99-based standards] (y1l): Likewise.
40671         [non-C99-based standards] (ynl): Likewise.
40672         [non-C99-based standards] (isnanl): Likewise.
40673         [non-C99-based standards] (acoshl): Likewise.
40674         [non-C99-based standards] (asinhl): Likewise.
40675         [non-C99-based standards] (atanhl): Likewise.
40676         [non-C99-based standards] (cbrtl): Likewise.
40677         [non-C99-based standards] (expm1l): Likewise.
40678         [non-C99-based standards] (ilogbl): Likewise.
40679         [non-C99-based standards] (log1pl): Likewise.
40680         [non-C99-based standards] (logbl): Likewise.
40681         [non-C99-based standards] (nextafterl): Likewise.
40682         [non-C99-based standards] (remainderl): Likewise.
40683         [non-C99-based standards] (rintl): Likewise.
40684         [non-C99-based standards] (scalbl): Likewise.
40685         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40686         [non-C99-based standards] (FP_*): Do not allow.
40687         [C99-based standards] (FP_*): Change to
40688         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40689         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40690         allow.
40691         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40692         (SIG_ERR): Likewise.
40693         [X/Open-based standards] (SIG_HOLD): Likewise.
40694         (SIG_IGN): Likewise.
40695         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40696         positive value.
40697         (SIGFPE): Likewise.
40698         (SIGILL): Likewise.
40699         (SIGINT): Likewise.
40700         (SIGSEGV): Likewise.
40701         (SIGTER): Likewise.
40702         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40703         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40704         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40705         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40706         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40707         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40708         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40709         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40710         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40711         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40712         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40713         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40714         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40715         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40716         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40717         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40718         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40719         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40720         [X/Open-based standards] (SIGTRAP): Likewise.
40721         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40722         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40723         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40724         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40725         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40726         allow.
40727
40728 2012-05-08  Ian Wienand  <ianw@vmware.com>
40729
40730         [BZ #14080]
40731         * time/tzset.c (__tzset_parse_tz): Update default rules for
40732         daylight time changes in the Energy Policy Act of 2005.
40733
40734 2012-05-09  Andreas Jaeger  <aj@suse.de>
40735
40736         [BZ #13983]
40737         * elf/ldconfig.c (parse_conf): Change string to make clear that
40738         ldconfig only issued a warning if ld.so.conf does not exist.
40739
40740 2012-05-08  David S. Miller  <davem@davemloft.net>
40741
40742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40743         movxtod instead of popping the value on the stack.
40744
40745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40746
40747 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40748
40749         * config.h.in: Add HAVE_ARM_PCS_VFP.
40750
40751 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40752
40753         [BZ #13979]
40754         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40755         checking but the checks are disabled for any reason.
40756
40757 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40758
40759         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40760         and ELF64_R_TYPE with ELFW(R_TYPE).
40761
40762 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40763
40764         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40765         (ulimit): Likewise.
40766
40767         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40768         (settimeofday): Likewise.
40769
40770 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40771
40772         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40773         a struct th_u2 inside the union, and move tu_block/tu_code into
40774         a new th_u3 union of tu_block/tu_code inside of that.  Move
40775         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40776         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40777         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40778         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40779         (th_stuff): Change to th_u1.tu_stuff.
40780         (th_data): Define.
40781         (th_msg): Change to th_u1.th_u2.tu_data.
40782
40783 2012-05-07  David S. Miller  <davem@davemloft.net>
40784
40785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40786
40787         [BZ #14074]
40788         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40789         (SETUP_PIC_REG): Use it.
40790         (SETUP_PIC_REG_LEAF): Use it.
40791
40792 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40793
40794         [BZ #13885]
40795         [BZ #13923]
40796         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40797         USE_AS_EXPM1L.
40798         (EXPL_FINITE): Likewise.
40799         (FLDLOG): Likewise.
40800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40801         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40802         e_expl.S.
40803         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40804         USE_AS_EXPM1L.
40805         (EXPL_FINITE): Likewise.
40806         (FLDLOG): Likewise.
40807         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40808         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40809         e_expl.S.
40810         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40811         test of -max_value argument for long double.
40812         * sysdeps/i386/fpu/libm-test-ulps: Update.
40813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40814
40815 2012-05-06  David S. Miller  <davem@davemloft.net>
40816
40817         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40818         quad soft-float symbols whose references which are compiler
40819         generated.
40820         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40821
40822 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40823
40824         [BZ #13884]
40825         [BZ #13914]
40826         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40827         USE_AS_EXP10L.
40828         (EXPL_FINITE): Likewise.
40829         (FLDLOG): Likewise.
40830         (c0): Likewise.
40831         (c1): Likewise.
40832         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40833         Adjust comments for base varying.
40834         (__expl_finite): Change alias to EXPL_FINITE.
40835         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40836         e_expl.S.
40837         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40838         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40839         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40840         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40842         USE_AS_EXP10L.
40843         (EXPL_FINITE): Likewise.
40844         (FLDLOG): Likewise.
40845         (c0): Likewise.
40846         (c1): Likewise.
40847         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40848         Adjust comments for base varying.
40849         (__expl_finite): Change alias to EXPL_FINITE.
40850         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40851         tests for bugs.
40852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40853
40854         [BZ #14064]
40855         * math/libm-test.inc (check_float_internal): Correct ulp
40856         calculation for subnormal expected results.
40857
40858 2012-05-06  Andreas Jaeger  <aj@suse.de>
40859
40860         * Makeconfig (+math-flags): New, set to -frounding-math.
40861         (+cflags): Add +math-flags so that all of glibc gets compiled with
40862         it.
40863
40864         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40865
40866 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40867
40868         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40869         Disable one test.
40870
40871         [BZ #13787]
40872         [BZ #13922]
40873         [BZ #14036]
40874         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40875         (__ieee754_expl): Allow for and saturate large arguments.
40876         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40877         (u_threshold): Likewise.
40878         (__exp): Call __ieee754_exp before checking for overflow and
40879         underflow.
40880         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40881         (u_threshold): Likewise.
40882         (__expf): Call __ieee754_expf before checking for overflow and
40883         underflow.
40884         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40885         (u_threshold): Likewise.
40886         (__expl): Call __ieee754_expl before checking for overflow and
40887         underflow.
40888         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40889         (__ieee754_expl): Allow for and saturate large arguments.
40890         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40891         missing overflow exception on overflow.
40892         (expm1_test): Do not allow missing overflow exception on overflow.
40893
40894         * sysdeps/i386/fpu/e_expl.c: Move to ...
40895         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40896         rather than using inline asm.
40897         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40898         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40899         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40900
40901         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40902         (nice): Likewise.
40903         (poll): Likewise.
40904         (signal): Likewise.
40905         (time): Likewise.
40906         (times): Likewise.
40907
40908 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40909
40910         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40911         sysdeps/unix/common/syscalls.list.
40912         (fchmod): Likewise.
40913         (fchown): Likewise.
40914         (ftruncate): Likewise.
40915         (getrusage): Likewise.
40916         (gettimeofday): Likewise.
40917         (setpgid): Likewise.
40918         (setregid): Likewise.
40919         (setreuid): Likewise.
40920         (sigaction): Likewise.
40921         (truncate): Likewise.
40922         (vhangup): Likewise.
40923         * sysdeps/unix/common/syscalls.list: Remove file.
40924         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40925         * sysdeps/unix/sysv/linux/Implies: Likewise.
40926
40927 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40928
40929         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40931         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40932         Moved to ...
40933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40934         Here.
40935         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40936         to ...
40937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40938         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40939         to ...
40940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40941         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40942         to ...
40943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40944         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40945         to ...
40946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40947         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40948         to ...
40949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40950         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40951         to ...
40952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40953         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40954         to ...
40955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40956         Here.
40957         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40958         to ...
40959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40960         Here.
40961         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40962         to ...
40963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40964         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40965         Moved to ...
40966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40967         Here.
40968         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40969         to ...
40970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40971
40972 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40973
40974         * sysdeps/unix/common/bits/dirent.h: Remove file.
40975         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40976
40977         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40978         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40979         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40980         * sysdeps/unix/bsd/isatty.c: Likewise.
40981         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40982         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40983         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40984
40985 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40986
40987         [BZ #13563]
40988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40989         long double comparison inaccuracies.
40990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40992
40993 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40994
40995         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40997
40998 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40999
41000         [BZ #14049]
41001         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41002         nonzero digits before rounding a hex value.
41003         * stdlib/tst-strtod.c (tests): Add another test.
41004
41005 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41006
41007         * sysdeps/s390/fpu/libm-test-ulps: Update.
41008
41009 2012-05-03  Andreas Jaeger  <aj@suse.de>
41010
41011         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41012         does not get optimized out.
41013         (malloc_opt_barrier): New.
41014
41015 2012-05-03  Andreas Jaeger  <aj@suse.de>
41016             Roland McGrath  <roland@hack.frob.com>
41017
41018         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41019         intermediate file deletion.
41020         (generated): Add .symlist files.
41021
41022 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41023
41024         [BZ #13775]
41025         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41026         Redirect under this condition.
41027         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41028         [__USE_GNU] (__dprintf_chk): Not under this condition.
41029         [__USE_GNU] (__vdprintf_chk): Likewise.
41030         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41031         under this condition.
41032         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41033         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41034         [__USE_XOPEN2K8] (vdprintf): Likewise.
41035         [__USE_GNU] (__dprintf_chk): Not under this condition.
41036         [__USE_GNU] (__vdprintf_chk): Likewise.
41037         [__USE_GNU] (dprintf): Likewise.
41038         [__USE_GNU] (vdprintf): Likewise.
41039
41040 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41041
41042         * elf/Makefile (common-generated): Set this instead of generated for
41043         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41044         $(all-built-dso)-derived lists.
41045
41046 2012-05-03  Andreas Jaeger  <aj@suse.de>
41047
41048         * sysdeps/i386/fpu/libm-test-ulps: Update.
41049
41050         * FAQ: Removed.
41051         * FAQ.in: Likewise.
41052         * scripts/gen-FAQ.pl: Likewise.
41053         * manual/install.texi (Installation): Point to online location of
41054         FAQ.
41055         * Makefile (files-for-dist): Remove FAQ.
41056         (FAQ): Remove.
41057
41058 2012-05-02  Allan McRae  <allan@archlinux.org>
41059
41060         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41061         (LDFLAGS-reldepmod5.so): Likewise.
41062         (LDFLAGS-reldep6mod1.so): Likewise.
41063         (LDFLAGS-reldep6mod4.so): Likewise.
41064         (LDFLAGS-reldep8mod3.so): Likewise.
41065         (LDFLAGS-unload4mod1.so): Likewise.
41066         (LDFLAGS-unload4mod2.so): Likewise.
41067         (LDFLAGS-tst-initorder): Likewise.
41068         (LDFLAGS-tst-initordera2.so): Likewise.
41069         (LDFLAGS-tst-initordera3.so): Likewise.
41070         (LDFLAGS-tst-initordera4.so): Likewise.
41071         (LDFLAGS-tst-initorderb2.so): Likewise.
41072         (LDFLAGS-noload): Likewise.
41073         (LDFLAGS-next): Likewise.
41074         (LDFLAGS-order2mod1.so): Likewise.
41075         (LDFLAGS-order2mod2.so): Likewise.
41076         (LDFLAGS-tst-initorder2): Likewise.
41077         (LDFLAGS-tst-initorder2a.so): Likewise.
41078         (LDFLAGS-tst-initorder2b.so): Likewise.
41079         (LDFLAGS-tst-initorder2c.so): Likewise.
41080         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41081
41082 2012-05-02  David S. Miller  <davem@davemloft.net>
41083
41084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41085
41086 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41087
41088         [BZ #14055]
41089         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41090
41091 2012-05-02  Andreas Jaeger  <aj@suse.de>
41092
41093         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41094         since we manipulate rounding mode.
41095         (CPPFLAGS-test-idouble.c): Likewise.
41096         (CPPFLAGS-test-ifloat.c): Likewise.
41097         (CFLAGS-test-ldouble.c): Likewise.
41098         (CFLAGS-test-double.c): Likewise.
41099         (CFLAGS-test-float.c): Likewise.
41100         (CFLAGS-test-misc.c): Likewise.
41101         (CFLAGS-test-test-fenv.c): Likewise.
41102
41103 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41104
41105         [BZ #2550]
41106         [BZ #2570]
41107         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41108         comparisons to determine direction to adjust input.
41109
41110 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41111
41112         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41113         output to the target.
41114
41115         * scripts/localplt.awk: New file.
41116         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41117         (check-localplt-CFLAGS): Variable removed.
41118         ($(all-built-dso:=.jmprel)): New static pattern rule.
41119         (generated): Add those targets.
41120         (localplt-built-dso): New variable.
41121         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41122
41123         * elf/check-localplt.c: File removed.
41124
41125         * scripts/check-execstack.awk: New file.
41126         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41127         (check-execstack-CFLAGS): Variable removed.
41128         ($(objpfx)check-execstack.h): Target removed.
41129         ($(objpfx)execstack-default): New target.
41130         (generated): Add that instead of check-execstack.h.
41131         ($(all-built-dso:=.phdr)): New static pattern rule.
41132         (generated): Add those targets.
41133         * elf/check-execstack.c: File removed.
41134
41135         * scripts/check-textrel.awk: New file.
41136         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41137         (check-textrel-CFLAGS): Variable removed.
41138         (all-built-dso): Use := to define.o
41139         ($(all-built-dso:=.dyn)): New static pattern rule.
41140         (generated): Add those targets.
41141         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41142         * config.make.in (READELF): New substituted variable.
41143         * elf/check-textrel.c: File removed.
41144
41145 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41146
41147         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41148         allow.
41149         * conform/data/ctype.h-data [C99-based standards] (isblank):
41150         Expect function.
41151         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41152         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41154         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41155         Specify type.  Require positive value.
41156         (EILSEQ): Likewise.
41157         (ERANGE): Likewise.
41158         [ISO || POSIX] (EILSEQ): Do not expect.
41159         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41160         Specify type.  Require positive value.
41161         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41162         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41163         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41164         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41165         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41166         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41167         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41168         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41169         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41170         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41171         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41172         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41173         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41174         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41175         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41176         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41177         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41178         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41179         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41180         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41181         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41182         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41183         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41184         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41185         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41186         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41188         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41189         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41190         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41191         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41192         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41193         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41194         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41195         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41196         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41197         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41198         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41199         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41201         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41202         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41206         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41210         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41211         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41212         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41213         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41214         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41215         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41216         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41217         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41218         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41219         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41220         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41221         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41222         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41223         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41224         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41225         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41226         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41227         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41228         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41229         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41230         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41231         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41232         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41233         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41234         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41235         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41236         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41237         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41238         Require >= 2.
41239         (FLT_ROUNDS): Expect as macro, not constant.
41240         (FLT_MANT_DIG): Use macro-int-constant.
41241         (DBL_MANT_DIG): Likewise.
41242         (LDBL_MANT_DIG): Likewise.
41243         (FLT_DIG): Likewise.
41244         (DBL_DIG): Likewise.
41245         (LDBL_DIG): Likewise.
41246         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41247         (DBL_MIN_EXP): Likewise.
41248         (LDBL_MIN_EXP): Likewise.
41249         (FLT_MAX_EXP): Use macro-int-constant.
41250         (DBL_MAX_EXP): Likewise.
41251         (LDBL_MAX_EXP): Likewise.
41252         (FLT_MAX_10_EXP): Likewise.
41253         (DBL_MAX_10_EXP): Likewise.
41254         (LDBL_MAX_10_EXP): Likewise.
41255         (FLT_MAX): Use macro-constant.
41256         (DBL_MAX): Likewise.
41257         (LDBL_MAX): Likewise.
41258         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41259         (DBL_EPSILON): Likewise.
41260         (LDBL_EPSILON): Likewise.
41261         (FLT_MIN): Likewise.
41262         (DBL_MIN): Likewise.
41263         (LDBL_MIN): Likewise.
41264         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41265         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41266         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41267         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41268         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41269         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41270         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41271         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41272         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41273         [ISO11] (FLT_TRUE_MIN): Likewise.
41274         [ISO11] (LDBL_TRUE_MIN): Likewise.
41275         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41276         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41277         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41278         (SCHAR_MAX): Likewise.
41279         (UCHAR_MAX): Likewise.
41280         (CHAR_MIN): Likewise.
41281         (CHAR_MAX): Likewise.
41282         (MB_LEN_MAX): Use macro-int-constant.
41283         (SHRT_MIN): Use macro-int-constant.  Specify type.
41284         (SHRT_MAX): Likewise.
41285         (USHRT_MAX): Likewise.
41286         (INT_MAX): Likewise.
41287         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41288         bound negative.
41289         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41290         bound with "U".
41291         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41292         bound with "L".
41293         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41294         bound negative.  Suffix upper bound with "L".
41295         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41296         bound with "UL".
41297         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41298         Specify type.
41299         [C99-based standards] (LLONG_MAX): Likewise.
41300         [C99-based standards] (ULLONG_MAX): Likewise.
41301         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41302         == 0.
41303         [ISO11] (max_align_t): Require type.
41304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41305
41306         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41307         from $CFLAGS, without defining away __attribute__ calls.
41308         (checknamespace): Use $CFLAGS_namespace.
41309
41310         * conform/conformtest.pl (@keywords): Only include C99 keywords
41311         for standards based on C99 or C11.
41312
41313         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41314         Disable tests.
41315         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41316         UNIX98]: Likewise.
41317
41318         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41319         usability of symbols in #if.
41320
41321         * conform/conformtest.pl: If macro or constant types start
41322         "promoted:", expect the symbol to be of the following type
41323         promoted by the integer promotions.
41324
41325         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41326         in one place.  Also handle "macro-constant".
41327
41328         * conform/conformtest.pl: Only accept expected macro values with
41329         "==".  Parse all "macro" lines in one place.
41330         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41331
41332         * conform/conformtest.pl: Handle braced types on "constant" lines
41333         instead of handling "typed-constant".
41334         * conform/data/signal.h-data: Use "constant" instead of
41335         "typed-constant".
41336
41337         * conform/conformtest.pl: Handle "optional-" at start of lines in
41338         one place rather than duplicating several cases.  Handle each
41339         format of "macro" line with initial "optional-".
41340
41341         * conform/conformtest.pl: Only accept expected constant or
41342         optional-constant values with "==".  Parse all "constant" lines in
41343         one place.  Parse all "optional-constant" lines in one place.
41344         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41345         * conform/data/fmtmsg.h-data: Likewise.
41346         * conform/data/netinet/in.h-data: Likewise.
41347         * conform/data/tar.h-data: Likewise.
41348         * conform/data/limits.h-data: Use "==" form on "constant" and
41349         "optional-constant" lines.
41350
41351         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41352         Use -std=c99 for XOPEN2K.
41353         (@knownproblems): Remove.
41354         (newtoken): Don't check %isknown.
41355
41356         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41357         Do not expect macro.
41358         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41359         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41360         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41361         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41362         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41363         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41364         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41365         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41366         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41367         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41368         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41369         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41370         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41371         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41372         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41373         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41374         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41375         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41376         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41377         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41378         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41379         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41380         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41381         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41382         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41383         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41384         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41385         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41386         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41387         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41388         [XPG3] (acosh): Likewise.
41389         [XPG3] (asinh): Likewise.
41390         [XPG3] (atanh): Likewise.
41391         [XPG3] (cbrt): Likewise.
41392         [XPG3] (expm1): Likewise.
41393         [XPG3] (ilogb): Likewise.
41394         [XPG3] (log1p): Likewise.
41395         [XPG3] (logb): Likewise.
41396         [XPG3] (nextafter): Likewise.
41397         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41398         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41399         [XPG3] (remainder): Likewise.
41400         [XPG3] (rint): Likewise.
41401         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41402         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41403         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41404         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41405         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41406         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41407         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41408         [UNIX98 || XOPEN2K] (scalb): Expect.
41409         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41410         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41411         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41412         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41413         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41414         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41415         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41416         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41417         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41418         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41419         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41420         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41421         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41422         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41423         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41424         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41425         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41426         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41427         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41428         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41429         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41430         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41431         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41432         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41433         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41434         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41435         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41436         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41437         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41438         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41439         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41440         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41441         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41442         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41443         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41444         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41445         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41446         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41447         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41448         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41449         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41450         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41451         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41452         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41453         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41454         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41455         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41456         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41457         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41458         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41459         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41460         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41461         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41462         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41463         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41464         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41465         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41466         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41467         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41468         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41469         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41470         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41471         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41472         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41473         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41474         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41475         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41476         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41477         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41478         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41479         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41480         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41481         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41482         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41483         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41484         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41485         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41486         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41487         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41488         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41489         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41490         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41491         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41492         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41493         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41494         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41495         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41496         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41497         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41498         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41499         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41500         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41501         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41502         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41503         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41504         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41505         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41506         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41507         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41508         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41509         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41510         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41511         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41512         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41513         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41514         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41515         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41516         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41517         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41518         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41519         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41520         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41521         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41522         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41523         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41524         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41525         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41526         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41527         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41528         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41529         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41530         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41531         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41532         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41533         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41534         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41535         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41536         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41537         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41538         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41539         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41540         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41541         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41542         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41543         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41544         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41545         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41546
41547         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41548         _XOPEN_SOURCE_EXTENDED for XPG4.
41549
41550         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41551
41552         * Makeconfig (localtime): Remove variable.
41553         (inst_localtime-file): Likewise.
41554
41555 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41556
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41558         Update.
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41560         Update.
41561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41562         Update.
41563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41564         Update.
41565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41566         Update.
41567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41568         Update.
41569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41570         Update.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41572         Update.
41573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41574         Update.
41575
41576 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41577
41578         [BZ #2550]
41579         [BZ #2570]
41580         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41581         comparisons to determine direction to adjust input.
41582         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41583         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41584         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41585         Likewise.
41586         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41587         Likewise.
41588         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41589         Likewise.
41590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41592         Likewise.
41593         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41594         Likewise.
41595         * math/libm-test.inc (nexttoward_test): Add more tests.
41596
41597 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41598
41599         [BZ #14040]
41600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41601         in version GLIBC_2.1, not GLIBC_2.0.
41602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41603         Likewise.
41604
41605 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41606
41607         [BZ #13942]
41608         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41609         (1 - x) * (1 + x).
41610         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41611         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41612         * math/libm-test.inc (acos_test): Add more tests.
41613         (asin_test): Likewise.
41614         * sysdeps/i386/fpu/libm-test-ulps: Update.
41615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41616
41617         [BZ #14034]
41618         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41619         of square root.
41620         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41621         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41622         * math/libm-test.inc (acos_test_tonearest): New function.
41623         (acos_test_towardzero): Likewise.
41624         (acos_test_downward): Likewise.
41625         (acos_test_upward): Likewise.
41626         (asin_test_tonearest): Likewise.
41627         (asin_test_towardzero): Likewise.
41628         (asin_test_downward): Likewise.
41629         (asin_test_upward): Likewise.
41630         (main): Call the new functions.
41631         * sysdeps/i386/fpu/libm-test-ulps: Update.
41632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41633
41634         [BZ #13884]
41635         [BZ #13924]
41636         * math/e_exp10.c: Include <float.h>.
41637         (__ieee754_exp10): Handle underflow here rather than multiplying
41638         large negative argument by M_LN10.
41639         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41640         of __ieee754_expf.
41641         * math/e_exp10l.c: Include <float.h>.
41642         (__ieee754_exp10l): Handle underflow here rather than multiplying
41643         large negative argument by M_LN10l.
41644         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41645         spurious overflow exception on underflow.
41646
41647 2012-04-29  Marek Polacek  <polacek@redhat.com>
41648
41649         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41650         (__fortify_function): New macro.
41651         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41652         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41653         __extern_always_inline.
41654         * libio/bits/stdio2.h: Likewise.
41655         * libio/bits/stdio.h: Likewise.
41656         * string/string.h: Likewise.
41657         * string/bits/string3.h: Likewise.
41658         * include/stdio.h: Likewise.
41659         * stdlib/bits/stdlib.h: Likewise.
41660         * stdlib/stdlib.h: Likewise.
41661         * rt/bits/mqueue2.h: Likewise.
41662         * rt/mqueue.h: Likewise.
41663         * posix/bits/unistd.h: Likewise.
41664         * posix/unistd.h: Likewise.
41665         * io/bits/poll2.h: Likewise.
41666         * io/bits/fcntl2.h: Likewise.
41667         * io/fcntl.h: Likewise.
41668         * io/sys/poll.h: Likewise.
41669         * misc/bits/syslog.h: Likewise.
41670         * misc/bits/syslog-ldbl.h: Likewise.
41671         * misc/sys/syslog.h: Likewise.
41672         * socket/bits/socket2.h: Likewise.
41673         * socket/sys/socket.h: Likewise.
41674         * debug/tst-chk1.c: Likewise.
41675         * wcsmbs/bits/wchar2.h: Likewise.
41676         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41677         * wcsmbs/wchar.h: Likewise.
41678
41679 2012-04-29  Andreas Jaeger  <aj@suse.de>
41680
41681         * Makerules (tests): Remove enable-check-abi protection.
41682         (check-abi-warn): Remove.
41683         (check-abi-%): Remove check-abi-warn usage.
41684
41685         * configure.in: Remove check-abi configure option.
41686         * configure: Regenerated.
41687         * config.make.in (enable-check-abi): Remove.
41688
41689 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41690
41691         [BZ #14033]
41692         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41693         double functions to double *_finite functions.
41694
41695         [BZ #13941]
41696         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41697         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41698         LDBL_MIN_EXP.
41699         * stdio-common/Makefile (tests): Add tst-sprintf3.
41700         * stdio-common/tst-sprintf3.c: New file.
41701
41702         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41703         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41704
41705 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41706
41707         * conform/conformtest.pl: Remove duplicate typed-constant
41708         handling.
41709
41710 2012-04-28  David S. Miller  <davem@davemloft.net>
41711
41712         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41713         (check-abi-%): Remove AWK script prerequisite and explicit
41714         abilist directory.
41715         (check-abi): Rewrite to just diff the symlist with the abilist.
41716         (config-tls, config-abi-config): Delete, no longer used.
41717         (update-abi-%): Remove AWK script and explicit abilist directory.
41718         (update-abi): Rewrite to simply compare and conditionally copy the
41719         symlist and the sysdep abilist file.  Remove update-abi-config
41720         checks.
41721         * abilist/ld.abilist: Remove.
41722         * abilist/libBrokenLocale.abilist: Remove.
41723         * abilist/libanl.abilist: Remove.
41724         * abilist/libcrypt.abilist: Remove.
41725         * abilist/libdl.abilist: Remove.
41726         * abilist/librt.abilist: Remove.
41727         * abilist/libthread_db.abilist: Remove.
41728         * abilist/libutil.abilist: Remove.
41729         * scripts/extract-abilist.awk: Remove.
41730         * scripts/merge-abilist.awk: Remove.
41731         * sysdeps/generic/libcidn.abilist: New file.
41732         * sysdeps/generic/libnss_compat.abilist: New file.
41733         * sysdeps/generic/libnss_db.abilist: New file.
41734         * sysdeps/generic/libnss_dns.abilist: New file.
41735         * sysdeps/generic/libnss_files.abilist: New file.
41736         * sysdeps/generic/libnss_hesiod.abilist: New file.
41737         * sysdeps/generic/libnss_nis.abilist: New file.
41738         * sysdeps/generic/libnss_nisplus.abilist: New file.
41739         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41740         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41741         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41742         file.
41743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41744         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41745         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41746         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41747         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41748         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41749         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41750         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41751         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41752         file.
41753         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41754         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41755         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41756         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41757         file.
41758         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41759         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41760         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41761         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41762         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41763         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41764         file.
41765         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41766         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41767         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41768         file.
41769         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41771         New file.
41772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41773         New file.
41774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41775         New file.
41776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41777         New file.
41778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41779         New file.
41780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41781         New file.
41782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41783         New file.
41784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41785         New file.
41786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41787         New file.
41788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41789         New file.
41790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41791         New file.
41792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41793         New file.
41794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41795         New file.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41797         file.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41799         New file.
41800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41801         New file.
41802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41803         file.
41804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41805         New file.
41806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41807         New file.
41808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41809         file.
41810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41811         New file.
41812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41813         New file.
41814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41815         New file.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41817         New file.
41818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41819         New file.
41820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41821         New file.
41822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41824         file.
41825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41826         New file.
41827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41828         file.
41829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41830         file.
41831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41832         file.
41833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41834         file.
41835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41836         file.
41837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41838         New file.
41839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41840         file.
41841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41842         file.
41843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41844         New file.
41845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41846         file.
41847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41849         file.
41850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41851         New file.
41852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41853         file.
41854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41855         file.
41856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41857         file.
41858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41859         file.
41860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41861         file.
41862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41863         New file.
41864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41865         file.
41866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41867         file.
41868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41869         New file.
41870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41871         file.
41872         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41873         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41874         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41875         file.
41876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41877         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41878         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41879         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41880         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41881         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41882         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41883         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41884         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41885         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41888         file.
41889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41890         New file.
41891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41892         file.
41893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41894         file.
41895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41896         file.
41897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41898         file.
41899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41900         file.
41901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41902         New file.
41903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41904         New file.
41905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41906         file.
41907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41908         New file.
41909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41910         file.
41911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41913         file.
41914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41915         New file.
41916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41917         file.
41918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41919         file.
41920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41921         file.
41922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41923         file.
41924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41925         file.
41926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41927         New file.
41928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41929         New file.
41930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41931         file.
41932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41933         New file.
41934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41935         file.
41936
41937 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41938
41939         * conform/conformtest.pl: Fix typo in handling typed-constant from
41940         allow-header.
41941
41942 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41943
41944         * README: Cut down references to pre-2.6 Linux kernels and
41945         Linuxthreads.  Update lists of configurations in libc and ports
41946         and sort alphabetically.  Say "or newer" with Linux kernel version
41947         requirements.
41948
41949         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41950
41951 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41952
41953         [BZ #887]
41954         * math/libm-test.inc (logb_test_downward): New test to expose
41955         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41956         rounding mode.
41957
41958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41959
41960         [BZ #14027]
41961         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41962         to be done.
41963         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41964         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41965
41966 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41967
41968         * sysdeps/unix/i386/brk.S: Remove file.
41969         * sysdeps/unix/i386/dl-brk.S: Likewise.
41970         * sysdeps/unix/i386/pipe.S: Likewise.
41971         * sysdeps/unix/i386/sigreturn.S: Likewise.
41972         * sysdeps/unix/i386/syscall.S: Likewise.
41973         * sysdeps/unix/i386/vfork.S: Likewise.
41974         * sysdeps/unix/i386/wait.S: Likewise.
41975
41976         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41977         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41978
41979         * configure.in (arm*-none*): Do not allow without
41980         --enable-hacker-mode.
41981         (netbsd*): Remove case setting base_os.
41982         (386bsd*): Likewise.
41983         (freebsd*): Likewise.
41984         (bsdi*): Likewise.
41985         (osf*): Likewise.
41986         (sunos*): Likewise.
41987         (ultrix*): Likewise.
41988         (newsos*): Likewise.
41989         (dynix*): Likewise.
41990         (*bsd*): Likewise.
41991         (sysv*): Likewise.
41992         (isc*): Likewise.
41993         (esix*): Likewise.
41994         (sco*): Likewise.
41995         (minix*): Likewise.
41996         (irix4*): Likewise.
41997         (irix6*): Likewise.
41998         (solaris[2-9]*): Likewise.
41999         (none): Likewise.
42000         * configure: Regenerated.
42001
42002 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42003
42004         [BZ #11521]
42005         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42006         overflow or cancellation in calculating denominator.
42007         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42008         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42009         down expression to avoid unexpected rounding in newer GCCs.
42010         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42011
42012 2012-04-26  David S. Miller  <davem@davemloft.net>
42013
42014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42015         long-double compat symbols.
42016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42029
42030 2012-04-25  David S. Miller  <davem@davemloft.net>
42031
42032         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42033         HWCAP_* values only after the memory barriers have been defined.
42034         (atomic_full_barrier): Define.
42035         (atomic_read_barrier): Define.
42036         (atomic_write_barrier): Define.
42037
42038 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42039
42040         * shlib-versions: Add libgcc_s version information.
42041         * sysdeps/generic/libgcc_s.h: Remove.
42042         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42043         libgcc_s.h.
42044         * sysdeps/gnu/unwind-resume.c: Likewise.
42045         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42046
42047 2012-04-25  David S. Miller  <davem@davemloft.net>
42048
42049         * sysdeps/unix/sparc/brk.S: Delete.
42050         * sysdeps/unix/sparc/dl-brk.S: Delete.
42051         * sysdeps/unix/sparc/pipe.S: Delete.
42052         * sysdeps/unix/sparc/sysdep.S: Delete.
42053         * sysdeps/unix/sparc/sysdep.h: Delete.
42054         * sysdeps/unix/sparc/vfork.S: Delete.
42055         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42056         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42058         (ret_ERRVAL, r0, r1, MOVE): Define.
42059         (JUMPTARGET): Remove.
42060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42061         sysdeps/unix/sparc/sysdep.h
42062         (ENTRY, END): Remove.
42063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42064
42065 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42066
42067         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42068         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42069         -DIS_IN_build.
42070
42071         * timezone/README: Update upstream location and email address for
42072         tzcode and tzdata.
42073         * timezone/zdump.c: Update from tzcode 2012b.
42074         * timezone/zic.c: Likewise.
42075
42076         * configure.in (libc_cv_as_needed): Remove test.
42077         * configure: Regenerated.
42078         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42079         conditional definition.
42080         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42081         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42082         * config.make.in (have-as-needed): Remove variable.
42083
42084 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42085             Paul Pluzhnikov  <ppluzhnikov@google.com>
42086
42087         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42088         strings correctly.
42089
42090 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42091
42092         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42093         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42094         * sysdeps/sh/strlen.S: Likewise.
42095
42096 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42097
42098         * sysdeps/unix/fork.S: Remove file.
42099         * sysdeps/unix/i386/fork.S: Likewise.
42100         * sysdeps/unix/sparc/fork.S: Likewise.
42101
42102         * sysdeps/unix/system.c: Remove file.
42103         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42104
42105         * sysdeps/unix/getegid.S: Remove file.
42106         * sysdeps/unix/geteuid.S: Likewise.
42107
42108 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42109
42110         * scripts/check-localplt.awk: New file.
42111         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42112         of diff.
42113         * scripts/data/localplt-generic.data: Add a comment.
42114
42115         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42116         NODE when __dir_mkfile failed.
42117         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42118         Reported by Ludovic Courtès <ludo@gnu.org>.
42119
42120 2012-04-24  Andreas Jaeger  <aj@suse.de>
42121
42122         * Makerules (common-clean): Also remove gen-as-const-headers
42123         files.
42124
42125 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42126
42127         * Makerules (native-compile): Do not change working directory for
42128         build.  Use $(OUTPUT_OPTION) in command.
42129         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42130
42131 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42132
42133         [BZ #13886]
42134         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42135         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42136         * math/libm-test.inc (floor_test): Add more tests.
42137         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42138
42139 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42140
42141         * sysdeps/unix/getdents.c: Remove file.
42142         * sysdeps/unix/sysv/getdents.c: Likewise.
42143         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42144
42145         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42146         sysdeps/unix/mman/syscalls.list.
42147         (mmap): Likewise.
42148         (mprotect): Likewise.
42149         (msync): Likewise.
42150         (munmap): Likewise.
42151         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42152         * sysdeps/unix/mman/syscalls.list: Remove.
42153         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42154
42155         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42156         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42157         * configure: Regenerated.
42158         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42159         $(libgcc_s_suffix).
42160         * config.make.in (libgcc_s_suffix): Remove variable.
42161
42162 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42163
42164         * sysdeps/unix/sysv/gethostname.c: Move to ...
42165         * sysdeps/posix/gethostname.c: ... here.
42166
42167         * sysdeps/unix/execve.S: Remove file.
42168
42169         * sysdeps/unix/_exit.S: Remove file.
42170
42171 2012-04-23  Andreas Jaeger  <aj@suse.de>
42172
42173         [BZ #13739]
42174         * manual/Makefile: Remove make dist support, there's no
42175         need for a stand-alone documentation tar ball.
42176         (TEXI2DVI): Define always, it's not in Makeconfig.
42177         (dist): Removed.
42178         (tar-it): Removed.
42179         (edition): Removed.
42180         (glibc-doc-$(edition).tar): Removed
42181         (%.Z): Removed.
42182         (%.gz): Removed.
42183         (%.uu): Removed.
42184         (ETAGS): Remove, it's in Makeconfig.
42185         (move-if-change): Remove, it's in Makeconfig.
42186
42187 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42188
42189         [BZ #13970]
42190         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42191         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42192         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42193         (strtod_l, strtof_l, strtold_l): Remove __wur.
42194         It is not necessarily an error to ignore strtol's return value.
42195         One can reliably look at the stored endptr to decide whether
42196         the number had valid syntax.
42197
42198 2012-04-21  Andreas Jaeger  <aj@suse.de>
42199
42200         [BZ #13739]
42201         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42202
42203 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42204
42205         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42206         * sysdeps/unix/sysv/Versions: Remove file.
42207
42208 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42209
42210         [BZ #13927]
42211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42212
42213 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42214
42215         [BZ #7064]
42216         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42217         version from __vm86.
42218
42219 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42220
42221         * sysdeps/unix/common/lxstat.c: Remove file.
42222         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42223
42224         * sysdeps/unix/sysv/Makefile: Remove file.
42225
42226         * sysdeps/unix/sysv/direct.h: Remove file.
42227
42228         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42229         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42230         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42231         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42232         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42233         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42234         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42235
42236         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42237
42238         * sysdeps/unix/xmknod.c: Remove file.
42239         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42240
42241         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42242
42243         * sysdeps/unix/sysv/i386/time.S: Remove file.
42244
42245         * sysdeps/unix/fxstat.c: Remove file.
42246         * sysdeps/unix/xstat.c: Likewise.
42247         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42248
42249         * sysdeps/unix/sysv/sigaction.c: Remove file.
42250
42251         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42252         (sysdep_headers): Remove variable.
42253         [termio.h not in sysdep_headers] (generated): Likewise.
42254         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42255         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42256         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42257         * sysdeps/unix/sysv/tcflow.c: Likewise.
42258         * sysdeps/unix/sysv/tcflush.c: Likewise.
42259         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42260         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42261         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42262         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42263         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42264
42265         * sysdeps/unix/siglist.c: Remove file.
42266
42267         * sysdeps/unix/getppid.S: Remove file.
42268
42269         * sysdeps/unix/mkdir.c: Remove file.
42270         * sysdeps/unix/rmdir.c: Likewise.
42271
42272 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42273
42274         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42275         ERR_MAX value.
42276         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42277         errlist-compat value.
42278
42279 2012-04-18  David S. Miller  <davem@davemloft.net>
42280
42281         * sysdeps/generic/memcopy.h (reg_char): Delete.
42282         * debug/strcat_chk.c: Use char, not reg_char.
42283         * debug/strcpy_chk.c: Likewise.
42284         * debug/strncat_chk.c: Likewise.
42285         * debug/strncpy_chk.c: Likewise.
42286         * string/memchr.c: Likewise.
42287         * string/memrchr.c: Likewise.
42288         * string/rawmemchr.c: Likewise.
42289         * string/strcat.c: Likewise.
42290         * string/strchr.c: Likewise.
42291         * string/strchrnul.c: Likewise.
42292         * string/strcmp.c: Likewise.
42293         * string/strcpy.c: Likewise.
42294         * string/strncat.c: Likewise.
42295         * string/strncmp.c: Likewise.
42296         * string/strncpy.c: Likewise.
42297
42298 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42299
42300         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42301         __builtin_memcopy is called when src and dest ranges are known to not
42302         overlap.
42303
42304 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42305
42306         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42307         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42308         fwd_align_merge macro call.
42309         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42310         bwd_align_merge macro call.
42311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42312
42313 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42314
42315         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42316         bwd_align_merge macros.
42317         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42318         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42320
42321 2012-04-18  David S. Miller  <davem@davemloft.net>
42322
42323         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42324
42325 2012-04-18  Andreas Jaeger  <aj@suse.de>
42326
42327         [BZ# 6794]
42328         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42329         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42330         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42331
42332         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42333         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42334         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42335
42336         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42337         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42338         Adjust for changed ldbl-128 files.
42339
42340         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42341         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42342         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42343
42344 2012-04-17  David S. Miller  <davem@davemloft.net>
42345
42346         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42347
42348 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42349
42350         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42351         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42352         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42353         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42354         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42355         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42356
42357 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42358
42359         [BZ #6794]
42360         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42361         * math/libm-test.inc: Add ilogb errno and exception tests.
42362         * math/w_ilogb.c: New file: ilogb wrapper.
42363         * math/w_ilogbf.c: New file: ilogbf wrapper.
42364         * math/w_ilogbl.c: New file: ilogbl wrapper.
42365         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42366         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42367         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42368         exception being thrown with 0.0 as argument.
42369         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42370         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42371         exception being thrown with 0.0 as argument.
42372         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42373         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42374         exception being thrown with 0.0 as argument.
42375         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42376         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42377         exception being thrown with 0.0 as argument.
42378         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42379         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42380         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42381         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42382         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42383         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42384         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42385         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42386         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42387
42388 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42389
42390         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42391         with altivec.
42392
42393 2012-04-16  Marek Polacek  <polacek@redhat.com>
42394
42395         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42396
42397 2012-04-16  Marek Polacek  <polacek@redhat.com>
42398
42399         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42400         operands of fdivp instruction.
42401
42402 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42403
42404         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42405         * elf/tst-auditmod3b.c: Likewise.
42406         * elf/tst-auditmod4b.c: Likewise.
42407         * elf/tst-auditmod5b.c: Likewise.
42408         * elf/tst-auditmod6b.c: Likewise.
42409         * elf/tst-auditmod6c.c: Likewise.
42410         * elf/tst-auditmod7b.c: Likewise.
42411         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42412         * sysdeps/x86_64/preconfigure.in: Likewise.
42413         * sysdeps/x86_64/preconfigure: Regenerated.
42414
42415 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42416
42417         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42418         __ILP32__.
42419
42420 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42421
42422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42423         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42424
42425 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42426
42427         [BZ #13973]
42428         * locale/iso-639.def: Fix gl language name. Spotted by
42429         Yaron Shahrabani.
42430
42431 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42432
42433         [BZ #2074]
42434         * libio/libio.h (__io_write_fn): Update comment.
42435
42436 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42437
42438         [BZ #2074]
42439         * stdio.texi (Hook Functions): The user provided writer function
42440         is not allowed to return -1.
42441
42442 2012-04-11  David S. Miller  <davem@davemloft.net>
42443
42444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42445
42446 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42447
42448         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42449         Add a leading slash to rtkaio.
42450
42451 2012-04-11  Jim Meyering  <meyering@redhat.com>
42452
42453         [BZ #11959]
42454         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42455         It is not necessarily an error to ignore fwrite's return
42456         value.  One can reliably use ferror to test for errors after
42457         the fact.
42458
42459 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42460
42461         * bits/types.h (__snseconds_t): New type.
42462         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42463
42464         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42466         (__SNSECONDS_T_TYPE): Likewise.
42467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42468         (__SNSECONDS_T_TYPE): Likewise.
42469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42470         (__SNSECONDS_T_TYPE): Likewise.
42471
42472 2012-04-10  Andreas Jaeger  <aj@suse.de>
42473
42474         [BZ #2636]
42475         * manual/time.texi (Processor Time): Return type of times is
42476         elapsed real time since an arbitrary point in the past.
42477         (CPU Time): Move CLK_TCK from here...
42478         (Processor Time): ...to here.  Correct description.
42479         * manual/conf.texi (Constants for Sysconf): Correct description of
42480         _SC_CLK_TCK.
42481
42482 2012-04-10  David S. Miller  <davem@davemloft.net>
42483
42484         [BZ #13967]
42485         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42486         where the is a gap between DT_REL(A) and DT_JMPREL.
42487
42488 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42489
42490         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42491         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42492         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42493
42494 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42495
42496         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42497         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42498         (dl_main): Handle --inhibit-cache.
42499         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42500         _dl_inhibit_cache.
42501         * elf/dl-load.c (_dl_map_object): Use it.
42502         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42503
42504 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42505
42506         [BZ #13872]
42507         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42508         (__ieee754_powl): Saturate large exponents rather than testing for
42509         overflow of y*log2(x).
42510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42511         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42512         exceptions.
42513
42514         [BZ #11521]
42515         * math/s_ctan.c: Include <float.h>.
42516         (__ctan): Avoid internal overflow or cancellation in calculating
42517         denominator.
42518         * math/s_ctanf.c: Likewise.
42519         * math/s_ctanl.c: Likewise.
42520         * math/s_ctanh.c: Likewise.
42521         * math/s_ctanhf.c: Likewise.
42522         * math/s_ctanhl.c: Likewise.
42523         * math/libm-test.inc (ctan_test): Add more tests.
42524         (ctanh_test): Likewise.
42525         * sysdeps/i386/fpu/libm-test-ulps: Update.
42526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42527
42528 2012-04-09  Andreas Jaeger  <aj@suse.de>
42529
42530         [BZ #6894]
42531         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42532         is an optional BSD extension.
42533
42534         [BZ #10254]
42535         * manual/stdio.texi (Opening Streams): Document additional fopen
42536         parameters.
42537
42538 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42539
42540         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42541         %eax without telling the compiler.
42542
42543 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42544
42545         [BZ # 13963]
42546         * manual/install.texi: Use sourceware.org.
42547
42548 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42549
42550         [BZ #13873]
42551         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42552         (__ieee754_pow): Generate overflow and underflow using huge*huge
42553         and tiny*tiny rather than just returning constant infinity or zero
42554         for large exponents.
42555         * math/libm-test.inc (pow_test): Require overflow exceptions for
42556         applicable cases of large exponents.
42557
42558         [BZ #706]
42559         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42560         (__ieee754_pow): Use iterative multiplication algorithm only for
42561         integer exponents with absolute value below 1024.  Check for odd
42562         integer exponents when using algorithm for real exponents.
42563         * math/libm-test.inc (pow_test): Add more tests.
42564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42565
42566 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42567
42568         [BZ #13705]
42569         * math/libm-test.inc (exp_test): Do not allow overflow exception
42570         on underflow test.
42571
42572 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42573
42574         [BZ #13705]
42575         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42576         instead of __kernel_standard_f.
42577
42578 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42579
42580         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42581         * sysdeps/x86_64/memset_chk.S: Likewise.
42582
42583 2012-04-08  Andreas Jaeger  <aj@suse.de>
42584
42585         [BZ #10153]
42586         * manual/startup.texi (Environment Access): Describe return value
42587         for putenv and setenv.
42588
42589         [BZ #6895]
42590         * manual/filesys.texi (Directory Entries): Add description for
42591         DT_LNK.
42592
42593         [BZ #6890]
42594         * manual/filesys.texi (Directory Entries): Clarify that it's file
42595         system not operating system in the description of DT_UNKNOWN.
42596
42597         [BZ #6578]
42598         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42599
42600 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42601
42602         [BZ #6649]
42603         * manual/llio.texi (Opening and Closing Files): Add cross
42604         reference to explain mode argument.
42605
42606 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42607
42608         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42609         * sysdeps/x86_64/memset_chk.S: Likewise.
42610
42611 2012-04-07  David S. Miller  <davem@davemloft.net>
42612
42613         * elf/elf.h (R_SPARC_WDISP10): Define.
42614         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42615         R_SPARC_SIZE32.
42616         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42617         R_SPARC_SIZE64 and R_SPARC_H34.
42618
42619 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42620
42621         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42622         conditions and remove no longer applicable assertion.
42623
42624 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42625
42626         * bits/byteswap.h: Include <features.h>.
42627         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42628         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42629
42630 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42631
42632         * bits/byteswap.h (__bswap_16): Removed.
42633         Include <bits/byteswap-16.h> to get __bswap_16.
42634         * sysdeps/i386/bits/byteswap.h: Likewise.
42635         * sysdeps/s390/bits/byteswap.h: Likewise.
42636         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42637         * bits/byteswap-16.h: New file.
42638         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42639         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42640         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42641         * string/Makefile (headers): Add bits/byteswap-16.h.
42642
42643 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42644
42645         [BZ #13895]
42646         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42647         extra indirection.
42648         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42649         * nss/tst-nss-static.c: New.
42650
42651 2012-04-06  Robert Millan  <rmh@gnu.org>
42652
42653         [BZ #6486]
42654         * manual/llio.texi (File Position Primitive): lseek
42655         refers to WHENCE when it really means OFFSET.
42656
42657 2012-04-06  Andreas Jaeger  <aj@suse.de>
42658
42659         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42660         strncmp declarations.
42661
42662         * abilist/libc.abilist: Add __poll and __ppoll.
42663
42664 2012-04-05  David S. Miller  <davem@davemloft.net>
42665
42666         * scripts/check-local-headers.sh: Accept a host triplet in the
42667         path matched by the exclude regexp.
42668
42669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42670         definition.
42671         * sysdeps/powerpc/powerpc32/dl-machine.h
42672         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42673         * sysdeps/s390/s390-32/dl-machine.h
42674         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42675         * sysdeps/sparc/sparc32/dl-machine.h
42676         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42677         * sysdeps/sparc/sparc64/dl-machine.h
42678         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42679
42680         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42681         lazy binding.
42682         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42683         undefined symbol errors.
42684
42685         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42686         DT_NEEDED entries.
42687
42688 2012-04-05  Michael Matz  <matz@suse.de>
42689
42690         [BZ #13592]
42691         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42692
42693 2012-04-05  Andreas Jaeger  <aj@suse.de>
42694
42695         [BZ #13908]
42696         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42697         comment.
42698
42699 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42700
42701         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42702         which ROUND is no valid rounding mode.
42703
42704 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42705
42706         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42707         read again.
42708         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42709
42710 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42711
42712         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42713         an exception using FPU order intentionally.
42714
42715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42716
42717         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42718         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42719         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42720         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42721
42722 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42723
42724         [BZ #12340]
42725         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42726         EINVAL when BUFLEN is too smal.
42727
42728 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42729
42730         [BZ #13553]
42731         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42732         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42733
42734 2012-04-03  Andreas Jaeger  <aj@suse.de>
42735
42736         [BZ #13938]
42737         * manual/setjmp.texi (System V contexts): Fix sentence.
42738
42739         [BZ #13926]
42740         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42741         New macro for this case.
42742         [!__GNUC__] (__bswap_64): New inline function for this case.
42743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42744         * bits/byteswap.h: Likewise.
42745         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42746         ull, guard with __GLIBC_HAVE_LONG_LONG.
42747
42748         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42749         __GLIBC_HAVE_LONG_LONG.
42750
42751         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42752         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42753
42754 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42755
42756         [BZ #13691]
42757         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42758         inptr and inend, rather than using last_ch.
42759
42760 2012-04-02  David S. Miller  <davem@davemloft.net>
42761
42762         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42763         * stdio-common/printf-parse.h (read_int): Change return type to
42764         'int', return -1 on INT_MAX overflow.
42765         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42766         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42767         overflows INT_MAX.  Check for overflow of in-format-string precision
42768         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42769         SIZE_MAX not INT_MAX for integer overflow test.
42770         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42771         skip the construct in the format string but do not record anything.
42772         * stdio-common/bug22.c: Adjust to test both width/prevision
42773         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42774         explicitly for proper errno values.
42775
42776 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42777
42778         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42779         CHAR_MAX.
42780         * string/test-strcmp.c [! WIDE]: Likewise.
42781         * time/tst-mktime2.c: Likewise for INT_MAX.
42782         * string/test-string.h: #include <sys/param.h> for MIN.
42783
42784         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42785         * sysdeps/i386/init-first.c (init): Likewise.
42786         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42787         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42788         * sysdeps/sh/init-first.c (init): Likewise.
42789
42790 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42791
42792         * po/ru.po: Update from translation team.
42793         * po/vi.po: Likewise.
42794
42795 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42796
42797         * resolv/nss_dns/dns-host.c: Merge copyright years.
42798
42799 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42800
42801         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42802         Optimize memcpy with prefetch if
42803         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42804         src, dst pointers have unequal 16 byte alignments.
42805
42806 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42807
42808         [BZ #13928]
42809         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42810         from a CNAME entry and return the minimum ttl for the query.
42811         (gaih_getanswer_slice): Likewise.
42812
42813 2012-03-30  Jeff Law  <law@redhat.com>
42814
42815         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42816         due to long keys.
42817         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42818         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42819
42820         * resolv/nss_dns/dns-host.c: Update copyright year.
42821
42822 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42823
42824         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42825         requests to save a system call.  Fix check that all bytes are sent.
42826
42827         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42828         comments for sendmmsg.
42829
42830 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42831
42832         [BZ #13691]
42833         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42834         with only 1 character between 0x0041 and 0x01b0.
42835         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42836         * wcsmbs/tst-mbsnrtowcs.c: New file.
42837
42838 2012-03-29  David S. Miller  <davem@davemloft.net>
42839
42840         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42841         small copies by hand.
42842
42843 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42844
42845         [BZ #13761]
42846         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42847         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42848         group memberships.
42849
42850 2012-03-28  David S. Miller  <davem@davemloft.net>
42851
42852         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42853         that branches into memcpy.
42854         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42855         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42856         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42857         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42859         bits.
42860         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42861         implementation too.
42862         * sysdeps/sparc/mempcpy.S: New file.
42863
42864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42865         the IFUNC routine in the libc case.
42866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42867
42868         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42869         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42870         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42871         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42872         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42873         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42874         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42875         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42876
42877         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42878         loop to 256 bytes instead of 64 bytes and fix test signedness.
42879
42880         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42881         * sysdeps/sparc/sparc32/Makefile: rather than here...
42882         * sysdeps/sparc/sparc64/Makefile: and here.
42883
42884 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42885
42886         * malloc/mallocbug.c: Avoid warnings about unused variables.
42887
42888 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42889
42890         [BZ #13760]
42891         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42892         in the right place. Discard and retry query if response is
42893         larger than input buffer size.
42894
42895 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42896
42897         [BZ #369]
42898         [BZ #2678]
42899         [BZ #3866]
42900         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42901         x for large integer exponent.
42902         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42903         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42904         sign of result as needed afterwards.
42905         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42906         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42907         result for underflowing pow the same as for overflow.
42908         (__kernel_standard_l): Handle powl overflow and underflow here
42909         rather than calling __kernel_standard.
42910         * math/libm-test.inc (pow_test): Add more tests.
42911
42912         [BZ #3868]
42913         [BZ #13879]
42914         [BZ #13910]
42915         [BZ #13911]
42916         [BZ #13912]
42917         [BZ #13913]
42918         [BZ #13915]
42919         [BZ #13916]
42920         [BZ #13917]
42921         [BZ #13918]
42922         [BZ #13919]
42923         [BZ #13920]
42924         [BZ #13921]
42925         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42926         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42927         (__kernel_standard_l): New function.
42928         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42929         __kernel_standard.
42930         * math/w_acosl.c (__acosl): Likewise.
42931         * math/w_asinl.c (__asinl): Likewise.
42932         * math/w_atan2l.c (__atan2l): Likewise.
42933         * math/w_atanhl.c (__atanhl): Likewise.
42934         * math/w_coshl.c (__coshl): Likewise.
42935         * math/w_exp10l.c (__exp10l): Likewise.
42936         * math/w_exp2l.c (__exp2l): Likewise.
42937         * math/w_fmodl.c (__fmodl): Likewise.
42938         * math/w_hypotl.c (__hypotl): Likewise.
42939         * math/w_j0l.c (__j0l, __y0l): Likewise.
42940         * math/w_j1l.c (__j1l, __y1l): Likewise.
42941         * math/w_jnl.c (__jnl, __ynl): Likewise.
42942         * math/w_lgammal.c (__lgammal): Likewise.
42943         * math/w_log10l.c (__log10l): Likewise.
42944         * math/w_log2l.c (__log2l): Likewise.
42945         * math/w_logl.c (__logl): Likewise.
42946         * math/w_powl.c (__powl): Likewise.
42947         * math/w_remainderl.c (__remainderl): Likewise.
42948         * math/w_scalbl.c (sysv_scalbl): Likewise.
42949         * math/w_sinhl.c (__sinhl): Likewise.
42950         * math/w_sqrtl.c (__sqrtl): Likewise.
42951         * math/w_tgammal.c (__tgammal): Likewise.
42952         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42953         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42954         * math/libm-test.inc (acos_test): Add more tests.
42955         (acosh_test): Likewise.
42956         (asin_test): Likewise.
42957         (atanh_test): Likewise.
42958         (exp_test): Likewise.
42959         (exp10_test): Likewise.
42960         (exp2_test): Likewise.
42961         (expm1_test): Likewise.
42962         (lgamma_test): Likewise.
42963         (log_test): Likewise.
42964         (log10_test): Likewise.
42965         (log1p_test): Likewise.
42966         (log2_test): Likewise.
42967         (pow_test): Do not allow some spurious overflow exceptions.
42968         (sqrt_test): Add more tests.
42969         (tgamma_test): Likewise.
42970         (y0_test): Likewise.
42971         (y1_test): Likewise.
42972         (yn_test): Likewise.
42973
42974 2012-03-27  Anton Blanchard  <anton@samba.org>
42975
42976         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42977         MAP_HUGETLB.
42978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42979         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42981
42982 2012-03-27  David S. Miller  <davem@davemloft.net>
42983
42984         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42985
42986         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42987         have-as-vis3 check.
42988
42989 2012-03-27  Andreas Jaeger  <aj@suse.de>
42990
42991         * sysdeps/x86_64/elf/configure.in: Moved to ...
42992         * sysdeps/x86_64/configure.in: ... here.
42993         * sysdeps/x86_64/elf/start.S: Moved to ...
42994         * sysdeps/x86_64/start.S: ... here.
42995         * sysdeps/x86_64/elf/configure: Delete.
42996
42997         * sysdeps/x86_64/configure.in: Merge contents from
42998         sysdeps/i386/configure.in (without i686 check).
42999
43000         * sysdeps/i386/elf/Versions: Merge into ...
43001         * sysdeps/i386/Versions: ... this.
43002         * sysdeps/i386/elf/Versions: Delete file.
43003         * sysdeps/i386/elf/start.S: Moved to ...
43004         * sysdeps/i386/start.S: ...here.
43005         * sysdeps/i386/elf/configure.in: Merge into...
43006         * sysdeps/i386/configure.in: ...here.
43007         * sysdeps/i386/elf/configure.in: Delete file.
43008         * sysdeps/i386/elf/configure: Delete file.
43009
43010         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43011         * debug/backtracesyms.c: ... here.
43012         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43013         * debug/backtracesymsfd.c: ... here.
43014         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43015         * sysdeps/generic/ifunc-sel.h: ... here.
43016
43017         * sysdeps/unix/i386/start.c: Delete file.
43018         * sysdeps/unix/sparc/start.c: Delete file.
43019         * sysdeps/unix/start.c: Delete file.
43020
43021         * sysdeps/sh/elf/configure.in: Moved to ...
43022         * sysdeps/sh/configure.in: ... here.
43023         * sysdeps/sh/elf/start.S: Moved to ...
43024         * sysdeps/sh/start.S: ... here.
43025         * sysdeps/sh/elf/configure: Delete file.
43026
43027         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43028         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43029         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43030         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43031         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43032         * sysdeps/powerpc/powerpc64/start.S: here.
43033         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43034         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43035         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43036         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43037         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43038
43039         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43040         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43041         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43042         * sysdeps/powerpc/powerpc32/start.S: ... here.
43043         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43044         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43045         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43046
43047         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43048         * sysdeps/powerpc/ifunc-sel.h: ... here.
43049         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43050         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43051
43052         * sysdeps/sparc/elf/configure.in: Moved to ...
43053         * sysdeps/sparc/configure.in: ... here.
43054         * sysdeps/sparc/elf/configure: Delete file.
43055         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43056         * sysdeps/sparc/sparc32/start.S: ... here.
43057         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43058         * sysdeps/sparc/sparc64/start.S: ... here.
43059         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43060         * sysdeps/sparc/sparc32/Makefile: ... this.
43061         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43062         * sysdeps/sparc/sparc64/Makefile: ... this.
43063
43064         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43065         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43066         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43067         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43068         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43069         * sysdeps/s390/s390-32/setjmp.S: ... here.
43070         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43071         * sysdeps/s390/s390-32/configure.in: ... here.
43072         * sysdeps/s390/s390-32/elf/configure: Delete file.
43073         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43074         * sysdeps/s390/s390-32/start.S: ... here.
43075
43076         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43077         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43078         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43079         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43080         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43081         * sysdeps/s390/s390-64/setjmp.S: ... here.
43082         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43083         * sysdeps/s390/s390-64/configure.in: ... here
43084         * sysdeps/s390/s390-64/elf/configure: Delete file.
43085         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43086         * sysdeps/s390/s390-64/start.S: ... here.
43087         * sysdeps/s390/s390-64/elf/configure: Delete.
43088
43089         * configure.in: Remove support for elf directories in sysdeps.
43090
43091         * configure: Regenerated.
43092         * sysdeps/i386/configure: Regenerated.
43093         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43094         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43095         * sysdeps/s390/s390-32/configure: Regenerated.
43096         * sysdeps/s390/s390-64/configure: Regenerated.
43097         * sysdeps/sh/configure: Regenerated.
43098         * sysdeps/sparc/configure: Regenerated.
43099         * sysdeps/x86_64/configure: Regenerated.
43100
43101 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43102
43103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43104
43105         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43106         denormal result into account.
43107
43108 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43109
43110         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43111         Reported by Allan McRae <allan@archlinux.org>.
43112
43113 2012-03-23  Jeff Law  <law@redhat.com>
43114
43115         * nss/getnssent.c (__nss_getent): Fix typo.
43116
43117 2012-03-23  David S. Miller  <davem@davemloft.net>
43118
43119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43120
43121 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43122
43123         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43124         to pad to uint64_t for each field.
43125         (dl_tls_index): Replace unsigned long with uint64_t.
43126
43127 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43128         Paul Pluzhnikov  <ppluzhnikov@google.com>
43129
43130         [BZ #6528]
43131         * grp/Makefile (otherlibs): Don't set it.
43132         * inet/Makefile (otherlibs): Likewise.
43133         * login/Makefile (otherlibs): Likewise.
43134         * nscd/Makefile (otherlibs): Likewise.
43135         * posix/Makefile (otherlibs): Likewise.
43136         * pwd/Makefile (otherlibs): Likewise.
43137         * rt/Makefile (otherlibs): Likewise.
43138         * sunrpc/Makefile (otherlibs): Likewise.
43139         * nss/Makefile (otherlibs): Likewise.
43140         Add libnss_files to routines and static-only-routines.
43141         ($(objpfx)getent): Remove rule.
43142         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43143         static-only-routines.
43144
43145 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43146
43147         [BZ #13892]
43148         * math/s_cexp.c: Include <float.h>.
43149         (__cexp): Handle exp result overflowing not necessarily
43150         overflowing both real and imaginary parts of result.
43151         * math/s_cexpf.c: Likewise.
43152         * math/s_cexpl.c: Likewise.
43153         * math/libm-test.inc (cexp_test): Add more tests.
43154         * sysdeps/i386/fpu/libm-test-ulps: Update.
43155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43156
43157 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43158
43159         * include/link.h (ELFW): New macro.
43160         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43161         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43162
43163 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43164
43165         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43166         with uint64_t.
43167
43168 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43169
43170         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43171         declaration.
43172         (struct La_x32_retval): Likewise.
43173
43174 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43175
43176         * sysdeps/x86_64/preconfigure.in: New file.
43177         * sysdeps/x86_64/preconfigure: New generated file.
43178
43179 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43180
43181         [BZ #13824]
43182         * math/e_exp2l.c: Include <float.h>.
43183         (__ieee754_exp2l): Handle overflow and underflow cases
43184         separately.  Only pass fractional part of argument to
43185         __ieee754_expl.
43186         * math/libm-test.inc (exp2_test): Add more tests.
43187
43188         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43189         negating x to take absolute value.
43190         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43191         Likewise.
43192         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43193         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43194         Likewise.
43195         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43196         computing low part if x was negated.
43197         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43198
43199 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43200
43201         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43202         la_x32_gnu_pltexit.
43203         (pltexit): Cast int_retval to ptrdiff_t.
43204         * elf/tst-auditmod3b.c: Likewise.
43205         * elf/tst-auditmod4b.c: Likewise.
43206         * elf/tst-auditmod5b.c: Likewise.
43207         * elf/tst-auditmod6b.c: Likewise.
43208         * elf/tst-auditmod6c.c: Likewise.
43209         * elf/tst-auditmod7b.c: Likewise.
43210
43211         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43212         and x32_gnu_pltexit.
43213
43214         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43215         __ELF_NATIVE_CLASS.
43216         (La_x32_regs): New macro.
43217         (La_x32_retval): Likewise.
43218         (la_x32_gnu_pltenter): New function prototype.
43219         (la_x32_gnu_pltexit): Likewise.
43220
43221 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43222
43223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43224         exponent.
43225
43226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43227
43228         * configure.in (libc_cv_cc_nofma): Check for option to disable
43229         generation of FMA instructions.
43230         * configure: Regenerate.
43231         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43232         * sysdeps/ieee754/dbl-64/Makefile: New file.
43233         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43234         Remove brandred-fma4.
43235         (CFLAGS-brandred-fma4.c): Remove.
43236         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43237         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43238         define.
43239         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43240         define.
43241
43242 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43243
43244         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43245         LLONG_MAX != LONG_MAX.
43246         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43247         (_fitoa_word): Likewise.
43248         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43249         LLONG_MAX != LONG_MAX.
43250         * stdio-common/_itowa.h: Include <_itoa.h>.
43251         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43252         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43253         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43254         only if not defined.
43255         (_ITOA_WORD_TYPE): Likewise.
43256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43257         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43258
43259 2012-03-21  David S. Miller  <davem@davemloft.net>
43260
43261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43262
43263 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43264
43265         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43266         of x86_64 when setting libc_cv_slibdir, libdir and
43267         libc_cv_localedir.
43268         * sysdeps/unix/sysv/linux/configure: Regenerated.
43269
43270 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43271
43272         * manual/lang.texi (Old Varargs): Remove section.
43273         (How Variadic): Update menu.
43274         (va_start): Do not mention varargs.h.
43275
43276 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43277             Joseph Myers  <joseph@codesourcery.com>
43278
43279         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43280         link test.
43281         * configure: Regenerated.
43282
43283 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43284
43285         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43286         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43287         conformtest.pl
43288
43289 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43290
43291         * NOTES: Remove.
43292         * Makefile (files-for-dist): Remove NOTES.
43293         (NOTES): Remove rule.
43294         * README: Don't refer to NOTES.
43295         * manual/creature.texi: Don't include macros.texi.
43296         * manual/intro.texi (creature.texi): Remove comment referring to
43297         NOTES.
43298
43299         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43300         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43301         * configure: Regenerated.
43302         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43303         LIBC_TRY_CC_OPTION.
43304         (libc_cv_as_i686): Likewise.
43305         (libc_cv_cc_avx): Likewise.
43306         (libc_cv_cc_sse2avx): Likewise.
43307         (libc_cv_cc_fma4): Likewise.
43308         (libc_cv_cc_novzeroupper): Likewise.
43309         * sysdeps/i386/configure: Regenerated.
43310
43311         [BZ #13883]
43312         * sysdeps/i386/fpu/s_cexp.S: Remove.
43313         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43314         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43315         * math/libm-test.inc (cexp_test): Add more tests.
43316         * sysdeps/i386/fpu/libm-test-ulps: Update.
43317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43318
43319 2012-03-21  Allan McRae  <allan@archlinux.org>
43320
43321         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43322
43323 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43324
43325         [BZ #13871]
43326         * math/w_exp2.c: Do not include <float.h>.
43327         (o_threshold, u_threshold): Remove.
43328         (__exp2): Calculate result before checking finiteness and calling
43329         __kernel_standard.
43330         * math/w_exp2f.c: Likewise.
43331         * math/w_exp2l.c: Likewise.
43332         * math/libm-test.inc (exp2_test): Require overflow exception for
43333         1e6 input.
43334
43335         [BZ #3866]
43336         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43337         range of signed 64-bit integers before using fistpll.  Remove
43338         checks for whether integers fit in mantissa bits.
43339         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43340         the range of signed 32-bit integers before using fistpl.  Remove
43341         checks for whether integers fit in mantissa bits.
43342         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43343         (__ieee754_powl): Test for y outside the range of signed 64-bit
43344         integers before using fistpll.  Reduce 64-bit values to 63-bit
43345         ones as needed.
43346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43347         divide-by-zero is raised for zero to large negative powers.
43348         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43349         (__ieee754_powl): Test for y outside the range of signed 64-bit
43350         integers before using fistpll.  Reduce 64-bit values to 63-bit
43351         ones as needed.
43352         * math/libm-test.inc (pow_test): Add more tests.
43353
43354 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43355
43356         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43357         <stdio-common/_itoa.h>.
43358         * debug/segfault.c: Likewise.
43359         * elf/dl-cache.c: Likewise.
43360         * elf/dl-minimal.c: Likewise.
43361         * elf/dl-misc.c: Likewise.
43362         * elf/dl-sysdep.c: Likewise.
43363         * elf/dl-version.c: Likewise.
43364         * elf/rtld.c: Likewise.
43365         * hurd/hurdsock.c: Likewise.
43366         * hurd/lookup-retry.c: Likewise.
43367         * malloc/malloc.c: Likewise.
43368         * malloc/mtrace.c: Likewise.
43369         * nscd/nscd_getgr_r.c: Likewise.
43370         * nscd/nscd_getpw_r.c: Likewise.
43371         * nscd/nscd_getserv_r.c: Likewise.
43372         * posix/getopt_init.c: Likewise.
43373         * posix/wordexp.c: Likewise.
43374         * stdio-common/_itoa.c: Likewise.
43375         * stdio-common/printf_fphex.c: Likewise.
43376         * stdio-common/vfprintf.c: Likewise.
43377         * string/_strerror.c: Likewise.
43378         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43379         * sysdeps/i386/i686/hp-timing.h: Likewise.
43380         * sysdeps/mach/_strerror.c: Likewise.
43381         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43382         * sysdeps/mach/hurd/sethostid.c: Likewise.
43383         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43384         * sysdeps/mach/xpg-strerror.c: Likewise.
43385         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43386         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43387         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43388         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43389         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43390         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43391         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43392         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43393         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43394         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43395         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43396         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43397         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43398         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43399         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43400         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43401         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43402         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43403         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43404         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43405         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43406
43407         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43408
43409         * stdio-common/_itoa.h: Moved to ...
43410         * sysdeps/generic/_itoa.h: Here.
43411
43412         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43413
43414         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43415         instead of "_itoa.h" and "_itowa.h".
43416         * stdio-common/vfprintf.: Likewise.
43417
43418 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43419
43420         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43421         <bits/wordsize.h>.
43422         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43423         (__signbit): Likwise.
43424         (llrintf): Likwise.
43425         (llrint): Likwise.
43426
43427 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43428
43429         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43430         __WORDSIZE != 64.
43431
43432 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43433
43434         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43435         OVERFLOW_EXCEPTION_OK.
43436         * math/libm-test.inc ("Philosophy"): Update comment about
43437         exception testing.
43438         (OVERFLOW_EXCEPTION): Define.
43439         (OVERFLOW_EXCEPTION_OK): Likewise.
43440         (INVALID_EXCEPTION_OK): Renumber.
43441         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43442         (IGNORE_ZERO_INF_SIGN): Likewise.
43443         (test_exceptions): Handle FE_OVERFLOW.
43444         (exp10_test): Expect overflow exceptions.
43445         (exp2_test): Likewise.
43446         (expm1_test): Likewise.
43447         (nextafter_test): Likewise.
43448         (pow_test): Likewise.
43449         (scalbn_test): Likewise.
43450         (scalbln_test): Likewise.
43451
43452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43453
43454         * sysdeps/x86_64/bits/atomic.h
43455         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43456         64bit integer.
43457         (atomic_exchange_acq): Likewise.
43458         (__arch_exchange_and_add_body): Likewise.
43459         (__arch_add_body): Likewise.
43460         (atomic_add_negative): Likewise.
43461         (atomic_add_zero): Likewise.
43462
43463 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43464
43465         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43466         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43467
43468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43469
43470         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43471         Check __x86_64__ instead of __WORDSIZE.
43472
43473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43474
43475         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43476
43477 2012-03-19  David S. Miller  <davem@davemloft.net>
43478
43479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43480
43481         * sysdeps/sparc/fpu/fenv_private.h: New file.
43482         * sysdeps/sparc/fpu/math_private.h: Use it.
43483         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43484         Remove.
43485         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43486         (libc_feholdexcept_setroundl): Remove.
43487         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43488         Remove.
43489         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43490         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43491
43492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43493
43494         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43495         int64_t instead of long int.
43496         (INSERT_WORDS64): Likwise.
43497
43498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43499
43500         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43501         _Unwind_GetCFA return to _Unwind_Ptr first.
43502
43503 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43504
43505         [BZ #13629]
43506         * math/s_clog.c: Include <float.h>.
43507         (__clog): Scale large or subnormal inputs.
43508         * math/s_clogf.c: Likewise.
43509         * math/s_clogl.c: Likewise.
43510         * math/s_clog10.c: Include <float.h>.
43511         (M_LOG10_2): Define.
43512         (__clog10): Scale large or subnormal inputs.
43513         * math/s_clog10f.c: Likewise.
43514         * math/s_clog10l.c: Likewise.
43515         * math/libm-test.inc (clog_test): Add more tests.
43516         (clog10_test): Likewise.
43517         * sysdeps/i386/fpu/libm-test-ulps: Update.
43518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43519
43520         [BZ #11451]
43521         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43522         x and y.
43523         * math/libm-test.inc (atan2_test): Add another test.
43524
43525         * Makerules (common-objdir-compile): Remove.
43526         * sysdeps/unix/Makefile (config-generated): Do not add
43527         $(unix-generated) to variable.
43528         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43529         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43530         Remove rule.
43531         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43532         Likewise.
43533         [generic bits/local_lim.h] (before-compile): Do not append to
43534         variable.
43535         [generic bits/local_lim.h] (common-generated): Likewise.
43536         [generic sys/param.h] (before-compile): Do not append to variable.
43537         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43538         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43539         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43540         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43541         include.
43542         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43543         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43544         [generic sys/param.h] ($(addprefix
43545         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43546         [generic sys/param.h] (common-generated): Do not append to
43547         variable.
43548         [generic sys/param.h] (sysdep_headers): Likewise.
43549         [generic bits/errno.h] (before-compile): Do not append to
43550         variable.
43551         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43552         rule.
43553         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43554         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43555         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43556         [generic bits/errno.h] (common-generated): Do not append to
43557         variable.
43558         [generic bits/ioctls.h] (before-compile): Do not append to
43559         variable.
43560         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43561         rule.
43562         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43563         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43564         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43565         rule.
43566         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43567         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43568         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43569         [generic bits/ioctls.h] (common-generated): Do not append to
43570         variable.
43571         [generic sys/syscall.h] (syscall.h): Remove variable.
43572         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43573         rule.
43574         [generic sys/syscall.h] (before-compile): Do not append to
43575         variable.
43576         [generic sys/syscall.h] (common-generated): Likewise.
43577         * sysdeps/unix/errnos-tmpl.c: Remove file.
43578         * sysdeps/unix/errnos.awk: Likewise.
43579         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43580         * sysdeps/unix/ioctls.awk: Likewise.
43581         * sysdeps/unix/mk-local_lim.c: Likewise.
43582         * sysdeps/unix/snarf-ioctls: Likewise.
43583
43584 2012-03-19  Richard Henderson  <rth@twiddle.net>
43585
43586         * sysdeps/i386/fpu/fenv_private.h: New file.
43587         * sysdeps/i386/fpu/math_private.h: Use it.
43588         (math_opt_barrier, math_force_eval): Remove.
43589         (libc_feholdexcept_setround_53bit): Remove.
43590         (libc_feupdateenv_53bit): Remove.
43591         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43592         (math_opt_barrier, math_force_eval): Remove.
43593         (libc_feholdexcept): Remove.
43594         (libc_feholdexcept_setround): Remove.
43595         (libc_fetestexcept, libc_fesetenv): Remove.
43596         (libc_feupdateenv_test): Remove.
43597         (libc_feupdateenv, libc_feholdsetround): Remove.
43598         (libc_feresetround): Remove.
43599
43600         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43601         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43602
43603         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43604         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43605         (libc_feupdateenv_testl): New.
43606         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43607         (libc_feupdateenv_testf): New.
43608         (libc_feupdateenv): Use libc_feupdateenv_test.
43609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43611
43612         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43613         (libc_feholdsetroundf, libc_feholdsetroundl): New.
43614         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43615         (libc_feresetround_noex): New.
43616         (libc_feresetround_noexf): New.
43617         (libc_feresetround_noexl): New.
43618         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43619         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43620         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43621         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43622         SET_RESTORE_ROUND.
43623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43625         (__cos): Likewise.
43626         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43627         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43628         SET_RESTORE_ROUND_NOEX.
43629         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43630         SET_RESTORE_ROUND_NOEXF.
43631         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43632         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43633         (libc_feholdsetroundf): New.
43634         (libc_feresetround, libc_feresetroundf): New.
43635
43636         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43637         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43638         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43639
43640         * sysdeps/generic/math_private.h: Include <fenv.h>.
43641         (default_libc_feholdexcept): New.
43642         (default_libc_feholdexcept_setround): New.
43643         (default_libc_fesetenv, default_libc_feupdateenv): New.
43644         (libc_feholdexcept): Only define if undefined.
43645         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43646         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43647         (libc_feholdexcept_setroundl): Likewise.
43648         (libc_feholdexcept_setround_53bit): Likewise.
43649         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43650         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43651         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43652         (libc_feupdateenv_53bit): Likewise.
43653         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43654         (libc_feholdexcept): Convert from macro to inline function.
43655         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43656         (libc_fesetenv, libc_feupdateenv): Likewise.
43657
43658         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43659         not previously defined.
43660         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43661         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43662         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43663         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43664         * sysdeps/ieee754/flt-32/math_private.h: New file.
43665         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43666         math_private.h below SET_FLOAT_WORD.
43667         (__isnan, __isinf_ns, __finite): Remove.
43668         (__isnanf, __isinf_nsf, __finitef): Remove.
43669
43670 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43671
43672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43673
43674 2012-03-17  David S. Miller  <davem@davemloft.net>
43675
43676         [BZ #6471]
43677         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43678         for 2.16.
43679
43680 2012-03-16  David S. Miller  <davem@davemloft.net>
43681
43682         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43683         warnings.
43684
43685         [BZ #6471]
43686         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43687         properly.
43688         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43689         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43690         sysdep_routines when subdir is sysvipc.
43691         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43692         __getshmlba helper.
43693
43694         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43695
43696 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43697
43698         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43699         [__LP64__].
43700
43701 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43702
43703         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43704         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43705         (__lround): Renamed to ...
43706         (__llround): This.  Replace long int with long long int.
43707         Define lround functions as aliases of llround functions.
43708         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43709
43710 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43711
43712         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43713         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43714         adresses to uintptr_t.  Replace "long int" and "unsigned long
43715         int" with "greg_t" on va_arg.
43716
43717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43718
43719         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43720         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43721
43722         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43723         Move e_machine check before EI_CLASS check.  Handle x32
43724         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43725         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43726         SKIP_EM_IA_64 and include
43727         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43728
43729         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43730         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43731         (add_system_dir): New macro.
43732
43733         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43734         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43735
43736 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43737
43738         [BZ #2551]
43739         [BZ #2552]
43740         [BZ #2553]
43741         [BZ #2554]
43742         [BZ #2562]
43743         [BZ #2563]
43744         [BZ #2565]
43745         [BZ #2566]
43746         [BZ #2576]
43747         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43748         (y0): Likewise.
43749         * math/w_j0f.c (j0f): Likewise.
43750         (y0f): Likewise.
43751         * math/w_j0l.c (__j0l): Likewise.
43752         (__y0l): Likewise.
43753         * math/w_j1.c (j1): Likewise.
43754         (y1): Likewise.
43755         * math/w_j1f.c (j1f): Likewise.
43756         (y1f): Likewise.
43757         * math/w_j1l.c (__j1l): Likewise.
43758         (__y1l): Likewise.
43759         * math/w_jn.c (jn): Likewise.
43760         (yn): Likewise.
43761         * math/w_jnf.c (jnf): Likewise.
43762         (ynf): Likewise.
43763         * math/w_jnl.c (__jnl): Likewise.
43764         (__ynl): Likewise.
43765         * math/libm-test.inc (j0_test): Add more tests.
43766         (j1_test): Likewise.
43767         (jn_test): Likewise.  Add trailing semicolon to existing test.
43768         (y0_test): Likewise.
43769         (y1_test): Likewise.
43770         * sysdeps/i386/fpu/libm-test-ulps: Update.
43771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43772
43773         [BZ #13851]
43774         [BZ #13854]
43775         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43776         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43777         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43778         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43779         (__tanl): Set errno for infinite argument.
43780         * sysdeps/i386/fpu/mptan.c: Remove.
43781         * sysdeps/i386/fpu/s_tan.S: Likewise.
43782         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43783         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43784         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43785         * math/libm-test.inc (tan_test): Add more tests and enable more
43786         tests for double and long double.
43787         * sysdeps/i386/fpu/libm-test-ulps: Update.
43788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43789
43790 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43791
43792         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43793         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43794
43795 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43796
43797         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43798         * configure.in: Use it for both main tree and add-ons.
43799         * configure: Regenerated.
43800
43801 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43802
43803         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43804
43805 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43806
43807         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43808         in comment.
43809
43810         [BZ #13851]
43811         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43812         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43816         infinite argument.
43817         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43819         != 0 for prec == 2.
43820         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43821         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43822         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43823         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43824         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43825         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43826         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43827         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43828         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43829         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43830         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43831         * math/libm-test.inc (cos_test): Add more tests and enable more
43832         tests for long double.
43833         (sin_test): Likewise.
43834         (sincos_test): Likewise.
43835         * sysdeps/i386/fpu/libm-test-ulps: Update.
43836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43837
43838 2012-03-16  David S. Miller  <davem@davemloft.net>
43839
43840         * sysdeps/sparc/fpu/math_private.h: New file.
43841
43842 2012-03-15  David S. Miller  <davem@davemloft.net>
43843
43844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43845         file.
43846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43848         file.
43849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43855         sysdep routines.
43856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43857
43858         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43859         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43860
43861         * sysdeps/sparc/sparc-ifunc.h: New file.
43862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43863         sparc-ifunc.h
43864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43866         Likewise.
43867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43868         Likewise.
43869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43873         Likewise.
43874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43879         Likewise.
43880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43881         Likewise.
43882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43888         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43889         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43900         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43901         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43902         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43903         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43904         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43905         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43906
43907 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43908
43909         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43910         scaling.
43911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43912
43913 2012-03-15  Andreas Jaeger  <aj@suse.de>
43914
43915         [BZ #13852]
43916         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43917         ieee754/flt-32 implementation for sin, cos and sincos.
43918         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43919         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43920         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43921         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43922         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43923         ieee754/flt-32 implementation for tan.
43924
43925         * math/libm-test.inc (cos_test): Enable some large input tests for
43926         float as well
43927         (sin_test): Likewise.
43928         (sincos_test): Likewise.
43929         (tan_test): Add tests for large input.
43930
43931         * sysdeps/i386/fpu/libm-test-ulps: Update.
43932
43933 2012-03-15  Andreas Jaeger  <aj@suse.de>
43934
43935         [BZ #13658]
43936         * math/libm-test.inc (cos_test): Add more test cases.
43937         (sin_test): Likewise.
43938         (sincos_test): Likewise.
43939
43940 2012-03-15  Andreas Jaeger  <aj@suse.de>
43941
43942         [BZ #13837]
43943         * math/libm-test.inc (cos_test): Add a test case for large input
43944         value.
43945         (sin_test): Likewise.
43946         (sincos_test): Likewise.
43947
43948 2012-03-15  Andreas Jaeger  <aj@suse.de>
43949             Joseph Myers  <joseph@codesourcery.com>
43950
43951         [BZ #13658]
43952         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43953         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43954         * sysdeps/i386/fpu/branred.c: Likewise.
43955         * sysdeps/i386/fpu/dosincos.c: Likewise.
43956         * sysdeps/i386/fpu/mpa.c: Likewise.
43957         * sysdeps/i386/fpu/s_cos.S: Likewise.
43958         * sysdeps/i386/fpu/s_sin.S: Likewise.
43959         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43960         * sysdeps/i386/fpu/sincos32.c: Likewise.
43961
43962         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43963         Define.
43964         (libc_feupdateenv_53bit): Define.
43965         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43966         Define.
43967         (libc_feupdateenv_53bit): Define.
43968
43969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43970         53 bit (without extend i386 double precision).
43971
43972         * math/libm-test.inc (sincos_test): Add tests for large input.
43973         (sin): Likewise.
43974         (cos): Likewise.
43975
43976         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43977
43978 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43979
43980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43981
43982 2012-03-15  David S. Miller  <davem@davemloft.net>
43983
43984         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43985         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43986         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43987         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44000         file.
44001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44003         file.
44004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44006         file.
44007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44009         file.
44010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44012         fmin/fmax sysdep routines.
44013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44014
44015 2012-03-14  David S. Miller  <davem@davemloft.net>
44016
44017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44021         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44022         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44024         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44038         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44039         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44040         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44041         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44042         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44043         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44045         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44046         routines.
44047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44048         file.
44049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44051         file.
44052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44054         file.
44055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44057         file.
44058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44060         file.
44061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44063         file.
44064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44065         file.
44066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44067         file.
44068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44069         file.
44070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44071         New file.
44072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44073         file.
44074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44075         file.
44076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44078         file.
44079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44081         file.
44082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44084         file.
44085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44087         VIS3 routines.
44088
44089         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44090         New file.
44091
44092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44093
44094         * sysdeps/sparc/configure.in: New file.
44095         * sysdeps/sparc/configure: Generate.
44096         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44097         * configure: Regenerate.
44098         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44099         * config.make.in (have-as-vis3): New.
44100         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44101         available use -Av9d instead of -Av9a.
44102         * sysdeps/sparc/sparc64/Makefile: Likewise.
44103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44105         New file.
44106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44107         file.
44108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44109         New file.
44110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44111         file.
44112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44114         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44115         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44117
44118         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44119         fzeros/fnegs to load 0x80000000 into a float register instead of
44120         using the stack.
44121         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44122
44123 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44124
44125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44126         bits/syscall.h.
44127         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44128         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44129         ($(inst_includedir)/bits/syscall.h): Remove rule.
44130         ($(objpfx)bits/syscall.d): Include instead of
44131         $(objpfx)syscall-list.d.
44132         (generated): Change syscall-list.h and syscall-list.d to
44133         bits/syscall.h and bits/syscall.d.
44134
44135 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44136
44137         [BZ #13846]
44138         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44139
44140 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44141
44142         [BZ #13841]
44143         * math/s_csqrt.c: Include <float.h>.
44144         (__csqrt): Scale large or subnormal inputs.
44145         * math/s_csqrtf.c: Likewise.
44146         * math/s_csqrtl.c: Likewise.
44147         * math/libm-test.inc (csqrt_test): Add more tests.
44148         * sysdeps/i386/fpu/libm-test-ulps: Update.
44149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44150
44151         [BZ #13840]
44152         * math/libm-test.inc (hypot_test): Add more tests.
44153
44154 2012-03-13  David S. Miller  <davem@davemloft.net>
44155
44156         [BZ #13840]
44157         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44158         double-precision for the calculation instead of scaling.
44159
44160 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44161
44162         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44163         manipulate bits before adding and subtracting TWO52[sx].
44164         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44165         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44166         Likewise.
44167         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44168
44169 2012-03-13  David S. Miller  <davem@davemloft.net>
44170
44171         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44172         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44174         rtld-global-offsets.h
44175         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44176
44177         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44178         large parameters.
44179
44180         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44181
44182         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44183         'err' in the ifdef scope in which it is actually used.
44184
44185         * nss/nss_db/db-init.c: Include string.h
44186
44187 2012-03-12  David S. Miller  <davem@davemloft.net>
44188
44189         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44190         masking out of the most significant byte of random value used.
44191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44192         Fix coding style in previous change.
44193
44194         * sysdeps/unix/sysv/linux/kernel-features.h
44195         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44196         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44197         expression.
44198         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44199         later.
44200
44201 2012-03-11  David S. Miller  <davem@davemloft.net>
44202
44203         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44204         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44205         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44206         for 'resultvar' otherwise things get truncated on 64-bit.
44207
44208         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44209         Fix masking out of the most significant byte of random value used.
44210
44211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44212
44213 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44214
44215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44216
44217 2012-03-09  David S. Miller  <davem@davemloft.net>
44218
44219         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44220         variables with appropriate CPP guards.
44221         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44222         from the frame pointer, not the stack pointer.  Correct layout
44223         comments.  Fix test on resulting framesize and the management of
44224         the outregs buffer for pltexit.  Preserve floating point return
44225         values across _dl_call_pltexit call.
44226         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44227         framesize and the management of the outregs buffer for pltexit.
44228         Preserve floating point return values across _dl_call_pltexit
44229         call.
44230         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44231         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44232         (la_sparc64_gnu_pltexit): New functions.
44233         (print_exit): Fix format string for return register value.
44234
44235 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44236
44237         * sunrpc/Makefile (others): Add rpcgen.
44238         ($(objpfx)rpcgen): Remove special build rule and dependency on
44239         libc.
44240         * sunrpc/rpcgen.c: New file.
44241
44242 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44243
44244         [BZ #13673]
44245         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44246         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44247         * sysdeps/i386/crti.S: Likewise.
44248         * sysdeps/i386/crtn.S: Likewise.
44249         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44250         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44251         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44252         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44253         * sysdeps/sh/crti.S: Likewise.
44254         * sysdeps/sh/crtn.S: Likewise.
44255         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44256
44257         [BZ #13673]
44258         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44259         with URL.
44260         * locale/programs/locfile-kw.gperf: Likewise.
44261         * locale/programs/charmap-kw.h: Regenerated.
44262         * locale/programs/locfile-kw.h: Likewise.
44263
44264         [BZ #13673]
44265         * intl/plural.y: Replace FSF snail mail address with URL.
44266         * intl/plural.c: Regenerated.
44267
44268 2012-03-09  Richard Henderson  <rth@twiddle.net>
44269
44270         * include/math_private.h: Remove file.
44271         * math/math_private.h: Move file ...
44272         * sysdeps/generic/math_private.h: ... here.
44273
44274         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44275         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44276         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44277
44278         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44279         and <math_private.h>.
44280         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44281         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44282         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44283         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44284         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44291         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44292         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44294         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44295         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44298         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44299         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44301         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44302         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44304         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44305         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44306         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44307         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44309         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44310         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44312         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44313         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44314         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44315         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44317         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44318         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44319         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44320         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44321         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44322         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44323         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44324         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44325         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44326         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44328         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44329         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44330         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44331         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44332         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44333         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44334         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44340         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44350         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44351         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44354         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44359         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44360         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44363         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44364         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44365         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44367         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44368         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44369         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44370         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44371         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44373         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44374         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44375         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44376         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44377         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44378         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44380         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44381         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44382         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44383         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44384         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44385         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44386         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44387         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44388         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44390         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44391         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44392         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44393         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44394         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44395         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44396         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44397         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44398         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44399         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44400         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44401         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44403         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44404         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44405         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44406         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44407         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44408         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44409         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44410         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44411         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44412         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44413         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44414         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44415         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44416         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44417         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44418         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44419         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44420         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44421         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44422         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44423         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44424         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44425         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44426         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44427         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44428         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44429         * sysdeps/ieee754/k_standard.c: Likewise.
44430         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44431         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44432         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44433         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44434         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44435         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44436         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44437         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44438         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44439         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44440         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44442         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44443         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44444         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44447         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44448         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44449         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44450         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44452         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44453         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44454         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44455         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44456         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44457         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44458         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44460         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44461         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44462         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44463         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44464         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44465         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44466         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44469         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44470         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44471         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44472         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44474         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44475         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44476         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44478         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44479         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44481         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44482         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44483         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44485         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44491         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44492         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44493         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44496         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44497         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44500         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44502         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44503         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44504         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44506         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44507         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44509         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44510         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44512         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44514         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44516         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44519         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44520         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44521         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44522         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44527         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44534         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44537         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44540         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44541         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44542         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44543         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44544         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44546         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44547         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44548         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44552         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44555         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44557         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44558         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44559         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44560         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44561         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44562         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44563         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44564         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44565         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44566         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44567         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44568         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44569         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44570         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44571         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44572         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44573         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44574         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44575         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44576         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44577         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44578         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44579         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44580         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44581         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44584         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44585         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44586         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44587         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44588         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44589         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44590         * sysdeps/ieee754/s_lib_version.c: Likewise.
44591         * sysdeps/ieee754/s_matherr.c: Likewise.
44592         * sysdeps/ieee754/s_signgam.c: Likewise.
44593         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44595         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44596         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44597         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44598         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44599         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44600         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44601         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44602         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44603         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44604         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44605         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44606         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44607         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44609         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44610         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44611         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44613         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44614
44615 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44616
44617         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44618         * sunrpc/rpc_main.c: Likewise.
44619         * sunrpc/rpc_svcout.c: Likewise.
44620
44621 2012-03-09  David S. Miller  <davem@davemloft.net>
44622
44623         * include/math_private.h: New file.
44624
44625 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44626
44627         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44628         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44629         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44630         from <bits/socket_type.h>.
44631         (enum __socket_type): Don't define here.
44632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44634         bits/socket_type.h.
44635
44636         [BZ #13566]
44637         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44638         checking __USE_GNU.
44639
44640         * Makerules ($(inst_includedir)/%.h): New rule.
44641         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44642         (install-others): Remove variable setting.
44643         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44644
44645 2012-03-08  Richard Henderson  <rth@twiddle.net>
44646
44647         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44648         from macro to inline function; merge with the
44649         !__LIBC_INTERNAL_MATH_INLINES version.
44650         (__ieee754_sqrtf): Likewise.
44651
44652         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44653         to inline function.
44654         (__rintf, __floor, __floorf): Likewise.
44655
44656         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44657         macro to inline function.
44658         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44659
44660         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44661         not <math/math_private.h>.
44662
44663 2012-03-08  David S. Miller  <davem@davemloft.net>
44664
44665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44666         copyright year.
44667         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44668
44669 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44670
44671         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44672         normalization.
44673         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44674         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44675
44676 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44677
44678         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44679         be defined individually, they must be defined as a block.  Define
44680         S for printing a string instead of hidint the different by using a
44681         macro for adding the 'l'.
44682         * stdio-common/tst-fphex-wide.c: Adjust.
44683
44684 2012-03-07  Marek Polacek  <polacek@redhat.com>
44685
44686         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44687
44688 2012-03-08  Marek Polacek  <polacek@redhat.com>
44689
44690         [BZ #13806]
44691         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44692         * stdio-common/tst-fphex.c: Define a few macros to make the
44693         test reusable.  Use them.
44694         * stdio-common/tst-fphex-wide.c: New file.
44695
44696 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44697
44698         [BZ #6911]
44699         * manual/macros.texi (gnusystems): New macro.
44700         (nongnusystems): Likewise.
44701         (gnulinuxhurdsystems): Likewise.
44702         (gnuhurdsystems): Likewise..
44703         (gnulinuxsystems): Likewise.
44704         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44705         variants of the GNU system, not "GNU system".
44706         * manual/conf.texi: Likewise.
44707         * manual/errno.texi: Likewise.  Update example of errno macro
44708         expansion.
44709         * manual/filesys.texi: Likewise.
44710         (getumask): Document as specific to GNU/Hurd.
44711         * manual/install.texi: Likewise.  Reword some references to
44712         GNU/Linux.
44713         * manual/intro.texi: Likewise.
44714         * manual/io.texi: Likewise.
44715         (File Name Portability): Detail which constraints are inapplicable
44716         to all GNU systems and which are only inapplicable to GNU/Hurd.
44717         * manual/job.texi: Likewise.
44718         * manual/llio.texi: Likewise.
44719         (O_NOCTTY): Document as present on GNU/Linux.
44720         * manual/maint.texi: Likewise.
44721         * manual/memory.texi: Likewise.
44722         * manual/pattern.texi: Likewise.
44723         * manual/pipe.texi: Likewise.
44724         * manual/process.texi: Likewise.
44725         * manual/resource.texi: Likewise.
44726         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44727         child on GNU/Hurd.
44728         * manual/setjmp.texi: Likewise.
44729         * manual/signal.texi: Likewise.
44730         * manual/startup.texi: Likewise.
44731         * manual/stdio.texi: Likewise.
44732         * manual/terminal.texi: Likewise.
44733         (ONLCR): Document as POSIX.
44734         (OXTABS): Document availability on GNU/Linux as XTABS.
44735         (ONOEOT): Document availability separately from other bits.
44736         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44737         * manual/time.texi: Likewise.
44738         * manual/users.texi: Likewise.
44739         * INSTALL: Regenerated.
44740         * sysdeps/gnu/errlist.c: Regenerated.
44741
44742         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44743         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44744         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44745         puts.
44746         * configure: Regenerated.
44747
44748 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44749
44750         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44751         default includes instead of AC_HEADER_CHECK.
44752         * sysdeps/i386/configure: Regenerated.
44753
44754         [BZ #10716]
44755         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44756         * math/s_cacoshf.c (__cacoshf): Likewise.
44757         * math/s_cacoshl.c (__cacoshl): Likewise.
44758         * math/s_casinh.c (__casinh): Set signs of result from argument.
44759         * math/s_casinhf.c (__casinhf): Likewise.
44760         * math/s_casinhl.c (__casinhl): Likewise.
44761         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44762         (casinh_test): Add more tests.
44763         * sysdeps/i386/fpu/libm-test-ulps: Update.
44764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44765
44766 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44767
44768         * po/zh_TW.po: Update from translation team.
44769
44770         * login/Makefile (distribute): Remove variable.
44771         * catgets/Makefile: Likewise.
44772         * mach/Makefile: Likewise.
44773         * malloc/Makefile: Likewise.
44774         * misc/Makefile: Likewise.
44775         * iconv/Makefile: Likewise.
44776         * nscd/Makefile: Likewise.
44777         * hurd/Makefile: Likewise.
44778         * manual/Makefile: Likewise.
44779         * locale/Makefile: Likewise.
44780         * intl/Makefile: Likewise.
44781         * conform/Makefile: Likewise.
44782         * nss/Makefile: Likewise.
44783         * time/Makefile: Likewise.
44784         * soft-fp/Makefile: Likewise.
44785         * dirent/Makefile: Likewise.
44786         * gmon/Makefile: Likewise.
44787         * po/Makefile: Likewise.
44788         * rt/Makefile: Likewise.
44789         * socket/Makefile: Likewise.
44790         * math/Makefile: Likewise.
44791         * signal/Makefile: Likewise.
44792         * debug/Makefile: Likewise.
44793         * elf/Makefile: Likewise.
44794         * timezone/Makefile: Likewise.
44795         * stdlib/Makefile: Likewise.
44796         * iconvdata/Makefile: Likewise.
44797         * sunrpc/Makefile: Likewise.
44798         * io/Makefile: Likewise.
44799         * argp/Makefile: Likewise.
44800         * inet/Makefile: Likewise.
44801         * hesiod/Makefile: Likewise.
44802         * grp/Makefile: Likewise.
44803         * csu/Makefile: Likewise.
44804         * wctype/Makefile: Likewise.
44805         * crypt/Makefile: Likewise.
44806         * libio/Makefile: Likewise.
44807         * string/Makefile: Likewise.
44808         * nis/Makefile: Likewise.
44809         * resolv/Makefile: Likewise.
44810         * stdio-common/Makefile: Likewise.
44811         * wcsmbs/Makefile: Likewise.
44812         * dlfcn/Makefile: Likewise.
44813         * posix/Makefile: Likewise.
44814
44815         [BZ #6959]
44816         * timezone/Makefile: Don't install timezone files, just the programs
44817         and scripts.
44818
44819 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44820
44821         * nss/databases.def: Add missing gshadow entry.
44822
44823         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44824
44825 2012-03-06  Marek Polacek  <polacek@redhat.com>
44826
44827         [BZ #13726]
44828         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44829         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44830         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44831         * stdio-common/tst-long-dbl-fphex.c: New file.
44832
44833 2012-03-06  David S. Miller  <davem@davemloft.net>
44834
44835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44836         (set_obp_int): New function.
44837         (get_obp_int): New function.
44838         (__get_clockfreq_via_dev_openprom): Likewise.
44839         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44840         Avoid unused variable warnings on 'val' and use builtin_expect.
44841         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44842         __builtin_expect.
44843         (INLINE_CLONE_SYSCALL): Likewise.
44844
44845 2012-03-05  David S. Miller  <davem@davemloft.net>
44846
44847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44848
44849 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44850
44851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44852
44853         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44854         only for |x| >= 40.
44855         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44856
44857 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44858
44859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44860         Replace gettimeofday with __vdso_gettimeofday.
44861
44862         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44863         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44864         __vdso_clock_gettime and __vdso_getcpu.
44865
44866         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44867         time with __vdso_time.
44868
44869 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44870
44871         * manual/lang.texi (size_t): Note types to which size_t may be
44872         equivalent with the GNU C Library, but do not describe when
44873         differences between them are significant.
44874
44875 2012-03-05  Andreas Jaeger  <aj@suse.de>
44876
44877         * sysdeps/i386/fpu/libm-test-ulps: Update.
44878
44879 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44880
44881         [BZ #3976]
44882         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44883         (__ieee754_pow): Save and restore rounding mode and use
44884         round-to-nearest for main computations.
44885         * math/libm-test.inc (pow_test_tonearest): New function.
44886         (pow_test_towardzero): Likewise.
44887         (pow_test_downward): Likewise.
44888         (pow_test_upward): Likewise.
44889         (main): Call the new functions.
44890         * sysdeps/i386/fpu/libm-test-ulps: Update.
44891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44892
44893         [BZ #3976]
44894         * math/libm-test.inc (cosh_test_tonearest): New function.
44895         (cosh_test_towardzero): Likewise.
44896         (cosh_test_downward): Likewise.
44897         (cosh_test_upward): Likewise.
44898         (sinh_test_tonearest): Likewise.
44899         (sinh_test_towardzero): Likewise.
44900         (sinh_test_downward): Likewise.
44901         (sinh_test_upward): Likewise.
44902         (main): Call the new functions.
44903         * sysdeps/i386/fpu/libm-test-ulps: Update.
44904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44905
44906 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44907
44908         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44909         default stack guard is set in last bytes.
44910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44911
44912 2012-03-05  Kees Cook  <keescook@chromium.org>
44913
44914         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44915
44916         [BZ #13656]
44917         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44918         possibly allocate from heap instead of stack.
44919         * stdio-common/bug-vfprintf-nargs.c: New file.
44920         * stdio-common/Makefile (tests): Add nargs overflow test.
44921
44922 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44923
44924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44925
44926 2012-03-03  Marek Polacek  <polacek@redhat.com>
44927
44928         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44929         * math/math_private.h: Likewise.
44930         * stdlib/tst-strtod.c: Likewise.
44931         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44932         * sysdeps/x86_64/bits/atomic.h: Likewise.
44933
44934 2012-03-02  David S. Miller  <davem@davemloft.net>
44935
44936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44940         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44941         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44942         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44943         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44944
44945 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44946
44947         [BZ #13792]
44948         * manual/examples/README: New file, says the example source files
44949         can be used under GPL>=2.
44950         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44951         line containing just "*/".
44952         * manual/examples/add.c: Add copyright header (GPL>=2).
44953         * manual/examples/argp-ex1.c: Likewise.
44954         * manual/examples/argp-ex2.c: Likewise.
44955         * manual/examples/argp-ex3.c: Likewise.
44956         * manual/examples/argp-ex4.c: Likewise.
44957         * manual/examples/atexit.c: Likewise.
44958         * manual/examples/db.c: Likewise.
44959         * manual/examples/dir.c: Likewise.
44960         * manual/examples/dir2.c: Likewise.
44961         * manual/examples/execinfo.c: Likewise.
44962         * manual/examples/filecli.c: Likewise.
44963         * manual/examples/filesrv.c: Likewise.
44964         * manual/examples/fmtmsgexpl.c: Likewise.
44965         * manual/examples/genpass.c: Likewise.
44966         * manual/examples/inetcli.c: Likewise.
44967         * manual/examples/inetsrv.c: Likewise.
44968         * manual/examples/isockad.c: Likewise.
44969         * manual/examples/longopt.c: Likewise.
44970         * manual/examples/memopen.c: Likewise.
44971         * manual/examples/memstrm.c: Likewise.
44972         * manual/examples/mkfsock.c: Likewise.
44973         * manual/examples/mkisock.c: Likewise.
44974         * manual/examples/mygetpass.c: Likewise.
44975         * manual/examples/pipe.c: Likewise.
44976         * manual/examples/popen.c: Likewise.
44977         * manual/examples/rprintf.c: Likewise.
44978         * manual/examples/search.c: Likewise.
44979         * manual/examples/select.c: Likewise.
44980         * manual/examples/setjmp.c: Likewise.
44981         * manual/examples/sigh1.c: Likewise.
44982         * manual/examples/sigusr.c: Likewise.
44983         * manual/examples/stpcpy.c: Likewise.
44984         * manual/examples/strdupa.c: Likewise.
44985         * manual/examples/strftim.c: Likewise.
44986         * manual/examples/strncat.c: Likewise.
44987         * manual/examples/subopt.c: Likewise.
44988         * manual/examples/swapcontext.c: Likewise.
44989         * manual/examples/termios.c: Likewise.
44990         * manual/examples/testopt.c: Likewise.
44991         * manual/examples/testpass.c: Likewise.
44992         * manual/examples/timeval_subtract.c: Likewise.
44993
44994         [BZ #13792]
44995         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44996         function to ...
44997         * manual/timeval_subtract.c.texi: ... here, new file.
44998
44999 2012-03-02  David S. Miller  <davem@davemloft.net>
45000
45001         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45002
45003 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45004
45005         [BZ #3976]
45006         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45007         (__sin): Save and restore rounding mode and use round-to-nearest
45008         for all computations.
45009         (__cos): Save and restore rounding mode and use round-to-nearest
45010         for all computations.
45011         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45012         <fenv.h>.
45013         (tan): Save and restore rounding mode and use round-to-nearest for
45014         all computations.
45015         * math/libm-test.inc (cos_test_tonearest): New function.
45016         (cos_test_towardzero): Likewise.
45017         (cos_test_downward): Likewise.
45018         (cos_test_upward): Likewise.
45019         (sin_test_tonearest): Likewise.
45020         (sin_test_towardzero): Likewise.
45021         (sin_test_downward): Likewise.
45022         (sin_test_upward): Likewise.
45023         (tan_test_tonearest): Likewise.
45024         (tan_test_towardzero): Likewise.
45025         (tan_test_downward): Likewise.
45026         (tan_test_upward): Likewise.
45027         (main): Call the new functions.
45028         * sysdeps/i386/fpu/libm-test-ulps: Update.
45029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45030
45031         [BZ #10135]
45032         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45033         small n, then large n, before computing and testing k+n.
45034         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45036         Likewise.
45037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45038         Likewise.
45039         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45040         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45046         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45047         * math/libm-test.inc (scalbn_test): Add more tests.
45048         (scalbln_test): Likewise.
45049
45050         * manual/filesys.texi (mode_t): Describe constraints on size and
45051         signedness, not exact equivalence to a particular type.
45052         (ino_t): Likewise.
45053         (ino64_t): Likewise.
45054         (dev_t): Likewise.
45055         (nlink_t): Likewise.
45056         (blkcnt_t): Likewise.
45057         (blkcnt64_t): Likewise.
45058         * manual/llio.texi (off_t): Likewise.
45059
45060         [BZ #3976]
45061         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45062         (__ieee754_exp): Save and restore rounding mode and use
45063         round-to-nearest for all computations.
45064         * math/libm-test.inc (exp_test_tonearest): New function.
45065         (exp_test_towardzero): Likewise.
45066         (exp_test_downward): Likewise.
45067         (exp_test_upward): Likewise.
45068         (main): Call the new functions.
45069         * sysdeps/i386/fpu/libm-test-ulps: Update.
45070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45071
45072 2012-03-01  Chris Demetriou  <cgd@google.com>
45073
45074         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45075         have predictable order.
45076
45077 2012-03-01  David S. Miller  <davem@davemloft.net>
45078
45079         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45080
45081         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45082         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45083         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45084         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45085
45086         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45087         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45088         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45090         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45091         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45092         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45093         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45094         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45095
45096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45097
45098         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45099         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45100         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45101
45102         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45103         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45104         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45105         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45106         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45107         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45108         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45109         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45110         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45111         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45112         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45113         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45118         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45119         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45120         * sysdeps/sparc/elf/configure: Regenerated.
45121
45122 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45123
45124         * configure.in (AS, LD): Require binutils 2.20 or later.
45125         * configure: Regenerated.
45126         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45127         as required minimum version.
45128         * INSTALL: Regenerated.
45129
45130         [BZ #2541]
45131         [BZ #4108]
45132         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45133         before squaring exponent.
45134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45135         bottom long double and 27 bits of top long double before squaring
45136         exponent.
45137         * math/libm-test.inc (erfc_test): Add more tests.
45138         * sysdeps/i386/fpu/libm-test-ulps: Update.
45139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45141
45142 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45143
45144         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45145         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45146         containing bit-fields.
45147         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45148         * soft-fp/single.h (_FP_UNION_S): Likewise.
45149         * soft-fp/double.h (_FP_UNION_D): Likewise.
45150
45151 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45152
45153         [BZ #13786]
45154         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45155         not include ../strcmp.S.
45156         [USE_AS_STRNCASECMP_L]: Likewise.
45157         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45158         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45159         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45160         (__strncasecmp_l_ia32): Define as alias to
45161         __strncasecmp_l_nonascii.
45162
45163         [BZ #5794]
45164         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45165         * sysdeps/i386/fpu/libm-test-ulps: Update.
45166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45167
45168         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45170
45171 2012-02-29  Jeff Law  <law@redhat.com>
45172
45173         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45174         out of bounds read.
45175
45176 2012-02-29  Marek Polacek  <polacek@redhat.com>
45177
45178         [BZ #13706]
45179         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45180         * elf/Makefile: Add rules to run tst-unused-dep.out.
45181
45182 2012-02-28  David S. Miller  <davem@davemloft.net>
45183
45184         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45185         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45188         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45189         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45190
45191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45192
45193         * math/libm-test.inc (llround_test): Move one test from
45194         lround_test.  Use TEST_f_L in moved test.
45195         (lround_test): Move misplaced test to llround_test.  Add testcase
45196         from bug 2561.
45197
45198 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45199
45200         * sysdeps/x86_64/fpu/e_expf.S: New file.
45201         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45202
45203 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45204
45205         [BZ #13637]
45206         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45207         of remain_len that may cause incomplete multi-byte character and
45208         false match.
45209         * posix/bug-regex33.c: New file.
45210         * posix/Makefile (tests): Add bug-regex33.
45211
45212 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45213
45214         * manual/macros.texi: New file.
45215         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45216         * manual/libc.texinfo: Include macros.texi.
45217         * manual/creatute.texi: Likewise.
45218         * manual/install.texi: Likewise.
45219         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45220         @glibcadj{} in references to the GNU C Library.
45221         * manual/charset.texi: Likewise.
45222         * manual/conf.texi: Likewise.
45223         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45224         when not using those macros.
45225         * manual/creature.texi: Likewise.
45226         * manual/crypt.texi: Likewise.
45227         * manual/errno.texi: Likewise.
45228         * manual/filesys.texi: Likewise.
45229         * manual/header.texi: Likewise.
45230         * manual/install.texi: Likewise.
45231         * manual/intro.texi: Likewise.
45232         * manual/io.texi: Likewise.
45233         * manual/job.texi: Likewise.
45234         * manual/lang.texi: Likewise.
45235         * manual/libc.texiinfo: Likewise.
45236         * manual/llio.texi: Likewise.
45237         * manual/locale.texi: Likewise.
45238         * manual/maint.texi: Likewise.
45239         * manual/math.texi: Likewise.
45240         * manual/memory.texi: Likewise.
45241         * manual/message.texi: Likewise.
45242         * manual/nss.texi: Likewise.
45243         * manual/pattern.texi: Likewise.
45244         * manual/process.texi: Likewise.
45245         * manual/resource.texi: Likewise.
45246         * manual/search.texi: Likewise.
45247         * manual/setjmp.texi: Likewise.
45248         * manual/signal.texi: Likewise.
45249         * manual/socket.texi: Likewise.
45250         * manual/startup.texi: Likewise.
45251         * manual/stdio.texi: Likewise.
45252         * manual/string.texi: Likewise.
45253         * manual/sysinfo.texi: Likewise.
45254         * manual/syslog.texi: Likewise.
45255         * manual/terminal.texi: Likewise.
45256         * manual/time.texi: Likewise.
45257         * manual/users.texi: Likewise.
45258         * INSTALL: Regenerated.
45259         * NOTES: Regenerated.
45260         * sysdeps/gnu/errlist.c: Regenerated.
45261
45262 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45263
45264         * include/dirent.h: Include <dirstream.h> before
45265         <dirent/dirent.h>.
45266
45267 2012-02-28  David S. Miller  <davem@davemloft.net>
45268
45269         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45270         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45271         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45272         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45273
45274 2012-02-27  David S. Miller  <davem@davemloft.net>
45275
45276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45278         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45279         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45280
45281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45282         frame pointer instead of stack pointer relative arg slot.
45283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45284         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45285         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45286
45287 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45288
45289         [BZ #3992]
45290         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45291
45292 2012-02-27  David S. Miller  <davem@davemloft.net>
45293
45294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45298         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45299         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45300         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45301         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45302
45303 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45304
45305         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45306         later.  Allow versions 5-9.
45307         * configure: Regenerated.
45308         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45309         required minimum version and 4.6 as recommended version.  Do not
45310         mention bugs in GCC 2.7 and 2.8.
45311         * INSTALL: Regenerated.
45312
45313 2012-02-27  David S. Miller  <davem@davemloft.net>
45314
45315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45319         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45320         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45321         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45322         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45323
45324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45325         manipulate bits before adding and subtracting TWO112[sx].
45326         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45327
45328 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45329
45330         [BZ #13775]
45331         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45332         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45333         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45334         being in POSIX, because they are in 1003.1-2008.
45335
45336         * rt/tst-aio.c: Include <fcntl.h>.
45337         * rt/tst-aio7.c: Likewise.
45338         * rt/tst-aio64.c: Likewise.
45339
45340         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45341
45342 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45343
45344         * manual/install.texi (--with-headers): Describe headers as
45345         interface headers, not private headers.
45346         (Specific advice for GNU/Linux systems): Describe use of headers
45347         from "make headers_install", not private headers from older
45348         kernels.
45349         * INSTALL: Regenerated.
45350         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45351         Change to 2.6.19.
45352         * sysdeps/unix/sysv/linux/configure: Regenerated.
45353
45354         * manual/llio.texi (fclean): Remove documentation.
45355
45356         * manual/Makefile (libc-texi-generated): New variable.  Include
45357         version.texi.
45358         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45359         $(libc-texi-generated), not duplicated list of files.
45360         (version.texi, stamp-version): New rules.
45361         (realclean): Remove $(libc-texi-generated), not individual files
45362         from that list.  Do not remove dir-add.texinfo.
45363         * manual/libc.texinfo: Comment out uses of edition numbers and
45364         references to printed manual.  Remove last-updated dates.
45365         (EDITION): Comment out.
45366         (ISBN): Likewise.
45367         (VERSION, UPDATED): Remove.
45368         (version.texi): Include.
45369
45370 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45371
45372         * sysdeps/posix/spawni.c: Include <signal.h>.
45373         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45374         * sysdeps/pthread/aio_fsync.c: Likewise.
45375
45376 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45377
45378         * conform/Makefile (tests): Run only when not cross-compiling and
45379         when fast-check is not defined.
45380
45381         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45382         * conform/data/limits.h-data: Fixes for POSIX2008.
45383         * conform/run-conformtest.sh: Run all tests.
45384         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45385         headers.
45386         * include/bits/dlfcn.h: Likewise.
45387         * include/langinfo.h: Likewise.
45388         * include/monetary.h: Likewise.
45389         * include/sys/poll.h: Likewise.
45390
45391         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45392         for __USE_GNU.
45393         * posix/spawn.h: Define __need_sigset_t.
45394         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45395         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45396         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45397         to get sigevent_t only.
45398         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45399         only for __USE_GNU.
45400         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45401         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45402         process_vm_writev only for __USE_GNU.
45403         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45404
45405         * conform/Makefile: For now ignore errors from run-conformtest.
45406         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45407         POSIX to avoid namespace pollution.  Don't prepend headers.
45408         * conform/data/aio.h-data: Fixes for POSIX testing.
45409         * conform/data/fcntl.h-data: Likewise.
45410         * conform/data/glob.h-data: Likewise.
45411         * conform/data/grp.h-data: Likewise.
45412         * conform/data/pthread.h-data: Likewise.
45413         * conform/data/pwd.h-data: Likewise.
45414         * conform/data/signal.h-data: Likewise.
45415         * conform/data/spawn.h-data: Likewise.
45416         * conform/data/stdio.h-data: Likewise.
45417         * conform/data/stdlib.h-data: Likewise.
45418         * conform/data/stropts.h-data: Likewise.
45419         * conform/data/sys/mman.h-data: Likewise.
45420         * conform/data/sys/stat.h-data: Likewise.
45421         * conform/data/sys/types.h-data: Likewise.
45422         * conform/data/sys/wait.h-data: Likewise.
45423         * conform/data/time.h-data: Likewise.
45424         * conform/data/unistd.h-data: Likewise.
45425         * conform/data/utime.h-data: Likewise.
45426
45427         * io/sys/stat.h: fchmod was always in POSIX.
45428         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45429         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45430         * rt/aio.h: Define __need_timespec before including <time.h>.
45431         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45432         struct.  Add forward declaration of pthread_attr_t and use it in
45433         sigevent.
45434         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45435         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45436         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45437         always remove CLK_TCK definition.
45438
45439 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45440
45441         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45442
45443 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45444
45445         * conform/run-conformtest.sh: New file.
45446         * conform/Makefile: Run run-conformtest for tests.
45447         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45448         support.
45449
45450         * conform/data/uchar.h-data: New file.
45451         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45452         * conform/data/arpa/inet.h-data: Likewise.
45453         * conform/data/assert.h-data: Likewise.
45454         * conform/data/complex.h-data: Likewise.
45455         * conform/data/cpio.h-data: Likewise.
45456         * conform/data/ctype.h-data: Likewise.
45457         * conform/data/dirent.h-data: Likewise.
45458         * conform/data/dlfcn.h-data: Likewise.
45459         * conform/data/errno.h-data: Likewise.
45460         * conform/data/fcntl.h-data: Likewise.
45461         * conform/data/float.h-data: Likewise.
45462         * conform/data/fmtmsg.h-data: Likewise.
45463         * conform/data/fnmatch.h-data: Likewise.
45464         * conform/data/ftw.h-data: Likewise.
45465         * conform/data/glob.h-data: Likewise.
45466         * conform/data/grp.h-data: Likewise.
45467         * conform/data/iconv.h-data: Likewise.
45468         * conform/data/inttypes.h-data: Likewise.
45469         * conform/data/langinfo.h-data: Likewise.
45470         * conform/data/libgen.h-data: Likewise.
45471         * conform/data/limits.h-data: Likewise.
45472         * conform/data/locale.h-data: Likewise.
45473         * conform/data/math.h-data: Likewise.
45474         * conform/data/monetary.h-data: Likewise.
45475         * conform/data/mqueue.h-data: Likewise.
45476         * conform/data/ndbm.h-data: Likewise.
45477         * conform/data/net/if.h-data: Likewise.
45478         * conform/data/netdb.h-data: Likewise.
45479         * conform/data/netinet/in.h-data: Likewise.
45480         * conform/data/nl_types.h-data: Likewise.
45481         * conform/data/poll.h-data: Likewise.
45482         * conform/data/pthread.h-data: Likewise.
45483         * conform/data/pwd.h-data: Likewise.
45484         * conform/data/regex.h-data: Likewise.
45485         * conform/data/sched.h-data: Likewise.
45486         * conform/data/search.h-data: Likewise.
45487         * conform/data/semaphore.h-data: Likewise.
45488         * conform/data/setjmp.h-data: Likewise.
45489         * conform/data/signal.h-data: Likewise.
45490         * conform/data/spawn.h-data: Likewise.
45491         * conform/data/stdarg.h-data: Likewise.
45492         * conform/data/stdio.h-data: Likewise.
45493         * conform/data/stdlib.h-data: Likewise.
45494         * conform/data/string.h-data: Likewise.
45495         * conform/data/strings.h-data: Likewise.
45496         * conform/data/stropts.h-data: Likewise.
45497         * conform/data/sys/ipc.h-data: Likewise.
45498         * conform/data/sys/mman.h-data: Likewise.
45499         * conform/data/sys/msg.h-data: Likewise.
45500         * conform/data/sys/resource.h-data: Likewise.
45501         * conform/data/sys/select.h-data: Likewise.
45502         * conform/data/sys/sem.h-data: Likewise.
45503         * conform/data/sys/shm.h-data: Likewise.
45504         * conform/data/sys/socket.h-data: Likewise.
45505         * conform/data/sys/stat.h-data: Likewise.
45506         * conform/data/sys/statvfs.h-data: Likewise.
45507         * conform/data/sys/time.h-data: Likewise.
45508         * conform/data/sys/timeb.h-data: Likewise.
45509         * conform/data/sys/times.h-data: Likewise.
45510         * conform/data/sys/types.h-data: Likewise.
45511         * conform/data/sys/uio.h-data: Likewise.
45512         * conform/data/sys/un.h-data: Likewise.
45513         * conform/data/sys/utsname.h-data: Likewise.
45514         * conform/data/sys/wait.h-data: Likewise.
45515         * conform/data/syslog.h-data: Likewise.
45516         * conform/data/tar.h-data: Likewise.
45517         * conform/data/termios.h-data: Likewise.
45518         * conform/data/utime.h-data: Likewise.
45519         * conform/data/utmpx.h-data: Likewise.
45520         * conform/data/varargs.h-data: Likewise.
45521         * conform/data/wchar.h-data: Likewise.
45522         * conform/data/wctype.h-data: Likewise.
45523         * conform/data/wordexp.h-data: Likewise.
45524
45525         * include/stropts.h: New file.
45526         * include/uchar.h: New file.
45527         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45528         * include/assert.h: Likewise.
45529         * include/ctype.h: Likewise.
45530         * include/dirent.h: Likewise.
45531         * include/dlfcn.h: Likewise.
45532         * include/fcntl.h: Likewise.
45533         * include/fnmatch.h: Likewise.
45534         * include/glob.h: Likewise.
45535         * include/grp.h: Likewise.
45536         * include/libio.h: Likewise.
45537         * include/locale.h: Likewise.
45538         * include/math.h: Likewise.
45539         * include/net/if.h: Likewise.
45540         * include/netdb.h: Likewise.
45541         * include/netinet/in.h: Likewise.
45542         * include/pthread.h: Likewise.
45543         * include/pwd.h: Likewise.
45544         * include/regex.h: Likewise.
45545         * include/sched.h: Likewise.
45546         * include/search.h: Likewise.
45547         * include/setjmp.h: Likewise.
45548         * include/signal.h: Likewise.
45549         * include/stdio.h: Likewise.
45550         * include/stdlib.h: Likewise.
45551         * include/string.h: Likewise.
45552         * include/sys/cdefs.h: Likewise.
45553         * include/sys/mman.h: Likewise.
45554         * include/sys/msg.h: Likewise.
45555         * include/sys/resource.h: Likewise.
45556         * include/sys/select.h: Likewise.
45557         * include/sys/socket.h: Likewise.
45558         * include/sys/stat.h: Likewise.
45559         * include/sys/statvfs.h: Likewise.
45560         * include/sys/time.h: Likewise.
45561         * include/sys/times.h: Likewise.
45562         * include/sys/uio.h: Likewise.
45563         * include/sys/utsname.h: Likewise.
45564         * include/sys/wait.h: Likewise.
45565         * include/termios.h: Likewise.
45566         * include/time.h: Likewise.
45567         * include/ulimit.h: Likewise.
45568         * include/unistd.h: Likewise.
45569         * include/utime.h: Likewise.
45570         * include/wchar.h: Likewise.
45571         * include/wctype.h: Likewise.
45572         * include/wordexp.h: Likewise.
45573
45574         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45575
45576         * time/time.h: TIME_UTC must be a macro.
45577         Make timespec_get available for ISO C11 only as well.
45578
45579 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45580
45581         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45582         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45583
45584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45585
45586         * configure.in: Use -o not -a in test for unsupported multi-arch.
45587
45588 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45589
45590         * manual/texinfo.tex: Update to version 2012-01-19.16.
45591
45592 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45593
45594         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45595
45596 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45597
45598         [BZ #13738]
45599         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45600         * manual/fdl-1.3.texi: New file.
45601         * manual/fdl-1.1.texi: File removed.
45602
45603         [BZ #13738]
45604         * manual/libc.texinfo (FDL_VERSION): New @set.
45605         Use it for mention of FDL in cover text.
45606         (Documentation License): Use it in @include file name.
45607
45608 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45609             Roland McGrath  <roland@hack.frob.com>
45610
45611         [BZ #5461]
45612         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45613         (not LONG_LONG_MAX and LONG_LONG_MIN.
45614         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45615         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
45616         name.
45617         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45618
45619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45620
45621         [BZ #2547]
45622         [BZ #11365]
45623         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45624         manipulate bits before adding and subtracting TWO23[sx].
45625         * math/libm-test.inc (nearbyint_test): Add more tests.
45626
45627 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45628
45629         [BZ #2548]
45630         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45631         bits before adding and subtracting TWO23[sx].
45632         * math/libm-test.inc (rint_test): Add more tests.
45633         (rint_test_tonearest): Likewise.
45634         (rint_test_towardzero): Likewise.
45635         (rint_test_downward): Likewise.
45636         (rint_test_upward: Likewise.
45637
45638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45639
45640         [BZ #10110]
45641         * include/stdc-predef.h: New file.  Extracted from features.h.
45642         * include/features.h: Include stdc-predef.h.
45643         * Makefile (headers): Add stdc-predef.h.
45644         * CONFORMANCE (Compiler limitations): Update.
45645
45646 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45647
45648         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45649
45650 2012-02-21  David S. Miller  <davem@davemloft.net>
45651
45652         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45653         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45654
45655 2012-02-20  David S. Miller  <davem@davemloft.net>
45656
45657         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45658         using a normal save/restore sequence, rather than allocating a
45659         dummy stack frame just to store a frame pointer and restore.
45660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45661
45662 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45663
45664         * manual/install.texi: Fix stray word in line-wrapped comment.
45665
45666 2012-02-20  David S. Miller  <davem@davemloft.net>
45667
45668         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45669         both binutils and gcc support GOTDATA.
45670
45671         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45672         "rd %pc" in the PIC register setup sequences.
45673
45674         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45675         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45676         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45677         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45678         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45681         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45682         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45683         (SYSCALL_ERROR_HANDLER): Likewise.
45684         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45685         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45687         (SYSCALL_ERROR_HANDLER): Likewise.
45688
45689         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45690         (HAVE_GCC_GOTDATA): New.
45691         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45692         relocation support in both binutils and gcc.
45693         * sysdeps/sparc/elf/configure: Regenerate.
45694
45695         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45696         * sysdeps/sparc/sparc32/elf/configure: Delete.
45697         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45698         * sysdeps/sparc/sparc64/elf/configure: Delete.
45699         * sysdeps/sparc/elf/configure.in: New file.
45700         * sysdeps/sparc/elf/configure: Generate.
45701
45702         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45703         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45704         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45705         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45706         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45707
45708 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45709
45710         * manual/install.texi: Do not mention specific glibc version
45711         numbers.
45712         * manual/libc.texinfo (VERSION, UPDATED): Update.
45713         (@copying): Use @copyright{} and range of years.
45714
45715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45716
45717         [BZ #13695]
45718         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45719         [crti.S not in sysdirs] (generated): Do not append.
45720         [crti.S not in sysdirs] (omit-deps): Likewise.
45721         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45722         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45723         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45724         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45725         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45726         Likewise.
45727         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45728         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45729         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45730         * csu/defs.awk: Remove file.
45731         * sysdeps/generic/initfini.c: Likewise.
45732         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45733         variable.
45734         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45735         Likewise.
45736
45737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45738
45739         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45740         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45741         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45744         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45745         <bits/epoll.h>.
45746         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45747         (__EPOLL_PACKED): Define to empty if not defined by
45748         <bits/epoll.h>.
45749         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45751         bits/epoll.h.
45752
45753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45754
45755         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45756         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45757         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45758         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45759         <bits/timerfd.h>.
45760         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45762         bits/timerfd.h.
45763
45764 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45765
45766         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45767         in C locale.
45768         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45769         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45770         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45772
45773 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45774
45775         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45776         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45777
45778 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45779
45780         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45781         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45782         defined.
45783         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45784         Likewise.
45785         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45786         entry for 2.16.
45787
45788 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45789
45790         * math/w_acos.c: Use non-signaling floating-point comparisons.
45791         * math/w_acosf.c: Likewise.
45792         * math/w_acosh.c: Likewise.
45793         * math/w_acoshf.c: Likewise.
45794         * math/w_acoshl.c: Likewise.
45795         * math/w_acosl.c: Likewise.
45796         * math/w_asin.c: Likewise.
45797         * math/w_asinf.c: Likewise.
45798         * math/w_asinl.c: Likewise.
45799         * math/w_atanh.c: Likewise.
45800         * math/w_atanhf.c: Likewise.
45801         * math/w_atanhl.c: Likewise.
45802         * math/w_exp2.c: Likewise.
45803         * math/w_exp2f.c: Likewise.
45804         * math/w_exp2l.c: Likewise.
45805         * math/w_j0.c: Likewise.
45806         * math/w_j0f.c: Likewise.
45807         * math/w_j0l.c: Likewise.
45808         * math/w_j1.c: Likewise.
45809         * math/w_j1f.c: Likewise.
45810         * math/w_j1l.c: Likewise.
45811         * math/w_jn.c: Likewise.
45812         * math/w_jnf.c: Likewise.
45813         * math/w_log.c: Likewise.
45814         * math/w_log10.c: Likewise.
45815         * math/w_log10f.c: Likewise.
45816         * math/w_log10l.c: Likewise.
45817         * math/w_log2.c: Likewise.
45818         * math/w_log2f.c: Likewise.
45819         * math/w_log2l.c: Likewise.
45820         * math/w_logf.c: Likewise.
45821         * math/w_logl.c: Likewise.
45822         * math/w_sqrt.c: Likewise.
45823         * math/w_sqrtf.c: Likewise.
45824         * math/w_sqrtl.c: Likewise.
45825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45826         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45827         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45828         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45829         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45830
45831 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45832
45833         [BZ #9739]
45834         * manual/string.texi (strnlen): Use correct parameter name in
45835         equivalent expression.
45836
45837 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45838
45839         [BZ #11174]
45840         * manual/users.texi (seteuid): Consistently use neweuid for
45841         argument name.
45842
45843 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45844
45845         [BZ #13704]
45846         * manual/nss.texi (Services in the NSS configuration): Correct
45847         list of services in example configuration file.
45848
45849 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45850
45851         [BZ #11322]
45852         * manual/arith.texi: Remove statements about negative zero
45853         behaving identically to zero.
45854
45855 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45856
45857         [BZ #5993]
45858         * manual/install.texi: Do not document upgrading from libc5.
45859
45860 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45861
45862         [BZ #4596]
45863         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45864
45865 2012-02-18  David S. Miller  <davem@davemloft.net>
45866
45867         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45868         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45869         %o7 across the call.
45870         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45871         instead.
45872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45873         SETUP_PIC_REG_LEAF.
45874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45875         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45876         * sysdeps/sparc/crtn.S: Likewise.
45877
45878 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45879
45880         * aout/Makefile: Remove.
45881
45882 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45883
45884         [BZ #13058]
45885         * manual/examples/argp-ex1.c (main): Format definition in GNU
45886         style.
45887         * manual/examples/argp-ex2.c (main): Likewise.
45888         * manual/examples/argp-ex3.c (main): Likewise.
45889         * manual/examples/argp-ex4.c (main): Likewise.
45890         * manual/examples/longopt.c (main): Use new-style prototype
45891         definition.
45892         * manual/examples/strncat.c (main): Specify return type and use
45893         (void) for arguments.
45894         * manual/examples/subopt.c (main): Use char **argv argument.
45895
45896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45897
45898         [BZ #5077]
45899         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45900         rounding modes.
45901
45902 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45903
45904         [BZ #6907]
45905         * manual/string.texi (strchr): Change when strchrnul is
45906         recommended.
45907
45908 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45909
45910         [BZ #174]
45911         * manual/locale.texi (setlocale): Document LOCPATH.
45912
45913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45914
45915         [BZ #10210]
45916         * manual/process.texi (execle): Move @dots{} before last argument.
45917
45918 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45919
45920         [BZ #12047]
45921         * manual/charset.texi (Generic Charset Conversion): Fix typo
45922         (LC_TYPE -> LC_CTYPE).
45923
45924 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45925
45926         [BZ #5805]
45927         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45928         (scalbnf): Likewise.
45929         (scalbnl): Likewise.
45930         (scalbln): Likewise.
45931         (scalblnf): Likewise.
45932         (scalblnl): Likewise.
45933         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45934         (vwarnx): Likewise.
45935         (verr): Likewise.
45936         (verrx): Likewise.
45937         * manual/filesys.texi (telldir): Use braces around return type.
45938         * manual/llio.texi (mmap): Add space after comma.
45939         (mmap64): Likewise.
45940         * manual/math.texi (jn): Use @var{} on parameter names.
45941         (jnf): Likewise.
45942         (jnl): Likewise.
45943         (yn): Likewise.
45944         (ynf): Likewise.
45945         (ynl): Likewise.
45946         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45947         line.
45948         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45949         "...".
45950         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45951         (sched_get_priority_max): Likewise.
45952         * manual/signal.texi (sigvec): Add space after comma.
45953         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45954         names.
45955         (if_indextoname): Likewise.
45956         (if_freenameindex): Likewise.
45957         (sendto): Use ',' instead of '.' in prototype.
45958         * manual/startup.texi (syscall): Use @dots{} instead of literal
45959         "...".
45960         * manual/stdio.texi (__fpending): Separate initial words of
45961         paragraph from @deftypefun line.
45962         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45963         "...".
45964         (vsyslog): Use @var{} on parameter names.
45965         * manual/terminal.texi (stty): Use @var{} on parameter names.
45966         * manual/users.texi (getutmp): Use @var{} on parameter names.
45967         (getutmpx): Likewise.
45968
45969 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45970
45971         [BZ #6884]
45972         * manual/stdio.texi (fopen): Fix typos in description of
45973         ",ccs=STRING".
45974
45975 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45976
45977         [BZ #4026]
45978         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45979         get clock_id definition.
45980
45981 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45982
45983         [BZ #4822]
45984         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45985         (madvise): Cast every argument to void on its own.
45986
45987 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45988
45989         [BZ #9902]
45990         * manual/startup.texi (Exit Status): Fix typo.
45991
45992 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45993
45994         [BZ #10140]
45995         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45996         * manual/examples/argp-ex2.c: Likewise.
45997         * manual/examples/argp-ex3.c: Likewise.
45998
45999 2012-02-16  Richard Henderson  <rth@redhat.com>
46000
46001         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46002         * sysdeps/s390/s390-32/initfini.c: Remove.
46003         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46004         * sysdeps/s390/s390-64/initfini.c: Remove.
46005
46006 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46007
46008         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46009         compiler output for sysdeps/generic/initfini.c.
46010         * sysdeps/sh/elf/initfini.c: Remove file.
46011
46012 2012-02-16  David S. Miller  <davem@davemloft.net>
46013
46014         [BZ #11494]
46015         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46016
46017         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46018         * sysdeps/sparc/crti.S: New file.
46019         * sysdeps/sparc/crtn.S: New file.
46020         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46021         * sysdeps/sparc/sparc64/Makefile: Likewise.
46022
46023 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46024
46025         [BZ #3335]
46026         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46027
46028 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46029
46030         [BZ #4822]
46031         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46032
46033         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46034         (write, read, close): Likewise.
46035         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46036
46037 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46038
46039         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46040         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46041         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46042         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46043         <bits/signalfd.h>.
46044         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46046         bits/signalfd.h.
46047
46048 2012-02-14  Marek Polacek  <polacek@redhat.com>
46049
46050         * sysdeps/x86_64/crti.S: New file.
46051         * sysdeps/x86_64/crtn.S: New file.
46052         * sysdeps/x86_64/elf/initfini.c: Remove file.
46053
46054 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46055
46056         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46057         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46058         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46059         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46060         <bits/inotify.h>.
46061         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46063         bits/inotify.h.
46064
46065 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46066
46067         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46068         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46069         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46070         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46071         <bits/eventfd.h>.
46072         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46074         bits/eventfd.h.
46075
46076 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46077
46078         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46079         __feraiseexcept instead of feraiseexcept.
46080
46081         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46082         nanosleep invocations.
46083         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46084         strings, and add error checking for a nanosleep invocations.
46085
46086 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46087
46088         Replace FSF snail mail address with URLs, as per GNU coding standards.
46089         Most of the snail mail addresses were wrong anyway, and omitting
46090         them makes the source code easier to maintain.  Almost all of the
46091         changes are to license notices and to locale LC_IDENTIFICATION
46092         addresses, except for this one:
46093         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46094         not its snail mail address.
46095
46096 2012-02-09  Richard Henderson  <rth@twiddle.net>
46097
46098         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46099         of kernel-features.h.
46100
46101         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46102
46103 2012-02-08  Marek Polacek  <polacek@redhat.com>
46104
46105         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46106         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46107         * sysdeps/gnu/_G_config.h: Likewise.
46108         * sysdeps/generic/_G_config.h: Likewise.
46109
46110 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46111
46112         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46113         tests.
46114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46115
46116         * sysdeps/powerpc/powerpc32/crti.S: New file.
46117         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46118         * sysdeps/powerpc/powerpc64/crti.S: New file.
46119         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46120
46121         * Makeconfig (have-initfini): Don't set.
46122         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46123         * configure.in (nopic_initfini): Don't substitute.
46124         * config.h.in (HAVE_INITFINI): Don't #undef.
46125         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46126         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46127
46128 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46129
46130         Support crti.S and crtn.S provided directly by architectures.
46131         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46132         [crti.S in sysdirs] (omit-deps): Likewise.
46133         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46134         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46135         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46136         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46137         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46138         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46139         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46140         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46141         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46142         compiler output for sysdeps/generic/initfini.c.
46143         * sysdeps/i386/elf/Makefile: Remove file.
46144         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46145
46146 2012-02-07  Marek Polacek  <polacek@redhat.com>
46147
46148         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46149         * sysdeps/gnu/_G_config.h: Likewise.
46150         * sysdeps/mach/hurd/_G_config.h: Likewise.
46151
46152 2012-02-07  Marek Polacek  <polacek@redhat.com>
46153
46154         * math/Makefile (tests): Add tst-CMPLX2.
46155         * math/tst-CMPLX2.c: New file.
46156
46157 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46158
46159         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46160
46161         * math/libm-test.inc (jn_test): Add missing L suffix.
46162
46163 2012-02-06  Marek Polacek  <polacek@redhat.com>
46164
46165         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46166         * sysdeps/i386/fpu/e_powf.S: Likewise.
46167         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46168         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46169         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46170         * sysdeps/i386/fpu/e_pow.S: Likewise.
46171         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46172         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46173         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46174         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46175         * sysdeps/i386/fpu/e_log2.S: Likewise.
46176         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46177         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46178         * sysdeps/i386/fpu/e_powl.S: Likewise.
46179         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46180         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46181         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46182         * sysdeps/i386/fpu/e_logl.S: Likewise.
46183         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46184         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46185         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46186         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46187         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46188         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46189         * sysdeps/i386/fpu/e_log.S: Likewise.
46190         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46191         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46192         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46193         * sysdeps/i386/fpu/e_logf.S: Likewise.
46194         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46195         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46196         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46197         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46198         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46199         * sysdeps/i386/fpu/e_log10.S: Likewise.
46200         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46201         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46202         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46203         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46204         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46205         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46206         * sysdeps/i386/asm-syntax.h: Likewise.
46207         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46208         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46209         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46210         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46211         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46212         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46213         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46214         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46215         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46216         * sysdeps/powerpc/sysdep.h: Likewise.
46217         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46218         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46219
46220 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46221
46222         [BZ #411]
46223         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46224
46225 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46226
46227         * sysdeps/i386/sysdep.h: Include <features.h>.
46228         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46229         version.
46230
46231 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46232
46233         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46234         Define.
46235         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46236         LOAD_PIC_REG_STR.
46237
46238 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46239
46240         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46241         (SETUP_PIC_REG): Use GET_PC_THUNK.
46242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46243         macro.
46244
46245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46246
46247         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46248         for non-PIC compilation.
46249         (SETUP_PIC_REG): Add .p2align directive.
46250         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46251         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46252         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46253         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46255         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46256         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46257         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46258         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46259         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46260         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46261         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46262         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46263         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46264         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46265         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46266         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46267         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46268         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46269         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46270         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46271         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46272         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46277         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46278         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46279         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46280         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46281         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46282         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46283         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46284         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46285         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46286         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46287         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46288         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46289         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46290         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46291
46292 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46293
46294         * math/tst-CMPLX.c: Include <stdio.h>.
46295
46296 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46297
46298         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46299         float.
46300         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46301         * sysdeps/sparc/bits/mathdef.h: Likewise.
46302
46303 2012-01-31  Marek Polacek  <polacek@redhat.com>
46304
46305         * libio/libio.h: Don't define _PARAMS.
46306         * locale/programs/config.h: Don't define PARAMS.
46307         * stdlib/strtol_l.c: Likewise.
46308         (__strtol_l): Remove PARAMS from the prototype.
46309
46310 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46311
46312         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46313         names.  Just use the correct names.  Remove unnecessary wrapper
46314         functions.
46315         * malloc/arena.c: Likewise.
46316         * malloc/hooks.c: Likewise.
46317
46318         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46319         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46320         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46321
46322 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46323
46324         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46325         into tail calls.
46326         (update_get_addr): New function.
46327         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46328         GET_ADDR_MODULE parameter.
46329
46330 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46331
46332         * crypt/cert.c: Remove __STDC__ conditionals.
46333         * crypt/crypt-entry.c: Likewise.
46334         * crypt/crypt_util.c: Likewise.
46335         * libio/filedoalloc.c: Likewise.
46336         * libio/fileops.c: Likewise.
46337         * libio/genops.c: Likewise.
46338         * libio/iofclose.c: Likewise.
46339         * libio/iofdopen.c: Likewise.
46340         * libio/iofopen.c: Likewise.
46341         * libio/iofopen64.c: Likewise.
46342         * libio/iogetdelim.c: Likewise.
46343         * libio/iopopen.c: Likewise.
46344         * libio/obprintf.c: Likewise.
46345         * libio/oldfileops.c: Likewise.
46346         * libio/oldiofclose.c: Likewise.
46347         * libio/oldiofdopen.c: Likewise.
46348         * libio/oldiofopen.c: Likewise.
46349         * libio/oldiopopen.c: Likewise.
46350         * libio/wfiledoalloc.c: Likewise.
46351         * libio/wgenops.c: Likewise.
46352         * locale/programs/xmalloc.c: Likewise.
46353         * misc/syslog.c: Likewise.
46354         * stdio-common/xbug.c: Likewise.
46355         * string/memchr.c: Likewise.
46356         * string/memcmp.c: Likewise.
46357         * string/memrchr.c: Likewise.
46358         * string/rawmemchr.c: Likewise.
46359         * sysdeps/posix/getcwd.c: Likewise.
46360         * time/strftime_l.c: Likewise.
46361
46362 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46363
46364         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46365         * config.make.in (config-cflags-sse2avx): Define.
46366         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46367         Fix typo.
46368
46369 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46370
46371         * scripts/config.guess: Update from upstream config git repository.
46372         * scripts/config.sub: Likewise.
46373
46374 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46375
46376         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46377         (EM_NUM): Update.
46378         (R_TILEPRO_*, R_TILEGX_*): New macros.
46379
46380         * scripts/firstversions.awk: Fix bug in version range handling.
46381
46382         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46383
46384         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46385
46386         * include/sys/epoll.h: New file.
46387         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46388         libc_hidden_def.
46389
46390 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46391
46392         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46393         Avoid unnecessary __WORDSIZE == 64 test.
46394         (fmaxf): Use VEX format if possible.
46395         (fmax): Likewise.
46396         (fminf): Likewise.
46397         (fmin): Likewise.
46398
46399         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46400         * math/math_private.h: Remove libc_fegetround* and
46401         libc_fesetround*.
46402         * sysdeps/i386/configure.in: Check for -msse2avx.
46403         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46404         also if SSE2AVX is defined.
46405         Remove libc_fegetround* and libc_fesetround*.
46406         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46407         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46408         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46409         of HAS_YMM_USABLE.
46410         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46411         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46412         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46413         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46414         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46415
46416         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46417
46418 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46419
46420         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46421         size is not set.
46422         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46423
46424 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46425
46426         [BZ #13618]
46427         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46428         relocation.
46429         * Makeconfig (libm): Define.
46430         * elf/Makefile: Add rules to build and run tst-relsort1.
46431         * elf/tst-relsort1.c: New file.
46432         * elf/tst-relsort1mod1.c: New file.
46433         * elf/tst-relsort1mod2.c: New file.
46434
46435 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46436
46437         * math/s_ldexp.c: Remove __STDC__ conditionals.
46438         * math/s_ldexpf.c: Likewise.
46439         * math/s_ldexpl.c: Likewise.
46440         * math/s_nextafter.c: Likewise.
46441         * math/s_nexttowardf.c: Likewise.
46442         * math/s_significand.c: Likewise.
46443         * math/s_significandf.c: Likewise.
46444         * math/s_significandl.c: Likewise.
46445         * math/w_jnl.c: Likewise.
46446         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46447         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46448         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46449         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46450         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46452         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46453         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46454         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46455         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46456         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46458         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46460         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46461         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46462         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46463         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46465         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46466         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46468         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46470         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46471         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46472         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46474         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46475         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46476         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46477         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46478         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46479         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46480         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46481         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46483         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46484         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46485         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46486         * sysdeps/ieee754/k_standard.c: Likewise.
46487         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46494         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46498         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46502         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46503         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46505         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46506         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46509         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46510         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46511         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46512         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46513         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46518         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46519         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46522         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46523         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46527         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46529         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46530         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46532         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46534         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46536         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46537         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46538         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46539         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46540         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46541         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46542         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46543         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46544         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46545         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46547         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46548         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46549         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46550         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46554         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46555         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46556         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46558         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46559         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46560         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46562         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46563         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46564         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46565         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46566         * sysdeps/ieee754/s_matherr.c: Likewise.
46567         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46568         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46570         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46571
46572 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46573
46574         * crypt/md5.h: Remove __STDC__ conditionals.
46575         * libio/libioP.h: Likewise.
46576         * locale/programs/config.h: Likewise.
46577         * sysdeps/generic/sysdep.h: Likewise.
46578         * sysdeps/i386/asm-syntax.h: Likewise.
46579         * sysdeps/s390/asm-syntax.h: Likewise.
46580         * sysdeps/unix/sysdep.h: Likewise.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46583
46584 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46585
46586         * libio/libio.h: Remove __STDC__ conditionals.
46587         * malloc/obstack.h: Likewise.
46588         * math/complex.h: Likewise.
46589         * math/math.h: Likewise.
46590         * sysdeps/generic/_G_config.h: Likewise.
46591         * sysdeps/gnu/_G_config.h: Likewise.
46592         * sysdeps/mach/hurd/_G_config.h: Likewise.
46593         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46594         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46595         * sysdeps/sparc/bits/mathdef.h: Likewise.
46596
46597 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46598
46599         [BZ #13583]
46600         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46601         Clean up HAS_* macros.
46602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46603         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46604         possible.
46605         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46606         HAS_AVX.
46607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46612
46613 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
46614
46615         * elf/tst-unique3.cc (gets): Remove declaration.
46616         * elf/tst-unique3lib.cc (gets): Likewise.
46617         * elf/tst-unique3lib2.cc (gets): Likewise.
46618         * elf/tst-unique4.cc (gets): Likewise.
46619
46620 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46621
46622         * include/stdio.h: Add C++ protection.  Add gets declarations and
46623         definitions.
46624         * debug/tst-chk1.c: Don't declare gets here.
46625         * stdio-common/tst-gets.c: Likewise.
46626
46627 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46628
46629         * posix/glob: Remove directory.
46630
46631 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46632
46633         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46634
46635 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46636
46637         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46638         of the non-standard EPFNOSUPPORT.
46639
46640 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46641
46642         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46643         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46644         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46645
46646 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46647
46648         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46649
46650 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46651
46652         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46653         transient errors.
46654         * nscd/grpcache.c (cache_addgr): Likewise.
46655         * nscd/hstcache.c (cache_addhst): Likewise.
46656         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46657         * nscd/pwdcache.c (cache_addpw): Likewise.
46658         * nscd/servicescache.c (cache_addserv): Likewise.
46659
46660 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46661
46662         * malloc/malloc.c: Various cleanups.
46663         * malloc/hooks.c: Likewise.
46664
46665         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46666         * stdlib/bug-fmtmsg1.c: New file.
46667
46668         * stdlib/fmtmsg.c (init): Add missing unlock.
46669         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46670
46671 2012-01-12  Marek Polacek  <polacek@redhat.com>
46672
46673         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46674         and _GNU_SOURCE.
46675
46676 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46677
46678         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46679         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46680         macro to ensure uniqueness of label name.
46681         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46682         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46683
46684 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46685
46686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46687
46688         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46689         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46692
46693 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46694
46695         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46696
46697         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46698         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46699         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46700
46701         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46702
46703         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46704         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46707
46708         * math/bits/math-finite.h: Add ldexp support.
46709
46710 2012-01-10  Marek Polacek  <polacek@redhat.com>
46711
46712         * locale/programs/localedef.h (show_archive_content): Add noreturn
46713         attribute.
46714
46715 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46716
46717         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46718
46719 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46720
46721         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46722
46723         * io/Makefile (headers): Add bits/poll2.h.
46724
46725 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46726
46727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46728         typo #include statement.
46729
46730 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46731
46732         * include/sys/cdefs.h: Define __attribute_alloc_size.
46733         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46734         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46735         * elf/pldd.c: Likewise.
46736         * iconv/iconv_charmap.c: Likewise.
46737         * iconv/iconvconfig.c: Likewise.
46738         * iconv/strtab.c: Likewise.
46739         * locale/programs/locale.c: Likewise.
46740         * locale/programs/localedef.h: Likewise.
46741         * locale/programs/simple-hash.c: Likewise.
46742         * nscd/nscd.h: Likewise.
46743         * nss/makedb.c: Likewise.
46744         * sysdeps/generic/ldconfig.h: Likewise.
46745         * locale/programs/localedef.c: Remove xmalloc prototype.
46746         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46747
46748 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46749
46750         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46751         appropriate.
46752
46753 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46754
46755         * math/Makefile (tests): Add tst-CMPLX.
46756         * math/tst-CMPLX.c: New file.
46757
46758         * math/complex.h (CMPLXL): Fix typo.
46759
46760         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46761         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46762         GLIBC_2.16.
46763         * debug/tst-chk1.c: Add poll and ppoll tests.
46764         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46765         * include/sys/poll.h: Add hidden proto for ppoll.
46766         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46767         * sysdeps/mach/hurd/ppoll.c: Likewise.
46768         * io/ppoll.c: Likewise.
46769         * debug/poll_chk.c: New file.
46770         * debug/ppoll_chk.c: New file.
46771         * include/bits/poll2.h: New file.
46772         * io/bits/poll2.h: New file.
46773
46774         [BZ #1350]
46775         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46776
46777         * configure.in: static is always set to yes.  Remove.
46778         * config.make.in: Don't set build-static.
46779         * Makeconfig: Remove use of build-static.
46780         * dlfcn/Makefile: Likewise.
46781         * elf/Makefile: Likewise.
46782         * math/Makefile: Likewise.
46783         * misc/Makefile: Likewise.
46784         * nptl/Makefile: Likewise.
46785         * sysdeps/mach/hurd/Makefile: Likewise.
46786
46787         * configure.in: PWD_P is not used anymore.
46788         * config.make.in: Remove PWD_P entry.
46789
46790         * configure.in: Remove last remnants of RANLIB.
46791         No need to check for signed size_t anymore.
46792         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46793         and IA-64.
46794         Remove __builtin_expect test because we require at least gcc 3.4.
46795         * aclocal.m4: Likewise.
46796
46797         * wcsmbs/mbrtoc16.c: Implement using towc function.
46798         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46799         * wcsmbs/wcsmbsload.c: Likewise.
46800         * iconv/gconv_simple.c: Likewise.
46801         * iconv/gconv_int.h: Likewise.
46802         * iconv/gconv_builtin.h: Likewise.
46803         * iconv/iconv_prog.c: Remove CHAR16 handling.
46804
46805         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46806
46807         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46808
46809         * configure.in: Remove --with-elf and --enable-bounded options.
46810         Dont set base_machine for ia64.  More non-ELF conditions removed.
46811         Remove testing and setting of leading underscore information.
46812         * config.make.in (build-bounded): Set to no.
46813         * config.h.in: Remove NO_UNDERSCORES entry.
46814         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46815         them.
46816         * csu/start.c: Remove !NO_UNDERSCORE code.
46817         * locale/localeinfo.h: Likewise.
46818         * sysdeps/generic/machine-gmon.h: Likewise.
46819         * sysdeps/generic/sysdep.h: Likewise.
46820         * sysdeps/i386/sysdep.h: Likewise.
46821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46822         * sysdeps/mach/sysdep.h: Likewise.
46823         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46825         * sysdeps/sh/sysdep.h: Likewise.
46826         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46827         * sysdeps/unix/i386/sysdep.S: Likewise.
46828         * sysdeps/unix/sparc/start.c: Likewise.
46829         * sysdeps/unix/sparc/sysdep.S: Likewise.
46830         * sysdeps/unix/sparc/sysdep.h: Likewise.
46831         * sysdeps/unix/start.c: Likewise.
46832         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46833         * sysdeps/x86_64/sysdep.h: Likewise.
46834
46835 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46836
46837         [BZ #13553]
46838         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46839         for non-gcc.
46840         * argp/argp-fmtstream.h: Use const instead __const.
46841         * argp/argp.h: Likewise.
46842         * assert/assert.h: Likewise.
46843         * bits/fenv.h: Likewise.
46844         * bits/sched.h: Likewise.
46845         * bits/sigset.h: Likewise.
46846         * bits/sigthread.h: Likewise.
46847         * catgets/nl_types.h: Likewise.
46848         * conform/data/pthread.h-data: Likewise.
46849         * crypt/crypt-private.h: Likewise.
46850         * crypt/crypt.h: Likewise.
46851         * crypt/crypt_util.c: Likewise.
46852         * ctype/ctype.h: Likewise.
46853         * debug/execinfo.h: Likewise.
46854         * debug/mbsnrtowcs_chk.c: Likewise.
46855         * debug/mbsrtowcs_chk.c: Likewise.
46856         * debug/wcsnrtombs_chk.c: Likewise.
46857         * debug/wcsrtombs_chk.c: Likewise.
46858         * debug/wcstombs_chk.c: Likewise.
46859         * dirent/dirent.h: Likewise.
46860         * dlfcn/dlfcn.h: Likewise.
46861         * elf/neededtest4.c: Likewise.
46862         * grp/grp.h: Likewise.
46863         * gshadow/gshadow.h: Likewise.
46864         * iconv/gconv.h: Likewise.
46865         * iconv/gconv_int.h: Likewise.
46866         * iconv/gconv_simple.c: Likewise.
46867         * iconv/iconv.h: Likewise.
46868         * iconv/loop.c: Likewise.
46869         * iconv/skeleton.c: Likewise.
46870         * include/aio.h: Likewise.
46871         * include/aliases.h: Likewise.
46872         * include/argz.h: Likewise.
46873         * include/arpa/inet.h: Likewise.
46874         * include/assert.h: Likewise.
46875         * include/dirent.h: Likewise.
46876         * include/dlfcn.h: Likewise.
46877         * include/execinfo.h: Likewise.
46878         * include/fcntl.h: Likewise.
46879         * include/fenv.h: Likewise.
46880         * include/glob.h: Likewise.
46881         * include/grp.h: Likewise.
46882         * include/libintl.h: Likewise.
46883         * include/mntent.h: Likewise.
46884         * include/netdb.h: Likewise.
46885         * include/pwd.h: Likewise.
46886         * include/rpc/netdb.h: Likewise.
46887         * include/sched.h: Likewise.
46888         * include/search.h: Likewise.
46889         * include/shadow.h: Likewise.
46890         * include/signal.h: Likewise.
46891         * include/stdio.h: Likewise.
46892         * include/stdlib.h: Likewise.
46893         * include/string.h: Likewise.
46894         * include/sys/socket.h: Likewise.
46895         * include/sys/stat.h: Likewise.
46896         * include/sys/statfs.h: Likewise.
46897         * include/sys/statvfs.h: Likewise.
46898         * include/sys/syslog.h: Likewise.
46899         * include/sys/time.h: Likewise.
46900         * include/sys/uio.h: Likewise.
46901         * include/time.h: Likewise.
46902         * include/unistd.h: Likewise.
46903         * include/utmp.h: Likewise.
46904         * include/wchar.h: Likewise.
46905         * include/wctype.h: Likewise.
46906         * inet/aliases.h: Likewise.
46907         * inet/arpa/inet.h: Likewise.
46908         * inet/netinet/ether.h: Likewise.
46909         * inet/netinet/in.h: Likewise.
46910         * intl/libintl.h: Likewise.
46911         * io/bits/fcntl2.h: Likewise.
46912         * io/fcntl.h: Likewise.
46913         * io/ftw.h: Likewise.
46914         * io/sys/poll.h: Likewise.
46915         * io/sys/stat.h: Likewise.
46916         * io/sys/statfs.h: Likewise.
46917         * io/sys/statvfs.h: Likewise.
46918         * io/utime.h: Likewise.
46919         * libio/bits/stdio.h: Likewise.
46920         * libio/bits/stdio2.h: Likewise.
46921         * libio/libio.h: Likewise.
46922         * libio/libioP.h: Likewise.
46923         * libio/stdio.h: Likewise.
46924         * locale/lc-ctype.c: Likewise.
46925         * locale/locale.h: Likewise.
46926         * login/utmp.h: Likewise.
46927         * malloc/arena.c: Likewise.
46928         * malloc/malloc.c: Likewise.
46929         * malloc/malloc.h: Likewise.
46930         * malloc/mcheck.c: Likewise.
46931         * malloc/mtrace.c: Likewise.
46932         * math/bits/mathcalls.h: Likewise.
46933         * math/fenv.h: Likewise.
46934         * math/math_private.h: Likewise.
46935         * misc/bits/error.h: Likewise.
46936         * misc/bits/syslog.h: Likewise.
46937         * misc/err.h: Likewise.
46938         * misc/error.h: Likewise.
46939         * misc/fstab.h: Likewise.
46940         * misc/mntent.h: Likewise.
46941         * misc/regexp.h: Likewise.
46942         * misc/search.h: Likewise.
46943         * misc/sgtty.h: Likewise.
46944         * misc/sys/mman.h: Likewise.
46945         * misc/sys/syslog.h: Likewise.
46946         * misc/sys/uio.h: Likewise.
46947         * misc/sys/xattr.h: Likewise.
46948         * misc/ttyent.h: Likewise.
46949         * nis/rpcsvc/ypclnt.h: Likewise.
46950         * nss/nss.h: Likewise.
46951         * posix/bits/unistd.h: Likewise.
46952         * posix/fnmatch.h: Likewise.
46953         * posix/glob.h: Likewise.
46954         * posix/sched.h: Likewise.
46955         * posix/spawn.h: Likewise.
46956         * posix/sys/wait.h: Likewise.
46957         * posix/unistd.h: Likewise.
46958         * posix/wordexp.h: Likewise.
46959         * pwd/pwd.h: Likewise.
46960         * resolv/netdb.h: Likewise.
46961         * resource/sys/resource.h: Likewise.
46962         * rt/aio.h: Likewise.
46963         * rt/bits/mqueue2.h: Likewise.
46964         * rt/mqueue.h: Likewise.
46965         * shadow/shadow.h: Likewise.
46966         * signal/signal.h: Likewise.
46967         * socket/send.c: Likewise.
46968         * socket/sendto.c: Likewise.
46969         * socket/sys/socket.h: Likewise.
46970         * stdio-common/printf.h: Likewise.
46971         * stdlib/bits/stdlib.h: Likewise.
46972         * stdlib/fmtmsg.h: Likewise.
46973         * stdlib/monetary.h: Likewise.
46974         * stdlib/stdlib.h: Likewise.
46975         * stdlib/ucontext.h: Likewise.
46976         * streams/stropts.h: Likewise.
46977         * string/argz.h: Likewise.
46978         * string/bits/string2.h: Likewise.
46979         * string/string.h: Likewise.
46980         * string/strings.h: Likewise.
46981         * sunrpc/rpc/auth.h: Likewise.
46982         * sunrpc/rpc/auth_des.h: Likewise.
46983         * sunrpc/rpc/clnt.h: Likewise.
46984         * sunrpc/rpc/netdb.h: Likewise.
46985         * sunrpc/rpc/pmap_clnt.h: Likewise.
46986         * sunrpc/rpc/xdr.h: Likewise.
46987         * sysdeps/generic/inttypes.h: Likewise.
46988         * sysdeps/generic/net/if.h: Likewise.
46989         * sysdeps/generic/sys/swap.h: Likewise.
46990         * sysdeps/gnu/net/if.h: Likewise.
46991         * sysdeps/gnu/utmpx.h: Likewise.
46992         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46993         * sysdeps/i386/i486/bits/string.h: Likewise.
46994         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46995         * sysdeps/s390/bits/string.h: Likewise.
46996         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46997         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46998         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46999         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47000         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47001         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47002         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47003         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47004         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47005         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47006         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47007         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47008         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47009         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47010         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47011         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47012         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47014         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47016         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47017         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47018         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47019         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47020         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47021         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47024         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47025         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47026         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47027         * sysvipc/sys/ipc.h: Likewise.
47028         * sysvipc/sys/msg.h: Likewise.
47029         * sysvipc/sys/sem.h: Likewise.
47030         * sysvipc/sys/shm.h: Likewise.
47031         * termios/termios.h: Likewise.
47032         * time/sys/time.h: Likewise.
47033         * time/time.h: Likewise.
47034         * wcsmbs/bits/wchar2.h: Likewise.
47035         * wcsmbs/uchar.h: Likewise.
47036         * wcsmbs/wchar.h: Likewise.
47037         * wctype/wctype.h: Likewise.
47038
47039         [BZ #13551]
47040         * Makeconfig: Remove all but ELF support including AIX support.
47041         * Makerules: Likewise.
47042         * config.h.in: Likewise.
47043         * config.make.in: Likewise.
47044         * configure: Likewise.
47045         * configure.in: Likewise.
47046         * csu/Makefile: Likewise.
47047         * csu/version.c: Likewise.
47048         * debug/Makefile: Likewise.
47049         * dlfcn/Makefile: Likewise.
47050         * elf/Makefile: Likewise.
47051         * extra-lib.mk: Likewise.
47052         * iconv/Makefile: Likewise.
47053         * include/libc-symbols.h: Likewise.
47054         * include/shlib-compat.h: Likewise.
47055         * resolv/Makefile: Likewise.
47056         * resolv/res_libc.c: Likewise.
47057         * rt/Makefile: Likewise.
47058         * sysdeps/i386/asm-syntax.h: Likewise.
47059         * sysdeps/i386/sysdep.h: Likewise.
47060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47061         * sysdeps/mach/sysdep.h: Likewise.
47062         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47063         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47064         * sysdeps/s390/asm-syntax.h: Likewise.
47065         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47066         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47067         * sysdeps/sh/sysdep.h: Likewise.
47068         * sysdeps/unix/sparc/sysdep.h: Likewise.
47069         * sysdeps/wordsize-32/divdi3.c: Likewise.
47070         * sysdeps/x86_64/sysdep.h: Likewise.
47071
47072         * argp/Versions: Remove _argp_unlock_xxx.
47073
47074         [BZ #13559]
47075         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47076         * abilist/libBrokenLocale.abilist: Likewise.
47077         * abilist/libanl.abilist: Likewise.
47078         * abilist/libc.abilist: Likewise.
47079         * abilist/libcrypt.abilist: Likewise.
47080         * abilist/libdl.abilist: Likewise.
47081         * abilist/libm.abilist: Likewise.
47082         * abilist/libnsl.abilist: Likewise.
47083         * abilist/libpthread.abilist: Likewise.
47084         * abilist/libresolv.abilist: Likewise.
47085         * abilist/librt.abilist: Likewise.
47086         * abilist/libthread_db.abilist: Likewise.
47087         * abilist/libutil.abilist: Likewise.
47088         * abilist/libnss_db.abilist: New file.
47089
47090         * scripts/abilist.awk: Add support for indirect functions.
47091
47092         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47093
47094         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47095
47096         * shlib-versions: Remove entries for ports architectures.
47097
47098         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47099         files in ports.
47100         * elf/stackguard-macros.h: Remove support for IA-64.
47101         * elf/tst-auditmod1.c: Likewise.
47102         * sysdeps/generic/ldsodefs.h: Likewise.
47103
47104         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47105         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47106         configure files.
47107
47108         [BZ #13552]
47109         * configure.in: Remove --enable-omitfp support.
47110         * FAQ.in: Adjust.
47111         * config.make.in: Likewise.
47112         * Makeconfig: Likewise.
47113         * manual/install.texi: Likewise.
47114
47115         In case anyone cares, the IA-64 architecture could move to ports.
47116         * sysdeps/ia64/*: Removed.
47117         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47118         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47119
47120         [BZ #13555]
47121         * configure.in: Remove entries for unsupported architectures.
47122
47123         [BZ #13533]
47124         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47125         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47126         routines.
47127         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47128         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47129         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47130         fall back to using wcrtomb.
47131         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47132         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47133         renaming.
47134         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47135         * wcsmbs/tst-c16c32-1.c: New file.
47136
47137         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47138         local variable.
47139
47140         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47141
47142         * elf/tst-unique3.cc: Add explicit declaration of gets.
47143         * elf/tst-unique3lib.cc: Likewise.
47144         * elf/tst-unique3lib2.cc: Likewise.
47145         * elf/tst-unique4.cc: Likewise.
47146
47147         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47148
47149 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47150
47151         [BZ #13566]
47152         * assert/assert.h (static_assert): Don't define for C++.
47153         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47154         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47155
47156 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47157
47158         * iconv/loop.c (single loop): Fix assertion in storing of
47159         remaining bytes.
47160
47161         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47162
47163 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * posix/getconf.c: Update copyright year.
47166         * nss/getent.c: Likewise.
47167         * nss/makedb.c: Likewise.
47168         * iconv/iconvconfig.c: Likewise.
47169         * iconv/iconv_prog.c: Likewise.
47170         * elf/ldconfig.c: Likewise.
47171         * elf/pldd.c: Likewise.
47172         * elf/sotruss.ksh: Likewise.
47173         * catgets/gencat.c: Likewise.
47174         * csu/version.c: Likewise.
47175         * elf/ldd.bash.in: Likewise.
47176         * elf/sprof.c (print_version): Likewise.
47177         * locale/programs/locale.c: Likewise.
47178         * locale/programs/localedef.c: Likewise.
47179         * login/programs/pt_chown.c: Likewise.
47180         * nscd/nscd.c (print_version): Likewise.
47181         * debug/xtrace.sh: Likewise.
47182         * malloc/memusage.sh: Likewise.
47183         * malloc/mtrace.pl: Likewise.
47184         * debug/catchsegv.sh: Likewise.
47185
47186 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47187
47188         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47189         pure attribute.
47190
47191 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47192
47193         [BZ #13533]
47194         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47195         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47196         transformations.
47197         * iconv/gconv_int.h: Likewise.
47198         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47199         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47200         from libc for GLIBC_2.16.
47201         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47202         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47203         * wcsmbs/uchar.h: Really define mbstate_t.
47204         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47205         * wcsmbs/c16rtomb.c: New file.
47206         * wcsmbs/mbrtoc16.c: New file.
47207         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47208         for C/POSIX locale.
47209         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47210         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47211
47212         * wcsmbs/wchar.h: Add missing __restrict.
47213
47214 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47215
47216         [BZ #13532]
47217         * time/Makefile (routines): Add timespec_get.
47218         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47219         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47220         timespec for ISO C11.
47221         * time/timespec_get.c: New file.
47222         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47223         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47224
47225         [BZ #13531]
47226         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47227         * stdlib/stdlib.h: Declare aligned_alloc.
47228         * Versions.def: Add GLIBC_2.16 for libc.
47229         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47230
47231         [BZ 13527]
47232         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47233         ISO C11.
47234
47235         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47236         code.
47237
47238         [BZ #13528]
47239         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47240
47241         [BZ #13529]
47242         * assert/assert.h (static_assert): Define.
47243
47244         * version.h: Update for 2.16 development version.
47245
47246         [BZ #13526]
47247         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47248         _ISOC11_SOURCE.
47249
47250         * version.h (RELEASE): Bump for 2.15 release.
47251         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47252
47253         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47254         Patch by Marek Polacek <mpolacek@redhat.com>.
47255
47256         * bits/byteswap.h: Protect long long constants with __extension__.
47257         * sysdeps/i386/bits/byteswap.h: Likewise.
47258         * sysdeps/ia64/bits/byteswap.h: Likewise.
47259         * sysdeps/s390/bits/byteswap.h: Likewise.
47260         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47261
47262 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47263
47264         [BZ #13540]
47265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47266         destination buffer.
47267         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47268
47269 2011-12-23  Marek Polacek  <polacek@redhat.com>
47270
47271         * elf/dl-addr.c (determine_info): Add inline keyword.
47272         * elf/tst-auditmod4b.c (check_avx): Likewise.
47273         * elf/tst-auditmod6b.c (check_avx): Likewise.
47274         * elf/tst-auditmod6c.c (check_avx): Likewise.
47275         * elf/tst-auditmod7b.c (check_avx): Likewise.
47276
47277 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47278
47279         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47280         !__SSE_MATH__.
47281
47282 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47283
47284         [BZ #13540]
47285         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47286         processing for last bytes.
47287
47288 2011-08-06  Bruno Haible  <bruno@clisp.org>
47289
47290         [BZ #13061]
47291         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47292         U+0385, not to U+1FEE.
47293
47294         [BZ #13062]
47295         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47296         entry for U+00A5 U+0301.
47297
47298 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47299
47300         [BZ #13166]
47301         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47302         buffer for the output is too small.
47303
47304         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47305         optimization.
47306
47307         [BZ #13185]
47308         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47309         SSE flags if possible.
47310
47311 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47312
47313         [BZ #13540]
47314         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47315         processing for last bytes.
47316
47317 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47318
47319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47320         (syscall-list-default-options, syscall-list-default-condition)
47321         (syscall-list-includes): Define.
47322         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47323         list of ABIs and options and #if conditions for each ABI.  Do not
47324         handle common syscalls between ABIs specially.
47325         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47326         Remove.
47327         (syscall-list-variants, syscall-list-32bit-options)
47328         (syscall-list-32bit-condition, syscall-list-64bit-options)
47329         (syscall-list-64bit-condition): Define.
47330         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47331         (syscall-list-variants, syscall-list-32bit-options)
47332         (syscall-list-32bit-condition, syscall-list-64bit-options)
47333         (syscall-list-64bit-condition): Define.
47334         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47335         Remove.
47336         (syscall-list-variants, syscall-list-32bit-options)
47337         (syscall-list-32bit-condition, syscall-list-64bit-options)
47338         (syscall-list-64bit-condition): Define.
47339         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47340         Remove.
47341         (syscall-list-variants, syscall-list-32bit-options)
47342         (syscall-list-32bit-condition, syscall-list-64bit-options)
47343         (syscall-list-64bit-condition): Define.
47344
47345 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47346
47347         * locale/iso-639.def: Add brx entry.
47348
47349         [BZ #13328]
47350         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47351         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47352
47353         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47354         __feraiseexcept_renamed.
47355
47356 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47357
47358         [BZ #13538]
47359         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47360         EPOLLET with unsigned values.
47361         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47362         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47363
47364         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47365         to large cancellation.
47366         * math/s_cacoshf.c: Likewise.
47367         * math/s_cacoshl.c: Likewise.
47368
47369 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47370
47371         [BZ #13305]
47372         [BZ #12786]
47373         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47374         * math/s_cacoshf.c: Likewise.
47375         * math/s_cacoshl.c: Likewise.
47376
47377 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47378
47379         [BZ #13439]
47380         * iconv/gconv.h: Define __GCONV_SWAP.
47381         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47382         * iconvdata/utf-16.c: Likewise.
47383         * iconvdata/utf-32.c: Likewise.
47384
47385 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47386
47387         [BZ #13524]
47388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47389         numerator after shifting it by one limb.
47390
47391 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47392
47393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47394         under [__USE_EXTERN_INLINES].
47395
47396 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47397
47398         [BZ #13446]
47399         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47400
47401 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47402
47403         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47404         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47405         optimized code.
47406         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47407         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47408         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47409         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47410         for strncasecmp/strncasecmp_l compilation.
47411         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47412         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47413
47414 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47415
47416         [BZ #13484]
47417         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47418         of __asm__.
47419
47420 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47421
47422         [BZ #13506]
47423         * time/tzfile.c (__tzfile_read): Check values from file header.
47424
47425 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47426
47427         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47428         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47429         * powerpc/powerpc32/dl-start.S: Likewise.
47430         * powerpc/powerpc32/elf/start.S: Likewise.
47431         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47432         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47433         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47434         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47435         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47436         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47437         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47438         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47439         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47440         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47441         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47442         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47443         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47444         * powerpc/powerpc32/memset.S: Likewise.
47445         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47446         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47447         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47448         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47449         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47450         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47451         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47452         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47453         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47454         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47455         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47456         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47457         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47458
47459 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47460
47461         * math/libm-test.inc: Added more nearbyint tests.
47462         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47466
47467 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47468
47469         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47470         FD_CLOEXEC.
47471
47472 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47473
47474         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47475         Add wcscpy-ssse3 wcscpy-c.
47476         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47477         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47478         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47479         * sysdeps/x86_64/wcschr.S: New file.
47480         * sysdeps/x86_64/wcsrchr.S: New file.
47481         * string/test-strcmp.c: Remove checking of wcscmp function for
47482         wrong alignments.
47483         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47484         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47485         wcsrchr-sse2 wcsrchr-c.
47486         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47487         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47488         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47489         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47490         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47491         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47492         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47493         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47494         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47495         * wcsmbc/wcschr.c (WCSCHR): New macro.
47496
47497 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47498
47499         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47500         * wcsmbs/test-wcsrchr.c: New file.
47501         * string/test-strrchr.c: Add wcsrchr support.
47502         (WIDE): New macro.
47503         * wcsmbs/test-wcscpy.c: New file.
47504         * string/test-strcpy.c: Add wcscpy support.
47505         (WIDE): New macro.
47506
47507 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47508
47509         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47510         the inner loop.
47511
47512 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47513
47514         [BZ #13472]
47515         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47516
47517 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47518
47519         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47520         Minor optimizations.
47521
47522         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47523         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47524         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47525
47526 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47527
47528         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47529         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47530         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47531         for gcc to avoid warnings.
47532         * inet/Makefile (tests): Add tst-checks.
47533         * inet/tst-checks.c: New file.
47534
47535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47536         warning.
47537
47538         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47539         __wmemcmp_sse2.
47540
47541         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47542         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47543
47544         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47545
47546 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47547
47548         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47549         problem.
47550
47551         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47552
47553 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47554
47555         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47556         conditional on GCC version.
47557         (__arch_compare_and_exchange_val_8_acq)
47558         (__arch_compare_and_exchange_val_16_acq)
47559         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47560         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47561         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47562
47563 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47564
47565         * sysdeps/sh/backtrace.c: New file.
47566
47567 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47568
47569         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47570         parenthesis.
47571
47572 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47573
47574         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47575         falling back to utime.
47576
47577 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47578
47579         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47580         expectations for float.
47581
47582 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47583
47584         * locale/weight.h (findidx): Add parameter len.
47585         * locale/weightwc.h (findidx): Likewise.
47586         * posix/fnmatch_loop.c (FCT): Adjust caller.
47587         * posix/regcomp.c (build_equiv_class): Likewise.
47588         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47589         * posix/regexec.c (check_node_accept_bytes): Likewise.
47590         * string/strcoll_l.c (STRCOLL): Likewise.
47591         * string/strxfrm_l.c (STRXFRM): Likewise.
47592
47593 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47594
47595         * Makefile.in: Remove CVSOPT handling.
47596         * configure.in: Remove use of AC_REVISION.
47597         * iconvdata/Makefile (distribute): No need to filter out CVS.
47598         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47599         handling.
47600
47601 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47602
47603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47604         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47605         [USE_AS_STRNCASECMP_L]: Likewise.
47606         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47607         NO_TLS_DIRECT_SEG_REFS.
47608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47609         Fix argument offsets for non-PIC.
47610         [USE_AS_STRNCASECMP_L]: Likewise.
47611         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47612         NO_TLS_DIRECT_SEG_REFS.
47613
47614 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47615
47616         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47617         O_CLOEXEC.
47618         * locale/loadlocale.c (_nl_load_locale): Likewise.
47619
47620 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47621
47622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47623         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47624         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47625         (SYSCALL_GETTIME): Set errno on error.
47626
47627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47628         count references to noai6ai_cached.
47629
47630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47631
47632         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47633
47634         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47635         FD_CLOEXEC for /proc/self/maps.
47636
47637         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47638         FD_CLOEXEC for /proc/meminfo.
47639
47640         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47641         gai.conf.
47642
47643         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47644         FD_CLOEXEC for given file.
47645
47646         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47647
47648         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47649         FD_CLOEXEC for /etc/hosts.
47650         (_gethtent): Likewise.
47651
47652         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47653
47654         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47655         cancellation and set FD_CLOEXEC for /etc/netgroup.
47656
47657         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47658         reading /etc/publickey.
47659
47660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47661         allow cancellation when reading /etc/group.
47662
47663         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47664         cancellation.
47665         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47666
47667         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47668         when using data file.
47669
47670         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47671
47672         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47673         (write_nis_obj): Use "c" and "e" in fopen.
47674
47675         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47676
47677         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47678
47679         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47680
47681         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47682
47683         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47684         locale.alias.
47685
47686         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47687
47688         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47689
47690         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47691
47692         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47693         file parsing and set FD_CLOEXEC.
47694
47695 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47696
47697         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47698
47699 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47700
47701         * malloc/arena.c (arena_get2): Don't call reused_arena when
47702         _int_new_arena failed.
47703
47704 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47705
47706         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47707         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47709         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47710         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47711         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47712         to compile strcasecmp and strncasecmp.
47713         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47714         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47715
47716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47717
47718 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47719
47720         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47721         locale-defines.sym to gen-as-const-headers.
47722         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47723         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47725         to compile strcasecmp and strncasecmp.
47726         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47727         strcasecmp_l and strncasecmp_l.
47728         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47729         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47730         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47731         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47732         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47733         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47734         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47735         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47736         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47737         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47738         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47739
47740 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47741
47742         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47743         result of SYSDEP_GETTIME_CPU to retval.
47744         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47745         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47746
47747         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47748         variable.
47749
47750         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47751         mantissa words.
47752         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47753
47754         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47755         from unused variable.
47756
47757         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47758         DWARF definitions.
47759         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47760         for assembling.
47761
47762         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47763         over namespaces.
47764
47765         * sunrpc/rpc_prot.c (rejected): Fix case value.
47766
47767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47768         unsigned long long int to avoid warnings in shift.
47769
47770         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47771         of use of trans.
47772         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47773         variable tmp.
47774
47775         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47776         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47777         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47778
47779         * nis/nis_table.c (nis_list): Use variable of correct type for
47780         result of __follow_path call.
47781
47782 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47783
47784         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47785         of math functions ceil, trunc, floor, round, and sqrt, when
47786         avaliable on the platform.
47787         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47788         name clash.
47789         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47791         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47792
47793 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47794
47795         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47797
47798 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47799
47800         * include/unistd.h: Fix __readlink return type.
47801         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47802
47803 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47804
47805         * stdlib/ucontext.h: Undo last change for makecontext.
47806
47807 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47808
47809         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47810
47811         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47812         * setjmp/setjmp.h: Mark functions as non-leaf.
47813         * setjmp/bits/setjmp2.h: Likewise.
47814         * stdlib/ucontext.h: Likewise.
47815
47816 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47817
47818         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47819         (reused_arena): Don't check arena limit.
47820         (arena_get2): Atomically check arena limit.
47821
47822 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47823
47824         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47825         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47826
47827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47828         instructions.
47829
47830 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47831
47832         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47833         handler when locking.
47834
47835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47836         Fix size of allocated buffer.
47837
47838 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47839
47840         [BZ #10103]
47841         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47842         declarations for long double functions.
47843         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47844
47845         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47846
47847 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47848
47849         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47850         installed.
47851
47852         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47853         is disabled.
47854
47855 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47856
47857         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47858
47859 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47860
47861         * include/alloca.h (stackinfo_alloca_round): Define.
47862         (extend_alloca): Use it.
47863         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47864         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47865         here.
47866
47867         * scripts/check-local-headers.sh: Ignore libaudit.h.
47868
47869         * nscd/Makefile (extra-objs): Make recursively expanded.
47870
47871 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47872
47873         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47875
47876         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47877         * posix/tst-rfc3484-2.c: Likewise.
47878         * posix/tst-rfc3484-3.c: Likewise.
47879
47880         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47881         process_vm_writev.
47882         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47883         process_vm_writev.
47884         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47885         process_vm_writev from libc using GLIBC_2.15 version.
47886
47887         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47888
47889 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47890
47891         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47892         stack usage.
47893
47894 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47895
47896         [BZ #13367]
47897         * nss/getent.c (initgroups_keys): Show error message in case no group
47898         names are given.
47899
47900         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47901         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47902         __bump_nl_timestamp.
47903         * nscd/connections (nscd_init): When host database is served open
47904         netlink socket and request notification about configuration changes.
47905         (main_loop_poll): Track netlink file descriptor and bump timestamp
47906         in case data becomes available.
47907         (main_loop_epoll): Likewise.
47908         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47909         (database_pers_head): Add extra_data fileds.
47910         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47911         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47912         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47913         Adjust caller.
47914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47915         in6ai data, call __free_in6ai.
47916         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47917         Add -DHAVE_NETLINK.
47918         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47919         interface information.  Reuse previous data if netlink timestamp
47920         is not changed.
47921         (__bump_nl_timestamp): New function.
47922         (__free_in6ai): New function.
47923
47924 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47925
47926         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47927         close_not_cancel_no_status here.
47928         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47929
47930 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47931
47932         [BZ #13276]
47933         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47934         return value.
47935
47936         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47937         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47938         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47939
47940 2011-07-03  Andreas Jaeger  <aj@suse.de>
47941
47942         [BZ #10709]
47943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47944         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47945         * math/libm-test.inc (sin_test): Add test case.
47946
47947 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47948
47949         [BZ #13337]
47950         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47951         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47952
47953         * elf/chroot_canon.c (chroot_canon): Cleanups.
47954
47955         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47956
47957         [BZ #13335]
47958         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47959         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47960
47961         * string/test-strchr.c: Make usable for strchrnul testing.
47962         * string/test-strchrnul.c: New file.
47963         * string/Makefile (strop-tests): Add strchrnul.
47964
47965         * po/it.po: Update from translation team.
47966         * po/es.po: Likewise.
47967
47968 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47969
47970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47971         the three constants needed as parameters.  Drop the others.
47972         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47973         __m128i_strloadu_tolower.
47974         Create and initialize variable zero and use it in all the places
47975         where _mm_setzero_si128 was used.
47976
47977         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47978         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47979         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47981         anymore.
47982         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47983         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47984         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47985         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47986         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47987         __mpranred, __mptan.
47988         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47989         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47990         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47991         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47992         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47993         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47994         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47995         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47996         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47997
47998 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47999
48000         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48001         redefine if SHARED.
48002         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48003
48004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48005         wide char related routines to wcsmbs subdir.
48006
48007 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48008
48009         [BZ #13344]
48010         * misc/sys/cdefs.h (__THROWNL): Define.
48011         * posix/unistd.h: Use __THREADNL instead of __THREAD
48012         for memory synchronization functions.
48013
48014 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48015
48016         [BZ #13349]
48017         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48018         doesn't exist.
48019         * manual/stdio.texi (Obstack Streams): Node removed.
48020
48021 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48022
48023         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48024         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48025         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48026
48027         * math/math_private.h (math_force_eval): Allow non-addressable
48028         arguments.
48029         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48030
48031 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48032
48033         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48034         file is not needed.
48035
48036         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48037         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48043         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48044         Add AVX variants.
48045         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48046         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48047         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48048         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48049         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48050         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48051         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48053         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48054         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48055         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48056         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48057         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48058         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48059         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48060         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48061         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48062         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48063         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48064
48065         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48066         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48067
48068         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48069         place.  Use VEX encoding when compiling for AVX.
48070
48071 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48072
48073         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48074         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48075
48076         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48077
48078 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48079
48080         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48081         useless if() expression.
48082         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48084         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48085         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48086         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48088         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48089         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48090         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48092         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48093         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48094         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48095         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48096         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48097         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48098         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48099         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48101
48102         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48103
48104 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48105
48106         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48107         condition.
48108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48109
48110 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48111
48112         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48113         .text section.  Avoid duplicate constants.
48114         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48116         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48122         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48123         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48124         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48125         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48126         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48127         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48128         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48129         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48131         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48132         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48134         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48135         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48136         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48138         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48139         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48140         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48141         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48142         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48143         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48144         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48145         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48146         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48147         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48148         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48149         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48150         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48152         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48153         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48154         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48155         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48156         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48157         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48158         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48159
48160 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48161
48162         * sysdeps/x86_64/dla.h: Move to ...
48163         * sysdeps/x86_64/fpu/dla.h: ...here.
48164         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48165         situations.  Use __builtin_fma only for gcc 4.6 and up.
48166
48167         * config.make.in: Add have-mfma4 entry.
48168         * configure.in: Substitute libc_cv_cc_fma4.
48169         * math/Makefile (dbl-only-routines): Add sincostab.
48170         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48171         Use __sincostab not sincos.
48172         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48173         name is a macro.
48174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48178         using __copysign.
48179         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48180         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48181         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48182         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48183         and __inv.
48184         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48185         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48186         __copysign.
48187         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48188         define aliases when function name is a macro.
48189         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48190         sysdeps/ieee754/dbl-64/sincos.tbl.
48191         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48192         fma4-enabled routines.
48193         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48194         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48195         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48196         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48198         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48200         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48202         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48203         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48204         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48205         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48206         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48207         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48208         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48209         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48210         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48211         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48213         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48214         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48215         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48216         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48217         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48218         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48219         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48220         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48221         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48222         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48223
48224         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48225         rename.
48226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48234
48235 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48236
48237         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48238
48239 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48240
48241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48242
48243         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48244         prediction.
48245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48246
48247         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48248         Remove unused variable magic_bits.
48249         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48250
48251         * string/strnlen.c: Define and use STRNLEN macro.
48252         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48253         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48255         * wcsmbs/wcslen.c: Define and use WCSLEN.
48256         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48257         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48258         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48259         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48260         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48261         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48262         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48263
48264 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48265
48266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48267         strnlen-sse2-no-bsf.
48268         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48270         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48271         Add strnlen support.
48272         (USE_AS_STRNLEN): New macro.
48273         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48275         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48276         * sysdeps/x86_64/wcslen.S: New file.
48277
48278 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48279
48280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48281         XMM-moves are used for copying on small sizes.
48282
48283 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48284
48285         * wcsmbs/Makefile (strop-tests): Add wcschr.
48286         * wcsmbs/test-wcschr.c: New file.
48287         * string/test-strchr.c: Update.
48288         Add wcschr support.
48289         (WIDE): New macro.
48290
48291 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48292
48293         * wcsmbs/Makefile (strop-tests): Add wcslen.
48294         * wcsmbs/test-wcslen.c: New file.
48295         * string/test-strlen.c: Update.
48296         Add wcslen support.
48297         (WIDE): New macro.
48298
48299 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48300
48301         * po/it.po: Update from translation team.
48302
48303 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48304
48305         * sysdeps/x86_64/wcscmp.S: Update.
48306         Fix wrong comparison semantics.
48307         wcscmp shall use signed comparison not unsigned.
48308         Don't use substraction to avoid overflow bug.
48309         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48310         * wcsmbc/wcscmp.c: Likewise.
48311         * string/test-strcmp.c: Likewise.
48312         Add new tests to check cases with negative values.
48313
48314 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48315
48316         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48317         * sysdeps/x86_64/dla.h: ...here.  New file.
48318         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48327
48328 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48329
48330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48331         __ynl_finite aliases.
48332
48333 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48334
48335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48336
48337         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48338         define DLA_FMA.
48339         [DLA_FMA] (EMULV): Use DLA_FMA.
48340         [DLA_FMA] (MUL12): Use EMULV.
48341         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48342         that are not needed.
48343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48350
48351 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48352
48353         * math/s_nan.c: Undef __nan.
48354         * math/s_nanf.c: Undef __nanf.
48355         * math/s_nanl.c: Undef __nanl.
48356         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48357         "math_private.h".
48358
48359 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48360
48361         * math/s_catan.c: Add branch predictions.
48362         * math/s_catanf.c: Likewise.
48363         * math/s_catanh.c: Likewise.
48364         * math/s_catanhf.c: Likewise.
48365         * math/s_catanhl.c: Likewise.
48366         * math/s_catanl.c: Likewise.
48367         * math/s_cexp.c: Likewise.
48368         * math/s_cexpf.c: Likewise.
48369         * math/s_cexpl.c: Likewise.
48370         * math/s_clog.c: Likewise.
48371         * math/s_clog10.c: Likewise.
48372         * math/s_clog10f.c: Likewise.
48373         * math/s_clog10l.c: Likewise.
48374         * math/s_clogf.c: Likewise.
48375         * math/s_clogl.c: Likewise.
48376         * math/s_csqrt.c: Likewise.
48377         * math/s_csqrtf.c: Likewise.
48378         * math/s_csqrtl.c: Likewise.
48379         * math/s_ctanf.c: Likewise.
48380         * math/s_ctanh.c: Likewise.
48381         * math/s_ctanhf.c: Likewise.
48382         * math/s_ctanhl.c: Likewise.
48383         * math/s_ctanl.c: Likewise.
48384
48385         * math/math_private.h: Define __nan, __nanf, __nanl.
48386         * math/s_cacosh.c: Include <math_private.h>.
48387         * math/s_cacoshl.c: Likewise.
48388         * math/s_casinh.c: Likewise.
48389         * math/s_casinhf.c: Likewise.
48390         * math/s_casinhl.c: Likewise.
48391         * math/s_ccos.c: Rely entire on ccosh.
48392         * math/s_ccosf.c: Rely entire on ccoshf.
48393         * math/s_ccosl.c: Rely entirely on ccoshl.
48394         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48395         Remove tests for FE_INVALID.
48396         * math/s_ccoshf.c: Likewise.
48397         * math/s_ccoshl.c: Likewise.
48398         * math/s_csin.c: Likewise.
48399         * math/s_csinf.c: Likewise.
48400         * math/s_csinh.c Likewise.
48401         * math/s_csinhf.c: Likewise.
48402         * math/s_csinhl.c: Likewise.
48403         * math/s_csinl.c: Likewise.
48404         * math/s_ctan.c: Likewise.
48405         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48406         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48407         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48408
48409 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48410
48411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48412         compilation problems.
48413
48414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48415         __builtin_expect.
48416
48417 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48418
48419         * sysdeps/i386/configure.in: Test for -mfma4 option.
48420         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48421         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48422         COMMON_CPUID_INDEX_80000001.
48423         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48424         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48425         use it if FMA3 is not supported.
48426         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48427
48428         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48429         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48430
48431 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48432
48433         [BZ #12892]
48434         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48435         it would create a cycle with a link time dependency.
48436
48437 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48438
48439         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48440         instruction.
48441         * string/Makefile (strop-tests): Add rawmemchr.
48442         * string/test-rawmemchr.c: New file.
48443
48444         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48445         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48446         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48447         when compiling str{,n}casecmp and when AVX is available.  Hook up
48448         new optimized code in initializers.
48449
48450 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48451
48452         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48453         __feraiseexcept instead of feraiseexcept.
48454
48455 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48456
48457         * math/math_private.h: Define defaults for libc_fetestexcept and
48458         libc_feupdateenv.
48459         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48460         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48461         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48462         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48463         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48465         libc_fetestexcept and libc_feupdateenv.
48466
48467         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48468         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48469         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48470         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48471         libc_feholdexcept_setround.
48472
48473         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48474         Add s_nearbyint-c and s_nearbyintf-c.
48475         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48476         nearbyintf inlines.
48477         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48478         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48479         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48480         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48481
48482         * math/math_private.h: Define defaults for libc_fegetround,
48483         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48484         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48485         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48487         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48488         standard functions.
48489         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48490         Remove comments and hacks for old compiler versions.
48491         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48492         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48493         libc_feholdexceptl.
48494
48495 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48496
48497         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48498         (__feraiseexcept_renamed): Add __NTH.
48499         (feraiseexcept): Add __NTH.  Rename local variables to fix
48500         namespace violations.
48501
48502 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48503
48504         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48505
48506         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48507
48508         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48509         recently added interfaces.
48510         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48511
48512         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48513         about macro parameter expansion.
48514
48515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48516         __NO_MATH_INLINES is defined.  Cleanups.
48517
48518         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48519         and __floorf is target has SSE4.1.
48520         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48521         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48522         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48523         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48524
48525         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48526         name.
48527         (floorf): Likewise.
48528
48529         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48530
48531 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48532
48533         * misc/sys/cdefs.h: Fix last change.
48534
48535         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48536         database lookup.
48537
48538 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48539
48540         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48541
48542         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48544         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48545         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48546         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48547         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48548         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48549         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48550         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48551         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48552         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48553         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48554         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48555         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48556         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48557         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48558         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48559         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48560         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48561         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48562         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48563         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48564
48565         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48566         ceil, ceilf, floor, floorf.
48567
48568         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48569         Perform IRELATIVE relocations last.
48570
48571         * elf/do-rel.h: Add another parameter nrelative, replacing the
48572         local variable with the same name.  Change name of the function
48573         to end in Rel or Rela (uppercase).
48574         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48575         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48576         elf_dynamic_do_##reloc function.
48577
48578 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48579
48580         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48581         is sufficient, at least on modern CPUs.
48582
48583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48584
48585         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48587
48588         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48589         __expl_finite.
48590         * math/bits/math-finite.h: Add entries for exp.
48591         * math/e_expl.c: Add __*_finite alias.
48592         * sysdeps/i386/fpu/e_exp.S: Likewise.
48593         * sysdeps/i386/fpu/e_expf.S: Likewise.
48594         * sysdeps/i386/fpu/e_expl.c: Likewise.
48595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48596         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48599         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48600         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48601         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48602
48603         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48604         is sufficient, at least on modern CPUs.
48605
48606         * ctype/ctype-info.c (__ctype_init): Define.
48607         * include/ctype.h (__ctype_init): Declare.
48608         (__ctype_b_loc): The variable is always initialized.
48609         (__ctype_toupper_loc): Likewise.
48610         (__ctype_tolower_loc): Likewise.
48611         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48612         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48613
48614 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
48615
48616         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48617
48618         * configure.in: Also look in $cxxmachine/include for C++ system
48619         headers.
48620
48621 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48622
48623         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48624         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48625         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48626         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48627         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48628         (USE_AS_WMEMCMP): New macro.
48629         Fixing indents.
48630         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48631         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48632         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48633         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48635         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48636         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48637         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48638         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48639         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48641         (USE_AS_WMEMCMP): New macro.
48642         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48643         * sysdeps/string/test-memcmp.c: Update.
48644         Fix simple_wmemcmp.
48645         Add new tests.
48646         * wcsmbs/wmemcmp.c: Update.
48647         (WMEMCMP): New macro.
48648         Fix overflow bug.
48649
48650 2011-10-12  Andreas Jaeger  <aj@suse.de>
48651
48652         [BZ #13268]
48653         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48654
48655 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48656
48657         * libio/iofwide.c (do_length): Avoid warning.
48658
48659         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48660
48661 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48662
48663         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48664
48665         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48666         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48667         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48668         * sysdeps/i386/i686/fpu/e_log.S: New file.
48669         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48670         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48671
48672         * ctype/ctype.h: Add support for inlined isXXX functions when
48673         compiling C++ code.
48674
48675 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48676
48677         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48678
48679         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48680
48681 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48682
48683         [BZ #13291]
48684         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48685
48686 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48687
48688         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48689         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48690         feraiseexcept.
48691
48692         * sysdeps/x86_64/memrchr.S: Check for zero size.
48693
48694         * string/stratcliff.c: Add memrchr tests.
48695
48696 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48697
48698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48699         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48700         rawmemchr-sse2 rawmemchr-sse2-bsf.
48701         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48702         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48703         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48704         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48705         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48706         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48707         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48708         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48709         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48710         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48711         * string/memrchr.c (MEMRCHR): New macro.
48712
48713 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48714
48715         Add integration with gcc's -ffinite-math-only and optimize wrapper
48716         functions in libm.
48717         * Versions.def: Define GLIBC_2.15 version for libm.
48718         * math/Makefile (headers): Add bits/math-finite.h.
48719         * math/bits/math-finite.h: New file.
48720         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48721         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48722         * math/e_acoshl.c: Add __*_finite alias.
48723         * math/e_acosl.c: Likewise.
48724         * math/e_asinl.c: Likewise.
48725         * math/e_atan2l.c: Likewise.
48726         * math/e_atanhl.c: Likewise.
48727         * math/e_coshl.c: Likewise.
48728         * math/e_exp10.c: Likewise.
48729         * math/e_exp10f.c: Likewise.
48730         * math/e_exp10l.c: Likewise.
48731         * math/e_exp2l.c: Likewise.
48732         * math/e_fmodl.c: Likewise.
48733         * math/e_gammal_r.c: Likewise.
48734         * math/e_hypotl.c: Likewise.
48735         * math/e_j0l.c: Likewise.
48736         * math/e_j1l.c: Likewise.
48737         * math/e_jnl.c: Likewise.
48738         * math/e_lgammal_r.c: Likewise.
48739         * math/e_log10l.c: Likewise.
48740         * math/e_log2l.c: Likewise.
48741         * math/e_logl.c: Likewise.
48742         * math/e_powl.c: Likewise.
48743         * math/e_sinhl.c: Likewise.
48744         * math/e_sqrtl.c: Likewise.
48745         * math/e_scalb.c: Completely rewritten and optimized.
48746         * math/e_scalbf.c: Likewise.
48747         * math/e_scalbl.c: Likewise.
48748         * math/w_acos.c: Likewise.
48749         * math/w_acosf.c: Likewise.
48750         * math/w_acosl.c: Likewise.
48751         * math/w_acosh.c: Likewise.
48752         * math/w_acoshf.c: Likewise.
48753         * math/w_acoshl.c: Likewise.
48754         * math/w_asin.c: Likewise.
48755         * math/w_asinf.c: Likewise.
48756         * math/w_asinl.c: Likewise.
48757         * math/w_atan2.c: Likewise.
48758         * math/w_atan2f.c: Likewise.
48759         * math/w_atan2l.c: Likewise.
48760         * math/w_atanh.c: Likewise.
48761         * math/w_atanhf.c: Likewise.
48762         * math/w_atanhl.c: Likewise.
48763         * math/w_exp10.c: Likewise.
48764         * math/w_exp10f.c: Likewise.
48765         * math/w_exp10l.c: Likewise.
48766         * math/w_fmod.c: Likewise.
48767         * math/w_fmodf.c: Likewise.
48768         * math/w_fmodl.c: Likewise.
48769         * math/w_j0.c: Likewise.
48770         * math/w_j0f.c: Likewise.
48771         * math/w_j0l.c: Likewise.
48772         * math/w_j1.c: Likewise.
48773         * math/w_j1f.c: Likewise.
48774         * math/w_j1l.c: Likewise.
48775         * math/w_jn.c: Likewise.
48776         * math/w_jnf.c: Likewise.
48777         * math/w_log.c: Likewise.
48778         * math/w_logf.c: Likewise.
48779         * math/w_logl.c: Likewise.
48780         * math/w_log10.c: Likewise.
48781         * math/w_log10f.c: Likewise.
48782         * math/w_log10l.c: Likewise.
48783         * math/w_log2.c: Likewise.
48784         * math/w_log2f.c: Likewise.
48785         * math/w_log2l.c: Likewise.
48786         * math/w_pow.c: Likewise.
48787         * math/w_powf.c: Likewise.
48788         * math/w_powl.c: Likewise.
48789         * math/w_remainder.c: Likewise.
48790         * math/w_remainderf.c: Likewise.
48791         * math/w_remainderl.c: Likewise.
48792         * math/w_scalb.c: Likewise.
48793         * math/w_scalbf.c: Likewise.
48794         * math/w_scalbl.c: Likewise.
48795         * math/w_sqrt.c: Likewise.
48796         * math/w_sqrtf.c: Likewise.
48797         * math/w_sqrtl.c: Likewise.
48798         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48799         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48800         used.
48801         * math/math_private.h: Declare __kernel_standard_f.
48802         * math/w_cosh.c: Remove cruft and optimize a bit.
48803         * math/w_coshf.c: Likewise.
48804         * math/w_coshl.c: Likewise.
48805         * math/w_exp2.c: Likewise.
48806         * math/w_exp2f.c: Likewise.
48807         * math/w_exp2l.c: Likewise.
48808         * math/w_hypot.c: Likewise.
48809         * math/w_hypotf.c: Likewise.
48810         * math/w_hypotl.c: Likewise.
48811         * math/w_lgamma.c: Likewise.
48812         * math/w_lgamma_r.c: Likewise.
48813         * math/w_lgammaf.c: Likewise.
48814         * math/w_lgammaf_r.c: Likewise.
48815         * math/w_lgammal.c: Likewise.
48816         * math/w_lgammal_r.c: Likewise.
48817         * math/w_sinh.c: Likewise.
48818         * math/w_sinhf.c: Likewise.
48819         * math/w_sinhl.c: Likewise.
48820         * math/w_tgamma.c: Likewise.
48821         * math/w_tgammaf.c: Likewise.
48822         * math/w_tgammal.c: Likewise.
48823         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48824         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48825         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48826         Minor optimizations.  Pretty printing.  Remove cruft.
48827         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48828         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48829         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48830         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48831         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48832         * sysdeps/i386/fpu/e_asin.S: Likewise.
48833         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48834         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48835         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48836         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48837         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48838         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48839         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48840         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48841         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48842         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48843         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48844         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48845         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48846         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48847         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48848         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48849         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48850         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48851         * sysdeps/i386/fpu/e_log.S: Likewise.
48852         * sysdeps/i386/fpu/e_log10.S: Likewise.
48853         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48854         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48855         * sysdeps/i386/fpu/e_log2.S: Likewise.
48856         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48858         * sysdeps/i386/fpu/e_logf.S: Likewise.
48859         * sysdeps/i386/fpu/e_logl.S: Likewise.
48860         * sysdeps/i386/fpu/e_pow.S: Likewise.
48861         * sysdeps/i386/fpu/e_powf.S: Likewise.
48862         * sysdeps/i386/fpu/e_powl.S: Likewise.
48863         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48864         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48865         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48866         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48867         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48868         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48869         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48870         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48871         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48872         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48873         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48874         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48875         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48876         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48877         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48878         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48879         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48880         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48881         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48882         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48883         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48884         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48886         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48889         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48892         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48893         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48894         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48895         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48896         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48897         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48898         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48899         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48900         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48901         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48902         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48903         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48904         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48906         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48907         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48908         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48909         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48910         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48911         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48912         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48913         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48914         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48915         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48916         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48917         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48918         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48919         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48920         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48921         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48922         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48925         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48927         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48928         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48929         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48930         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48931         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48932         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48946         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48948         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48949         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48950         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48951         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48952         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48953         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48955         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48956         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48957         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48961         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48962         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48963         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48964         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48965         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48966         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48967         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48968         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48969         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48970         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48971         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48972         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48973         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48974         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48975         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48977         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48978         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48979         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48980         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48981         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48982         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48983         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48984         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48985         (__isnanf): Likewise.
48986         (__isinf_ns): Likewise.
48987         (__isinf_nsf): Likewise.
48988         (__finite): Likewise.
48989         (__finitef): Likewise.
48990         (__ieee754_sqrt): Define as macro.
48991         (__ieee754_sqrtf): Define as macro.
48992         (__ieee754_sqrtl): Define as macro.
48993         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48994         inlined copy.
48995         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48996         __FINITE_MATH_ONLY__ consistent.
48997         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48998
48999 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49000
49001         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49002         of rawmemchr.
49003
49004         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49005
49006 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49007
49008         * po/ja.po: Update from translation team.
49009
49010 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49011
49012         * locale/programs/locarchive.c (prepare_address_space): New function.
49013         (create_archive, enlarge_archive, open_archive): Use it.
49014
49015         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49016         inside [SHARED], where it is used.
49017
49018         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49019
49020         * nss/getent.c (netgroup_keys): Remove unused variable.
49021         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49022
49023 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49024
49025         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49026         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49027         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49028         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49029         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49030         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49031         * math/Makefile (libm-calls): Add s_isinf_ns.
49032         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49033         * math/multc3.c: Likewise.
49034         * math/s_casin.c: Likewise.
49035         * math/s_casinf.c: Likewise.
49036         * math/s_casinl.c: Likewise.
49037         * math/s_ccos.c: Likewise.
49038         * math/s_ccosf.c: Likewise.
49039         * math/s_ccosl.c: Likewise.
49040         * math/s_ctan.c: Likewise.
49041         * math/s_ctanf.c: Likewise.
49042         * math/s_ctanh.c: Likewise.
49043         * math/s_ctanhf.c: Likewise.
49044         * math/s_ctanhl.c: Likewise.
49045         * math/s_ctanl.c: Likewise.
49046         * math/w_fmod.c: Likewise.
49047         * math/w_fmodf.c: Likewise.
49048         * math/w_fmodl.c: Likewise.
49049         * math/w_remainder.c: Likewise.
49050         * math/w_remainderf.c: Likewise.
49051         * math/w_remainderl.c: Likewise.
49052         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49053         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49056         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49057         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49058         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49059         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49060
49061         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49062         of the number.
49063         * stdio-common/printf_fphex.c: Likewise.
49064         * stdio-common/printf_size.c: Likewise.
49065
49066         * math/e_exp10.c: Include math_private.h using <...> not "...".
49067         * math/e_exp10f.c: Likewise.
49068         * math/e_exp10l.c: Likewise.
49069         * math/e_exp2l.c: Likewise.
49070         * math/e_j0l.c: Likewise.
49071         * math/e_j1l.c: Likewise.
49072         * math/e_jnl.c: Likewise.
49073         * math/e_lgammal_r.c: Likewise.
49074         * math/e_rem_pio2l.c: Likewise.
49075         * math/e_scalb.c: Likewise.
49076         * math/e_scalbf.c: Likewise.
49077         * math/e_scalbl.c: Likewise.
49078         * math/k_cosl.c: Likewise.
49079         * math/k_sinl.c: Likewise.
49080         * math/k_tanl.c: Likewise.
49081         * math/s_cacoshf.c: Likewise.
49082         * math/s_catan.c: Likewise.
49083         * math/s_catanf.c: Likewise.
49084         * math/s_catanh.c: Likewise.
49085         * math/s_catanhf.c: Likewise.
49086         * math/s_catanhl.c: Likewise.
49087         * math/s_catanl.c: Likewise.
49088         * math/s_ccosh.c: Likewise.
49089         * math/s_ccoshf.c: Likewise.
49090         * math/s_ccoshl.c: Likewise.
49091         * math/s_cexp.c: Likewise.
49092         * math/s_cexpf.c: Likewise.
49093         * math/s_cexpl.c: Likewise.
49094         * math/s_clog.c: Likewise.
49095         * math/s_clog10.c: Likewise.
49096         * math/s_clog10f.c: Likewise.
49097         * math/s_clog10l.c: Likewise.
49098         * math/s_clogf.c: Likewise.
49099         * math/s_clogl.c: Likewise.
49100         * math/s_csin.c: Likewise.
49101         * math/s_csinf.c: Likewise.
49102         * math/s_csinh.c: Likewise.
49103         * math/s_csinhf.c: Likewise.
49104         * math/s_csinhl.c: Likewise.
49105         * math/s_csinl.c: Likewise.
49106         * math/s_csqrt.c: Likewise.
49107         * math/s_csqrtf.c: Likewise.
49108         * math/s_csqrtl.c: Likewise.
49109         * math/s_ctan.c: Likewise.
49110         * math/s_ctanf.c: Likewise.
49111         * math/s_ctanh.c: Likewise.
49112         * math/s_ctanhf.c: Likewise.
49113         * math/s_ctanhl.c: Likewise.
49114         * math/s_ctanl.c: Likewise.
49115         * math/s_ldexp.c: Likewise.
49116         * math/s_ldexpf.c: Likewise.
49117         * math/s_ldexpl.c: Likewise.
49118         * math/s_significand.c: Likewise.
49119         * math/s_significandf.c: Likewise.
49120         * math/s_significandl.c: Likewise.
49121         * math/w_acos.c: Likewise.
49122         * math/w_acosf.c: Likewise.
49123         * math/w_acosh.c: Likewise.
49124         * math/w_acoshf.c: Likewise.
49125         * math/w_acoshl.c: Likewise.
49126         * math/w_acosl.c: Likewise.
49127         * math/w_asin.c: Likewise.
49128         * math/w_asinf.c: Likewise.
49129         * math/w_asinl.c: Likewise.
49130         * math/w_atan2.c: Likewise.
49131         * math/w_atan2f.c: Likewise.
49132         * math/w_atan2l.c: Likewise.
49133         * math/w_atanh.c: Likewise.
49134         * math/w_atanhf.c: Likewise.
49135         * math/w_atanhl.c: Likewise.
49136         * math/w_cosh.c: Likewise.
49137         * math/w_coshf.c: Likewise.
49138         * math/w_coshl.c: Likewise.
49139         * math/w_dremf.c: Likewise.
49140         * math/w_exp10.c: Likewise.
49141         * math/w_exp10f.c: Likewise.
49142         * math/w_exp10l.c: Likewise.
49143         * math/w_exp2.c: Likewise.
49144         * math/w_exp2f.c: Likewise.
49145         * math/w_fmod.c: Likewise.
49146         * math/w_fmodf.c: Likewise.
49147         * math/w_fmodl.c: Likewise.
49148         * math/w_hypot.c: Likewise.
49149         * math/w_hypotf.c: Likewise.
49150         * math/w_hypotl.c: Likewise.
49151         * math/w_j0.c: Likewise.
49152         * math/w_j0f.c: Likewise.
49153         * math/w_j0l.c: Likewise.
49154         * math/w_j1.c: Likewise.
49155         * math/w_j1f.c: Likewise.
49156         * math/w_j1l.c: Likewise.
49157         * math/w_jn.c: Likewise.
49158         * math/w_jnf.c: Likewise.
49159         * math/w_jnl.c: Likewise.
49160         * math/w_lgamma.c: Likewise.
49161         * math/w_lgamma_r.c: Likewise.
49162         * math/w_lgammaf.c: Likewise.
49163         * math/w_lgammaf_r.c: Likewise.
49164         * math/w_lgammal.c: Likewise.
49165         * math/w_lgammal_r.c: Likewise.
49166         * math/w_log.c: Likewise.
49167         * math/w_log10.c: Likewise.
49168         * math/w_log10f.c: Likewise.
49169         * math/w_log10l.c: Likewise.
49170         * math/w_log2.c: Likewise.
49171         * math/w_log2f.c: Likewise.
49172         * math/w_log2l.c: Likewise.
49173         * math/w_logf.c: Likewise.
49174         * math/w_logl.c: Likewise.
49175         * math/w_pow.c: Likewise.
49176         * math/w_powf.c: Likewise.
49177         * math/w_powl.c: Likewise.
49178         * math/w_remainder.c: Likewise.
49179         * math/w_remainderf.c: Likewise.
49180         * math/w_remainderl.c: Likewise.
49181         * math/w_scalb.c: Likewise.
49182         * math/w_scalbf.c: Likewise.
49183         * math/w_scalbl.c: Likewise.
49184         * math/w_sinh.c: Likewise.
49185         * math/w_sinhf.c: Likewise.
49186         * math/w_sinhl.c: Likewise.
49187         * math/w_sqrt.c: Likewise.
49188         * math/w_sqrtf.c: Likewise.
49189         * math/w_sqrtl.c: Likewise.
49190         * math/w_tgamma.c: Likewise.
49191         * math/w_tgammaf.c: Likewise.
49192         * math/w_tgammal.c: Likewise.
49193
49194         * po/ja.po: Update from translation team.
49195
49196 2011-09-29  Andreas Jaeger  <aj@suse.de>
49197
49198         [BZ #13179]
49199         * sunrpc/netname.c (netname2host): Fix logic.
49200
49201         [BZ #6779]
49202         [BZ #6783]
49203         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49204         correctly.
49205         * math/w_remainder.c (__remainder): Likewise.
49206         * math/w_remainderf.c (__remainderf): Likewise.
49207         * math/libm-test.inc (remainder_test): Add test cases.
49208
49209 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49210
49211         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49212         sdiv_qrnnd.
49213
49214 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49215
49216         * string/test-memcmp.c: Avoid unncessary #defines.
49217         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49218
49219 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49220
49221         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49222         Use new sse2 version for core i3 - i7 as it's faster
49223         than sse42 version.
49224         (bit_Prefer_PMINUB_for_stringop): New.
49225         * sysdeps/x86_64/rawmemchr.S: Update.
49226         Replace with faster SSE2 version.
49227         * sysdeps/x86_64/memrchr.S: New file.
49228         * sysdeps/x86_64/memchr.S: Update.
49229         Replace with faster SSE2 version.
49230
49231 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49232
49233         * elf/dl-load.c (lose): Add cast to avoid warning.
49234
49235 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49236
49237         * po/ca.po: Update from translation team.
49238
49239         * inet/getnetgrent_r.c: Hook up nscd.
49240         * nscd/Makefile (routines): Add nscd_netgroup.
49241         (nscd-modules): Add netgroupcache.
49242         (CFLAGS-netgroupcache.c): Define.
49243         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49244         (cache_search): Add const to second parameter.
49245         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49246         INNETGR.
49247         (dbs): Add netgrdb entry.
49248         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49249         (verify_persistent_db): Handle netgrdb.
49250         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49251         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49252         GETFDNETGR.
49253         (netgroup_response_header): Define.
49254         (innetgroup_response_header): Define.
49255         (datahead): Add netgroup_response_header and innetgroup_response_header
49256         elements.
49257         * nscd/nscd.conf: Add entries for netgroup cache.
49258         * nscd/nscd.h (dbtype): Add netgrdb.
49259         (_PATH_NSCD_NETGROUP_DB): Define.
49260         (netgroup_iov_disabled): Declare.
49261         (xmalloc, xcalloc, xrealloc): Move declarations here.
49262         (cache_search): Adjust prototype.
49263         Add netgroup-related prototypes.
49264         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49265         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49266         (__nscd_innetgr): Declare.
49267         * nscd/selinux.c (perms): Use access_vector_t as element type and
49268         add netgroup-related initializers.
49269         * nscd/netgroupcache.c: New file.
49270         * nscd/nscd_netgroup.c: New file.
49271         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49272         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49273         For four parameters use innetgr.
49274         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49275         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49276         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49277         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49278
49279         * nscd/connections.c (register_traced_file): Don't register file
49280         for disabled databases.
49281
49282 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49283
49284         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49285
49286         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49287         from tree and freeing node.
49288
49289 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49290
49291         * nss/nsswitch.c (__nss_database_lookup): Handle
49292         nss_parse_service_list out of memory case.
49293
49294 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49295
49296         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49297         out of memory case.
49298
49299 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49300
49301         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49302         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49303         pass it down.
49304         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49305         elf_machine_rela, elf_machine_lazy_rel.
49306         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49307         (ELF_DYNAMIC_DO_REL): Likewise.
49308         (ELF_DYNAMIC_DO_RELA): Likewise.
49309         (ELF_DYNAMIC_RELOCATE): Likewise.
49310         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49311         to ELF_DYNAMIC_DO_REL.
49312         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49313         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49314         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49315         elf_machine_rela.
49316         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49317         skip_ifunc, don't call ifunc function if non-zero.
49318         (elf_machine_rela): Likewise.
49319         (elf_machine_lazy_rel): Likewise.
49320         (elf_machine_lazy_rela): Likewise.
49321         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49322         (elf_machine_lazy_rel): Likewise.
49323         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49324         Likewise.
49325         (elf_machine_lazy_rel): Likewise.
49326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49327         Likewise.
49328         (elf_machine_lazy_rel): Likewise.
49329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49330         (elf_machine_lazy_rel): Likewise.
49331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49332         (elf_machine_lazy_rel): Likewise.
49333         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49334         (elf_machine_lazy_rel): Likewise.
49335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49336         (elf_machine_lazy_rel): Likewise.
49337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49338         (elf_machine_lazy_rel): Likewise.
49339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49340         (elf_machine_lazy_rel): Likewise.
49341
49342 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49343
49344         * nss/nss_files/files-init.c (_nss_files_init): Use static
49345         initialization for all the *_traced_file variables.
49346
49347 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49348
49349         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49350
49351 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49352
49353         [BZ #13226]
49354         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49355
49356 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49357
49358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49359         Reread the line before reparsing it.
49360
49361 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49362
49363         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49364
49365 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49366             Maxim Kuvyrkov  <maxim@codesourcery.com>
49367             Joseph Myers  <joseph@codesourcery.com>
49368
49369         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49370         if needed for __stack_chk_guard.
49371
49372 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49373
49374         * sysdeps/posix/spawni.c (script_execute): Always define it.
49375         It will be optimized away if unused.
49376         (maybe_script_execute): New function.
49377         (__spawni): Call it.
49378
49379         * Makerules: Don't include tls.make.
49380         (config-tls): Always set to thread.
49381         * tls.make.c: File removed.
49382
49383 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49384
49385         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49386         * config.make.in (CPPFLAGS-config): New substituted variable.
49387
49388 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49389
49390         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49391
49392         [BZ #13192]
49393         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49394         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49395
49396 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49397
49398         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49399         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49401         (CALL_FAIL): Likewise.
49402         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49403         (CALL_FAIL): Macro removed.
49404         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49405
49406 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49407
49408         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49409         for __FINITE_MATH_ONLY__ == 1.
49410
49411 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49412
49413         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49414         __ieee754_sqrt instead of sqrt.
49415         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49416         __ieee754_sqrtf instead of sqrtf.
49417         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49418         __floorf instead of floorf.
49419         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49420         __floorf, __truncf instead of floorf, truncf.
49421
49422 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49423
49424         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49425
49426         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49427         __extern_always_inline.
49428         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49429         32-bit.
49430
49431 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49432
49433         * elf/rtld.c (dl_main): Also relocate in dependency order when
49434         doing symbol dependency testing.
49435
49436 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49437
49438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49439         Always define `refsym'.
49440
49441 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49442
49443         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49444         (__FD_ELT): Renamed from __FDELT.
49445         * misc/bits/select2.h (__FD_ELT): Likewise.
49446         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49447         __FD_MASK instead of __FDELT, __FDMASK.
49448         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49449         Likewise.
49450         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49451         Likewise.
49452
49453         * elf/Makefile (gen-ldd): Fix pattern.
49454
49455         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49456         (init_tls): Likewise.
49457
49458 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49459
49460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49461
49462 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49463
49464         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49465         `struct cmsghdr *' instead of `void *'.
49466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49467         Likewise.
49468
49469 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49470
49471         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49472         if non-absolute.
49473         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49474         ldd_rewrite_script.
49475
49476 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49477
49478         * configure.in: Remove --with-tls option.
49479         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49480         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49481         out in case it is missing.
49482         * sysdeps/ia64/elf/configure.in: Likewise.
49483         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49484         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49485         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49486         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49487         * sysdeps/sh/elf/configure.in: Likewise.
49488         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49489         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49490         * sysdeps/x86_64/elf/configure.in: Likewise.
49491         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49492         * sysdeps/mach/hurd/tls.h: Likewise.
49493
49494         [BZ #13067]
49495         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49496
49497         [BZ #13090]
49498         * configure.in: Fix use of AC_INIT.
49499
49500         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49501
49502 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49503
49504         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49505         __set_errno.
49506         * malloc/hooks.c: Likewise.
49507
49508         [BZ #11929]
49509         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49510         variables statically.
49511         (narenas): Initialize.
49512         (list_lock): Initialize.
49513         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49514         initializtion of main_arena and list_lock.  Small cleanups.
49515         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49516         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49517         Add initializers to main_arena and mp_.
49518         (malloc_state): Remove pagesize member.  Change all users to use
49519         GLRO(dl_pagesize).
49520
49521         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49522         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49523         is always initialized.
49524
49525         * malloc/malloc.c: Removed unused configurations and dead code.
49526         * malloc/arena.c: Likewise.
49527         * malloc/hooks.c: Likewise.
49528         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49529
49530         * include/tls.h: Removed.  USE___THREAD must always be defined.
49531         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49532         * elf/dl-libc.c: Likewise.
49533         * elf/dl-tsd.c: Likewise.
49534         * include/errno.h: Likewise.
49535         * include/netdb.h: Likewise.
49536         * include/resolv.h: Likewise.
49537         * inet/herrno-loc.c: Likewise.
49538         * inet/herrno.c: Likewise.
49539         * malloc/arena.c: Likewise.
49540         * malloc/hooks.c: Likewise.
49541         * malloc/malloc.c: Likewise.
49542         * resolv/res-state.c: Likewise.
49543         * resolv/res_libc.c: Likewise.
49544         * sysdeps/i386/dl-machine.h: Likewise.
49545         * sysdeps/ia64/dl-machine.h: Likewise.
49546         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49548         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49549         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49550         * sysdeps/sh/dl-machine.h: Likewise.
49551         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49552         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49553         * sysdeps/unix/i386/sysdep.S: Likewise.
49554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49555         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49558         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49560         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49564         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49565         * sysdeps/x86_64/dl-machine.h: Likewise.
49566         * tls.make.c: Likewise.
49567
49568         * configure.in: Remove --with-__thread option.  Make tests for
49569         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49570         tls_model attribute fail if no support is available.  Remove
49571         USE_IN_LIBIO.
49572         * Makeconfig: Adjust for dropped configure option.  All features are
49573         now mandatory.
49574         * Makerules: Likewise.
49575         * Versions.def: Likewise.
49576         * argp/argp-fmtstream.c: Likewise.
49577         * argp/argp-fmtstream.h: Likewise.
49578         * argp/argp-help.c: Likewise.
49579         * assert/assert.c: Likewise.
49580         * config.h.in: Likewise.
49581         * config.make.in: Likewise.
49582         * configure: Likewise.
49583         * configure.in: Likewise.
49584         * csu/Versions: Likewise.
49585         * csu/init.c: Likewise.
49586         * elf/tst-audit2.c: Likewise.
49587         * elf/tst-tls10.c: Likewise.
49588         * elf/tst-tls10.h: Likewise.
49589         * elf/tst-tls11.c: Likewise.
49590         * elf/tst-tls12.c: Likewise.
49591         * elf/tst-tls14.c: Likewise.
49592         * elf/tst-tlsmod11.c: Likewise.
49593         * elf/tst-tlsmod12.c: Likewise.
49594         * elf/tst-tlsmod13.c: Likewise.
49595         * elf/tst-tlsmod13a.c: Likewise.
49596         * elf/tst-tlsmod14a.c: Likewise.
49597         * elf/tst-tlsmod15b.c: Likewise.
49598         * elf/tst-tlsmod16a.c: Likewise.
49599         * elf/tst-tlsmod16b.c: Likewise.
49600         * elf/tst-tlsmod7.c: Likewise.
49601         * elf/tst-tlsmod8.c: Likewise.
49602         * elf/tst-tlsmod9.c: Likewise.
49603         * gmon/gmon.c: Likewise.
49604         * grp/fgetgrent_r.c: Likewise.
49605         * grp/putgrent.c: Likewise.
49606         * hurd/fopenport.c: Likewise.
49607         * include/libc-symbols.h: Likewise.
49608         * include/tls.h: Likewise.
49609         * intl/gettextP.h: Likewise.
49610         * intl/loadinfo.h: Likewise.
49611         * locale/global-locale.c: Likewise.
49612         * locale/localeinfo.h: Likewise.
49613         * mach/devstream.c: Likewise.
49614         * malloc/arena.c: Likewise.
49615         * malloc/set-freeres.c: Likewise.
49616         * misc/err.c: Likewise.
49617         * misc/getttyent.c: Likewise.
49618         * misc/mntent_r.c: Likewise.
49619         * posix/getopt.c: Likewise.
49620         * posix/wordexp.c: Likewise.
49621         * pwd/fgetpwent_r.c: Likewise.
49622         * resolv/Versions: Likewise.
49623         * resolv/res_hconf.c: Likewise.
49624         * shadow/fgetspent_r.c: Likewise.
49625         * shadow/putspent.c: Likewise.
49626         * stdio-common/printf_fphex.c: Likewise.
49627         * stdio-common/tmpfile.c: Likewise.
49628         * stdlib/abort.c: Likewise.
49629         * stdlib/fmtmsg.c: Likewise.
49630         * sunrpc/auth_unix.c: Likewise.
49631         * sunrpc/clnt_perr.c: Likewise.
49632         * sunrpc/clnt_tcp.c: Likewise.
49633         * sunrpc/clnt_udp.c: Likewise.
49634         * sunrpc/clnt_unix.c: Likewise.
49635         * sunrpc/openchild.c: Likewise.
49636         * sunrpc/svc_simple.c: Likewise.
49637         * sunrpc/svc_tcp.c: Likewise.
49638         * sunrpc/svc_udp.c: Likewise.
49639         * sunrpc/svc_unix.c: Likewise.
49640         * sunrpc/xdr.c: Likewise.
49641         * sunrpc/xdr_array.c: Likewise.
49642         * sunrpc/xdr_rec.c: Likewise.
49643         * sunrpc/xdr_ref.c: Likewise.
49644         * sunrpc/xdr_stdio.c: Likewise.
49645
49646 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49647
49648         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49649
49650 2011-07-03  Andreas Jaeger  <aj@suse.de>
49651
49652         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49653         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49654         regenerate with gen-libm-tests.pl.
49655
49656 2010-05-12  Petr Baudis  <pasky@suse.cz>
49657
49658         [BZ #11589]
49659         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49660         around j0() zero points by switching to j1().
49661         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49665
49666 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49667
49668         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49669         instead of 0.
49670         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49671         instead of 0.
49672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49673         Patch in part by Pavel Roskin <proski@gnu.org>.
49674
49675         [BZ #13138]
49676         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49677         realloc.
49678         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49679         Free memory block if necessary.
49680
49681         [BZ #12847]
49682         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49683         be NULL.  Don't lock in this case.
49684
49685 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49686
49687         * elf/elf.h (ELFOSABI_GNU): New macro.
49688         (ELFOSABI_LINUX): Define to that.
49689
49690 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49691
49692         * string/strncat.c (strncat): Undef the symbol in case it has been
49693         defined in bits/string.h.
49694
49695 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49696
49697         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49698
49699         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49700         link map.
49701
49702 2011-08-17  Andreas Jaeger  <aj@suse.de>
49703
49704         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49705
49706 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49707             Ian Lance Taylor  <iant@google.com>
49708
49709         * math/libm-test.inc (lround_test): New testcase.
49710         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49711
49712 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49713
49714         * Makefile: Remove support for automatic cvs check-ins.
49715         * Makerules: Likewise.
49716         * config.make.in: Likewise.
49717         * configure.in: Likewise.
49718         * intl/Makefile: Likewise.
49719         * locale/Makefile: Likewise.
49720         * po/Makefile: Likewise.
49721         * posix/Makefile: Likewise.
49722         * sysdeps/gnu/Makefile: Likewise.
49723         * sysdeps/mach/hurd/Makefile: Likewise.
49724         * sysdeps/sparc/sparc32/Makefile: Likewise.
49725
49726         [BZ #13118]
49727         * posix/Makefile (bug-regex32-ENV): Define.
49728         Patch by John Stanley <jpsinthemix@verizon.net>.
49729
49730         * misc/Makefile (headers): Add bits/select2.h.
49731         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49732         * misc/bits/select2.h: New file.
49733         * include/bits/select2.h: New file.
49734         * debug/Makefile (routines): Add fdelt_chk.
49735         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49736         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49737         FD_ISSET.
49738         * debug/fdelt_chk.c: New file.
49739
49740         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49741         * wcsmbs/test-wmemcmp.c: Likewise.
49742         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49743         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49744
49745 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49746
49747         * string/Makefile (strop-tests): Add memcmp.
49748         * string/test-wmemcmp.c: New file.
49749         * string/test-memcmp.c: Add wmemcmp support.
49750
49751 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49752
49753         [BZ #13153]
49754         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49755         2011-07-19 change.
49756
49757         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49758         garbage value in a __mach_port_mod_refs call in the cases of the
49759         task-self and thread-self ports.
49760
49761 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49762
49763         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49764
49765 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49766
49767         * elf/dl-load.c (lose): Check for non-null L.
49768
49769 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49770
49771         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49772
49773         * elf/dl-libc.c (dlerror_run): Pass back error code from
49774         dl_catch_error.
49775
49776         [BZ #13123]
49777         * elf/dl-load.c (lose): Free l_origin if it is valid.
49778
49779         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49780         names.
49781         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49782         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49783         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49784         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49785         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49786         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49787
49788 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49789
49790         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49791         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49792         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49793         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49794         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49795         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49796         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49797         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49798         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49799         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49800
49801 2011-08-15  Alan Modra  <amodra@gmail.com>
49802
49803         [BZ #13092]
49804         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49805         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49806         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49807         ppc_mcount to static-only-routines.
49808         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49809         __mcount_internal.
49810         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49811         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49812
49813 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49814
49815         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49816         for finite and infinity parameters.
49817
49818 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49819
49820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49821         and add nop instructions for throughput optimization.
49822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49823
49824 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49825
49826         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49827         aligned copy for power7 with vector-scalar instructions.
49828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49829
49830 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49831
49832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49833         AVX check.
49834
49835 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49836
49837         [BZ #13144]
49838         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49839         last change.
49840
49841 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49842
49843         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49844         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49845         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49847         clock_gettime.
49848
49849 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49850
49851         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49852         Forgot to demangle the pointer.
49853
49854         * sysdeps/i386/sysdep.h: Define atom_text_section.
49855         * sysdeps/x86_64/sysdep.h: Likewise.
49856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49857         section with atom_text_section.
49858         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49859         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49860         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49862         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49863
49864         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49865         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49866         already be defined.  Change to take two parameters and don't assign
49867         result to variable.  Adjust all users.
49868         Define INTERNAL_GETTIME if not already defined.
49869         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49870         call.
49871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49872         HAVE_CLOCK_GETTIME_VSYSCALL.
49873         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49874
49875         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49876         gettimeofday vsyscall, just use time.
49877
49878 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49879
49880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49881         <errno.h>.
49882
49883 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49884
49885         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49886         syscall on x86-64.
49887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49888         syscall.
49889         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49891         syscall if possible.
49892
49893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49894
49895         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49896         e_ident.  Don't pass to find_mapsXX.
49897         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49898
49899 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49900
49901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49902         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49903         * sysdeps/x86_64/multiarch/strchr.S: Update.
49904         Check bit_slow_BSF bit.
49905         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49906         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49907         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49908
49909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49910
49911         [BZ #13134]
49912         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49913         before glibc 2.15.
49914         (tryshell): Define.
49915         (__spawni): Change last parameter to be flag.  Test
49916         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49917         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49918         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49919         * posix/spawni.c: Likewise.
49920         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49921         * posix/spawnp.c: Likewise.  Change normal version to use
49922         SPAWN_XFLAGS_USE_PATH.
49923         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49924         SPAWN_XFLAGS_TRY_SHELL.
49925
49926         [BZ #13150]
49927         * posix/glob.h: Remove gcc 1.x support.
49928
49929         [BZ #13068]
49930         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49931
49932 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49933
49934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49935         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49936         strrchr-sse2-bsf
49937         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49938         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49939         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49940         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49943
49944 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49945
49946         * sysdeps/x86_64/wcscmp.S: New file.
49947
49948         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49949         wcscmp-c wcscmp-sse2
49950         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49951         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49952         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49953         * wcsmbs/wcscmp.c: Allow renaming.
49954
49955 2011-09-05  David S. Miller  <davem@davemloft.net>
49956
49957         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49958         stack slot, rather than the struct return pointer slot.
49959         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49960         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49962         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49963
49964 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49965
49966         * po/ja.po: Update from translation team.
49967
49968         [BZ #13144]
49969         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49970         kernel in 64-bit binaries.
49971
49972 2011-09-01  David S. Miller  <davem@davemloft.net>
49973
49974         * elf/elf.h (HWCAP_SPARC_*): Move to..
49975         * sysdeps/sparc/sysdep.h: this new file and add new values.
49976         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49977         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49978         _DL_HWCAP_COUNT to 24.
49979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49980         entries.
49981         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49982         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49983         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49985         instead of magic constants.
49986         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49987
49988 2011-08-31  David S. Miller  <davem@davemloft.net>
49989
49990         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49992         Reimplement to do errno handling inline.
49993         (SYSCALL_ERROR_HANDLER): New macro.
49994         (__SYSCALL_STRING): Do not do errno handling in asm.
49995         (__CLONE_SYSCALL_STRING): Delete.
49996         (__INTERNAL_SYSCALL_STRING): Delete.
49997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49998         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49999         (PSEUDO): Reimplement to do errno handling inline.
50000         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50001         (SYSCALL_ERROR_HANDLER): New macro.
50002         (__SYSCALL_STRING): Do not do errno handling in asm.
50003         (__CLONE_SYSCALL_STRING): Delete.
50004         (__INTERNAL_SYSCALL_STRING): Delete.
50005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50006         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50007         i386.
50008         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50009         (inline_syscall*): Add 'err' argument.
50010         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50011         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50012         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50013         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50014
50015         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50016         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50017
50018 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50019
50020         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50021
50022 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50023
50024         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50025         directive.
50026
50027 2011-08-24  David S. Miller  <davem@davemloft.net>
50028
50029         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50030
50031 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50032
50033         * elf/Makefile: Add rules to build and run unload8 test.
50034         * elf/unload8.c: New file.
50035         * elf/unload8mod1.c: New file.
50036         * elf/unload8mod1x.c: New file.
50037         * elf/unload8mod2.c: New file.
50038         * elf/unload8mod3.c: New file.
50039
50040         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50041         it wasn't used.
50042
50043 2011-08-23  David S. Miller  <davem@davemloft.net>
50044
50045         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50046         subtract stack bias.
50047         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50048         %sp not %fp in calculations.
50049         (_JMPBUF_UNWINDS_ADJ): Likewise.
50050
50051         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50052         (aio_suspend): Call it to force an exception region around the
50053         AIO_MISC_WAIT() invocation.
50054
50055 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50056
50057         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50058         backslash.
50059
50060 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50061
50062         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50063         protection macro.
50064         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50065         and <dl-machine.h>.
50066         (Elf64_FuncDesc): Remove.
50067
50068 2011-08-22  David S. Miller  <davem@davemloft.net>
50069
50070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50071         sigaltstack check, add missing cfi directives.
50072         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50073         missing cfi directives, and sigaltstack handling.
50074
50075 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50076
50077         [BZ #11724]
50078         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50079         object is seen twice.
50080         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50081
50082         * elf/Makefile (distribute): Add tst-initorder2.c.
50083         (tests): Add tst-initorder2.
50084         (modules-names): Add tst-initorder2a tst-initorder2b
50085         tst-initorder2c tst-initorder2d.  Add rules to build them.
50086         ($(objpfx)tst-initorder2.out): New rule.
50087         * elf/tst-initorder2.c: New file.
50088         * elf/tst-initorder2.exp: New file.
50089
50090 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50091
50092         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50093
50094         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50095         dependencies back to end of function.
50096
50097         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50098         $(elfobjdir)/ld.so.
50099
50100 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50101
50102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50103         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50104         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50105         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50106         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50107         of __vdso_gettimeofday.
50108         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50109         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50110         attribute_hidden.
50111         (_libc_vdso_platform_setup): Remove initialization of
50112         __vdso_gettimeofday and __vdso_time.
50113
50114 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50115
50116         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50117         and fgetc_unlocked.
50118         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50119         getc_unlocked.
50120
50121         * elf/dl-open.c (add_to_global): Report additions to the global scope
50122         for LD_DEBUG=scopes.
50123         (dl_open_worker): Also print scope of newly loaded dependencies.
50124         (_dl_show_scope): Indicate if there is no scope.
50125
50126         [BZ #13114]
50127         * stdio-common/Makefile (tests): Add bug24.
50128         * stdio-common/bug24.c: New file.
50129
50130 2011-08-19  Andreas Jaeger  <aj@suse.de>
50131
50132         [BZ #13114]
50133         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50134         non-existant file when using close-on-exec mode.
50135
50136 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50137
50138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50139         the very first instruction.
50140
50141         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50142         the CFI state in the end.
50143         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50144         inclusion of dl-trampoline.h.
50145         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50146
50147 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50148
50149         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50150         expectations for long double.
50151
50152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50153         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50154
50155 2011-08-14  David S. Miller  <davem@davemloft.net>
50156
50157         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50158         artificual limit depends upon the system page size.
50159
50160 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50161
50162         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50163         * resolv/Makefile: Define CFLAGS-libresolv.
50164
50165 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50166
50167         * nss/makedb.c (compute_tables): Make variables used in nested
50168         function static.
50169
50170 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50171
50172         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50173         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50174         if buffer was too small.
50175
50176         * elf/pldd.c (main): Attach to all threads in the process.
50177         Rewrite /proc handling to use *at functions.
50178
50179 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50180
50181         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50182         specifies first scope to show.
50183         (dl_open_worker): Update callers.  Move printing scope of new
50184         object to before the relocation.
50185         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50186         * sysdeps/generic/ldsodefs.h: Update declaration.
50187
50188         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50189         string for the scope number.
50190
50191 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50192
50193         * nscd/servicescache.c (cache_addserv): Make sure written is always
50194         initialized.
50195
50196 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50197
50198         * sysdeps/i386/i486/bits/atomic.h
50199         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50200         statement expression, so as to suppress "set but not used" warning.
50201         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50202
50203         * string/strncat.c (STRNCAT): Use prototype definition.
50204
50205         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50206         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50207         -Iprograms here.
50208         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50209         (localedef-modules): Add localedef.
50210         (locale-modules): Add locale.
50211
50212         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50213         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50214         to avoid a warning.
50215
50216 2011-08-14  David S. Miller  <davem@davemloft.net>
50217
50218         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50219         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50220
50221 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50222
50223         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50224         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50225         * elf/rtld.c (dl_main): Set l_name of vDSO.
50226         Call _dl_show_scope when DL_DEBUG_SCOPES.
50227         (process_dl_debug): Recognize scopes flag and also set it for all.
50228         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50229         Declare _dl_show_scope.
50230
50231         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50232         (do_dlopen): Pass caller_dlopen to dl_open.
50233         (__libc_dlopen_mode): Initialize caller_dlopen.
50234
50235         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50236         of libc.  Make tolower call locale-independent.  Optimize a bit by
50237         using isdigit instead of isalnum.
50238         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50239
50240 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50241
50242         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50243         was a dependency or dynamically loaded.
50244
50245 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50246
50247         * intl/l10nflist.c: Allow architecture-specific pop function.
50248         * sysdeps/x86_64/l10nflist.c: New file.
50249
50250         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50251         classification.
50252
50253 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50254
50255         * include/dirent.h: Add libc_hidden_proto for scandirat and
50256         scandirat64.  Don't declare __scandirat64.
50257         * dirent/scandirat.c: Add libc_hidden_def.
50258         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50259         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50260
50261 2011-08-10  David S. Miller  <davem@davemloft.net>
50262
50263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50264         enum.
50265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50268
50269 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50270
50271         * Versions.def [libc]: Add GLIBC_2.15.
50272         * dirent/Makefile (routines): Add scandirat and scandirat64.
50273         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50274         GLIBC_2.15.
50275         * dirent/dirent.h: Declare scandirat and scandirat64.
50276         * dirent/scandirat.c: New file.
50277         * dirent/scandirat64.c: New file.
50278         * sysdeps/wordsize-64/scandirat.c: New file.
50279         * sysdeps/wordsize-64/scandirat64.c: New file.
50280         * dirent/opendir.c: Define opendirat.
50281         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50282         using scandirat.
50283         * dirent/scandir64.c: Adjust for scandir.c change.
50284         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50285         __scandirat64, and __scandir_cancel_handler.
50286         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50287         additional parameter and use openat instead of open (outside of ld.so).
50288         Add new __opendir as wrapper around __opendirat.
50289         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50290         here without requiring old scandirat implementation.
50291
50292 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50293
50294         * dirent/scandir.c (cancel_handler): Renamed to
50295         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50296         defined.  Adjust users.
50297         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50298         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50299
50300 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50301
50302         * string/test-string.h (IMPL): Use __STRING to expand name and then
50303         stringify it.
50304
50305         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50306         of cleanups.
50307
50308 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50309
50310         * string/Makefile: Update.
50311         (strop-tests): Append strncat.
50312         * string/test-wcscmp.c: New file.
50313         New comprehensive test for wcscmp.
50314         * string/test-strcmp.c: Update.
50315         (WIDE): New define.
50316
50317 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50318
50319         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50320         line.
50321
50322 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50323
50324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50325         encoding to ACE if AI_IDN.
50326
50327 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50328
50329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50330         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50331
50332 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50333
50334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50335         Fix overflow bug in strncat.
50336         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50337
50338         * string/test-strncat.c: Update.
50339         Add new tests for checking overflow bugs.
50340
50341 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50342
50343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50344         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50345         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50346         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50348         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50349         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50350         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50351         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50352
50353         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50354         (USE_AS_STRCAT): Define.
50355         Add strcat and strncat support.
50356         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50357
50358 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50359
50360         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50361         __n bigger than INT_MAX+1.
50362         (__strncmp_g): Likewise.
50363
50364 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50365
50366         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50367         * libio/stido.h: Likewise.
50368
50369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50370         (AF_NFC): Define.
50371         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50372         (AF_NFC): Define.
50373
50374         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50375         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50376         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50377         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50379
50380         [BZ #13021]
50381         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50382         installed.
50383
50384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50385         typo.
50386         (_dl_x86_64_save_sse): Likewise.
50387
50388 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50389
50390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50391         OSXSAVE.
50392         (_dl_x86_64_save_sse): Likewise.
50393
50394         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50395
50396         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50397
50398 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50399
50400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50401         change.
50402         (_dl_x86_64_save_sse): Use correct AVX check.
50403
50404 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50405
50406         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50407         bug in strncpy/strncat.
50408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50409
50410 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50411
50412         * string/tester.c (test_strcat): Add tests for different alignments
50413         of source and destination.
50414         (test_strncat): Likewise.
50415
50416 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50417
50418         [BZ #12852]
50419         * posix/glob.c (glob): Check passed in values before using them in
50420         expressions to avoid some overflows.
50421         (glob_in_dir): Likewise.
50422
50423         [BZ #13007]
50424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50425         check for AVX enablement so that we don't crash with old kernels and
50426         new hardware.
50427         * elf/tst-audit4.c: Add same checks here.
50428         * elf/tst-audit6.c: Likewise.
50429
50430         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50431
50432 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50433
50434         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50435
50436 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50437
50438         * po/cs.po: Update from translation team.
50439         * po/bg.po: Likewise.
50440
50441 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50442
50443         * misc/sys/cdefs.h: Add support for const attribute.
50444         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50445         to gnu_dev_{major,minor,makedev} functions.
50446
50447 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50448
50449         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50450
50451 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50452
50453         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50454         strlen results.
50455
50456 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50457
50458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50459         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50460         register in order to avoid conflicts with the soft frame pointer
50461         being held in r11 when necessary.
50462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50463         (INTERNAL_VSYSCALL_NCS): Likewise.
50464
50465 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50466
50467         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50468         * elf/dl-fini.c (_dl_fini): Adjust caller.
50469         * elf/dl-close.c (_dl_close_worker): Likewise.
50470         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50471
50472 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50473
50474         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50475         "aux_cache->nlibs < 0".
50476
50477         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50478         in the reload-count case.
50479
50480 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50481
50482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50483         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50484         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50485         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50486         * sysdeps/x86_64/multiarch/strcat.S: New file.
50487         * sysdeps/x86_64/multiarch/strncat.S: New file.
50488         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50489         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50490         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50491         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50492         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50493         (USE_AS_STRCAT): Define.
50494         Add strcat and strncat support.
50495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50497         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50498         * string/strncat.c: Update.
50499         (USE_AS_STRNCAT): Define.
50500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50501         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50502         and i7.
50503         * sysdeps/x86_64/multiarch/init-arch.h
50504         (bit_Prefer_PMINUB_for_stringop): New.
50505         (index_Prefer_PMINUB_for_stringop): Likewise.
50506         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50507         bit_Prefer_PMINUB_for_stringop.
50508
50509 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50510
50511         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50512         buffer64.
50513         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50514         of casting of buffer.
50515         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50516         buffer32 and buffer64.
50517         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50518         writes instead of casting of buffer.
50519         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50520         buffer32.
50521         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50522         casting of buffer.
50523
50524 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50525
50526         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50527
50528 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50529
50530         * nscd/nscd.c (termination_handler): Don't do anything for a database
50531         if it has not yet been initialized.
50532
50533 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50534
50535         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50536
50537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50538
50539         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50540
50541 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50542
50543         * po/nl.po: Update from translation team.
50544         * po/sv.po: Likewise.
50545
50546 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50547
50548         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50549         now disallowed by GCC.
50550
50551         * configure.in (use-default-link): Default to yes if a test -shared
50552         link meets our qualifications.
50553         * configure: Regenerated.
50554
50555         * config.make.in (output-format): New variable.
50556         * configure.in: Check for ld --print-output-format support.
50557         * configure: Regenerated.
50558         * Makerules ($(common-objpfx)format.lds)
50559         [$(output-format) != unknown]: Just use $(output-format),
50560         instead of the linker-script munging.
50561
50562 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50563
50564         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50565         of $(common-objpfx)shlib.lds.
50566         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50567
50568         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50569         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50570
50571         * configure.in (-z relro check): Adjust test code to add a large
50572         writable data section after it.
50573         * configure: Regenerated.
50574
50575 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50576
50577         * configure.in (-z relro check): Fix test code to make the variable
50578         truly const.
50579         * configure: Regenerated.
50580
50581 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50582
50583         * nscd/nscd.h (struct traced_file): Define.
50584         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50585         elements.  Add traced_files.
50586         (inotify_fd): Declare.
50587         (register_traced_file): Declare.
50588         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50589         (inotify_fd): Export.
50590         (resolv_conf_descr): Remove.
50591         (nscd_init): Move inotify descriptor creation to main.
50592         Don't register files for notification here.
50593         (register_traced_file): New function.
50594         (invalidate_cache): Don't use reset_res to determine whether to call
50595         res_init, go through the list of registered files.
50596         (main_loop_poll): The inotify descriptors are now stored in the
50597         structures for the traced files.
50598         (main_loop_epoll): Likewise
50599         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50600         to __nss_disable_nscd.
50601         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50602         for a database anymore.  Check the records for all the registered
50603         files instead.
50604         * nss/Makefile (libnss_files-routines): Add files-init.
50605         (libnss_db-routines): Add db-init.
50606         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50607         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50608         * nss/nss_db/db-init.c: New file.
50609         * nss/nss_files/files-init.c: New file.
50610         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
50611         __nss_lookup_function.
50612         (__nss_lookup_function): Call nss_load_library.
50613         (nss_load_all_libraries): New function.
50614         (__nss_disable_nscd): Take parameter with callback function for files
50615         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
50616         used for the cached services.
50617         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50618         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50619         options for features to all the files in nscd.
50620
50621         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50622
50623 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50624
50625         * csu/elf-init.c (__libc_csu_init): Comment typo.
50626
50627 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50628
50629         * po/pl.po: Update from translation team.
50630         * po/ja.po: Likewise.
50631         * po/ru.po: Likewise.
50632         * po/ko.po: Likewise.
50633         * po/fr.po: Likewise.
50634
50635 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50636
50637         * configure.in (.ctors/.dtors header and trailer check):
50638         Use an empirical test on a built program.
50639         * configure: Regenerated.
50640
50641         * configure.in (-z relro check): Use an empirical test on a built DSO.
50642         Detect, but do not require, on ia64.
50643         * configure: Regenerated.
50644
50645         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50646         Update tests that use readelf to use $READELF instead.
50647         * configure: Regenerated.
50648
50649 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50650
50651         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50652         if the result is not used.
50653
50654 2011-07-05  Andreas Jaeger  <aj@suse.de>
50655
50656         [BZ#9696]
50657         * stdlib/tst-strtod.c: Add testcase.
50658
50659 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50660
50661         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50662         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50663         The latter has a higher limit.  Take additional parameter to pass to
50664         the new function.
50665         (__pathconf): Pass file to __statfs_link_max.
50666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50667         __statfs_link_max.
50668         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50669         __statfs_link_max.
50670
50671         [BZ #12868]
50672         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50674         Handle Lustre.
50675         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50676         (__statfs_filesize_max): Likewise.
50677         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50678
50679 2011-07-05  Andreas Jaeger  <aj@suse.de>
50680
50681         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50682
50683 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50684
50685         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50686         `status' variable.
50687         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50688         Likewise.
50689
50690 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50691
50692         * Makefile (strop-tests): Add strncat.
50693         * string/test-strncat.c: New file.
50694
50695 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50696
50697         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50698
50699 2011-06-21  Andreas Jaeger  <aj@suse.de>
50700
50701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50702         Copy rule from iconvdata/Makefile.
50703
50704 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50705
50706         [BZ #12922]
50707         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50708         but no long options are defined, just return 'W'.
50709
50710 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50711
50712         [BZ #9696]
50713         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50714
50715 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50716
50717         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50718         netgroups to read.
50719         (innetgr): Likewise.
50720
50721 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50722
50723         * config.make.in (install_root): Default to $(DESTDIR).
50724
50725 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50726
50727         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50728
50729 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50730
50731         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50732
50733         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50734         containing directory rather than embedding absolute directory names.
50735
50736         * scripts/check-local-headers.sh: Rewritten using awk.
50737         Match by word, not by line.  Print error messages for matches.
50738         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50739
50740         * Makerules [shlib-lds-flags empty]:
50741         ($(common-objpfx)libc_pic.opts): New target.
50742         ($(common-objpfx)libc_pic.os.clean): New target.
50743         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50744
50745         * config.make.in (OBJCOPY): New variable.
50746         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50747         * configure: Regenerated.
50748
50749         * config.make.in (use-default-link): New variable.
50750         * configure.in (use_default_link): Grok --with-default-link to set it.
50751         * configure: Regenerated.
50752         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50753         (shlib-lds, shlib-lds-flags): Define to empty.
50754
50755         * Makerules (shlib-lds): New variable.
50756         (shlib-lds-flags): New variable.
50757         (build-shlib, build-moduile, build-module-asneeded): Use it.
50758         ($(common-objpfx)libc.so): Use $(shlib-lds).
50759         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50760         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50761
50762         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50763         DT_FLAGS/DT_FLAGS_1 with zero flags.
50764
50765         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50766         linker script munging.
50767
50768 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50769
50770         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50771         as 128-bit value.
50772         * crypt/sha512.c (sha512_process_block): Perform total addition using
50773         128-bit if possible.
50774         (__sha512_finish_ctx): Likewise.
50775         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50776         as 64-bit value.
50777         * crypt/sha256.c (SWAP64): Define.
50778         (sha256_process_block): Perform total addition using 64-bit if
50779         possible.
50780         (__sha256_finish_ctx): Likewise.
50781
50782 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50783
50784         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50786         * nscd/hstcache.c (cache_addhst): Likewise.
50787         * nscd/grpcache.c (cache_addgr): Likewise.
50788         * nscd/aicache.c (addhstaiX): Likewise
50789         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50790
50791 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50792
50793         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50794         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50795         * nscd/hstcache.c (cache_addhst): Likewise.
50796         * nscd/grpcache.c (cache_addgr): Likewise.
50797         * nscd/aicache.c (addhstaiX): Likewise
50798
50799 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50800
50801         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50802         domain only when needed.
50803
50804 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50805
50806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50807         is always restored.
50808
50809 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50810
50811         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50812         are re-adding the entry.
50813         * nscd/servicescache.c (cache_addserv): Likewise.
50814
50815 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50816
50817         * sysdeps/generic/dl-irel.h: fix protection against multiple
50818         inclusions.
50819         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50820
50821 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50822
50823         [BZ #12935]
50824         * malloc/memusage.sh: Fix quoting in message.
50825         * debug/xtrace.sh: Likewise.
50826
50827         * configure.in: Remove support for --experimental-malloc option, make
50828         it the default.
50829         * config.make.in: Likewise.
50830         * malloc/Makefile: Likewise.
50831
50832 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50833
50834         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50835         two-byte characters.
50836
50837 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50838
50839         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50840         AC_CACHE_CHECK invocation.
50841         * configure: Regenerated.
50842
50843         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50844
50845 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50846
50847         [BZ #12350]
50848         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50849         bit from old_res_options.
50850
50851         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50852
50853         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50854         value type for setfct.
50855
50856 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50857
50858         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50859         __gettimeofday instead of gettimeofday.
50860
50861 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50862
50863         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50864
50865 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50866
50867         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50868
50869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50870         info.
50871
50872 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50873
50874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50875         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50876         strcpy-sse2-unaligned strncpy-sse2-unaligned
50877         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50878         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50879         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50880         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50881         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50882         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50883         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50884         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50885         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50886         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50887         (STRCPY): Support SSE2 and SSSE3 versions.
50888
50889 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50890
50891         [BZ #12874]
50892         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50893         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50894         kernels which artificially limit size of requests.
50895
50896 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50897
50898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50899         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50900         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50901         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50902         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50903         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50904         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50905         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50906         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50907         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50908         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50909         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50910         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50911         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50912         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50914         Enable unaligned load optimization for Intel Core i3, i5 and i7
50915         processors.
50916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50917         Define.
50918         (index_Fast_Unaligned_Load): Define.
50919         (HAS_FAST_UNALIGNED_LOAD): Define.
50920
50921 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50922
50923         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50924
50925 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50926
50927         [BZ #12907]
50928         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50929         until it is clear that the information is realy needed.
50930         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50931
50932 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50933
50934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50935
50936 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50937
50938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50939         /sys/devices/system/cpu/online if it is usable.
50940
50941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50942         reading the information from the /proc filesystem to once a second.
50943
50944 2011-06-21  Andreas Jaeger  <aj@suse.de>
50945
50946         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50947         NULL after inclusion of kernel headers.
50948
50949 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50950
50951         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50952         calls to internal_setent.
50953
50954         [BZ #12885]
50955         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50956         addresses using gethostbyname4_r ignore IPv4 addresses.
50957
50958         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50959         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50960
50961         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50962
50963 2011-06-20  David S. Miller  <davem@davemloft.net>
50964
50965         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50966         inclusions.
50967         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50968
50969         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50970         (elf_irel): Use it.
50971         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50972         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50973         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50974         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50975         * sysdeps/x86_64/dl-irel.h: Likewise.
50976
50977         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50978         * elf/dl-sym.c: Likewise.
50979
50980 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50981
50982         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50983         need to dereference resplen2.
50984
50985 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50986
50987         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50988
50989 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50990
50991         * Makeconfig: Define vardbdir and inst_vardbdir.
50992         * nss/Makefile: Add rules to install db-Makefile.
50993
50994         * nss/nss_db/db-XXX.c: Cleanup.
50995
50996         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50997         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50998         GLIBC_PRIVATE.
50999         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51000         * nss/makedb.c: Implement -g option to specify that value strings
51001         are generated and should not be added to table iterated over for
51002         get*ent calls.
51003         * nss/nss_db/db-initgroups.c: New file.
51004
51005         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51006         interface.
51007
51008         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51009         (internal_getgrouplist): Adjust to name change.
51010         Update use_initgroups_entry if this is not the first call.
51011         * nss/databases.def: Add initgroups entry.
51012
51013         * nss/makedb.c (compute_tables): Check result of multiple hash table
51014         sizes to minimize maximum chain length.
51015
51016 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51017
51018         * Versions.def: Add entry for libnss_db.
51019         * shlib-versions: Likewise.
51020         * nss/Makefile: Add rules to build libnss_db.
51021         * nss/Versions: Add libnss_db information.  Organize libnss_files
51022         entries better.
51023         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51024         makedb progra.  Some minor improvements to generate smaller files.
51025         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51026         here from...
51027         * nss/makedb.c: ...here.
51028         Improve database format to be smaller and require less memory at
51029         runtime.
51030         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51031         db anymore.
51032         * nss/nss_db/db-netgrp.c: Likewise.
51033         * nss/nss_db/db-open.c: Likewise.
51034         * nss/nss_files/flies-XXX.x: Adjust comments.
51035         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51036         * nss/nss_files/files-grp.c: Likewise.
51037         * nss/nss_files/files-hosts.c: Likewise.
51038         * nss/nss_files/files-network.c: Likewise.
51039         * nss/nss_files/files-proto.c: Likewise.
51040         * nss/nss_files/files-pwd.c: Likewise.
51041         * nss/nss_files/files-rpc.c: Likewise.
51042         * nss/nss_files/files-service.c: Likewise.
51043         * nss/nss_files/files-sgrp.c: Likewise.
51044         * nss/nss_files/files-spwd.c: Likewise.
51045         * nss/nss_db/db-alias.c: Removed.
51046         * nss/nss_db/dummy-db.h: Removed.
51047
51048 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51049
51050         * nss/makedb.c: Rewritten to not use database library.
51051         * nss/Makefile: Update to build new makedb program.
51052
51053 2011-06-14  Andreas Jaeger  <aj@suse.de>
51054
51055         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51056         memset declaration.
51057
51058 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51059
51060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51061         tmpbuf.
51062
51063 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51064
51065         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51066         * elf/Makefile ($(objpfx)ld.so): Likewise.
51067
51068         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51069         Don't list ld.so twice in dependencies.
51070
51071         * posix/bug-regex31.c: Include <stdlib.h>.
51072
51073         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51074
51075         * nis/nss_compat/compat-spwd.c
51076         (getspent_next_nss_netgr): Remove unused variable.
51077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51078
51079         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51080         nonmembers" output to use the right array.
51081
51082         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51083
51084         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51085
51086         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51087         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51088         * catgets/gencat.c (read_input_file): Likewise.
51089         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51090
51091         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51092         variable definition inside #if's controlling its use.
51093
51094         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51095
51096         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51097
51098         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51099
51100         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51101         unreachable code.
51102
51103         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51104
51105         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51106         * configure: Regenerated.
51107
51108         * Makerules: Revert last change.
51109         * elf/Makefile: Likewise.
51110
51111 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51112
51113         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51114         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51115         (reloc-link): Likewise.
51116
51117 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51118
51119         * elf/Makefile: Add rules to build pldd.
51120         * elf/pldd.c: New file.
51121         * elf/pldd-xx.c: New file.
51122
51123 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51124
51125         * version.h: Update for 2.15 development version.
51126
51127 2011-06-07  David S. Miller  <davem@davemloft.net>
51128
51129         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51130         ifuncs.
51131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51132         elf_machine_lazy_rel): Likewise.
51133         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51135         elf_machine_lazy_rel): Likewise.
51136         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51137         dl_hwcap via passed in argument.
51138         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51139         Likewise.
51140
51141 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51142
51143         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51144
51145 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51146
51147         [BZ #12849]
51148         * manual/fdl-1.1.texi: New file, verbatim from:
51149         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51150         * manual/lgpl-2.1.texi: New file, verbatim from:
51151         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51152         * manual/Makefile (licenses): New variable, list those new file names.
51153         (texis): Use it.
51154         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51155
51156         * manual/fdl.texi: File removed.
51157         * manual/lesser.texi: File removed.
51158         * manual/libc.texinfo (Copying, Documentation License):
51159         Use new @include file names, put @appendix directive before @include.
51160
51161 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51162
51163         [BZ #12841]
51164         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51165         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51166         (mq_open): Add __NTH.
51167
51168 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51169
51170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51171         Assume Intel Core i3/i5/i7 processor if AVX is available.
51172
51173 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51174
51175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51176         typo.
51177
51178 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51179
51180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51181         memory.  Use alloca_account.  Fix memory leak when retrying.
51182
51183 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51184
51185         * version.h (RELEASE): Bump for 2.14 release.
51186         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51187
51188         * config.make.in (RANLIB): Remove entry.
51189
51190 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51191
51192         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51193         (libc.pot): Work around missing support for .ksh extension in xgettext.
51194
51195         [BZ #12684]
51196         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51197         if both request failed.
51198         (send_dg): In case of server errors clear resplen or *resplen2.
51199
51200         [BZ #12454]
51201         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51202         when there are multiple maps.
51203         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51204         (_dl_fini): Remove test here.
51205
51206         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51207
51208 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51209
51210         [BZ #12350]
51211         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51212         bit from old_res_options.
51213         (gaih_inet): Likewise.
51214
51215         [BZ #11099]
51216         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51217         as signed.
51218
51219         * resolv/res_init.c (res_setoptions): Make the code more compact.
51220
51221         [BZ #11558]
51222         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51223         set RES_USEVC.
51224
51225         [BZ #11634]
51226         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51227
51228         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51229
51230         [BZ #11781]
51231         * malloc/malloc.h: Declare malloc hook variables as volatile.
51232
51233         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51234         in last patch.
51235
51236         [BZ #11799]
51237         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51238         raise in the comment.
51239         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51241         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51242
51243 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51244
51245         [BZ #12811]
51246         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51247         grow the buffers more if it already has to be sufficient.
51248         (build_wcs_upper_buffer): Likewise.
51249         * posix/regexec.c (check_matching): Likewise.
51250         (clean_state_log_if_needed): Likewise.
51251         (extend_buffers): Don't enlarge buffers beyond size of the input
51252         buffer.
51253         Patches mostly by Emil Wojak <emil@wojak.eu>.
51254         * posix/bug-regex32.c: New file.
51255         * posix/Makefile (tests): Add bug-regex32.
51256
51257         * locale/findlocale.c (_nl_find_locale): Return right away if
51258         _nl_explode_name failed.
51259         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51260
51261         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51262
51263         * debug/xtrace.sh: Unify messages.
51264         * malloc/memusage.sh: Likewise.
51265
51266         [BZ #12813]
51267         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51268         time symbol from vDSO.  Substitute with vsyscall if not available.
51269         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51270         __vdso_time.
51271
51272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51273         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51274         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51275         Add sendmmsg and internal_sendmmsg.
51276         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51277         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51278         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51279
51280         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51281         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51283
51284 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51285
51286         [BZ #12813]
51287         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51288         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51289         available.
51290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51291         __vdso_getcpu.
51292
51293         [BZ #12814]
51294         * iconvdata/Makefile (tests): Add bug-iconv9.
51295         * iconvdata/bug-iconv9.c: New file.
51296
51297 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51298
51299         [BZ #12814]
51300         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51301
51302 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51303
51304         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51305         (struct user_regs_struct): Change intcs field back to cs.
51306
51307 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51308
51309         * po/ja.po: Update from translation team.
51310
51311 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51312
51313         [BZ #12795]
51314         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51315         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51316
51317 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51318
51319         * stdlib/longlong.h: Update from GCC.
51320
51321 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51322
51323         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51324         parameter name.
51325         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51326         Add parameter name.
51327         (__sysconf): Pass it down.
51328
51329 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51330
51331         [BZ #12671]
51332         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51333         some situations.
51334         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51335         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51336         add in in __libc_use_alloca calls.  Adjust callers.
51337         (glob): Use malloc in some situations.
51338
51339         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51340         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51341         pltexit.
51342
51343 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51344
51345         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51346         and CLOCK_BOOTTIME_ALARM.
51347
51348         [BZ #12782]
51349         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51350         is returned.
51351
51352         * string/_strerror.c (__strerror_r): Print negative errors as signed
51353         numbers.
51354
51355         [BZ #12777]
51356         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51357         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51358         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51359
51360         * configure.in: Fix typo in redirection and correct removal of test
51361         files in two cases.
51362
51363         [BZ #12788]
51364         * locale/setlocale.c (new_composite_name): Fix test to check for
51365         identical name of all categories.
51366
51367         [BZ #12792]
51368         * libio/filedoalloc.c (local_isatty): New function.
51369         (_IO_file_doallocate): Use local_isatty.
51370         * stdio-common/perror.c (perror): In case a new stream is used
51371         forward the stream error.
51372         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51373         error flag.
51374
51375 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51376
51377         [BZ #11869]
51378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51379         alloca.
51380         * include/alloca.h (extend_alloca_account): Define.
51381
51382         [BZ #11857]
51383         * posix/regex.h: Fix comments with documentation of user-accessible
51384         fields after compilation and describe correct free'ing of pattern
51385         after re_compile_pattern.
51386         Patch by Reuben Thomas <rrt@sc3d.org>.
51387
51388 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51389
51390         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51391         and -mno-altivec to prevent the compiler from using Altivec and/or
51392         VSX instructions when the corresponding registers are not available.
51393
51394 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51395
51396         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51397
51398 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51399
51400         * libio/freopen.c (freopen): Use __dup2, not dup2.
51401         * libio/freopen64.c (freopen64): Likewise.
51402
51403 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51404
51405         [BZ #12775]
51406         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51407         * math/Makefile (tests): Add test-powl.
51408         (CFLAGS-test-powl.c): Define.
51409         * math/test-powl.c: New file.
51410
51411 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51412
51413         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51414
51415 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51416
51417         [BZ #11837]
51418         * iconvdata/gb18030.c: Update to GB18020-2005.
51419
51420 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51421
51422         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51423         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51424         Patch by Aharon Robbins <arnold@skeeve.com>.
51425
51426         [BZ #11892]
51427         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51428         on the stack.
51429
51430         [BZ #11895]
51431         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51432         through underflows.
51433
51434         [BZ #12766]
51435         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51436         point to strings before performing equality test for error_one_per_line
51437         mode.
51438
51439         [BZ #11697]
51440         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51441
51442         [BZ #11820]
51443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51444         (struct user_fpregs_struct): Avoid __uint*_t types.
51445
51446         [BZ #6420]
51447         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51448         symbol info.  Use it instead of calling _dl_addr locally.
51449         (lock_and_info): New function.
51450         (tr_freehook): Call lock_and_info and pass symbol info as additional
51451         parameter to tr_where.
51452         (tr_mallochook): Likewise.
51453         (tr_reallochook): Likewise.
51454         (tr_memalignhook): Likewise.
51455
51456         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51457         used and couldn't be at all thread-safe.
51458
51459 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51460
51461         * libio/freopen.c (freopen): Don't close old file descriptor
51462         before the new one is opened.  Instead dup the new file descriptor
51463         to the old one after the new stream is created.
51464         * libio/freopen64.c (freopen64): Likewise.
51465         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51466         * libio/fileops.c (_IO_new_file_close_it): Handle new
51467         _IO_FLAGS2_NOCLOSE flag.
51468         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51469         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51470         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51471         _IO_FLAGS2_NOCLOSE flag.
51472         * include/unistd.h: Add hidden_proto for dup3.
51473         Define __have_dup3.
51474         * io/dup3.c: Define hidden symbol.
51475         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51476
51477         [BZ #7101]
51478         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51479         when an incomplete long option is used.
51480         * posix/tst-getopt_long1.c: New file.
51481         * posix/Makefile (tests): Add tst-getopt_long1.
51482
51483         [BZ #10138]
51484         * scripts/config.guess: Update from autoconf-2.68.
51485         * scripts/config.sub: Likewise.
51486
51487         [BZ #10157]
51488         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51489         tests into ...
51490         (has_cpuclock): ...this.  New function.
51491         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51492         macro here based on has_cpuclock code.
51493
51494         [BZ #10149]
51495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51496         First byte (not low byte) is now always NUL.
51497         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51498
51499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51500         Use non-cancelable interfaces.
51501
51502         [BZ #9809]
51503         * locale/iso-639.def: Add entry for Sorani.
51504
51505         [BZ #11901]
51506         * include/stdlib.h: Move include protection to the right place.
51507         Define abort_msg_s.  Declare __abort_msg with it.
51508         * stdlib/abort.c (__abort_msg): Adjust type.
51509         * assert/assert.c (__assert_fail_base): New function.  Majority
51510         of code from __assert_fail.  Allocate memory for __abort_msg with
51511         mmap.
51512         (__assert_fail): Now call __assert_fail_base.
51513         * assert/assert-perr.c: Remove bulk of implementation.  Use
51514         __assert_fail_base.
51515         * include/assert.hL Declare __assert_fail_base.
51516         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51517         mmap.
51518         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51519
51520 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51521
51522         [BZ #11952]
51523         [BZ #12453]
51524         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51525         until all modules are registered in the DTV.
51526         * elf/Makefile: Add rules to build and run tst-tls19.
51527         * elf/tst-tls19.c: New file.
51528         * elf/tst-tls19mod1.c: New file.
51529         * elf/tst-tls19mod2.c: New file.
51530         * elf/tst-tls19mod3.c: New file.
51531         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51532
51533         [BZ #12083]
51534         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51535         correctly.
51536
51537         [BZ #12601]
51538         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51539         two-byte sequence errors.
51540         * iconvdata/Makefile (tests): Add bug-iconv8.
51541         * iconvdata/bug-iconv8.c: New file.
51542
51543         [BZ #12626]
51544         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51545         buf2 definition.
51546
51547         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51548
51549         [BZ #12432]
51550         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51551         (dummy_getcfa): New function.
51552         (init): Get _Unwind_GetCFA address, use dummy if not found.
51553         (backtrace_helper): In recursion check, also check whether CFA changes.
51554         (__backtrace): Completely initialize arg.
51555
51556         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51557         storing incomplete byte sequence in state object.  Avoid testing for
51558         guaranteed too small input if we know there is enough data available.
51559
51560 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51561
51562         * Makeconfig (+link-pie): Indent.
51563         * Rules (binaries-pie): Define if $(have-fpie) and
51564         $(build-shared).
51565         (binaries-shared): Also filter out $(binaries-pie).
51566         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51567         * nscd/Makefile (others-pie): Add nscd.
51568         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51569         ($(objpfx)nscd): Remove command override.
51570         * login/Makefile (others-pie): Add pt_chown.
51571         ($(objpfx)pt_chown): Remove command override.
51572         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51573         remove command overrides.
51574
51575 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51576
51577         * libio/tst_putwc.c: Fix error messages.
51578
51579         [BZ #12724]
51580         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51581         currently writing and seek to current position when not.
51582         * libio/Makefile (tests): Add bug-fclose1.
51583         * libio/bug-fclose1.c: New file.
51584
51585 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51586
51587         [BZ #12511]
51588         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51589         don't set DF_1_NODELETE here.
51590         (do_lookup_x): When entering new entry test for copy relocation
51591         and if necessary set DF_1_NODELETE flag.
51592         * elf/tst-unique4.cc: New file.
51593         * elf/tst-unique4.h: New file.
51594         * elf/tst-unique4lib.cc: New file.
51595         * elf/Makefile: Add rules to build and run tst-unique4.
51596         Patch by Piotr Bury <pbury@goahead.com>.
51597
51598 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51599
51600         [BZ #12052]
51601         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51602
51603         [BZ #12625]
51604         * misc/mntent_r.c (addmntent): Flush the stream after the output
51605
51606         [BZ #12393]
51607         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51608         (is_trusted_path_normalize): Skip initial colon.  Append slash
51609         to empty buffer.  Duplicate is_trusted_path code but allow
51610         constructed patch to be prefix.
51611         (is_dst): Allow $ORIGIN followed by /.
51612         (_dl_dst_substitute): Correct clearing of check_for_trusted.
51613         Correct testing of result of is_trusted_path_normalize
51614         (decompose_rpath): Fix warning.
51615
51616 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51617
51618         [BZ #11257]
51619         * grp/initgroups.c (internal_getgrouplist): When we found the service
51620         list through the initgroups entry in nsswitch.conf do not always
51621         continue on a successful lookup.  Don't always use the
51622         __nss_group_database value if it is set.
51623         * nss/nsswitch.conf (initgroups): Change action for successful db
51624         lookup to continue for compatibility.
51625
51626 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51627
51628         [BZ #11532]
51629         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51630         and CP774 modules.
51631         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51632         and CP774 modules.
51633         * iconvdata/tst-tables.sh: Likewise.
51634         * iconvdata/cp770.c: New file.
51635         * iconvdata/cp771.c: New file.
51636         * iconvdata/cp772.c: New file.
51637         * iconvdata/cp773.c: New file.
51638         * iconvdata/cp774.c: New file.
51639         * iconvdata/testdata/CP770: New file.
51640         * iconvdata/testdata/CP770..UTF8: New file.
51641         * iconvdata/testdata/CP771: New file.
51642         * iconvdata/testdata/CP771..UTF8: New file.
51643         * iconvdata/testdata/CP772: New file.
51644         * iconvdata/testdata/CP772..UTF8: New file.
51645         * iconvdata/testdata/CP773: New file.
51646         * iconvdata/testdata/CP773..UTF8: New file.
51647         * iconvdata/testdata/CP774: New file.
51648         * iconvdata/testdata/CP774..UTF8: New file.
51649
51650         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51651         END CHARMAP line.
51652         * iconvdata/gen-8bit-gap.sh: Likewise.
51653         * iconvdata/gen-8bit.sh: Likewise.
51654
51655         * locale/iso-639.def: Add ary entry.
51656
51657         [BZ #11258]
51658         * locale/C-translit.h.in: Add U20A1 transliteration.
51659
51660         [BZ #12178]
51661         * locale/iso-639.def: Add wae entry.
51662         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51663
51664         [BZ #12545]
51665         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51666         for n.
51667
51668         [BZ #12711]
51669         * locale/C-translit.h.in: Add entry for U20B9.
51670         Patch by pravin.d.s@gmail.com.
51671
51672 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51673
51674         [BZ #12713]
51675         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51676         ENAMETOOLONG use generic getcwd.
51677         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51678         in rtld.  Use *stat64.
51679         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51680         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51681         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51682         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51683         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51684         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51685         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51686         __fstatat64 macros.
51687         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51688         * dirent/rewinddir.c: Add libc_hidden_def.
51689         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51690         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51691
51692         * include/dirent.h (__alloc_dir): Add flags parameter.
51693         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51694         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51695         __alloc_dir.
51696         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51697         from fdopendir if O_CLOEXEC is already set.
51698
51699 2011-03-15  Alan Modra  <amodra@gmail.com>
51700
51701         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51702         l_tls_firstbyte_offset non-zero.  Save padding offset in
51703         l_tls_firstbyte_offset for later use.
51704         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51705         freeing static tls block.
51706
51707 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51708
51709         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51710         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51711         being defined by the kernel headers.
51712
51713 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51714
51715         [BZ #12734]
51716         * resolv/resolv.h: Define RES_NOTLDQUERY.
51717         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51718         no-tld-query and set RES_NOTLDQUERY.
51719         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51720         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51721         modern BIND to search name as TLD unless forbidden.
51722
51723 2011-05-07  Petr Baudis  <pasky@suse.cz>
51724             Ulrich Drepper  <drepper@gmail.com>
51725
51726         [BZ #12393]
51727         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51728         (is_trusted_path): ...to here.
51729         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51730         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51731         using is_trusted_path_normalize() in setuid scripts.
51732
51733 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51734
51735         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51736         __BEGIN/__END_DECLS.
51737
51738 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51739
51740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51741         NSS_STATUS_NOTFOUND if no record was found.
51742
51743 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51744
51745         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51746         (headers-not-in-tirpc): Remove rpc/netdb.h
51747         * resolv/netdb.h: Revert last change.
51748
51749 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51750
51751         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51752         circular dependency between libgcc.a and libc.a.
51753
51754 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51755
51756         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51757         * nis/Makefile: Don't install rpcsvc/*.
51758         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51759         instead of <rpc/types.h>.
51760         (MAXHOSTNAMELEN): Define.
51761
51762 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51763
51764         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51765
51766 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51767
51768         [BZ #12714]
51769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51770         gethostbyname4_r when IPv6 results are possible.
51771
51772 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51773
51774         [BZ #12723]
51775         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51776         _PC_PIPE_BUF handling.
51777
51778 2011-04-30  Bruno Haible  <bruno@clisp.org>
51779
51780         [BZ #12717]
51781         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51782         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51783         to 'int'.
51784         * inet/getnameinfo.c (getnameinfo): Likewise.
51785
51786 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51787
51788         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51789         to groups setting in database lookup.
51790         * nss/nsswitch.conf: Add initgroups entry.
51791
51792 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51793
51794         [BZ #12685]
51795         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51796         mode string.
51797         Patch by Eric Blake <eblake@redhat.com>.
51798
51799 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51800
51801         * sunrpc/Makefile (need-export-routines): Add svc_run.
51802         (routines): Remove svc_run.
51803         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51804         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51805         * sunrpc/svc_run.c (svc_run): Likewise.
51806         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51807
51808 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51809
51810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51811         problem in reallocation in last patch.
51812
51813 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51814
51815         * sunrpc/Makefile: Move inclusion of Rules.
51816
51817 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51818
51819         * nss/nss_files/files-initgroups.c: New file.
51820         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51821         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51822         _nss_files_initgroups_dyn.
51823
51824 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51825
51826         * elf/elf.h (R_ARM_IRELATIVE): Define.
51827
51828 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51829
51830         * po/ru.po: Update from translation team.
51831
51832 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51833
51834         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51835         dependencies.
51836
51837 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51838
51839         [BZ #12653]
51840         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51841         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51845
51846 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51847
51848         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51849         differing bytes.
51850         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51853
51854 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51855
51856         [BZ #12420]
51857         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51858         storing it.
51859         * stdlib/bug-getcontext.c: New file.
51860         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51861
51862 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51863
51864         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51865         instructions into .machine "z9-109".
51866         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51867         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51868
51869 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51870
51871         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51872         between environment variables and auxiliary vector.
51873
51874 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51875
51876         * Makefile: Add rules to build linkobj/libc.so.
51877         * include/libc-symbols.h: Define libc_hidden_nolink.
51878         * include/rpc/auth.h: Mark functions which are to be hidden.
51879         * include/rpc/auth_des.h: Likewise.
51880         * include/rpc/auth_unix.h: Likewise.
51881         * include/rpc/clnt.h: Likewise.
51882         * include/rpc/des_crypt.h: Likewise.
51883         * include/rpc/key_prot.h: Likewise.
51884         * include/rpc/pmap_clnt.h: Likewise.
51885         * include/rpc/pmap_prot.h: Likewise.
51886         * include/rpc/pmap_rmt.h: Likewise.
51887         * include/rpc/rpc_msg.h: Likewise.
51888         * include/rpc/svc.h: Likewise.
51889         * include/rpc/svc_auth.h: Likewise.
51890         * include/rpc/xdr.h: Likewise.
51891         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51892         * nss/Makefile: Likewise.
51893         * sunrpc/Makefile: Don't install headers.  Build library with normal
51894         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51895         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51896         for the compat linking library.  Remove use of INTDEF/INTUSE.
51897         * sunrpc/auth_none.c: Likewise.
51898         * sunrpc/auth_unix.c: Likewise.
51899         * sunrpc/authdes_prot.c: Likewise.
51900         * sunrpc/authuxprot.c: Likewise.
51901         * sunrpc/clnt_gen.c: Likewise.
51902         * sunrpc/clnt_perr.c: Likewise.
51903         * sunrpc/clnt_raw.c: Likewise.
51904         * sunrpc/clnt_simp.c: Likewise.
51905         * sunrpc/clnt_tcp.c: Likewise.
51906         * sunrpc/clnt_udp.c: Likewise.
51907         * sunrpc/clnt_unix.c: Likewise.
51908         * sunrpc/des_crypt.c: Likewise.
51909         * sunrpc/des_soft.c: Likewise.
51910         * sunrpc/get_myaddr.c: Likewise.
51911         * sunrpc/key_call.c: Likewise.
51912         * sunrpc/key_prot.c: Likewise.
51913         * sunrpc/netname.c: Likewise.
51914         * sunrpc/pm_getmaps.c: Likewise.
51915         * sunrpc/pm_getport.c: Likewise.
51916         * sunrpc/pmap_clnt.c: Likewise.
51917         * sunrpc/pmap_prot.c: Likewise.
51918         * sunrpc/pmap_prot2.c: Likewise.
51919         * sunrpc/pmap_rmt.c: Likewise.
51920         * sunrpc/publickey.c: Likewise.
51921         * sunrpc/rpc_cmsg.c: Likewise.
51922         * sunrpc/rpc_common.c: Likewise.
51923         * sunrpc/rpc_dtable.c: Likewise.
51924         * sunrpc/rpc_prot.c: Likewise.
51925         * sunrpc/rpc_thread.c: Likewise.
51926         * sunrpc/rtime.c: Likewise.
51927         * sunrpc/svc.c: Likewise.
51928         * sunrpc/svc_auth.c: Likewise.
51929         * sunrpc/svc_authux.c: Likewise.
51930         * sunrpc/svc_raw.c: Likewise.
51931         * sunrpc/svc_run.c: Likewise.
51932         * sunrpc/svc_simple.c: Likewise.
51933         * sunrpc/svc_tcp.c: Likewise.
51934         * sunrpc/svc_udp.c: Likewise.
51935         * sunrpc/svc_unix.c: Likewise.
51936         * sunrpc/svcauth_des.c: Likewise.
51937         * sunrpc/xcrypt.c: Likewise.
51938         * sunrpc/xdr.c: Likewise.
51939         * sunrpc/xdr_array.c: Likewise.
51940         * sunrpc/xdr_float.c: Likewise.
51941         * sunrpc/xdr_intXX_t.c: Likewise.
51942         * sunrpc/xdr_mem.c: Likewise.
51943         * sunrpc/xdr_rec.c: Likewise.
51944         * sunrpc/xdr_ref.c: Likewise.
51945         * sunrpc/xdr_sizeof.c: Likewise.
51946         * sunrpc/xdr_stdio.c: Likewise.
51947
51948 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51949
51950         [BZ #12650]
51951         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51952         * sysdeps/ia64/dl-tls.h: Likewise.
51953         * sysdeps/powerpc/dl-tls.h: Likewise.
51954         * sysdeps/s390/dl-tls.h: Likewise.
51955         * sysdeps/sh/dl-tls.h: Likewise.
51956         * sysdeps/sparc/dl-tls.h: Likewise.
51957         * sysdeps/x86_64/dl-tls.h: Likewise.
51958         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51959
51960 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51961
51962         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51963         rpath element also skip the following colon.
51964         (expand_dynamic_string_token): Add is_path parameter and pass
51965         down to DL_DST_REQUIRED and _dl_dst_substitute.
51966         (decompose_rpath): Call expand_dynamic_string_token with
51967         non-zero is_path.  Ignore empty rpaths.
51968         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51969         with zero is_path.
51970
51971 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51972
51973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51974         Make cancelable.
51975
51976 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51977
51978         [BZ #12655]
51979         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51980         Patch by Filipe David Manana <fdmanana@apache.org>.
51981
51982 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51983
51984         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51985         Maintain aligned stack.
51986         (CHECK_RSP): Remove unused macro.
51987
51988 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51989
51990         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51991         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51992
51993 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51994
51995         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51996
51997         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51998
51999 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52000
52001         [BZ #12518]
52002         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52003         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52004         * sysdeps/x86_64/memmove.c: New file.
52005         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52006         (memcpy): Renamed to ...
52007         (__new_memcpy): This.
52008         (memcpy): Provide GLIBC_2_14 memcpy.
52009         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52010         (memcpy): Provide GLIBC_2_2_5 memcpy.
52011
52012 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52013
52014         [BZ #12631]
52015         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52016
52017 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52018
52019         * misc/syncfs.c: New file.
52020         * misc/Makefile (routines): Add syncfs.
52021         * posix/unistd.h: Declare syncfs.
52022         * sysdeps/unix/syscalls.list: Add syncfs.
52023
52024 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52025
52026         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52027         open_by_handle_at.
52028         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52029         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52033         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52035
52036 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52037
52038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52039         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52040         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52042         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52044         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52045
52046         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52047         sync_file_range.c with -fexceptions.
52048         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52049         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52050         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52051         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52052         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52053         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52055         sync_file_range as cancellation point
52056         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52057         now a wrapper around __call_sync_file_range with cancellation handling.
52058         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52059         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52060         function name to __call_sync_file_range.
52061         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52062         Add call_sync_file_range.
52063
52064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52065
52066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52067         bits/timex.h.
52068
52069 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52070
52071         * iconv/iconv.h: Fix typo in comment.
52072         * io/fcntl.h: Likewise.
52073         * libio/stdio.h: Likewise.
52074         * posix/spawn.h: Likewise.
52075         * posix/unistd.h: Likewise.
52076         * stdlib/stdlib.h: Likewise.
52077         * time/time.h: Likewise.
52078         * wcsmbs/wchar.h: Likewise.
52079
52080         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52081         open_by_handle): Add.
52082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52083         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52084         Augment a few comments.
52085         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52087         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52090         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52091         open_by_handle.
52092
52093         * io/fcntl.h (AT_EMPTY_PATH): Define.
52094
52095 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52096
52097         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52098         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52099         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52100         to...
52101         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52102         * Versions.def: Add GLIBC_2.14.
52103         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52104         Export.
52105
52106 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52107
52108         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52109         round counter.
52110         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52111
52112 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52113
52114         [BZ #12597]
52115         * string/test-strncmp.c (do_page_test): New function.
52116         (check2): Likewise.
52117         (test_main): Call check2.
52118         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52119
52120 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52121
52122         [BZ #12587]
52123         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52124         Handle cache information in CPU leaf 4.
52125         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52126
52127 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52128
52129         [BZ #12583]
52130         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52131         character representation.
52132         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52133
52134 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52135
52136         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52137         END(__isnan) to END(__isnanf) to match function entry point/label
52138         EALIGN(__isnanf,...).
52139
52140 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52141
52142         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52143
52144 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52145
52146         [BZ #12510]
52147         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52148         copy from the symbol referenced in the relocation to initialize the
52149         used variable.
52150         Patch by Piotr Bury <pbury@goahead.com>.
52151         * elf/Makefile: Add rules to build and tst-unique3.
52152         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52153         * elf/tst-unique3.cc: New file.
52154         * elf/tst-unique3.h: New file.
52155         * elf/tst-unique3lib.cc: New file.
52156         * elf/tst-unique3lib2.cc: New file.
52157
52158         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52159
52160 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52161
52162         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52163         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52164         to _start.
52165
52166 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52167
52168         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52169         to-be-loaded object along a path to loader is ld.so.
52170
52171 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52172             Ulrich Drepper  <drepper@gmail.com>
52173
52174         * sysdeps/x86_64/memset.S: After aligning destination, code
52175         branches to different locations depending on the value of
52176         misalignment, when multiarch is enabled. Fix this.
52177
52178 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52179
52180         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52181         Set _x86_64_preferred_memory_instruction for AMD processsors.
52182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52183         Set bit_Prefer_SSE_for_memop for AMD processors.
52184
52185 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52186
52187         * libio/fmemopen.c (fmemopen): Optimize a bit.
52188
52189 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52190
52191         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52192
52193 2011-03-03  Roland McGrath  <roland@redhat.com>
52194
52195         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52196
52197 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52198
52199         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52200         __bzero_ultra1 instead of __memset_ultra1.
52201
52202 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52203             Ulrich Drepper  <drepper@gmail.com>
52204
52205         [BZ #12509]
52206         * include/link.h (struct link_map): Add l_orig_initfini.
52207         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52208         returning unsuccessfully.
52209         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52210         close of a file loaded at startup, restore the original l_initfini
52211         list.
52212         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52213         list, store the pointer.
52214         * elf/Makefile ($(objpfx)noload-mem): New rule.
52215         (noload-ENV): Define.
52216         (tests): Add $(objpfx)noload-mem.
52217         * elf/noload.c: Include <memcheck.h>.
52218         (main): Call mtrace.  Close all opened handles.
52219
52220 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52221
52222         [BZ #12454]
52223         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52224         dependencies are missing.
52225
52226 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52227
52228         Fix __if_freereq crash: Unlike the generic version which uses free,
52229         Hurd needs munmap.
52230         * sysdeps/mach/hurd/ifreq.h: New file.
52231
52232 2011-01-27  Petr Baudis  <pasky@suse.cz>
52233             Ulrich Drepper  <drepper@gmail.com>
52234
52235         [BZ 12445]#
52236         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52237         to extend_alloca().
52238         * stdio-common/bug23.c: New file.
52239         * stdio-common/Makefile (tests): Add bug23.
52240
52241 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52242             Ulrich Drepper  <drepper@gmail.com>
52243
52244         [BZ #12489]
52245         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52246         before performing relro protection.  At old place add assertion
52247         to make sure nothing changed.
52248
52249 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52250             Glauber de Oliveira Costa  <glommer@gmail.com>
52251
52252         * elf/elf.h: Add new ARM TLS relocs.
52253
52254 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52255
52256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52257         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52258         cast from r3.
52259         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52260         'tests' variable.
52261         * sysdeps/wordsize-64/tst-writev.c: New file.
52262
52263 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52264
52265         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52266         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52267         insns in _dl_start to prevent a TOC reference before relocs are
52268         resolved.
52269
52270 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52271
52272         [BZ #12469]
52273         * Makeconfig: Remove RANLIB definition.
52274         * Makerules: Don't use RANLIB.
52275         * aclocal.m4: Remove ranlib test.
52276         * configure.in: No need to check for ranlib.
52277         * elf/rtld-Rules: Don't use RANLIB.
52278
52279 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52280
52281         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52282         protection macro.
52283         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52284         inclusion protection macro.
52285
52286         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52287         SIGRTMIN and SIGRTMAX and print information in that case only when
52288         SIGRTMIN is defined.
52289
52290 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52291
52292         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52293         arginfo fn returning -1.
52294
52295         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52296         and thousands string is zero terminated.
52297
52298 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52299
52300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52301         sysdeps/unix/sysv/linux/bits/socket.h.
52302
52303 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52304
52305         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52306         (__CPU_COUNT): Remove old macros.
52307         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52308         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52309         (__CPU_ALLOC, __CPU_FREE): Add macros.
52310         (__sched_cpualloc, __sched_cpufree): Add declarations.
52311
52312 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52313
52314         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52315         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52316         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52317         (readdhstai): Return value of addhstaiX call.
52318         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52319         (addgrbyX): Return value returned by cache_addgr.
52320         (readdgrbyname): Return value returned by addgrbyX.
52321         (readdgrbygid): Likewise.
52322         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52323         (addpwbyX): Return value returned by cache_addpw.
52324         (readdpwbyname): Return value returned by addhstbyX.
52325         (readdpwbyuid): Likewise.
52326         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52327         (addservbyX): Return value returned by cache_addserv.
52328         (readdservbyname): Return value returned by addservbyX:
52329         (readdservbyport): Likewise.
52330         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52331         (addhstbyX): Return value returned by cache_addhst.
52332         (readdhstbyname): Return value returned by addhstbyX.
52333         (readdhstbyaddr): Likewise.
52334         (readdhstbynamev6): Likewise.
52335         (readdhstbyaddrv6): Likewise.
52336         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52337         (readdinitgroups): Return value returned by addinitgroupsX.
52338         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52339         (prune_cache): Keep track of timeout value of re-added entries.
52340         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52341         * nscd/nscd.h: Adjust prototypes of readd* functions.
52342
52343 2011-02-04  Roland McGrath  <roland@redhat.com>
52344
52345         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52346         (nis_stats): Likewise.
52347         * nis/nis_modify.c (nis_modify): Likewise.
52348         * nis/nis_remove.c (nis_remove): Likewise.
52349         * nis/nis_add.c (nis_add): Likewise.
52350
52351         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52352
52353         * posix/fnmatch_loop.c: Add some consts.
52354
52355         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52356
52357 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52358
52359         [BZ #12460]
52360         * config.make.in (config-cflags-novzeroupper): Define.
52361         * configure.in: Substitute libc_cv_cc_novzeroupper.
52362         * elf/Makefile (AVX-CFLAGS): Define.
52363         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52364         (CFLAGS-tst-auditmod4a.c): Likewise.
52365         (CFLAGS-tst-auditmod4b.c): Likewise.
52366         (CFLAGS-tst-auditmod6b.c): Likewise.
52367         (CFLAGS-tst-auditmod6c.c): Likewise.
52368         (CFLAGS-tst-auditmod7b.c): Likewise.
52369         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52370
52371 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52372
52373         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52374         function to the callback.
52375         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52376
52377 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52378
52379         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52380         of errno.
52381
52382 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52383
52384         [BZ #11724]
52385         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52386         of constructors.
52387         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52388         of destructors.
52389         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52390
52391         [BZ #11724]
52392         * elf/Makefile: Add rules to build and run new test.
52393         * elf/tst-initorder.c: New file.
52394         * elf/tst-initorder.exp: New file.
52395         * elf/tst-initordera1.c: New file.
52396         * elf/tst-initordera2.c: New file.
52397         * elf/tst-initordera3.c: New file.
52398         * elf/tst-initordera4.c: New file.
52399         * elf/tst-initorderb1.c: New file.
52400         * elf/tst-initorderb2.c: New file.
52401         * elf/tst-order-a1.c: New file.
52402         * elf/tst-order-a2.c: New file.
52403         * elf/tst-order-a3.c: New file.
52404         * elf/tst-order-a4.c: New file.
52405         * elf/tst-order-b1.c: New file.
52406         * elf/tst-order-b2.c: New file.
52407         * elf/tst-order-main.c: New file.
52408         New test case by George Gensure <werkt0@gmail.com>.
52409
52410 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52411
52412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52413         decoding ACE if AI_CANONIDN.
52414
52415 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52416
52417         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52418
52419 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52420
52421         * version.h (RELEASE): Bump for 2.13 release.
52422         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52423
52424         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52425
52426         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52427         MADV_NOHUGEPAGE.
52428         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52430         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52431         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52432         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52433         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52434
52435         * posix/getconf.c: Update copyright year.
52436         * catgets/gencat.c: Likewise.
52437         * csu/version.c: Likewise.
52438         * debug/catchsegv.sh: Likewise.
52439         * debug/xtrace.sh: Likewise.
52440         * elf/ldconfig.c: Likewise.
52441         * elf/ldd.bash.in: Likewise.
52442         * elf/sprof.c (print_version): Likewise.
52443         * iconv/iconv_prog.c: Likewise.
52444         * iconv/iconvconfig.c: Likewise.
52445         * locale/programs/locale.c: Likewise.
52446         * locale/programs/localedef.c: Likewise.
52447         * malloc/memusage.sh: Likewise.
52448         * malloc/mtrace.pl: Likewise.
52449         * nscd/nscd.c (print_version): Likewise.
52450         * nss/getent.c: Likewise.
52451
52452         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52453         PF_CAIF, and PF_ALG.
52454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52455
52456 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52457
52458         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52459         (modules-names): Use them.
52460         (ifunc-test-modules, ifunc-pie-tests): Define.
52461         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52462         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52463         (test-extras): Likewise.
52464         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52465         $(compile-command.c).
52466         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52467         (all-built-dso): Define.
52468         (check-textrel.out, check-execstack.out): Depend on it.
52469
52470         * configure.in: Don't override --enable-multi-arch.
52471
52472 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52473
52474         [BZ #6812]
52475         * nscd/hstcache.c (tryagain): Define.
52476         (cache_addhst): Return tryagain not notfound for temporary errors.
52477         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52478         failed.
52479
52480 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52481
52482         [BZ #10563]
52483         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52484         to make the syscall.
52485         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52486
52487         [BZ #12378]
52488         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52489         and fall back to matching as normal character if the string ends before
52490         the matching ']' is found.  This is what POSIX requires.
52491         * posix/testfnm.c: Adjust test result.
52492         * posix/globtest.sh: Adjust test result.  Add new test.
52493         * posix/tst-fnmatch.input: Likewise.
52494         * posix/tst-fnmatch2.c: Add new test.
52495
52496 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52497
52498         * elf/Makefile (check-execstack): Revert last change.  Depend on
52499         check-execstack.h.
52500         (check-execstack.h): New target.
52501         (generated): Add check-execstack.h.
52502         * elf/check-execstack.c: Include "check-execstack.h".
52503         (main): Revert last change.
52504         (handle_file): Return zero if GNU_STACK is absent and
52505         DEFAULT_STACK_PERMS doesn't include PF_X.
52506
52507 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52508
52509         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52510         in child fails because the descriptor is already closed.
52511         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52512         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52513         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52514
52515         [BZ #12397]
52516         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52517         syscall.
52518
52519         [BZ #10484]
52520         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52521         temporary buffer used to handle multi lookups locally.
52522         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52523
52524 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52525
52526         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52527         loader is ld.so.
52528
52529 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52530
52531         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52532         alignment for SSE2.
52533
52534 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52535
52536         [BZ #12394]
52537         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52538         characters.  When rounding increased number of integer digits recompute
52539         number of groups.
52540         * stdio-common/tst-grouping.c: New file.
52541         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52542
52543 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52544
52545         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52546         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52547
52548         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52549         void.
52550         * bits/select.h: Likewise.
52551
52552 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52553
52554         * po/ja.po: Update from translation team.
52555
52556 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52557
52558         [BZ #11155]
52559         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52560         implementation just like for lxstat, fxstatat, et al.
52561
52562 2010-12-27  Jim Meyering  <meyering@redhat.com>
52563
52564         [BZ #12348]
52565         * posix/regexec.c (build_trtable): Return failure indication upon
52566         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52567
52568 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52569
52570         [BZ #12201]
52571         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52572         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52573         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52574         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52575
52576         [BZ #12207]
52577         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52578
52579         [BZ #12204]
52580         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52581         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52582
52583 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52584
52585         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52586         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52587         script has SORT_BY_INIT_PRIORITY.
52588         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52589         NO_CTORS_DTORS_SECTIONS is defined.
52590         * elf/soinit.c: Likewise.
52591         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52592         NO_CTORS_DTORS_SECTIONS is defined.
52593         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52594         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52595         * sysdeps/sh/init-first.c: Likewise.
52596         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52597
52598 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52599
52600         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52601         always use the slow path.
52602
52603 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52604
52605         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52606         similar rule which adds the sysdep directories to the header search in
52607         order to pick up the correct platform stackinfo.h.
52608         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52609         perform test if it is, otherwise return successfully without testing.
52610         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52611         DEFAULT_STACK_PERMS define in stackinfo.h.
52612         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52613         defined in stackinfo.h.
52614         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52615         DEFAULT_STACK_PERMS defined in stackinfo.h.
52616         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52617         * sysdeps/ia64/stackinfo.h: Likewise.
52618         * sysdeps/s390/stackinfo.h: Likewise.
52619         * sysdeps/sh/stackinfo.h: Likewise.
52620         * sysdeps/sparc/stackinfo.h: Likewise.
52621         * sysdeps/x86_64/stackinfo.h: Likewise.
52622         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52623         PF_X for powerpc64.  Retain PF_X for powerpc32.
52624
52625 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52626
52627         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52628         accurately.
52629         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52630         GETDENTS_64BIT_ALIGNED.
52631
52632 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52633
52634         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52635
52636 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52637
52638         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52639         _GNU_SOURCE.
52640
52641         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52642         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52643         Remove __restrict.
52644         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52645         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52646
52647 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52648
52649         [BZ #11655]
52650         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52651         are initialized.
52652
52653 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52654
52655         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52656
52657 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52658
52659         * po/it.po: Update from translation team.
52660
52661 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52662
52663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52664         unused codes.
52665
52666 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52667
52668         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52669
52670 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52671
52672         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52673         specially.
52674         (gaih_getanswer_slice): Likewise.
52675
52676 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52677
52678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52679
52680 2010-05-31  Petr Baudis  <pasky@suse.cz>
52681
52682         [BZ #11149]
52683         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52684         silently even in the chroot mode.
52685
52686 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52687
52688         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52689         last patch a bit.  Pretty printing
52690
52691 2010-05-31  Petr Baudis <pasky@suse.cz>
52692
52693         [BZ #10085]
52694         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52695         initialization of skip_initgroups_dyn.
52696
52697 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52698
52699         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52700         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52701
52702 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52703
52704         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52705
52706 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52707
52708         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52709         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52710         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52711         ($(objpfx)tst-fnmatch-mem): New rule.
52712         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52713         * posix/tst-fnmatch.c (main): Call mtrace.
52714
52715 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52716
52717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52718         Support Intel processor model 6 and model 0x2c.
52719
52720 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52721
52722         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52723           signed comparison.
52724
52725 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52726
52727         [BZ #12205]
52728         * string/test-strncasecmp.c (check_result): New function.
52729         (do_one_test): Use it.
52730         (check1): New function.
52731         (test_main): Use it.
52732         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52733         Support strcasecmp and strncasecmp.
52734
52735 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52736
52737         [BZ #12194]
52738         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52739         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52740
52741 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52742
52743         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52744         IFUNC support.
52745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52746         memset-x86-64.
52747         * sysdeps/x86_64/multiarch/bzero.S: New file.
52748         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52749         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52750         * sysdeps/x86_64/multiarch/memset.S: New file.
52751         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52753         Set bit_Prefer_SSE_for_memop for Intel processors.
52754         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52755         Define.
52756         (index_Prefer_SSE_for_memop): Define.
52757         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52758
52759 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52760
52761         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52763
52764 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52765
52766         [BZ #12191]
52767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52768         (__x86_64_raw_data_cache_size_half): Likewise.
52769         (__x86_64_raw_shared_cache_size): Likewise.
52770         (__x86_64_raw_shared_cache_size_half): Likewise.
52771
52772         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52773         (__x86_64_raw_data_cache_size_half): Likewise.
52774         (__x86_64_raw_shared_cache_size): Likewise.
52775         (__x86_64_raw_shared_cache_size_half): Likewise.
52776         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52777         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52778         and __x86_64_raw_shared_cache_size_half.  Round
52779         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52780         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52781         to multiple of 256 bytes.
52782
52783 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52784
52785         [BZ #12167]
52786         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52787         of inacessible symlinks.  Verify result of symlink before returning it.
52788         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52789         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52790
52791 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52792
52793         * math/math.h (isinf): Fix typo in comment.
52794
52795 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52796
52797         * po/da.po: Update from translation team.
52798
52799 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52800
52801         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52802         is added to the list.
52803
52804 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52805             Ulrich Drepper  <drepper@gmail.com>
52806
52807         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52808         the global list here.  Move code to...
52809         (_dl_add_to_namespace_list): ...here.  New function.
52810         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52811         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52812         * elf/dl-load.c (lose): Don't remove the element from the list.
52813         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52814         (_dl_map_object): Likewise.
52815
52816 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52817
52818         [BZ #12159]
52819         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52820         into all bytes of SSE register.
52821         Patch by Richard Li <richardpku@gmail.com>.
52822
52823 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52824
52825         [BZ #12140]
52826         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52827         perturbing.
52828
52829 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52830
52831         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52832         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52833         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52834         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52836         submachine.
52837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52838
52839 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52840
52841         * include/dlfcn.h (__RTLD_SECURE): Define.
52842         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52843         mode & __RTLD_SECURE instead.
52844         (open_path): Rename preloaded parameter to secure.
52845         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52846         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52847         * elf/dl-deps.c (openaux): Likewise.
52848         * elf/rtld.c (struct map_args): Remove is_preloaded.
52849         (map_doit): Don't use it.
52850         (dl_main): Likewise.
52851         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52852         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52853
52854 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52855
52856         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52857         (sysd-rules-targets): Remove duplicates.
52858         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52859         rtld-%.$o dependency.
52860
52861 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52862
52863         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52864         _dl_map_object do it.
52865
52866 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52867
52868         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52869         fast fma builtins, define the macros in the C99 standard.
52870         (FP_FAST_FMAF): Likewise.
52871         (FP_FAST_FMAL): Likewise.
52872         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52873
52874         * bits/mathdef.h: Update copyright year.
52875         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52876
52877 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52878
52879         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52880         builtins, define the macros in the C99 standard.
52881         (FP_FAST_FMAF): Likewise.
52882         (FP_FAST_FMAL): Likewise.
52883         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52884         multiply/add.
52885         (FP_FAST_FMAF): Likewise.
52886
52887 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52888
52889         [BZ #3268]
52890         * math/libm-test.inc (fma_test): Some new testcases.
52891         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52892         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52893         y and infinite z.  Do multiplication by C already in long double.
52894         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52896         y and infinite z.  Do bitwise or of inexact bit into u.d.
52897         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52898         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52899         * sysdeps/i386/fpu/s_fma.S: Removed.
52900         * sysdeps/i386/fpu/s_fmal.S: Removed.
52901
52902 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52903
52904         [BZ #3268]
52905         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52907         computation is not scheduled after fetestexcept.  Fix value
52908         of minimum denormal long double.
52909
52910 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52911
52912         [BZ #3268]
52913         * math/libm-test.inc (fma_test): Add some more tests.
52914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52915         correctly.
52916
52917 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52918
52919         * scripts/data/localplt-s390-linux-gnu.data: New file.
52920         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52921
52922 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52923
52924         [BZ #3268]
52925         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52926         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52927         instead of dbl-64.
52928         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52929         inlines.
52930         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52932         if one of x and y is very large and the other is subnormal.
52933         * sysdeps/s390/fpu/s_fmaf.c: New file.
52934         * sysdeps/s390/fpu/s_fma.c: New file.
52935         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52936         * sysdeps/powerpc/fpu/s_fma.S: New file.
52937         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52938         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52939         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52940
52941 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52942
52943         [BZ #3268]
52944         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52945         fma tests.
52946         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52947         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52948         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52949         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52950         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52951         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52952         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52953
52954 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52955
52956         [BZ #12078]
52957         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52958         * posix/bug-regex31.input: Add test case.
52959
52960 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52961
52962         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52963         * posix/bug-regex31.input: New file.
52964
52965         [BZ #12078]
52966         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52967         (parse_sub_exp): Fix last change, use postorder.
52968
52969         * posix/bug-regex31.c: New file.
52970         * posix/Makefile: Add rules to build and run bug-regex31.
52971
52972         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52973
52974         [BZ #12078]
52975         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52976
52977         [BZ #12108]
52978         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52979         to have entries in sys_siglist.
52980
52981         [BZ #12093]
52982         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52983         be NULL.
52984
52985 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52986
52987         [BZ #3268]
52988         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52989         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52990         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52991         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52992         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52993         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52994         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52995         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52996         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52997         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52998         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52999         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53000         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53001         * math/ftestexcept.c (fetestexcept): Likewise.
53002         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53003         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53004         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53005         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53006         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53007         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53008         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53009
53010 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53011
53012         [BZ #12107]
53013         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53014         newline.
53015
53016 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53017
53018         * string/bug-strstr1.c: New file.
53019         * string/Makefile: Add rules to build and run bug-strstr1.
53020
53021 2010-10-05  Eric Blake  <eblake@redhat.com>
53022
53023         [BZ #12092]
53024         * string/str-two-way.h (two_way_long_needle): Always clear memory
53025         when skipping input due to the shift table.
53026
53027 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53028
53029         [BZ #12005]
53030         * malloc/mcheck.c: Handle large requests.
53031
53032         [BZ #12077]
53033         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53034         for strncmp and strncasecmp.
53035         * string/stratcliff.c: Add tests for strcmp and strncmp.
53036         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53037
53038 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53039
53040         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53041         __set_fpscr.
53042
53043 2010-09-30  Andreas Jaeger  <aj@suse.de>
53044
53045         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53046         (CGROUP_SUPER_MAGIC): Define.
53047         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53048         Handle btrfs and cgroup file systems.
53049         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53050         Likewise.
53051
53052 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53053
53054         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53055         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53056
53057 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53058
53059         [BZ #12067]
53060         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53061         trying to locate the ELF header.
53062
53063 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53064
53065         [BZ #11611]
53066         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53067         Mask out sign-bit copies when constructing f_fsid.
53068
53069 2010-09-24  Petr Baudis <pasky@suse.cz>
53070
53071         * debug/stack_chk_fail_local.c: Add missing licence exception.
53072         * debug/warning-nop.c: Likewise.
53073
53074 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53075
53076         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53077         implementing getdents64 using getdents syscall, set d_type if
53078         __ASSUME_GETDENTS32_D_TYPE.
53079
53080 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53081
53082         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53083         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53084
53085 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53086
53087         [BZ #12037]
53088         * posix/unistd.h: Undo change of feature selection for ftruncate from
53089         2010-01-11.
53090
53091 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53092
53093         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53094         detection.
53095
53096 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53097
53098         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53099         fanotify_mark.
53100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53101
53102 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53103
53104         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53105         variables after CHECK_SP call.
53106         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53107
53108 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53109             Ulrich Drepper  <drepper@redhat.com>
53110
53111         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53112         re-relocationg ld.so.
53113         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53114         _dl_init_paths call.
53115         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53116         here anymore.
53117
53118 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53119
53120         * resolv/res_init.c (__res_vinit): Count the default server we added.
53121
53122 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53123             Ulrich Drepper  <drepper@redhat.com>
53124
53125         [BZ #11968]
53126         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53127         (____longjmp_chk): Use %ebx for saving value across system call.
53128         Add unwind info.
53129
53130 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53131
53132         * manual/Makefile: Don't mix pattern rules with normal rules.
53133
53134 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53135
53136         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53137         operation.
53138         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53139         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53140         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53141         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53143         Likewise.
53144
53145 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53146
53147         [BZ #11979]
53148         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53149         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53150
53151 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53152
53153         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53154         * sysdeps/x86_64/addmul_1.S: Likewise.
53155         * sysdeps/x86_64/lshift.S: Likewise.
53156         * sysdeps/x86_64/mul_1.S: Likewise.
53157         * sysdeps/x86_64/rshift.S: Likewise.
53158         * sysdeps/x86_64/sub_n.S: Likewise.
53159         * sysdeps/x86_64/submul_1.S: Likewise.
53160
53161 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53162
53163         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53164         Define __sched_param instead of SCHED_* and sched_param when
53165         <bits/sched.h> is included with __need_schedparam defined.
53166         * bits/sched.h [__need_schedparam]
53167         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53168         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53169         (__defined_schedparam): Define to 1.
53170         (__sched_param): New structure, identical to sched_param.
53171         (__need_schedparam): Undefine.
53172
53173 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53174
53175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53176         (epoll_create1): Declare.
53177
53178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53179
53180 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53181
53182         [BZ #7066]
53183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53184         shifting retval into place.
53185
53186 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53187
53188         * nis/rpcsvc/nis.h: Update copyright notice.
53189         * nis/rpcsvc/nis.x: Likewise.
53190         * nis/rpcsvc/nis_callback.h: Likewise.
53191         * nis/rpcsvc/nis_callback.x: Likewise.
53192         * nis/rpcsvc/nis_object.x: Likewise.
53193         * nis/rpcsvc/nis_tags.h: Likewise.
53194         * nis/rpcsvc/yp.h: Likewise.
53195         * nis/rpcsvc/yp.x: Likewise.
53196         * nis/rpcsvc/ypupd.h: Likewise.
53197         * nis/yp_xdr.c: Likewise.
53198         * nis/ypupdate_xdr.c: Likewise.
53199
53200         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53201         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53202         (pmap_getport): Use __libc_rpc_getport.
53203         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53204         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53205         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53206
53207 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53208
53209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53210         fanotify_mark.
53211
53212 2010-08-27  Roland McGrath  <roland@redhat.com>
53213
53214         * sysdeps/i386/i686/multiarch/Makefile
53215         (CFLAGS-varshift.c): New variable.
53216
53217 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53218
53219         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53220         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53221
53222         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53223
53224         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53225
53226 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53227
53228         * sysdeps/x86_64/strlen.S: Unroll the loop.
53229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53230         strlen-sse2 strlen-sse2-bsf.
53231         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53232         __strlen_no_bsf if bit_Slow_BSF is set.
53233         (__strlen_sse42): Removed.
53234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53235         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53236
53237 2010-08-25  Roland McGrath  <roland@redhat.com>
53238
53239         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53240         * sysdeps/x86_64/multiarch/varshift.c: New file.
53241         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53242         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53243         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53245
53246 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53247
53248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53249         strlen-sse2 strlen-sse2-bsf.
53250         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53251         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53252         (__strlen_sse2): Removed.
53253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53256         bit_Slow_BSF for Atom.
53257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53258         (index_Slow_BSF): Define.
53259         (HAS_SLOW_BSF): Define.
53260
53261 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53262
53263         [BZ #10851]
53264         * resolv/res_init.c (__res_vinit): When no server address at all
53265         is given default to loopback.
53266
53267 2010-08-24  Roland McGrath  <roland@redhat.com>
53268
53269         * configure.in: Remove config-name.h generation.
53270         * configure: Regenerated.
53271         * config-name.in: File removed.
53272         * scripts/config-uname.sh: New file.
53273         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53274         ($(objdir)config-name.h): New target.
53275
53276         * sunrpc/rpc_parse.h: Avoid nested comment.
53277
53278 2010-08-24  Richard Henderson  <rth@redhat.com>
53279             Ulrich Drepper  <drepper@redhat.com>
53280             H.J. Lu  <hongjiu.lu@intel.com>
53281
53282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53284         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53285         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53286         _mm_alignr_epi8 with _mm_loadu_si128.
53287         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53288         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53289         (__m128i_shift_right): Removed.
53290         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53291         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53292         * sysdeps/x86_64/multiarch/varshift.h: New file.
53293         * sysdeps/x86_64/multiarch/varshift.S: New file.
53294
53295 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53296
53297         * configure.in: Move assembler checks to before sysdep dir checking.
53298
53299 2010-08-20  Petr Baudis  <pasky@suse.cz>
53300
53301         * LICENSES: Sync the sunrpc license.
53302
53303 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53304
53305         * sunrpc/auth_des.c: Update copyright notice once again.
53306         * sunrpc/auth_none.c: Likewise.
53307         * sunrpc/auth_unix.c: Likewise.
53308         * sunrpc/authdes_prot.c: Likewise.
53309         * sunrpc/authuxprot.c: Likewise.
53310         * sunrpc/bindrsvprt.c: Likewise.
53311         * sunrpc/clnt_gen.c: Likewise.
53312         * sunrpc/clnt_perr.c: Likewise.
53313         * sunrpc/clnt_raw.c: Likewise.
53314         * sunrpc/clnt_simp.c: Likewise.
53315         * sunrpc/clnt_tcp.c: Likewise.
53316         * sunrpc/clnt_udp.c: Likewise.
53317         * sunrpc/clnt_unix.c: Likewise.
53318         * sunrpc/des_crypt.c: Likewise.
53319         * sunrpc/des_soft.c: Likewise.
53320         * sunrpc/get_myaddr.c: Likewise.
53321         * sunrpc/getrpcport.c: Likewise.
53322         * sunrpc/key_call.c: Likewise.
53323         * sunrpc/key_prot.c: Likewise.
53324         * sunrpc/openchild.c: Likewise.
53325         * sunrpc/pm_getmaps.c: Likewise.
53326         * sunrpc/pm_getport.c: Likewise.
53327         * sunrpc/pmap_clnt.c: Likewise.
53328         * sunrpc/pmap_prot.c: Likewise.
53329         * sunrpc/pmap_prot2.c: Likewise.
53330         * sunrpc/pmap_rmt.c: Likewise.
53331         * sunrpc/rpc/auth.h: Likewise.
53332         * sunrpc/rpc/auth_unix.h: Likewise.
53333         * sunrpc/rpc/clnt.h: Likewise.
53334         * sunrpc/rpc/des_crypt.h: Likewise.
53335         * sunrpc/rpc/key_prot.h: Likewise.
53336         * sunrpc/rpc/netdb.h: Likewise.
53337         * sunrpc/rpc/pmap_clnt.h: Likewise.
53338         * sunrpc/rpc/pmap_prot.h: Likewise.
53339         * sunrpc/rpc/pmap_rmt.h: Likewise.
53340         * sunrpc/rpc/rpc.h: Likewise.
53341         * sunrpc/rpc/rpc_des.h: Likewise.
53342         * sunrpc/rpc/rpc_msg.h: Likewise.
53343         * sunrpc/rpc/svc.h: Likewise.
53344         * sunrpc/rpc/svc_auth.h: Likewise.
53345         * sunrpc/rpc/types.h: Likewise.
53346         * sunrpc/rpc/xdr.h: Likewise.
53347         * sunrpc/rpc_clntout.c: Likewise.
53348         * sunrpc/rpc_cmsg.c: Likewise.
53349         * sunrpc/rpc_common.c: Likewise.
53350         * sunrpc/rpc_cout.c: Likewise.
53351         * sunrpc/rpc_dtable.c: Likewise.
53352         * sunrpc/rpc_hout.c: Likewise.
53353         * sunrpc/rpc_main.c: Likewise.
53354         * sunrpc/rpc_parse.c: Likewise.
53355         * sunrpc/rpc_parse.h: Likewise.
53356         * sunrpc/rpc_prot.c: Likewise.
53357         * sunrpc/rpc_sample.c: Likewise.
53358         * sunrpc/rpc_scan.c: Likewise.
53359         * sunrpc/rpc_scan.h: Likewise.
53360         * sunrpc/rpc_svcout.c: Likewise.
53361         * sunrpc/rpc_tblout.c: Likewise.
53362         * sunrpc/rpc_util.c: Likewise.
53363         * sunrpc/rpc_util.h: Likewise.
53364         * sunrpc/rpcinfo.c: Likewise.
53365         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53366         * sunrpc/rpcsvc/key_prot.x: Likewise.
53367         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53368         * sunrpc/rpcsvc/mount.x: Likewise.
53369         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53370         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53371         * sunrpc/rpcsvc/rex.x: Likewise.
53372         * sunrpc/rpcsvc/rstat.x: Likewise.
53373         * sunrpc/rpcsvc/rusers.x: Likewise.
53374         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53375         * sunrpc/rpcsvc/spray.x: Likewise.
53376         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53377         * sunrpc/rtime.c: Likewise.
53378         * sunrpc/svc.c: Likewise.
53379         * sunrpc/svc_auth.c: Likewise.
53380         * sunrpc/svc_authux.c: Likewise.
53381         * sunrpc/svc_raw.c: Likewise.
53382         * sunrpc/svc_run.c: Likewise.
53383         * sunrpc/svc_simple.c: Likewise.
53384         * sunrpc/svc_tcp.c: Likewise.
53385         * sunrpc/svc_udp.c: Likewise.
53386         * sunrpc/svc_unix.c: Likewise.
53387         * sunrpc/svcauth_des.c: Likewise.
53388         * sunrpc/xcrypt.c: Likewise.
53389         * sunrpc/xdr.c: Likewise.
53390         * sunrpc/xdr_array.c: Likewise.
53391         * sunrpc/xdr_float.c: Likewise.
53392         * sunrpc/xdr_mem.c: Likewise.
53393         * sunrpc/xdr_rec.c: Likewise.
53394         * sunrpc/xdr_ref.c: Likewise.
53395         * sunrpc/xdr_sizeof.c: Likewise.
53396         * sunrpc/xdr_stdio.c: Likewise.
53397
53398         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53399         handling.
53400
53401 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53402
53403         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53404
53405 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53406
53407         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53408         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53409         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53410         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53411         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53412         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53413         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53414         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53416         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53417         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53418         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53419         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53420         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53421
53422 2010-07-26  Anton Blanchard  <anton@samba.org>
53423
53424         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53425         * malloc/arena.c (heap_trim): Likewise.
53426
53427 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53428
53429         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53430         here.  Not...
53431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53432         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53433
53434 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53435
53436         * sysdeps/i386/elf/Makefile: New file.
53437
53438 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53439
53440         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53441         from fanotify_init.
53442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53444
53445 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53446
53447         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53448         of strncasecmp_l.
53449         * sysdeps/multiarch/strcmp.S: Likewise.
53450
53451 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53452
53453         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53454         strncase_l-nonascii.
53455         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53456         Add strncase_l-ssse3.
53457         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53458         * sysdeps/x86_64/strcmp.S: Likewise.
53459         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53460         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53461         * sysdeps/x86_64/strncase.S: New file.
53462         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53463         * sysdeps/x86_64/strncase_l.S: New file.
53464         * string/Makefile (strop-tests): Add strncasecmp.
53465         * string/test-strncasecmp.c: New file.
53466
53467         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53468         warning.
53469
53470         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53471         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53472
53473 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53474
53475         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53476
53477 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53478
53479         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53480         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53481         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53482
53483 2010-05-01  Alan Modra  <amodra@gmail.com>
53484
53485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53486         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53487         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53488         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53489         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53490         tidying.  Don't tail-call __sigjmp_save for static lib.
53491         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53492         save location.
53493         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53494         (CALL_MCOUNT): Add eh info, and nop after bl.
53495         (TAIL_CALL_SYSCALL_ERROR): New macro.
53496         (PSEUDO_RET): Use it.
53497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53498         Correct save location of integer regs and cr.
53499         (_dl_profile_resolve): Correct cr save location.  Delete nops
53500         after bl when SHARED.  Reduce cfi size a little by better
53501         placement of cfi directives.
53502         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53503         make a stack frame.  Instead use parm save area as a temp.
53504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53505         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53507         Don't make a stack frame for parent, use parm save area.
53508         Increase child stack frame to 112 bytes.  Don't save unused reg,
53509         and adjust reg usage.  Set up cfi on error recovery and
53510         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53512         (__makecontext): Add dummy nop after jump to exit.
53513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53514         Use correct parm save area and cr save, reduce stack frame.
53515         Correct cfi for possible PSEUDO_RET frame setup.
53516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53517         Branch to local label emitted by PSEUDO_RET rather than
53518         __syscall_error.
53519
53520 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53521
53522         [BZ #11904]
53523         * locale/programs/locale.c (print_assignment): New function.
53524         (show_locale_vars): Use it.
53525
53526 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53527
53528         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53529         field.
53530         (struct statfs64): Likewise.
53531         (_STATFS_F_FLAGS): Define.
53532         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53534         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53535         (ST_VALID): Define locally.
53536         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53537         __statvfs_getflags, use the provided value.
53538         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53539         __ASSUME_STATFS_F_FLAGS.
53540
53541         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53542
53543         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53544         Add sys/fanotify.h.
53545         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53546         fanotify_mask for GLIBC_2.13.
53547         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53548         fanotify_init and fanotify_mark.
53549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53550         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53551
53552         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53553         Add prlimit.
53554         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53555         prlimit64 for GLIBC_2.13.
53556         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53557         prlimit64.
53558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53559         syscall.
53560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53562         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53563         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53565         add prlimit alias.
53566         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53567
53568         [BZ #11903]
53569         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53570         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53571
53572         * nss/Makefile: Add rules to build and run tst-nss-test1.
53573         * shlib-versions: Add entry for libnss_test1.
53574         * nss/nss_test1.c: New file.
53575         * nss/tst-nss-test1.c: New file.
53576
53577         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53578         (__nss_configure_lookup): Set appropriate entry in
53579         __nss_configure_lookup to true.
53580         * nss/nsswitch.h: Define enum with indeces of databases in
53581         databases and __nss_database_custom arrays.  Declare
53582         __nss_database_custom.
53583         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53584         to avoid using nscd when custom rules are installed.
53585         * nss/getXXbyYY_r.c: Likewise.
53586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53587
53588         * nss/nss_files/files-parse.c: Whitespace fixes.
53589
53590 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53591
53592         [BZ #11883]
53593         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53594         * posix/fnmatch_loop.c: Likewise.
53595
53596 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53597
53598         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53599         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53600         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53601         * Versions.def [GLIBC_2.13]: Add.
53602
53603 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53604
53605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53606         Also fail if tpwd after pwuid call is NULL.
53607
53608 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53609
53610         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53611         when converting to ms.
53612
53613 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53614
53615         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53616         EOPNOTSUPP errors with ENOTTY.
53617         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53618         EOPNOTSUPP errors with ENOTTY.
53619
53620 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53621
53622         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53623         Add strcasecmp_l-ssse3.
53624         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53625         strcasecmp.
53626         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53627         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53628         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53629
53630 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53631
53632         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53633
53634         * string/Makefile (strop-tests): Add strcasecmp.
53635         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53636         strcasecmp_l-nonascii.
53637         (gen-as-const-headers): Add locale-defines.sym.
53638         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53639         * sysdeps/x86_64/strcasecmp.S: New file.
53640         * sysdeps/x86_64/strcasecmp_l.S: New file.
53641         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53642         * sysdeps/x86_64/locale-defines.sym: New file.
53643         * string/test-strcasecmp.c: New file.
53644
53645         * string/test-strcasestr.c: Test both ends of the range of characters.
53646         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53647
53648 2010-07-29  Roland McGrath  <roland@redhat.com>
53649
53650         [BZ #11856]
53651         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53652
53653 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53654
53655         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53656         for ld.so.
53657
53658 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53659
53660         * manual/memory.texi (Malloc Tunable Parameters): Document
53661         M_PERTURB.
53662
53663 2010-07-26  Roland McGrath  <roland@redhat.com>
53664
53665         [BZ #11840]
53666         * configure.in (-fgnu89-inline check): Set and substitute
53667         gnu89_inline, not libc_cv_gnu89_inline.
53668         * configure: Regenerated.
53669         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53670
53671 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53672
53673         * string/test-strnlen.c: New file.
53674         * string/Makefile (strop-tests): Add strnlen.
53675         * string/tester.c (test_strnlen): Add a few more test cases.
53676         * string/tst-strlen.c: Better error reporting.
53677
53678         * sysdeps/x86_64/strnlen.S: New file.
53679
53680 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53681
53682         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53683         lower-latency instructions.
53684
53685 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53686
53687         * string/test-strcasestr.c: New file.
53688         * string/test-strstr.c: New file.
53689         * string/Makefile (strop-tests): Add strstr and strcasestr.
53690         * string/str-two-way.h: Don't undefine MAX.
53691         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53692
53693 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53694
53695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53696         strcasestr-nonascii.
53697         (CFLAGS-strcasestr-nonascii.c): Define.
53698         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53699         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53700         Remove unused attribute.
53701
53702 2010-07-20  Roland McGrath  <roland@redhat.com>
53703
53704         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53705         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53706         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53707         like LD_HWCAP_MASK can disable hwcaps.
53708
53709 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53710
53711         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53712
53713 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53714
53715         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53716         call in strcasestr.
53717         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53718         __strcasestr_sse42_nonascii.
53719         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53720         strcasestr-nonascii.c.
53721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53722
53723 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53724
53725         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53726         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53727         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53728         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53729
53730 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53731
53732         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53733         fcntl.
53734
53735 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53736
53737         [BZ #11577]
53738         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53739         dl_signal_cerror.
53740
53741 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53742
53743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53744         _PC_PIPE_BUF using F_GETPIPE_SZ.
53745
53746 2010-07-05  Roland McGrath  <roland@redhat.com>
53747
53748         * manual/arith.texi (Rounding Functions): Fix rint description
53749         implicit in round description.
53750
53751 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53752
53753         * elf/Makefile: Fix linking for a few tests to make recent linker
53754         happy.
53755
53756 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53757
53758         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53759         $(common-objpfx)libc_nonshared.a.
53760
53761 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53762
53763         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53764         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53765         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53766         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53767         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53768         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53769         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53770         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53785         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53786         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53787         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53788         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53789         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53790         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53791         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53792         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53793         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53794         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53795         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53796         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53811
53812 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53813
53814         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53815         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53816         * string/memmove.c (memmove): Renamed to ...
53817         (MEMMOVE): ...this.  Default to memmove.
53818         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53819         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53820         (END_CHK): Define.
53821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53822         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53823         mempcpy-ssse3-back memmove-ssse3-back.
53824         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53825         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53826         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53827         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53828         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53829         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53830         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53831         * sysdeps/x86_64/multiarch/memmove.c: New file.
53832         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53833         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53834         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53835         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53838         Define.
53839         (index_Fast_Copy_Backward): Define.
53840         (HAS_ARCH_FEATURE): Define.
53841         (HAS_FAST_REP_STRING): Define.
53842         (HAS_FAST_COPY_BACKWARD): Define.
53843
53844 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53845
53846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53847         Restore proper fallback handling.
53848
53849 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53850
53851         [BZ #11701]
53852         * posix/group_member.c (__group_member): Correct checking loop.
53853
53854         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53855         OOM in getpwuid_r correctly.  Return error number when the caller
53856         should return, otherwise -1.
53857         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53858         call returning > 0 value.
53859         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53860
53861 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53862
53863         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53864         libc_nonshared.a from targets in modules-names.
53865
53866 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53867
53868         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53869         requires it.
53870
53871 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53872
53873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53874         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53875         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53877
53878 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53879
53880         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53881
53882 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53883
53884         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53885         and F_GETPIPE_SZ.
53886         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53891         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53892
53893 2010-06-14  Roland McGrath  <roland@redhat.com>
53894
53895         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53896
53897 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53898
53899         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53900         __REDIRECT followed by __THROW.
53901         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53902         * posix/getopt.h (getopt): Likewise.
53903
53904 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53905
53906         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53907         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53908         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53909         in AT_FLAGS.
53910         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53911         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53912
53913 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53914
53915         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53916
53917 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53918
53919         [BZ #11640]
53920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53921         Properly check family and model.
53922
53923 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53924
53925         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53926
53927 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53928
53929         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53930
53931 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53932
53933         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53934         symbol reference.
53935
53936 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53937
53938         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53939         symbol reference.
53940
53941 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53942
53943         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53944         and internal_recvmmsg.
53945         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53946         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53947         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53948         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53949
53950         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53951         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53952         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53953
53954 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53955
53956         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53957
53958 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53959
53960         POWER7 optimizations.
53961         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53962         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53963
53964 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53965
53966         * version.h: Update for 2.13 development version.
53967
53968 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53969
53970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53971         exceptions.  Return 0.
53972
53973 2010-05-07  Roland McGrath  <roland@redhat.com>
53974
53975         * elf/ldconfig.c (main): Add a const.
53976
53977 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53978
53979         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53980         (args_options): Add no-idn option.
53981         (ahosts_keys_int): Add idn_flags to ai_flags.
53982         (parse_option): Handle 'i' option to clear idn_flags.
53983
53984         * malloc/malloc.c (_int_free): Possible race in the most recently
53985         added check.  Only act on the data if no current modification
53986         happened.
53987
53988 See ChangeLog.17 for earlier changes.