m68k: don't expect PLT reference to __tls_get_addr
[platform/upstream/glibc.git] / ChangeLog
1 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2
3         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4         __tls_get_addr.
5
6 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7
8         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10         (__waitpid): Don't define as alias.  Use libc_hidden_def not
11         libc_hidden_weak.
12         (waitpid): Define as alias of __waitpid.
13         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
14         __waitpid.
15         (__waitpid): Don't define as alias.  Use libc_hidden_def not
16         libc_hidden_weak.
17         (waitpid): Define as alias of __waitpid.
18         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19         __libc_waitpid alias.
20         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
22         Likewise.
23         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
24         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
25         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26         alias.
27         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28         __waitpid.
29         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30         libc_hidden_weak.
31         (waitpid): Define as alias of __waitpid.
32
33 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34
35         * manual/llio.texi: Add comment that write safety has been
36         fixed in Linux.
37
38         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
39         (localplt-build-dso): Add elf/ld.so.
40         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
42         and free for ld.so.
43         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
45         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
46         Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48         Likewise.
49         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
50         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
51         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
52         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
53         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
54         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
55         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
56         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
57         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
58         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
60
61 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
62
63         [BZ #14132]
64         * include/libc-symbols.h (INTUSE): Remove macro.
65         (INTDEF): Likewise.
66         (INTVARDEF): Likewise.
67         (_INTVARDEF): Likewise.
68         (INTDEF2): Likewise.
69         (INTVARDEF2): Likewise.
70         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
71         rtld_hidden_def instead of INTVARDEF.
72         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
73         (_dl_starting_up_internal): Remove declaration.
74         (_dl_starting_up): Use rtld_hidden_proto.
75         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
76         declaration.
77         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
78         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
79         _dl_starting_up.
80         * elf/dl-writev.h (_dl_writev): Likewise.
81         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
82         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
83         _dl_starting_up_internal.
84
85 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86
87         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
88         test-skeleton.c.
89
90 2014-11-05  Will Newton  <will.newton@linaro.org>
91
92         * benchtests/Makefile: (bench-malloc): Add malloc thread
93         scalability benchmark.
94         * benchtests/bench-malloc-threads.c: New file.
95
96 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
97
98         * sysdeps/aarch64/strchrnul.S: New file.
99
100 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
101
102         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
103         definition.
104         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
105         Likwise.
106         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
107         Likewise.
108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
109         Likewise.
110         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
111         Likewise.
112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
113         Likewise.
114
115 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
116
117         * catgets/test-gencat.c: Use test-skeleton.c.
118         * catgets/tst-catgets.c: Likewise.
119         * csu/tst-empty.c: Likewise.
120         * elf/tst-audit2.c: Likewise.
121         * elf/tst-global1.c: Likewise.
122         * elf/tst-pathopt.c: Likewise.
123         * elf/tst-piemod1.c: Likewise.
124         * elf/tst-tls10.c: Likewise.
125         * elf/tst-tls11.c: Likewise.
126         * elf/tst-tls12.c: Likewise.
127         * gnulib/tst-gcc.c: Likewise.
128         * iconvdata/tst-e2big.c: Likewise.
129         * iconvdata/tst-loading.c: Likewise.
130         * iconv/tst-iconv1.c: Likewise.
131         * iconv/tst-iconv2.c: Likewise.
132         * inet/test-inet6_opt.c: Likewise.
133         * inet/tst-gethnm.c: Likewise.
134         * inet/tst-network.c: Likewise.
135         * inet/tst-ntoa.c: Likewise.
136         * intl/tst-codeset.c: Likewise.
137         * intl/tst-gettext2.c: Likewise.
138         * intl/tst-gettext3.c: Likewise.
139         * intl/tst-ngettext.c: Likewise.
140         * intl/tst-translit.c: Likewise.
141         * io/test-stat.c: Likewise.
142         * libio/test-fmemopen.c: Likewise.
143         * libio/tst-freopen.c: Likewise.
144         * libio/tst-sscanf.c: Likewise.
145         * libio/tst-ungetwc1.c: Likewise.
146         * libio/tst-ungetwc2.c: Likewise.
147         * libio/tst-widetext.c: Likewise.
148         * localedata/tst-ctype.c: Likewise.
149         * localedata/tst-digits.c: Likewise.
150         * localedata/tst-leaks.c: Likewise.
151         * localedata/tst-mbswcs1.c: Likewise.
152         * localedata/tst-mbswcs2.c: Likewise.
153         * localedata/tst-mbswcs3.c: Likewise.
154         * localedata/tst-mbswcs4.c: Likewise.
155         * localedata/tst-mbswcs5.c: Likewise.
156         * localedata/tst-setlocale.c: Likewise.
157         * localedata/tst-trans.c: Likewise.
158         * localedata/tst-wctype.c: Likewise.
159         * localedata/tst-xlocale1.c: Likewise.
160         * login/tst-grantpt.c: Likewise.
161         * malloc/tst-calloc.c: Likewise.
162         * malloc/tst-malloc.c: Likewise.
163         * malloc/tst-mallocstate.c: Likewise.
164         * malloc/tst-mcheck.c: Likewise.
165         * malloc/tst-mtrace.c: Likewise.
166         * malloc/tst-obstack.c: Likewise.
167         * math/atest-exp2.c: Likewise.
168         * math/atest-exp.c: Likewise.
169         * math/atest-sincos.c: Likewise.
170         * math/test-matherr.c: Likewise.
171         * math/test-misc.c: Likewise.
172         * math/test-powl.c: Likewise.
173         * math/tst-definitions.c: Likewise.
174         * misc/tst-dirname.c: Likewise.
175         * misc/tst-efgcvt.c: Likewise.
176         * misc/tst-fdset.c: Likewise.
177         * misc/tst-hsearch.c: Likewise.
178         * misc/tst-mntent2.c: Likewise.
179         * nptl/tst-sem7.c: Likewise.
180         * nptl/tst-sem8.c: Likewise.
181         * nptl/tst-sem9.c: Likewise.
182         * nss/test-netdb.c: Likewise.
183         * posix/tst-fnmatch.c: Likewise.
184         * posix/tst-getlogin.c: Likewise.
185         * posix/tst-gnuglob.c: Likewise.
186         * posix/tst-mmap.c: Likewise.
187         * pwd/tst-getpw.c: Likewise.
188         * resolv/tst-inet_ntop.c: Likewise.
189         * rt/tst-timer.c: Likewise.
190         * stdio-common/test-fseek.c: Likewise.
191         * stdio-common/test-popen.c: Likewise.
192         * stdio-common/test-vfprintf.c: Likewise.
193         * stdio-common/tst-cookie.c: Likewise.
194         * stdio-common/tst-fileno.c: Likewise.
195         * stdio-common/tst-gets.c: Likewise.
196         * stdio-common/tst-obprintf.c: Likewise.
197         * stdio-common/tst-perror.c: Likewise.
198         * stdio-common/tst-sprintf2.c: Likewise.
199         * stdio-common/tst-sprintf3.c: Likewise.
200         * stdio-common/tst-sprintf.c: Likewise.
201         * stdio-common/tst-swprintf.c: Likewise.
202         * stdio-common/tst-tmpnam.c: Likewise.
203         * stdio-common/tst-unbputc.c: Likewise.
204         * stdio-common/tst-wc-printf.c: Likewise.
205         * stdlib/tst-environ.c: Likewise.
206         * stdlib/tst-fmtmsg.c: Likewise.
207         * stdlib/tst-limits.c: Likewise.
208         * stdlib/tst-rand48-2.c: Likewise.
209         * stdlib/tst-rand48.c: Likewise.
210         * stdlib/tst-random2.c: Likewise.
211         * stdlib/tst-random.c: Likewise.
212         * stdlib/tst-strtol.c: Likewise.
213         * stdlib/tst-strtoll.c: Likewise.
214         * stdlib/tst-tls-atexit.c: Likewise.
215         * stdlib/tst-xpg-basename.c: Likewise.
216         * string/test-ffs.c: Likewise.
217         * string/tst-bswap.c: Likewise.
218         * string/tst-inlcall.c: Likewise.
219         * string/tst-strtok.c: Likewise.
220         * string/tst-strxfrm.c: Likewise.
221         * sysdeps/x86_64/tst-audit10.c: Likewise.
222         * sysdeps/x86_64/tst-audit3.c: Likewise.
223         * sysdeps/x86_64/tst-audit4.c: Likewise.
224         * sysdeps/x86_64/tst-audit5.c: Likewise.
225         * time/tst-ftime_l.c: Likewise.
226         * time/tst-getdate.c: Likewise.
227         * time/tst-mktime3.c: Likewise.
228         * time/tst-mktime.c: Likewise.
229         * time/tst-posixtz.c: Likewise.
230         * time/tst-strptime2.c: Likewise.
231         * time/tst-strptime3.c: Likewise.
232         * wcsmbs/tst-btowc.c: Likewise.
233         * wcsmbs/tst-mbrtowc.c: Likewise.
234         * wcsmbs/tst-mbsrtowcs.c: Likewise.
235         * wcsmbs/tst-wchar-h.c: Likewise.
236         * wcsmbs/tst-wcpncpy.c: Likewise.
237         * wcsmbs/tst-wcrtomb.c: Likewise.
238         * wcsmbs/tst-wcsnlen.c: Likewise.
239         * wcsmbs/tst-wcstof.c: Likewise.
240
241 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
242
243         [BZ #14132]
244         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
245         INTDEF.
246         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
247         declaration.
248         (_dl_mcount): Use rtld_hidden_proto.
249         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
250         _dl_mcount.
251         * elf/rtld.c (_rtld_global_ro): Likewise.
252
253         [BZ #14132]
254         * elf/dl-init.c (_dl_init): Don't use INTDEF.
255         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
256         of _dl_init_internal.
257         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
258         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
259         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
260         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
261         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
262         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
263         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
264         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
265         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
266         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
267         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
268         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
269         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
270         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
271         * sysdeps/tile/dl-start.S (_start): Likewise.
272         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
273         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
274
275         [BZ #14132]
276         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
277         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
278         (rtld_progname): Make macro definition unconditional.
279         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
280         INTDEF.
281         (dlmopen_doit): Do not use INTUSE with _dl_argv.
282         (dl_main): Likewise.
283         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
284         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
285         instead of _dl_argv_internal.
286         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
287         __GI__dl_argv instead of INTUSE(_dl_argv).
288         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
289         __GI__dl_argv instead of _dl_argv_internal.
290
291         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
292         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
293         macro.
294         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
295         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
296         New macro.
297         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
298         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
299         macro.
300         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
301         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
302
303 2014-11-04  Andreas Schwab  <schwab@suse.de>
304
305         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
306
307 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
308
309         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
310         mtvsrd instruction in binary form.
311
312 2014-11-03  Andreas Schwab  <schwab@suse.de>
313
314         [BZ #17522]
315         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
316         for less than MB_LEN_MAX use a local buffer of that size.
317         * libio/tst-fputws.c: New file.
318         * libio/Makefile (tests): Add tst-fputws.
319
320 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
321
322         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
323         the size of the fpu_fr.fpu_dregs[] array.
324
325 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
326
327         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
328         (__nanosleep): Do not define as alias.
329         (nanosleep): Define as alias of __nanosleep.
330         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
331         __libc_nanosleep name.
332
333 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
334
335         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
336         install.texi in comment.
337
338 2014-10-31  Torvald Riegel  <triegel@redhat.com>
339
340         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
341         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
342         ... add here and use lwsync or sync ...
343         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
344         ... and add here using lwsync.
345
346 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
347
348         * elf/dl-machine-reject-phdr.h: New file.
349         * elf/dl-load.c: #include that.
350         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
351         if that returned true.
352
353 2014-10-31  Roland McGrath  <roland@hack.frob.com>
354
355         [BZ #17496]
356         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
357         gen-as-const-headers chunk.  Add a big scare comment after the last
358         safe place to touch before-compile.
359
360 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
361
362         * manual/install.texi (Tools for Compilation): Update autoconf
363         version requirements.
364         * INSTALL: Regenerated.
365
366         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
367         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
368         (__libc_pselect): Likewise.
369
370         [BZ #14138]
371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
375
376 2014-10-31  Torvald Riegel  <triegel@redhat.com>
377
378         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
379         correct barrier instruction.
380         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
381         Likewise.
382         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
383         Likewise.
384
385 2014-10-30  Roland McGrath  <roland@hack.frob.com>
386
387         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
388         after defining inlines.  Instead, just use parens to defeat macro
389         expansion of __isctype in its declaration.
390
391 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
392
393         * include/sys/uio.h (__libc_readv): Remove declaration.
394         (__libc_writev): Likewise.
395         * misc/readv.c (__libc_readv): Rename to __readv.
396         (__readv): Do not define as alias.
397         (readv): Define as alias of __readv.
398         * misc/writev.c (__libc_writev): Rename to __writev.
399         (__writev): Do not define as alias.
400         (writev): Define as alias of __writev.
401         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
402         (__readv): Do not define as alias.
403         (readv): Define unconditionally as alias of __readv.
404         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
405         (__writev): Do not define as alias.
406         (writev): Define unconditionally as alias of __writev.
407         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
408         name.
409         (writev): Do not define __libc_writev name.
410
411 2014-10-30  Roland McGrath  <roland@hack.frob.com>
412
413         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
414         (convert_charseq): New function, broken out of ...
415         (use_from_charmap): ... here.  Call it.
416         (use_to_charmap): Use convert_charseq and free instead of duplicating
417         its code with a variable-length stack struct.
418
419 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
420
421         * include/fcntl.h (__libc_creat): Remove declaration.
422         * io/creat.c (__libc_creat): Rename to creat.
423         (creat): Do not define as alias.
424         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
425         of creat instead of __libc_creat.
426         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
427         to creat.
428         (creat): Do not define as alias.
429         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
430         __libc_creat.
431         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
432         __libc_creat name.
433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
434         Likewise.
435
436 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
437
438         * manual/llio.texi: Add comments discussing why write() may be
439         considered MT-unsafe on Linux.
440
441 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
442
443         * dl-load.c (local_strdup): Remove.
444         (expand_dynamic_string_token): Use __strdup.
445         (decompose_rpath): Likewise.
446         (_dl_map_object): Likewise.
447
448 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
449
450         [BZ #14132]
451         * sysdeps/generic/unwind-dw2-fde.c
452         (__register_frame_info_bases_internal): Do not declare.
453         (__register_frame_info_table_bases_internal): Likewise.
454         (__deregister_frame_info_bases_internal): Likewise.
455         (__register_frame_info_bases): Declare and use hidden_proto before
456         definition.  Use hidden_def instead of INTDEF.
457         (__register_frame_info_table_bases): Likewise.
458         (__deregister_frame_info_bases): Likewise.
459         (__register_frame_info): Do not use INTUSE.
460         (__register_frame): Likewise.
461         (__register_frame_info_table): Likewise.
462         (__register_frame_table): Likewise.
463         (__deregister_frame_info): Likewise.
464         (__deregister_frame): Likewise.
465
466 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
467
468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
469         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
470         not undefine.
471         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
472         Likewise.
473         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
474         Likewise.
475
476 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
477
478         [BZ #14138]
479         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
480         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
481         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
482         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
483         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
484         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
485         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
486         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
487         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
488         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
489         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
490         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
491         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
492         syscall.
493         (setfsuid): Likewise.
494         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
495         (setfsuid): Likewise.
496         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
497         (setfsuid): Likewise.
498         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
499         Likewise.
500         (setfsuid): Likewise.
501         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
502         (setfsuid): Likewise.
503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
504         Likewise.
505         (setfsuid): Likewise.
506
507 2014-10-27  Andreas Schwab  <schwab@suse.de>
508
509         [BZ #17501]
510         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
511         check for Slow_SSE4_2 feature bit.
512         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
513         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
514         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
515         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
516
517 2014-10-24  Roland McGrath  <roland@hack.frob.com>
518
519         * configure.ac: Validate compiler version with a empirical test of
520         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
521         $CC -v output.
522         * configure: Regenerated.
523
524         * inet/htons.c (htons): Prototypify.
525         * inet/htonl.c (htonl): Likewise.
526
527 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
528
529         * string/strncat.c (strncat): Improve performance by using strlen.
530
531 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
532
533         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
534
535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
536
537         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
538         Call libc_fetestexcept_aarch64.
539
540 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
541
542         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
543         Call libc_feholdexcept_aarch64.
544
545 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
546
547         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
548         Call get_rounding_mode.
549
550 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
551
552         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
553         Simplify logic.
554
555 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
556
557         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
558         Simplify logic.
559
560 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
561
562         [BZ #14138]
563         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
564         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
565         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
566         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
567         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
568         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
569         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
570         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
571         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
572         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
573         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
574         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
575         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
576         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
577         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
578         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
579         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
580         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
581         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
582         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
583         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
584         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
585         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
586         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
587         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
588         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
589         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
590         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
591         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
592         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
593         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
594         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
595         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
596         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
597         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
598         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
599         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
600         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
601         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
602         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
603         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
604         syscall.
605         (geteuid): Likewise.
606         (getgid): Likewise.
607         (getuid): Likewise.
608         (getresgid): Likewise.
609         (getresuid): Likewise.
610         (getgroups): Likewise.
611         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
612         (geteuid): Likewise.
613         (getgid): Likewise.
614         (getuid): Likewise.
615         (getresgid): Likewise.
616         (getresuid): Likewise.
617         (getgroups): Likewise.
618         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
619         (geteuid): Likewise.
620         (getgid): Likewise.
621         (getuid): Likewise.
622         (getresgid): Likewise.
623         (getresuid): Likewise.
624         (getgroups): Likewise.
625         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
626         Likewise.
627         (geteuid): Likewise.
628         (getgid): Likewise.
629         (getuid): Likewise.
630         (getresgid): Likewise.
631         (getresuid): Likewise.
632         (getgroups): Likewise.
633         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
634         (geteuid): Likewise.
635         (getgid): Likewise.
636         (getuid): Likewise.
637         (getresgid): Likewise.
638         (getresuid): Likewise.
639         (getgroups): Likewise.
640         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
641         Likewise.
642         (geteuid): Likewise.
643         (getgid): Likewise.
644         (getuid): Likewise.
645         (getgroups): Likewise.
646
647         [BZ #14138]
648         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
649         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
650         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
651         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
652         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
653         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
654         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
655         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
656         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
657         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
658         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
659         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
660         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
661         __chown.
662         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
663         (lchown): Likewise.
664         (fchown): Likewise.
665         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
666         Likewise.
667         (lchown): Likewise.
668         (fchown): Likewise.
669         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
670         (lchown): Likewise.
671         (fchown): Likewise.
672         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
673         Likewise.
674         (lchown): Likewise.
675         (fchown): Likewise.
676
677 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
678
679         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
680         Simplify logic.
681
682 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
683
684         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
685         Cleanup logic.
686
687 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
688
689         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
690         Remove unused include.
691
692 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
693
694         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
695         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
696         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
697         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
698
699 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
700             Helge Deller <deller@gmx.de>
701
702         [BZ #17508]
703         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
704         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
705         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
706
707 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
708
709         [BZ #14132]
710         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
711         Remove macro definition.
712         (__ashrdi3_v_glibc20): Likewise.
713         (__lshrdi3_v_glibc20): Likewise.
714         (__cmpdi2_v_glibc20): Likewise.
715         (__ucmpdi2_v_glibc20): Likewise.
716         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
717         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
718         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
719         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
720         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
721         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
722
723 2014-10-22  Roland McGrath  <roland@hack.frob.com>
724
725         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
726         old GNU extension [0] syntax.
727         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
728         alloca rather than an array member with variable length.
729         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
730         * nscd/nscd.c (invalidate_db): New function, broken out of ...
731         (parse_opt): ... here.  Likewise use alloca there.
732         Validate the -i argument before checking for rootness.
733         (send_shutdown): New function, broken out of ...
734         (parse_opt): ... here.
735
736 2014-10-22  Roland McGrath  <roland@hack.frob.com>
737
738         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
739         macro to get at the _rt_local_ro field.
740         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
741         ([PIC] case) or _dl_hwcap ([!PIC] case).
742         * sysdeps/arm/setjmp.S: Likewise.
743
744         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
745         * sysdeps/arm/configure.ac: New check to define it.
746         * sysdeps/arm/configure: Regenerated.
747         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
748         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
749         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
750         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
751         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
752         Use move/movt pair instead of a load.
753         (LDST_GLOBAL): Macro removed.
754         (LDR_GLOBAL): New macro replaces it.
755         (LDR_HIDDEN): New macro.
756         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
757         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
758
759         * setjmp/tst-setjmp-static.c: New file.
760         * setjmp/Makefile (tests): Add it.
761         (tests-static): New variable.
762
763 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
764
765         [BZ #17485]
766         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
767
768 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
769
770         [BZ #14132]
771         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
772
773 2014-10-21  Roland McGrath  <roland@hack.frob.com>
774
775         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
776
777 2014-10-20  Roland McGrath  <roland@hack.frob.com>
778
779         * io/fts.c (dirent_not_directory): New function.
780         (fts_build): Call it.
781
782 2014-10-20  Roland McGrath  <roland@hack.frob.com>
783
784         * nptl/version.c (__nptl_main): Use normal __write rather than
785         INTERNAL_SYSCALL.
786         (banner): Update copyright years.
787
788         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
789         gettimeofday.
790         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
791         * nptl/pthread_cond_timedwait.c: Likewise.
792         * nptl/pthread_mutex_timedlock.c: Likewise.
793         * nptl/sem_timedwait.c: Likewise.
794
795         * sysdeps/nptl/bits/libc-lock.h
796         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
797         (__libc_lock_init_recursive): Return void, not 0.
798         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
799         (__libc_rwlock_init): Likewise.
800         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
801
802 2014-10-20  Torvald Riegel  <triegel@redhat.com>
803
804         [BZ #15215]
805         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
806         (__pthread_once_slow): ... here.
807         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
808         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
809
810 2014-10-20  Torvald Riegel  <triegel@redhat.com>
811
812         [BZ #15215]
813         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
814         __PTHREAD_ONCE_FORK_GEN_INCR): New.
815         * sysdeps/nptl/fork.c (__libc_fork): Use them.
816         * nptl/pthread_once.c (__pthread_once): Likewise.
817         Update comments.
818
819 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
820
821         [BZ #14138]
822         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
823         name.
824         (writev): Use __libc_writev as strong name.
825         * sysdeps/unix/sysv/linux/readv.c: Remove file.
826         * sysdeps/unix/sysv/linux/writev.c: Likewise.
827
828 2014-10-17  Roland McGrath  <roland@hack.frob.com>
829
830         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
831
832         * sysdeps/i386/nptl/tls.h
833         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
834         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
835         New macros.
836         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
837         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
838         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
839         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
840         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
841         Call CHECK_THREAD_SYSINFO instead of doing an assert.
842
843         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
844         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
845         on [__NR_futex].
846         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
847         broken out of ...
848         (__pthread_mutex_init): ... here.  Call it.
849         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
850         Conditionalize PI cases on [__NR_futex].
851         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
852         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
853         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
854
855         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
856         conditional on [SIGSETXID].
857         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
858         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
859         is defined.  Likewise for SIGSETXID.
860         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
861         Conditionalize definitions on [SIGSETXID].
862         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
863         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
864         unblocking on [SIGCANCEL].
865
866         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
867         [__NR_set_robust_list].
868
869 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
870
871         * string/strcoll_l.c (get_next_seq): Fix up formatting.
872         (do_compare): Likewise.
873
874 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
875
876         [BZ #15884]
877         * string/strcoll_l.c: Don't include stdio.h.
878         (coll_seq): Remove members idxarr and rulearr.
879         (get_next_seq_cached): Remove function.
880         (get_next_seq): Likewise.
881         (get_next_seq_nocache): Rename to get_next_seq.
882         (do_compare): Remove function.
883         (do_compare_nocache): Rename to do_compare.
884         (STRCOLL): Remove weight and rules cache.
885
886 2014-10-16  Roland McGrath  <roland@hack.frob.com>
887
888         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
889         * sysdeps/arm/sfp-machine.h: ... to here.
890         * sysdeps/arm/Implies: Remove arm/soft-fp.
891
892 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
893
894         * conform/data/sys/utsname.h-data (*_t): Allow.
895         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
896         [POSIX] (WEXITED): Do not expect constant.
897         [POSIX] (WSTOPPED): Likewise.
898         [POSIX] (WNOHANG): Likewise.
899         [POSIX] (WNOWAIT): Likewise.
900         [POSIX] (siginfo_t): Do not expect type or elements.
901         [POSIX] (pid_t): Do not expect type.
902         [POSIX] (signal.h): Do not allow header.
903         [POSIX] (sys/resource.h): Likewise.
904         [POSIX] (si_*): Do not allow pattern.
905         [POSIX] (W*): Likewise.
906         [POSIX] (P_*): Likewise.
907         [POSIX] (BUS_*): Likewise.
908         [POSIX] (CLD_*): Likewise.
909         [POSIX] (FPE_*): Likewise.
910         [POSIX] (ILL_*): Likewise.
911         [POSIX] (POLL_*): Likewise.
912         [POSIX] (SEGV_*): Likewise.
913         [POSIX] (SI_*): Likewise.
914         [POSIX] (TRAP_*): Likewise.
915         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
916         variable.
917
918 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
919
920         [BZ #12926]
921         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
922         infinite loop when __recvmsg returns 0.
923
924 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
925
926         * CANCEL-FCT-WAIVE: Remove file.
927         * CANCEL-FILE-WAIVE: Likewise.
928
929         [BZ #14132]
930         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
931         instead of INTVARDEF.
932         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
933         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
934         rtld_hidden_data_def instead of INTVARDEF.
935         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
936         * elf/dl-deps.c (expand_dst): Likewise.
937         * elf/dl-load.c (_dl_dst_count): Likewise.
938         (_dl_dst_substitute): Likewise.
939         (decompose_rpath): Likewise.
940         (_dl_init_paths): Likewise.
941         (open_path): Likewise.
942         (_dl_map_object): Likewise.
943         * elf/rtld.c (dl_main): Likewise.
944         (process_dl_audit): Likewise.
945         (process_envvars): Likewise.
946         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
947         Remove declaration.
948         (__libc_enable_secure): Use rtld_hidden_proto.
949
950 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
951
952         * elf/dl-load.c
953         (add_path): New function broken out of _dl_rtld_di_serinfo.
954         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
955
956 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
957
958         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
959         parentheses around macro arguments.
960         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
962         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
963         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
964         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
965         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
967         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
968         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
969         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
971         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
972         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
973         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
974         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
975         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
976         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
977         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
978         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
980         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
981         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
983         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
985         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
986         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
987         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
989         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
990         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
991         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
992         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
993         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
994         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
995         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
996         Likewise.
997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
998         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
999         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1004         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1005         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1006         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1007         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1008         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1009         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1010         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1011         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1014         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1015         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1018         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1019         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1020         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1022         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1023         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1024         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1025         (_FP_FRAC_SRS_1): Likewise.
1026         (_FP_FRAC_CLZ_1): Likewise.
1027         (_FP_MUL_MEAT_1_imm): Likewise.
1028         (_FP_MUL_MEAT_1_wide): Likewise.
1029         (_FP_MUL_MEAT_1_hard): Likewise.
1030         (_FP_SQRT_MEAT_1): Likewise.
1031         (_FP_FRAC_ASSEMBLE_1): Likewise.
1032         (_FP_FRAC_DISASSEMBLE_1): Likewise.
1033         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1034         (__FP_CLZ_2): Likewise.
1035         (_FP_MUL_MEAT_2_wide): Likewise.
1036         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1037         (_FP_MUL_MEAT_2_gmp): Likewise.
1038         (_FP_MUL_MEAT_2_120_240_double): Likewise.
1039         (_FP_SQRT_MEAT_2): Likewise.
1040         (_FP_FRAC_ASSEMBLE_2): Likewise.
1041         (_FP_FRAC_DISASSEMBLE_2): Likewise.
1042         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1043         (_FP_FRAC_CLZ_4): Likewise.
1044         (_FP_MUL_MEAT_4_wide): Likewise.
1045         (_FP_MUL_MEAT_4_gmp): Likewise.
1046         (_FP_SQRT_MEAT_4): Likewise.
1047         (_FP_FRAC_ASSEMBLE_4): Likewise.
1048         (_FP_FRAC_DISASSEMBLE_4): Likewise.
1049         * soft-fp/op-common.h (_FP_CMP): Likewise.
1050         (_FP_CMP_EQ): Likewise.
1051         (_FP_CMP_UNORD): Likewise.
1052         (_FP_TO_INT): Likewise.
1053         (_FP_FROM_INT): Likewise.
1054         [!__FP_CLZ] (__FP_CLZ): Likewise.
1055         (_FP_DIV_HELP_imm): Likewise.
1056         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1057         Likewise.
1058         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1060         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1061         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1062         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1063         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1064         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1065         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1066         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1069         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1070         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1071         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1072         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1073         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1074         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1075         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1076         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1078         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1079         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1083         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1087         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1088         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1089         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1091         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1092         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1093         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1094         (FP_UNPACK_RAW_SP): Likewise.
1095         (FP_PACK_RAW_S): Likewise.
1096         (FP_PACK_RAW_SP): Likewise.
1097         (FP_UNPACK_S): Likewise.
1098         (FP_UNPACK_SP): Likewise.
1099         (FP_UNPACK_SEMIRAW_S): Likewise.
1100         (FP_UNPACK_SEMIRAW_SP): Likewise.
1101         (FP_PACK_S): Likewise.
1102         (FP_PACK_SP): Likewise.
1103         (FP_PACK_SEMIRAW_S): Likewise.
1104         (FP_PACK_SEMIRAW_SP): Likewise.
1105         (_FP_SQRT_MEAT_S): Likewise.
1106         (FP_CMP_S): Likewise.
1107         (FP_CMP_EQ_S): Likewise.
1108         (FP_CMP_UNORD_S): Likewise.
1109         (FP_TO_INT_S): Likewise.
1110         (FP_FROM_INT_S): Likewise.
1111
1112         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1113
1114         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1115         (FP_EX_INVALID_IMZ): Likewise.
1116         (FP_EX_INVALID_IMZ_FMA): Likewise.
1117         (FP_EX_INVALID_ISI): Likewise.
1118         (FP_EX_INVALID_ZDZ): Likewise.
1119         (FP_EX_INVALID_IDI): Likewise.
1120         (FP_EX_INVALID_SQRT): Likewise.
1121         (FP_EX_INVALID_CVI): Likewise.
1122         (FP_EX_INVALID_VC): Likewise.
1123         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1124         "invalid" exceptions.
1125         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1126         (_FP_ADD_INTERNAL): Likewise.
1127         (_FP_MUL): Likewise.
1128         (_FP_FMA): Likewise.
1129         (_FP_DIV): Likewise.
1130         (_FP_CMP_CHECK_NAN): Likewise.
1131         (_FP_SQRT): Likewise.
1132         (_FP_TO_INT): Likewise.
1133         (FP_EXTEND): Likewise.
1134
1135 2014-10-09  Allan McRae  <allan@archlinux.org>
1136
1137         * po/fr.po: Update French translation from translation project.
1138
1139 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
1140
1141         [BZ #14132]
1142         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1143         of INTDEF.
1144         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1145         (__cxa_atexit): Use libc_hidden_proto.
1146         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1147
1148         [BZ #14132]
1149         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1150         declaration.
1151         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1152         [!_ISOMAC] (__iswspace_l_internal): Likewise.
1153         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1154         [!_ISOMAC] (__iswctype_internal): Likewise.
1155         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1156         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1157         alias.
1158         (fcntl): Remove __fcntl_internal alias.
1159         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1160         __connect_internal alias.
1161         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1162         Likewise.
1163
1164         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1165         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1166         FP_DENORM_ZERO.
1167         (_FP_CHECK_FLUSH_ZERO): New macro.
1168         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1169         (_FP_CMP): Likewise.
1170         (_FP_CMP_EQ): Likewise.
1171         (_FP_TO_INT): Do not set inexact for subnormal arguments if
1172         FP_DENORM_ZERO.
1173         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1174         (FP_TRUNC): Likewise.
1175
1176         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1177         treated as invalid conversion, not as normal exponent.
1178
1179         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1180         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
1181         (_FP_CMP_EQ): Likewise.
1182         (_FP_CMP_UNORD): Likewise.
1183         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1184         (FP_CMP_EQ_D): Likewise.
1185         (FP_CMP_UNORD_D): Likewise.
1186         * soft-fp/extended.h (FP_CMP_E): Likewise.
1187         (FP_CMP_EQ_E): Likewise.
1188         (FP_CMP_UNORD_E): Likewise.
1189         * soft-fp/quad.h (FP_CMP_Q): Likewise.
1190         (FP_CMP_EQ_Q): Likewise.
1191         (FP_CMP_UNORD_Q): Likewise.
1192         * soft-fp/single.h (FP_CMP_S): Likewise.
1193         (FP_CMP_EQ_S): Likewise.
1194         (FP_CMP_UNORD_S): Likewise.
1195         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1196         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1197         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1198         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1199         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1200         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1201         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1202         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1203         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1204         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1205         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1206         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1207         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1208         to FP_CMP_Q.
1209         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1210         FP_CMP_Q.
1211         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1212         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1213         FP_CMP_EQ_Q.
1214         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1215         FP_CMP_Q.
1216         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1217         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1218         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1219         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1220         FP_CMP_EQ_Q.
1221         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1222         FP_CMP_Q.
1223         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1224         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1225         FP_CMP_EQ_Q.
1226         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1227         FP_CMP_Q.
1228         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1229         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1230         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1231         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1232         FP_CMP_EQ_Q.
1233
1234         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1235         a subnormal result, set the underflow exception if trapping on
1236         underflow is enabled.
1237         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1238         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1239         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1240         redefine to 0.
1241         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1242         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1243         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1244         * soft-fp/extendxftf2.c (__extendxftf2): Use
1245         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1246
1247         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1248         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1249         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1250         FP_HANDLE_EXCEPTIONS.
1251         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1252         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1253         FP_HANDLE_EXCEPTIONS.
1254         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1255         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1256         FP_HANDLE_EXCEPTIONS.
1257         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1258         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1259         FP_HANDLE_EXCEPTIONS.
1260
1261 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
1262
1263         [BZ #14132]
1264         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1265         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1266         use INTUSE.
1267         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1268         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1269         Remove alias.
1270         (__adjtimex): Define using libc_hidden_ver.
1271         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1272         Remove declaration.
1273         (ntp_gettime): Call __adjtimex directly.
1274         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1275         Remove declaration.
1276         (ntp_gettimex): Call __adjtimex directly.
1277         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1278         __adjtimex_internal alias.
1279
1280 2014-10-08  Roland McGrath  <roland@hack.frob.com>
1281
1282         [BZ #17460]
1283         * nscd/nscd.c (more_help): Rewrite list of tables collection
1284         using xstrdup and asprintf.
1285
1286         * nscd/nscd_conf.c: Remove local xstrdup declaration.
1287
1288 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1289             Roland McGrath  <roland@hack.frob.com>
1290
1291         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1292         (do_lookup_unique): ... local function 'enter' here; update callers.
1293
1294 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
1295
1296         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1297         compat_symbol calls on [SHARED].
1298         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1299         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1300         Remove.
1301         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1302         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1303         (oldsetrlimit): Remove.
1304         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1306         (lchown): New syscall entry.
1307         (oldsetrlimit): Remove.
1308         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1309         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1310         (oldsetrlimit): Remove.
1311         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1312
1313         [BZ #14138]
1314         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1315         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1316         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1317         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1318         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1319         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1320         (fchown): Likewise.
1321         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1322         (fchown): Likewise.
1323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1324         Likewise.
1325
1326 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1327
1328         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1329         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1330         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1331         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1332         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1333         Likewise.
1334         (__old_sem_post): Likewise.
1335
1336 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
1337
1338         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1339         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1340         HAVE_CLOCK_GETTIME_VSYSCALL macros.
1341         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1342         Use INLINE_VSYSCALL macro.
1343         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1344         __vdso_clock_gettime.
1345         * sysdeps/unix/sysv/linux/tile/init-first.c
1346         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1347         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1348         __vdso_clock_gettime.
1349
1350         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1351         to set up frame more cleanly.
1352
1353         * sysdeps/tile/memcmp.c: New file.
1354
1355         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1356
1357         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1358         * sysdeps/tile/tilegx/strcasestr.c: New file.
1359         * sysdeps/tile/tilegx/strnlen.c: New file.
1360         * sysdeps/tile/tilegx/strstr.c: New file.
1361
1362         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1363
1364 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
1365
1366         * nptl/tst-setuid3.c: Write errors to stdout.
1367
1368 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1369
1370         * elf/dl-deps.c
1371         (preload): New functions broken out of _dl_map_object_deps.
1372         (_dl_map_object_deps):  Remove a nested function. Update call sites.
1373
1374 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
1375
1376         [BZ #14138]
1377         * sysdeps/unix/sysv/linux/execve.c: Remove file.
1378         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1379
1380 2014-10-01  Steve Ellcey  <sellcey@mips.com>
1381
1382         * sysdeps/mips/strcmp.S: New.
1383
1384 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
1385
1386         [BZ #14138]
1387         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1388         (linkat): Likewise.
1389         (mkdirat): Likewise.
1390         (readlinkat): Likewise.
1391         (renameat): Likewise.
1392         (symlinkat): Likewise.
1393         (unlinkat): Likewise.
1394         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1395         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1396         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1397         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1398         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1399         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1400         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1401
1402 2014-09-30  Will Newton  <will.newton@linaro.org>
1403
1404         * math/math.h: Define long double math functions if
1405         _LIBC_TEST is defined.
1406         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1407
1408         * localedata/Makefile: Move assignment to tests-special
1409         into an ifdef testing run-built-tests.
1410         * timezone/Makefile: Likewise.
1411
1412 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
1413
1414         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1415         with $(BASH) not $(SHELL).
1416
1417 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
1418             Matthew LeGendre  <legendre1@llnl.gov>
1419
1420         [BZ #17411]
1421         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1422         l_reloc_result.
1423
1424 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1425
1426         * stdio-common/printf_fp.c
1427         (hack_digit): New function, broken out of ...
1428         (__printf_fp): ... local function here.  Update call sites.
1429         hack_digit now takes an additional parameter that is a pointer
1430         to a struct of the referenced locals.  Those locals moved inside
1431         the struct and references updated.
1432
1433 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
1434
1435         * aclocal.m4: Require autoconf 2.69.
1436         * configure: Regenerated.
1437         * sysdeps/aarch64/configure: Likewise.
1438         * sysdeps/alpha/configure: Likewise.
1439         * sysdeps/arm/armv7/configure: Likewise.
1440         * sysdeps/arm/configure: Likewise.
1441         * sysdeps/ia64/configure: Likewise.
1442         * sysdeps/mach/configure: Likewise.
1443         * sysdeps/mips/configure: Likewise.
1444         * sysdeps/s390/configure: Likewise.
1445         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1447
1448         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1449         file.
1450         * sysdeps/ia64/configure.ac: Likewise.
1451
1452 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
1453
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1455         specify symbol version for ld.so.  Do not include entry for
1456         libpthread.
1457         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1458         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1459         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1460
1461         [BZ #14171]
1462         * Makeconfig [$(build-shared) = yes]
1463         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1464         makefiles.
1465         [$(build-shared) = yes && $(soversions.mk-done) = t]
1466         ($(common-objpfx)gnu/lib-names.h): Remove rule.
1467         [$(build-shared) = yes && $(soversions.mk-done) = t]
1468         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
1469         to Makerules.
1470         [$(build-shared) = yes && $(soversions.mk-done) = t]
1471         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1472         here.
1473         [$(build-shared) = yes && $(soversions.mk-done) = t]
1474         (common-generated): Don't append gnu/lib-names.h and
1475         gnu/lib-names.stmp here.
1476         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1477         (lib-names-h-abi): New variable.
1478         [$(build-shared) = yes && $(soversions.mk-done) = t]
1479         (lib-names-stmp-abi): Likewise.
1480         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1481         abi-variants] (before-compile): Append
1482         $(common-objpfx)$(lib-names-h-abi).
1483         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1484         abi-variants] (common-generated): Append gnu/lib-names.h.
1485         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1486         abi-variants] (install-others-nosubdir): Depend on
1487         $(inst_includedir)/$(lib-names-h-abi).
1488         [$(build-shared) = yes && $(soversions.mk-done) = t &&
1489         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1490         [$(build-shared) = yes && $(soversions.mk-done) = t]
1491         ($(common-objpfx)$(lib-names-h-abi)): New rule.
1492         [$(build-shared) = yes && $(soversions.mk-done) = t]
1493         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1494         [$(build-shared) = yes && $(soversions.mk-done) = t]
1495         (common-generated): Append $(lib-names-h-abi) and
1496         $(lib-names-stmp-abi).
1497         * scripts/lib-names.awk: Do not handle multi being set.
1498         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1499         Remove variable.
1500         (abi-lp64_be-ld-soname): Likewise.
1501         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1502         Likewise.
1503         (abi-hard-ld-soname): Likewise.
1504         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1505         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1506         Remove variable.
1507         (abi-o32_hard-ld-soname): Likewise.
1508         (abi-o32_soft_2008-ld-soname): Likewise.
1509         (abi-o32_hard_2008-ld-soname): Likewise.
1510         (abi-n32_soft-ld-soname): Likewise.
1511         (abi-n32_hard-ld-soname): Likewise.
1512         (abi-n32_soft_2008-ld-soname): Likewise.
1513         (abi-n32_hard_2008-ld-soname): Likewise.
1514         (abi-n64_soft-ld-soname): Likewise.
1515         (abi-n64_hard-ld-soname): Likewise.
1516         (abi-n64_soft_2008-ld-soname): Likewise.
1517         (abi-n64_hard_2008-ld-soname): Likewise.
1518         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1519         Likewise.
1520         (abi-64-v2-ld-soname): Likewise.
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1522         ld.so entries.
1523         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1524         variable.
1525         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1526         entry.
1527         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1528         variable.
1529         (abi-64-ld-soname): Likewise.
1530         (abi-x32-ld-soname): Likewise.
1531         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1532         entry.
1533         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1534
1535 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
1536
1537         [BZ #14138]
1538         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1539         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1540         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1541         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1542         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1543         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1544         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1545         syscall entry for GLIBC_2.2 symbol version.
1546         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1549         (setrlimit): Likewise.
1550         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1551         Likewise.
1552
1553 2014-09-23  Will Newton  <will.newton@linaro.org>
1554
1555         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1556         _LINUX_ARM_SYSDEP_H include guard too.
1557         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1558         define.
1559
1560 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1561
1562         * sysdeps/unix/sysv/linux/eventfd.c:
1563         Make first argument unsigned.
1564         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1565         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1566
1567 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
1568
1569         * socket/recvmmsg.c (recvmmsg): Drop const argument.
1570         * socket/sys/socket.h: Likewise
1571         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1572
1573 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1574
1575         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1576
1577 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
1578
1579         * time/tst-ftime.c: New test.
1580         * time/Makefile (tests): Add tst-ftime.
1581
1582 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
1583
1584         * soft-fp/extended.h: Fix comment formatting.
1585         * soft-fp/op-1.h: Likewise.
1586         * soft-fp/op-2.h: Likewise.
1587         * soft-fp/op-4.h: Likewise.
1588         * soft-fp/op-8.h: Likewise.
1589         * soft-fp/op-common.h: Likewise.
1590         * soft-fp/soft-fp.h: Likewise.
1591
1592         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1593
1594 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
1595
1596         [BZ #6652]
1597         * Makeconfig (soversions-default-setname): Remove variable.
1598         ($(common-objpfx)soversions.i): Don't pass default_setname to
1599         soversions.awk.
1600         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1601         oldest_abi to abi-versions.awk.
1602         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1603         * config.make.in (oldest-abi): Remove variable.
1604         * configure.ac (--enable-oldest-abi): Remove configure option.
1605         * configure: Regenerated.
1606         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1607         text.
1608         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1609         * scripts/soversions.awk: Do not handle default_setname variable.
1610         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1611         variable.
1612         * sysdeps/mach/hurd/configure: Regenerated.
1613         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1614         variable.
1615         * sysdeps/unix/sysv/linux/configure: Regenerated.
1616
1617 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1618
1619         * elf/Makefile (CFLAGS-interp.c): Remove.
1620         ($(elf-objpfx)runtime-linker.h): Generate header with linker
1621         path string.
1622         * elf/interp.c: Include generated runtime-linker.h
1623
1624         * Makerules (lib%.so): Don't include $(+interp) in
1625         prerequisites.
1626         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1627         * dlfcn/eval.c: Remove file.
1628
1629         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1630         macros.
1631
1632         [BZ #17266]
1633         * misc/sys/cdefs.h: Define __extern_always_inline for clang
1634         4.2 and newer.
1635
1636         [BZ #17370]
1637         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1638
1639 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1640             Jakub Jelinek  <jakub@redhat.com>
1641
1642         [BZ #17266]
1643         * libio/stdio.h: Check definition of __fortify_function
1644         instead of __extern_always_inline to include bits/stdio2.h.
1645         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1646         check if __extern_always_inline is defined.
1647         [__USE_MISC || __USE_XOPEN]: Likewise.
1648         [__USE_ISOC99] Likewise.
1649         * misc/sys/cdefs.h (__fortify_function): Define only if
1650         __extern_always_inline is defined.
1651         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1652         __extern_always_inline and __extern_inline only for g++-4.3
1653         and newer or a compatible gcc.
1654
1655 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
1656
1657         [BZ #17371]
1658         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1659         last change to handle zero prefix length.
1660
1661 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1662
1663         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1664         _SC_REGEX_VERSION.
1665
1666         * posix/getconf.c (vars): Add _POSIX_IPV6 and
1667         _POSIX_RAW_SOCKETS.
1668
1669 2014-09-13  Allan McRae  <allan@archlinux.org>
1670
1671         * po/ru.po: Update Russian translation from translation project.
1672
1673 2014-09-12  Roland McGrath  <roland@hack.frob.com>
1674
1675         * locale/programs/locale.c (show_locale_vars): Inline local function
1676         into its sole call site.  Clean up some style nits.
1677         (print_item): New function, broken out of ...
1678         (show_info): ... local function here.  Clean up style nits.
1679
1680         * locale/programs/ld-ctype.c (set_one_default): New function, broken
1681         out of ...
1682         (set_class_defaults): ... local function set_default here.
1683         Define set_default as a macro locally to pass constant parameters.
1684         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1685         rather than a shared local.
1686
1687         * stdlib/rpmatch.c (try): New function, broken out of ...
1688         (rpmatch): ... local function here.  Also, prototypify definition.
1689
1690 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
1691
1692         * scripts/soversions.awk: Do not handle configuration names.
1693         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1694         vendor and os variables to soversions.awk.
1695         * configure.ac: Do not modify gnu-* host_os.
1696         * configure: Regenerated
1697         * shlib-versions: Remove first column with configuration names.
1698         * nptl/shlib-versions: Likewise.
1699         * nptl_db/shlib-versions: Likewise.
1700         * sysdeps/hppa/shlib-versions: Likewise.
1701         * sysdeps/m68k/shlib-versions: Likewise.
1702         * sysdeps/mach/hurd/shlib-versions: Likewise.
1703         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1704         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1705         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1706         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1707         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1708         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1709         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1710         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1712         Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1714         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1715         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1716         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1717         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1718         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1719         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1720         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1721
1722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1723         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1725         Regenerated.
1726         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1728         Condition symbol version definitions on [HAVE_ELFV2_ABI].
1729
1730         * shlib-versions: Remove OS-specific entries.  Moved to files in
1731         sysdeps.
1732         * sysdeps/mach/hurd/shlib-versions: New file.
1733         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1734
1735         * nptl/shlib-versions: Remove architecture-specific entries.
1736         Moved to files in sysdeps.
1737         * shlib-versions: Likewise.
1738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1739         file.
1740         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1741         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1742         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1743         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1744
1745         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1746         (UDP_NO_CHECK6_RX): Likewise.
1747
1748 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1749
1750         * sysdeps/posix/sysconf.c (__sysconf): Spell
1751         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1752
1753 2014-08-12  Florian Weimer  <fweimer@redhat.com>
1754
1755         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1756         loading.
1757         * iconv/Versions (__gconv_transliterate): Export for use from
1758         gconv modules.
1759         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1760         (struct __gconv_trans_data, __gconv_trans_fct,
1761         __gconv_trans_context_fct, __gconv_trans_query_fct,
1762         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1763         definitions.
1764         (struct __gconv_step_data): Remove __trans member.
1765         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
1766         longer hidden.  Remove unused trans_data argument.
1767         * iconv/gconv_int.h (struct trans_struct): Remove definition.
1768         (__gconv_translit_find): Remove declaration.
1769         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
1770         prototype.
1771         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1772         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1773         trans_data argument.  Add hidden definition.
1774         (__gconv_translit_find): Remove.
1775         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1776         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1777         * iconv/skeleton.c: Remove transliteration initialization.
1778         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1779         __gconv_step_data initialization.
1780         * libio/iofwide.c (__libio_translit_): Remove.
1781         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1782         * wcsmbs/btowc.c (__btowc): Likewise.
1783         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1784         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1785         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1786         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1787         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1788         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1789         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1790         * wcsmbs/wctob.c (wctob): Likewise.
1791
1792 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1793
1794         [BZ #16194]
1795         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1796         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1797         register usage.
1798         * sysdeps/x86/Makefile: Adjust.
1799
1800 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1801             Roland McGrath  <roland@hack.frob.com>
1802
1803         * locale/weight.h: Add include guard.
1804         (findidx): Make static rather than auto; take new parameters
1805         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1806         * locale/weightwc.h: Likewise.
1807         * posix/fnmatch_loop.c
1808         (FCT): Change type of EXTRA from int32_t to wint_t.
1809         Don't include either header inside the function.
1810         Call FINDIDX rather than findidx, and pass new arguments.
1811         #undef FINDIDX at the end of the file.
1812         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1813         FINDIDX before including fnmatch_loop.c for the non-wide version.
1814         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1815         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1816         for the wide version.
1817         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1818         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1819         Pass new arguments to findidx.
1820         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1821         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1822         Don't #include it inside the function.  Pass new arguments to findidx.
1823         * posix/regex_internal.h
1824         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1825         (re_string_elem_size_at): Don't #include it inside the function.
1826         Pass new arguments to findidx.
1827         * string/strcoll_l.c: #include WEIGHT_H at top level.
1828         (get_next_seq): Don't #include it inside the function.
1829         Pass new arguments to findidx.
1830         (get_next_seq_nocache): Likewise.
1831         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1832         (STRXFRM): Don't #include it inside the function.
1833         Pass new arguments to findidx.
1834
1835 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1836
1837         [BZ #17344]
1838         * malloc/malloc.c (unlink): Turn asserts into a call to
1839         malloc_printerr.
1840
1841 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1842
1843         [BZ #17370]
1844         * libio/wfileops (do_ftell_wide): Free OUT.
1845
1846 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1847
1848         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1849
1850 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1851
1852         [BZ #17363]
1853         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1854         group if the current group is empty.
1855
1856 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1857
1858         * benchtests/bench-memset.c (test_main): Add more test from size
1859         from 32 to 512 bytes.
1860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1861         Add POWER8 memset object.
1862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1863         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1864         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1865         implementation.
1866         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1867         Likewise.
1868         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1869         multiarch POWER8 memset optimization.
1870         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1871         POWER8 memset optimization.
1872
1873         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1874         Remove bzero multiarch objects.
1875         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1876         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1877         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1878         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1879         Remove define.
1880         [__bzero]: Redefine to specific name.
1881         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1882         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1883         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1884         define.
1885         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1886         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1887
1888 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1889
1890         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1891         warnings into errors.
1892
1893         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1894         __cxa_thread_atexit_impl prototype.
1895
1896 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1897
1898         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1899         Fix capitalization of error message.
1900
1901 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1902
1903         * sysdeps/mips/preconfigure: Modify ABI tests.
1904
1905 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1906
1907         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1908
1909 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1910             Carlos O'Donell  <carlos@systemhalted.org>
1911
1912         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1913         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1914         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1915         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1916         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1917         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1918         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1919         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1920         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1921         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1922         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1923         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1925         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1927         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1929         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1931         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1932         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1933         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1934         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1935         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1936         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1937         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1938         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1939         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1940         Deconditionalize the code that was previously under [RESET_PID].
1941         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1942         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1943         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1944         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1945         include sysdep.h.
1946
1947 2014-09-08  Allan McRae  <allan@archlinux.org>
1948
1949         * version.h (RELEASE): Set to "development".
1950         (VERSION): Set to "2.20.90"
1951
1952 2014-09-07  Allan McRae  <allan@archlinux.org
1953
1954         * version.h (RELEASE): Set to "stable".
1955         (VERSION): Set to "2.20"
1956         * include/features.h (__GLIBC_MINOR__): Set to 20.
1957
1958         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1959         Liebler.
1960
1961         * po/ko.po: Update Korean translation from translation project.
1962
1963 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1964
1965         [BZ #17354]
1966         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1967         macro for handling signed relocations.
1968
1969 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1970
1971         [BZ #17325]
1972         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1973         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1974         assert.
1975         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1976         * iconvdata/ibm935.c (BODY): Likewise.
1977         * iconvdata/ibm937.c (BODY): Likewise.
1978         * iconvdata/ibm939.c (BODY): Likewise.
1979         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1980         assert.
1981         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1982         script.
1983         * iconvdata/run-iconv-test.sh: New test loop for checking for
1984         decoder crashers.
1985
1986 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1987
1988         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1989         libm_hidden_ver.
1990
1991 2014-09-01  Allan McRae  <allan@archlinux.org>
1992
1993         * po/eo.po: Update Esperanto translation from translation project.
1994
1995         * po/ca.po: Update Catalan translation from translation project.
1996
1997 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1998
1999         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2000         __proc_dostop call.
2001
2002 2014-08-27  Mark Wielaard  <mjw@redhat.com>
2003
2004         [BZ #17319]
2005         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2006         to call set_thread_area instead of hand written asm.
2007         (__NR_set_thread_area): Removed define.
2008         (TLS_FLAG_WRITABLE): Likewise.
2009         (__ASSUME_SET_THREAD_AREA): Remove check.
2010         (TLS_EBX_ARG): Remove define.
2011         (TLS_LOAD_EBX): Likewise.
2012
2013 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2014
2015         Simplify atomicity of socket creation in bind.
2016
2017         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2018         looking up the name after linking the file.
2019
2020 2014-08-27  Allan McRae  <allan@archlinux.org>
2021
2022         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2023
2024 2014-08-26  Florian Weimer  <fweimer@redhat.com>
2025
2026         [BZ #17187]
2027         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2028         trans_compare, open_translit, __gconv_translit_find):
2029         Remove module loading code.
2030
2031 2014-08-26  Allan McRae  <allan@archlinux.org>
2032
2033         * po/vi.po: Update Vietnamese translation from translation project.
2034
2035         * po/uk.po: Update Ukrainian translation from translation project.
2036
2037         * po/fr.po: Update French translation from translation project.
2038
2039         * po/ru.po: Update Russian translation from translation project.
2040
2041         * po/pl.po: Update Polish translation from translation project.
2042
2043         * po/cs.po: Update Czech translation from translation project.
2044
2045         * po/de.po: Update German translation from translation project.
2046
2047         * po/bg.po: Update Bulgarian translation from translation project.
2048
2049         * po/sv.po: Update Sweedish translation from translation project.
2050
2051         * po/nl.po: Update Dutch translation from translation project.
2052
2053         * po/es.po: Update Spanish translation from translation project.
2054
2055 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2056
2057         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2058
2059         * catgets/Makefile (CPPFLAGS-gencat): Remove.
2060         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2061         (CPPFLAGS-iconvconfig): Likewise.
2062         * timezone/Makefile (CPPFLAGS-zic): Likewise.
2063
2064         * include/libc-symbols.h: Remove unnecessary check for
2065         NOT_IN_libc.
2066         * nptl/pthreadP.h: Likewise.
2067         * sysdeps/aarch64/setjmp.S: Likewise.
2068         * sysdeps/alpha/setjmp.S: Likewise.
2069         * sysdeps/arm/sysdep.h: Likewise.
2070         * sysdeps/i386/setjmp.S: Likewise.
2071         * sysdeps/m68k/setjmp.c: Likewise.
2072         * sysdeps/posix/getcwd.c: Likewise.
2073         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2074         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2075         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2076         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2077         * sysdeps/sh/sh3/setjmp.S: Likewise.
2078         * sysdeps/sh/sh4/setjmp.S: Likewise.
2079         * sysdeps/unix/alpha/sysdep.h: Likewise.
2080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2081         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2082         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2083         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2087         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2088         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2091         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2092         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2093         * sysdeps/x86_64/setjmp.S: Likewise.
2094
2095 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2096
2097         [BZ #17263]
2098         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2099         <stdint.h>.
2100         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2101         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2102
2103 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2104
2105         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2106
2107         [BZ #17262]
2108         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2109         and __x86_64__ when disabling x87 inline functions.
2110
2111 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
2112
2113         [BZ #17259]
2114         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2115         asm statement with __cpuid_count.
2116
2117 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
2118
2119         * configure.ac: Change __ehdr_start code to dereference the struct.
2120         Run readelf on the output to look for relocations.
2121         * configure: Regenerated.
2122
2123 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
2124
2125         [BZ #17261]
2126         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2127         value to 0.
2128         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2129
2130 2014-08-12  Roland McGrath  <roland@hack.frob.com>
2131
2132         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2133
2134 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
2135
2136         [BZ #16892]
2137         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2138         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2139
2140 2014-08-12  Sean Anderson  <seanga2@gmail.com>
2141
2142         * malloc/malloc.c: Fix typo in comment.
2143
2144 2014-08-09  Allan McRae  <allan@archlinux.org>
2145
2146         * Regenerate libc.po.
2147
2148 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
2149
2150         * intl/tst-gettext2.sh: Check every lang file for creation.
2151
2152 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2153
2154         * sysdeps/aarch64/fpu/math_private.h
2155         (libc_feholdsetround_noex_aarch64_ctx): New function.
2156
2157 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
2158
2159         * sysdeps/arm/armv6/strcpy.S (strcpy):
2160         Fix performance issue in misaligned cases.
2161
2162 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2163
2164         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2165         Move definition from termios.h.
2166         (struct termio): Likewise.
2167         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2168         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2169         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2170         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2173         Move definition to ioctl-types.h
2174         (struct termio): Likewise.
2175         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2176         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2177         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2178         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2179         Likewise.
2180
2181 2014-08-05  Richard Henderson  <rth@redhat.com>
2182
2183         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2184         exceptions.
2185         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2186         Add fraiseexcpt.
2187         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2188         Use __feraiseexcept.
2189         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2190         Protect libm symbols with IS_IN_libm.
2191
2192         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2193
2194 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
2195
2196         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2197
2198 2014-08-04  Will Newton  <will.newton@linaro.org>
2199
2200         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2201         file.
2202
2203 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
2204
2205         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2206         variants for each function.
2207
2208 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2209
2210         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2211         appended ...
2212         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2213         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2214         appended ...
2215         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2216         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2217         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2218         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2219         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2220         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2221         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2222         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2223         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2224         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2225         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2226         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2227         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2228         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2229         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2230         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2231         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2232         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2233         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2234         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2235         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2236         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2237         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2238         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2239         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2240         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2241         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2242         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2243         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2244         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2245         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2246         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2247         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2248         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2249         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2250         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2251         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2252         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2253         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2254         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2255         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2256         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2257         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2259         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2261         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2262         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2263         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2264         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2265         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2266         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2267         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2268         Update #include.
2269         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2270         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2271
2272 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2273
2274         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2275         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2276         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2277         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2278         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2279         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2280
2281 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2282
2283         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2284         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2285         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2286         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2287
2288 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2289
2290         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2291         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2292         (__libc_vfork): Define function under this name.
2293         (__vfork): Define as an alias.
2294         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2295         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2296
2297 2014-08-04  Roland McGrath  <roland@hack.frob.com>
2298
2299         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2300         that was previously under [RESET_PID].
2301         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2302
2303 2014-08-04  Andreas Schwab  <schwab@suse.de>
2304
2305         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2306
2307 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
2308
2309         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2310         (main): Likewise.
2311
2312 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2313
2314         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2315
2316 2014-08-01  Richard Henderon  <rth@redhat.com>
2317
2318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2319         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2320         typo in exact zero test.
2321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2322         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2323         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2324
2325 2014-08-01  Roland McGrath  <roland@hack.frob.com>
2326
2327         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2328         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2329         * sysdeps/arm/sysdep.h: ... here.
2330         [!__ASSEMBLER__]: Include <stdint.h>.
2331
2332 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2333
2334         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2335         (HAVE_WCTYPE_H): Likewise.
2336         (HAVE_ISWCTYPE): Likewise.
2337         (ENABLE_NLS): Likewise.
2338         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2339         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2340
2341         * posix/regex_internal.c: Check if DEBUG is defined and is
2342         set.
2343
2344         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2345         (HAVE_MBSRTOWCS): Likewise.
2346         * posix/fnmatch.c: Include string.h unconditionally.
2347
2348 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2349
2350         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2351         reversal.
2352
2353 2014-07-31  Roland McGrath  <roland@hack.frob.com>
2354
2355         * sysdeps/generic/safe-fatal.h: New file.
2356         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2357         * nptl/forward.c: Include it.
2358         (__pthread_unwind): Use __safe_fatal as default action, rather
2359         than a bogus use of INTERNAL_SYSCALL that could never work.
2360
2361         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2362         * configure.ac (libc_cv_builtin_trap): New test.
2363         * configure: Regenerated.
2364         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2365         (ABORT_INSTRUCTION): Define using __builtin_trap.
2366
2367         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2368         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2369         * sysdeps/nptl/nptl-signals.h: New file.
2370         * nptl/pthreadP.h: Include <nptl-signals.h>.
2371
2372 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2373
2374         * sysdeps/s390/s390-64/utf16-utf32-z9.c
2375         (ONE_DIRECTION): Define.
2376         * sysdeps/s390/s390-64/utf8-utf16-z9.c
2377         (ONE_DIRECTION): Define.
2378         * sysdeps/s390/s390-64/utf8-utf32-z9.c
2379         (ONE_DIRECTION): Define.
2380
2381 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2382
2383         * sysdeps/s390/Makefile: Delete file.
2384         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2385         * sysdeps/s390/__longjmp.c: Delete file.
2386         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2387         Remove fields __flags and __reserved.
2388         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2389         and add versioning.
2390         * sysdeps/s390/rtld-__longjmp.c: Delete file.
2391         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2392         * sysdeps/s390/rtld-setjmp.S: Likewise.
2393         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2394         * sysdeps/s390/s390-32/__longjmp.c: ... here.
2395         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2396         * sysdeps/s390/s390-32/setjmp.S: ... here.
2397         Add versioning.
2398         (__sigsetjmp): Remove setting __flags field.
2399         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2400         * sysdeps/s390/s390-64/__longjmp.c: ... here.
2401         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2402         * sysdeps/s390/s390-64/setjmp.S: ... here.
2403         Add versioning.
2404         (__sigsetjmp): Remove setting __flags field.
2405         * sysdeps/s390/setjmp.S: Delete file.
2406         * sysdeps/s390/sigjmp.c: Likewise.
2407         * sysdeps/s390/v1-longjmp.c: Likewise.
2408         * sysdeps/s390/v1-setjmp.h: Likewise.
2409         * sysdeps/s390/v1-sigjmp.c: Likewise.
2410         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2411         Remove v1-longjmp_chk.
2412         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2413         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2414         Include debug/longjmp_chk.c and add versioning.
2415         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2416         Include nptl/pt-longjmp.c and add versioning.
2417         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2418         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2419         Include __longjmp.c.
2420         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2421         Move to ...
2422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2423         (__getcontext): Remove setting __flags field.
2424         Add versioning.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2426         Don't restore upper high grps.
2427         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2428         Likewise.
2429         (__swapcontext): Remove setting uc_flags field.
2430         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2431         Delete file.
2432         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2433         Include __longjmp.c.
2434         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2435         Move to ...
2436         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2437         (__getcontext): Remove setting __flags field.
2438         Add versioning.
2439         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2440         (__swapcontext): Remove setting uc_flags field.
2441         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2442         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2443         Remove fields uc_high_gprs and __reserved.
2444         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2445         New file with reverted content.
2446         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2447         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2448         Regenerated.
2449         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2450         Regenerated.
2451
2452 2014-07-31  Andreas Schwab  <schwab@suse.de>
2453
2454         * config.h.in (HAVE_IFUNC): Define to 0.
2455         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2456         definedness.
2457
2458 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
2459
2460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2461         memmove-avx-unaligned, memcpy-avx-unaligned and
2462         mempcpy-avx-unaligned.
2463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2464         Add tests for AVX memcpy functions.
2465         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2466         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2467         memcpy_chk.
2468         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2469         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2470         memmove_chk.
2471         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2472         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2473         mempcpy_chk.
2474         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2475         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2476         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2477
2478 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2479
2480         [BZ #17213]
2481         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2482         powerpc64le.
2483
2484 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
2485
2486         [BZ #16839]
2487         * manual/llio.texi: Add section about open file description locks.
2488         * manual/examples/ofdlocks.c: Example of open file description
2489         lock usage.
2490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2491         F_OFD_SETLK, and F_OFD_SETLKW.
2492
2493 2014-07-23  Allan McRae  <allan@archlinux.org>
2494
2495         * po/es.po: Update Spanish translation from translation project.
2496
2497 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
2498
2499         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2500
2501 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
2502
2503         [BZ #17078]
2504         * sysdeps/arm/dl-machine.h (elf_machine_rela)
2505         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2506         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2507
2508 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
2509
2510         [BZ #17088]
2511         * math/fesetenv.c (__fesetenv)
2512         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2513         * math/feupdateenv.c (__feupdateenv)
2514         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2515
2516         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2517         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2518         (__ASSUME_SOCKETCALL): Do not define.
2519
2520         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2521         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2522         (__ASSUME_SOCKETCALL): Do not define.
2523         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2524         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2525         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2526         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2527         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2528         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2529         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2530         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2531
2532         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2533         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2534         (__ASSUME_SOCKETCALL): Do not define.
2535         (__ASSUME_IPC64): Define unconditionally.
2536         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2537         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2538         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2539         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2540         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2541         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2542         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2543         Likewise.
2544
2545         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2546         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2547         (__ASSUME_SOCKETCALL): Do not define.
2548         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2549         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2550         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2551         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2552         (__ASSUME_REQUEUE_PI): Define unconditionally.
2553         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2554         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2555         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2556         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2557         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2558         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2559
2560         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2561         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2562         (__ASSUME_SOCKETCALL): Do not define.
2563         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2564         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2565         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2566         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2568         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2569
2570         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2571         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2572         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2573         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2574         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2575         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2576         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2577         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2578         (__ASSUME_GETCPU_SYSCALL): Likewise.
2579
2580         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2581         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
2582         cases for individual architectures.
2583         * sysdeps/gnu/configure: Regenerated.
2584         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2585         LIBC_SLIBDIR_RTLDDIR.
2586         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2587         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2588         LIBC_SLIBDIR_RTLDDIR.
2589         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2591         LIBC_SLIBDIR_RTLDDIR.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2593         Regenerated.
2594         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2595         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2596         file.
2597         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2598         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2599         file.
2600         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2601         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2602         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2603         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2604
2605         * sysdeps/aarch64/shlib-versions: Move to ...
2606         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2607         * sysdeps/alpha/shlib-versions: Move to ...
2608         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2609         * sysdeps/arm/shlib-versions: Move to ...
2610         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2611         * sysdeps/hppa/shlib-versions: Move all contents except for
2612         libgcc_s entry to ...
2613         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
2614         entry from ...
2615         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
2616         * sysdeps/ia64/shlib-versions: Move to ...
2617         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
2618         entry from ...
2619         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
2620         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2621         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2622         * sysdeps/microblaze/shlib-versions: Move to ...
2623         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2624         * sysdeps/mips/shlib-versions: Move to ...
2625         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
2626         entry from ...
2627         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
2628         * sysdeps/tile/shlib-versions: Move to ...
2629         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2630         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2631         from ...
2632         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
2633         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2634         entry from ...
2635         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
2636
2637 2014-07-17  Will Newton  <will.newton@linaro.org>
2638
2639         * sysdeps/arm/bits/atomic.h
2640         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2641         (__arch_compare_and_exchange_bool_16_int): Likewise.
2642         (__arch_compare_and_exchange_bool_64_int): Likewise.
2643
2644         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2645         into an #else block.
2646
2647 2014-07-16  Roland McGrath  <roland@hack.frob.com>
2648
2649         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2650         just Linux configurations.  Test empirically that the compiler sets
2651         __ARM_EABI__, rather than using the tuple to decide.
2652         * sysdeps/arm/preconfigure: Regenerated.
2653         * sysdeps/unix/sysv/linux/arm/configure: File removed.
2654         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2655         contents appended ...
2656         * sysdeps/arm/configure.ac: ... here.
2657         * sysdeps/arm/configure: Regenerated.
2658
2659 2014-07-15  Roland McGrath  <roland@hack.frob.com>
2660
2661         * nptl/pthread_kill.c: New file.
2662         * nptl/pthread_sigmask.c: New file.
2663         * nptl/pthread_sigqueue.c: New file.
2664
2665         * sysdeps/nptl/lowlevellock.h: New file.
2666         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2667         * sysdeps/nptl/lowlevellock-futex.h: New file.
2668
2669         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2670         Remove dead declarations.
2671
2672 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
2673
2674         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2675         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2676         config-cflags-avx2.
2677         * sysdeps/x86_64/configure.ac: Likewise.
2678         * sysdeps/i386/configure: Regenerated.
2679         * sysdeps/x86_64/configure: Likewise.
2680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2681         memset-avx2 only if config-cflags-avx2 is yes.
2682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2683         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2684         defined.
2685         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2686         only if HAVE_AVX2_SUPPORT is defined.
2687         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2688
2689 2014-07-14  Alan Modra  <amodra@gmail.com>
2690
2691         [BZ #17153]
2692         * elf/elf.h (DT_PPC64_NUM): Correct value.
2693         * NEWS: Add to fixed bug list.
2694
2695 2014-07-13  Jim Meyering  <meyering@fb.com>
2696
2697         [BZ 17150]
2698         regex: don't deref NULL upon heap allocation failure
2699         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2700         failure in one more place.
2701         To trigger the segfault, configure grep -with-included-regex,
2702         build it, and run these commands:
2703         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2704
2705 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2706
2707         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2708
2709 2014-07-11  Richard Henderson  <rth@redhat.com>
2710
2711         * sysdeps/aarch64/libm-test-ulps: Update.
2712
2713 2014-07-10  Florian Weimer  <fweimer@redhat.com>
2714
2715         [BZ #17135]
2716         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2717         * nptl/allocatestack.c (__nptl_setxid_error): New function.
2718         (__nptl_setxid): Initialize error member.  Call
2719         __nptl_setxid_error.
2720         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2721         * nptl/descr.h (struct xid_command): Add error member.
2722         * nptl/tst-setuid3.c: New file.
2723         * nptl/Makefile (tests): Add it.
2724
2725 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2726
2727         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2728         New define.
2729         (__lll_trylock): Use __lll_base_trylock.
2730         (__lll_cond_trylock): Likewise.
2731
2732 2014-07-10  Roland McGrath  <roland@hack.frob.com>
2733
2734         * nptl/pthread_create.c (start_thread): Use atomic_or and
2735         lll_futex_wake directly rather than lll_robust_dead.
2736         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2737         (lll_robust_dead): Macro removed.
2738         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2739         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2740         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2741         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2742         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2743         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2744         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2745         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2746         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2747         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2749         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2750         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2751         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2752         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2753
2754         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2755         Use atomic_compare_and_exchange_val_acq directly rather than
2756         lll_robust_trylock.
2757         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2758         (__lll_robust_trylock, lll_robust_trylock): Removed.
2759         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2760         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2761         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2762         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2763         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2764         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2765         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2766         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2767         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2768         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2769         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2771         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2773
2774 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2775
2776         * manual/locale.texi (Locale Names): New section documenting
2777         locale name syntax.  Adjust menu and node chaining accordingly.
2778         (Choosing Locale): Reference Locale Names, Locale Categories.
2779         Mention setting LC_ALL=C.  Reflect that name syntax is now
2780         documented.
2781         (Locale Categories): New section title.  Reference Locale Names.
2782         LC_ALL is an environment variable, but not a category.
2783         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2784         description, now in Locale Name.  Reference that section.  Locale
2785         name syntax is now documented.
2786
2787 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2788
2789         [BZ #17137]
2790         * locale/findlocale.c (name_present, valid_locale_name): New
2791         functions.
2792         (_nl_find_locale): Use the loc_name variable to store name
2793         candidates.  Call name_present and valid_locale_name to check and
2794         validate locale names.  Return an error if the locale is invalid.
2795
2796 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2797
2798         * locale/setlocale.c (setlocale): Use strdup for allocating
2799         composite name copy.
2800
2801 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2802
2803         Sync up with gnulib.
2804         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2805         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2806         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2807         and _GL_ARG_NONNULL.
2808         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2809         [!_LIBC]: Include code for Windows and Cygwin.
2810         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2811         Include prototype for int strerror_r.
2812         [!_LIBC] (is_open): New function.
2813         (flush_stdout): New function.
2814         (print_errno_message): Use it.
2815         (error): Likewise.
2816         (error_at_line): Likewise.
2817         (error_tail) Add function attribute macros.  Use
2818         __builtin_expect.
2819
2820         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2821
2822         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2823
2824         * io/ftw.c: Include sys/param.h unconditionally.
2825
2826         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2827
2828         [BZ #17125]
2829         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2830         libc_freeres_ptr.
2831         (freecache): New function to free CACHE on exit.
2832
2833         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2834         initialization.
2835
2836 2014-07-09  David S. Miller  <davem@davemloft.net>
2837
2838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2839
2840         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2841         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2842         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2843         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2844         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2845         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2846         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2847         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2848         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2849         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2850         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2851         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2852         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2853
2854 2014-07-09  Andreas Schwab  <schwab@suse.de>
2855
2856         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2857         output.
2858         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2859         (do_test): Likewise.
2860
2861         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2862
2863 2014-07-09  Will Newton  <will.newton@linaro.org>
2864
2865         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2866         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2867         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2868         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2869         * sysdeps/hppa/start.S (_start): Likewise.
2870
2871 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2872
2873         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2874
2875         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2876         defined.
2877
2878 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2879
2880         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2881         after checking that it is non-NULL.
2882
2883         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2884
2885 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2886
2887         * sysdeps/powerpc/memmove.c: Remove file.
2888         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2889         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2890         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2891         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2892         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2893         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2894         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2895         string memmove instead of removed powerpc one.
2896
2897         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2898         [weak_alias]: Fix compiler warning due trailing data.
2899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2900         [weak_alias]: Likewise.
2901         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2902         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2903
2904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2905         (__libc_ifunc_impl_list): Add memmove functions.
2906
2907 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2908
2909         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2910         Remove code.
2911         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2912         Likewise
2913         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2914         Likewise
2915         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2916         Likewise
2917         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2918         Likewise
2919         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2920         Likewise
2921         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2922         Likewise
2923         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2924         Likewise
2925         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2926         Likewise
2927         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2928         Likewise
2929         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2930         Likewise
2931         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2932         Likewise
2933         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2934         Likewise
2935         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2936         Likewise
2937         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2938         Likewise
2939         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2940         Likewise
2941         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2942         Likewise
2943
2944 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2945
2946         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2947         to avoid alignment traps in non-cacheable memory.
2948         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2949
2950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2951         multiarch objects.
2952         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2953         file: multiarch power7 memmove.
2954         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2955         multiarch default memmove.
2956         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2957         multiarch memove for powerpc32/power4.
2958
2959         * string/bcopy.c: Use full path to include memmove.c.
2960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2961         multiarch objects.
2962         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2963         bcopy for powerpc64.
2964         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2965         bcopy for powerpc64.
2966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2967         and memmove implementations.
2968         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2969         optimized multiarch memmove for POWER7/powerpc64.
2970         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2971         default multiarch memmove for powerpc64.
2972         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2973         multiarch for powerpc64.
2974         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2975         for POWER7/powerpc64.
2976         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2977         memmove for POWER7/powerpc64.
2978
2979         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2980         glibc default one.
2981
2982         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2983         __ELF_NATIVE_CLASS equal to 64.
2984
2985 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2986
2987         * sysdeps/nptl/lowlevellock.h: File removed.
2988
2989         * NEWS: NPTL is no longer an add-on!
2990         * nptl/internaltypes.h: Moved ...
2991         * sysdeps/nptl/internaltypes.h: ... here.
2992         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2993         * sysdeps/nptl/fork.c: Likewise.
2994         * sysdeps/nptl/gai_misc.h: Likewise.
2995         * sysdeps/nptl/librt-cancellation.c: Likewise.
2996         * sysdeps/nptl/jmp-unwind.c: Likewise.
2997         * sysdeps/nptl/setxid.h: Likewise.
2998         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2999         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3000         * sysdeps/unix/sysv/linux/arm/Implies: New file.
3001         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3002         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3003         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3004         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3005         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3006         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3007         * sysdeps/unix/sysv/linux/mips/Implies: New file.
3008         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3009         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3010         * sysdeps/unix/sysv/linux/sh/Implies: New file.
3011         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3012         * sysdeps/unix/sysv/linux/tile/Implies: New file.
3013         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3014         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3015         * nptl/Makeconfig: Moved ...
3016         * sysdeps/nptl/Makeconfig: ... here.
3017         * nptl/configure: File removed.
3018         * nptl/ANNOUNCE: File removed.
3019         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3020         * sysdeps/unix/sysv/linux/configure: Regenerated.
3021
3022         * nptl/Makefile (routines): Add libc_pthread_init,
3023         libc_multiple_threads, register-atfork and unregister-atfork.
3024         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3025         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3026         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3027         pthread-pi-defines.sym, structsem.sym.
3028         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3029         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3030         [$(subdir) = nptl] (tests): Add tst-setgetname.
3031         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3032         * sysdeps/unix/sysv/linux/sigaction.c: Just include
3033         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3034         [!LIBC_SIGACTION]: Remove aliases.
3035         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3036         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3037         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3038         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3039         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3040         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3041         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3042         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3043         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3044         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3045         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3046         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3047         __libc_allocate_rtsig_private.
3048         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3049         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3050         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3051         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3052         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3053         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3054         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3055         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3056         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3057         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3058         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3059         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3060         * nptl/internaltypes.h: ... here.
3061         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3062         * sysdeps/nptl/jmp-unwind.c: ... here.
3063         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3064         * nptl/libc-lowlevellock.c: ... here.
3065         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3066         * nptl/libc_multiple_threads.c: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3068         * nptl/libc_pthread_init.c: ... here.
3069         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3070         * nptl/lowlevelbarrier.sym: ... here.
3071         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3072         * nptl/lowlevelcond.sym: ... here.
3073         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3074         * nptl/lowlevellock.c: ... here.
3075         * nptl/lowlevellock.h: Moved ...
3076         * sysdeps/nptl/lowlevellock.h: ... here.
3077         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3078         * nptl/lowlevelrobustlock.c: ... here.
3079         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3080         * nptl/lowlevelrobustlock.sym: ... here.
3081         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3082         * nptl/lowlevelrwlock.sym: ... here.
3083         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3084         * nptl/pt-fork.c: ... here.
3085         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3086         * nptl/pthread-pi-defines.sym: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3088         * nptl/pthread_attr_getaffinity.c: ... here.
3089         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3090         * nptl/pthread_attr_setaffinity.c: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3092         * nptl/pthread_mutex_cond_lock.c: ... here.
3093         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3094         Update #include.
3095         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3096         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3097         * nptl/pthread_once.c: ... here, replacing old file.
3098         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3099         * nptl/pthread_yield.c: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3101         * nptl/register-atfork.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3103         * nptl/sem_post.c: ... here.
3104         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3105         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3106         * nptl/sem_timedwait.c: ... here.
3107         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3108         * nptl/sem_trywait.c: ... here.
3109         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3110         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3111         * nptl/sem_wait.c: ... here.
3112         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3113         * nptl/structsem.sym: ... here.
3114         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3115         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3116         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3117         * nptl/unregister-atfork.c: ... here.
3118         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3119         * nptl/unwindbuf.sym: ... here.
3120         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3121         * sysdeps/nptl/fork.c: ... here.
3122         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3123         * sysdeps/nptl/fork.h: ... here.
3124         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3125         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3126         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3127         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3128         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3129         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3130         * sysdeps/unix/sysv/linux/getpid.c: ... here.
3131         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3132         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3133         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3134         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3135         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3136         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3137         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3138         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3139         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3140         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3141         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3142         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3143         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3144         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3145         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3146         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3147         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3148         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3149         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3150         * sysdeps/unix/sysv/linux/raise.c: ... here.
3151         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3152         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3153         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3154         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3155         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3156         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3157         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3158         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3159         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3160         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3161         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3162         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3163         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3164         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3165         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3166
3167 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3168
3169         * sysdeps/generic/memcopy.h: Add comment for
3170         MEMCPY_OK_FOR_FWD_MEMMOVE.
3171
3172 2014-07-04  Will Newton  <will.newton@linaro.org>
3173
3174         * string/memchr.c: Merge from gnulib.
3175         [_LIBC]: Remove conditionals.
3176         (__ptr_t): Remove define.
3177         (LONG_MAX_32_BITS): Likewise.
3178         (LONG_MAX): Likewise.
3179         (MEMCHR): Use ANSI prototype and optimize algorithm.
3180
3181         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3182
3183 2014-07-03  Roland McGrath  <roland@hack.frob.com>
3184
3185         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3186         (lll_futex_timed_wait_bitset): Fix syscall argument count.
3187
3188         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3189         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3190         in a bare environment with no <stdlib.h> installed.
3191         * sysdeps/nptl/configure: Regenerated.
3192
3193         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3194
3195         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3196         AC_EGREP_CPP for kernel header checks, so they only succeed if
3197         including <linux/version.h> actually works right.
3198         * sysdeps/unix/sysv/linux/configure: Regenerated.
3199
3200         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3201         value so it's not diagnosed as unused.
3202
3203         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3204         thing) with "ifeq ($(subdir),rt)".
3205
3206 2014-07-03  Richard Henderson  <rth@redhat.com>
3207
3208         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3209         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3210         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3211
3212         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3213         (math_force_eval): New.
3214
3215         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3216         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3217
3218         * sysdeps/alpha/fpu/s_round.c: Remove file.
3219         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3220
3221         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3222         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3223         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3224         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3225         (_dl_start, print_statistics): Likewise.
3226         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3227         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3228
3229         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3230         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3231         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3232         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3233         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3234         (HP_SMALL_TIMING_AVAIL): Define.
3235         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3236         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3237         (HP_SMALL_TIMING_AVAIL): Define.
3238         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3239         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3240
3241         * sysdeps/aarch64/hp-timing.h: New file.
3242
3243         * sysdeps/generic/hp-timing.h: Remove dead comment.
3244         * sysdeps/generic/hp-timing-common.h: New file.
3245         * sysdeps/alpha/hp-timing.h: Include it.
3246         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3247         * sysdeps/i386/i686/hp-timing.h: Likewise.
3248         * sysdeps/ia64/hp-timing.h: Likewise.
3249         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3250         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3251         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3252         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3253         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3254         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3255         (hp_timing_t): New.
3256
3257         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3258         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3259         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3260         * elf/rtld.c (_dl_start_final): Likewise.
3261         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3262         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3263         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3264         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3265         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3266         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3267         (HP_TIMING_DIFF_INIT): Remove.
3268         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3269         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3270         (HP_TIMING_DIFF_INIT): Remove.
3271         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3272         * sysdeps/i386/i686/hp-timing.c: Remove file.
3273         * sysdeps/x86_64/hp-timing.c: Remove file.
3274         * sysdeps/ia64/hp-timing.c: Remove file.
3275         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3276         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3278         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3279
3280         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3281         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3282         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3283         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3285         (HP_TIMING_ACCUM): Remove.
3286         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3287         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3288         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3289
3290         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3291         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3292         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3293         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3294         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3295         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3296         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3297         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3298
3299         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3300
3301 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
3302
3303         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3304
3305 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3306
3307         Sync up with gettext.
3308         * intl/loadmsgcat.c: Define O_BINARY if not defined.
3309         [_MSC_VER]: Include malloc.h
3310         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3311         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3312         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
3313         TEMP_FAILURE_RETRY.  Cast return of alloca.
3314         [!_LIBC] Call gl_rwlock_init.
3315         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3316
3317 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3318
3319         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3320         before checking its value.
3321
3322 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3323
3324         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3325
3326         * debug/memcpy_chk.c: Don't include pagecopy.h.
3327         * debug/mempcpy_chk.c: Likewise.
3328         * string/memcpy.c: Likewise.
3329         * string/memmove.c: Likewise.
3330         * sysdeps/powerpc/memmove.c: Likewise.
3331         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
3332         definition of PAGE_COPY_FWD_MAYBE here...
3333         * sysdeps/generic/pagecopy.h: ... from here.
3334         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3335
3336 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3337             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3338
3339         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3341         optimizations.
3342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3343         (__libc_ifunc_impl_list): Likewise.
3344         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3345         multiarch strcat for PPC64.
3346         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3347         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3348
3349 2014-07-02  Roland McGrath  <roland@hack.frob.com>
3350
3351         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3352
3353 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3354
3355         * intl/loadmsgcat.c: Remove declaration of
3356         get_sysdep_segment_value.
3357         (get_sysdep_segment_value): Use ISO C style.
3358         (_nl_load_domain): Use ISO C style.  Get rid of redundant
3359         semicolon.  Fix typo and formatting in comment.
3360         (_nl_unload_domain): Use ISO C style.
3361
3362         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3363
3364 2014-07-02  Will Newton  <will.newton@linaro.org>
3365
3366         * malloc/obstack.c: Merge from gnulib master.
3367         [HAVE_CONFIG_H]: Remove conditional code.
3368         [!_LIBC]: Include config.h.
3369         [!ELIDE_CODE]: Don't include inttypes.h, include
3370         stdint.h unconditionally.
3371         (print_and_abort): Mark as _Noreturn.
3372         (_obstack_allocated_p): Mark as __attribute_pure__.
3373         (obstack_free): Rename to __obstack_free.
3374         [!__attribute__]: Remove conditional code.
3375         * malloc/obstack.h: Merge from gnulib master.
3376         [__cplusplus]: Move conditional down.
3377         [!__attribute_pure__]: Define __attribute_pure__ here
3378         if it is not already defined.
3379         (_obstack_memory_used): Mark as __attribute_pure__.
3380         [!__obstack_free]: Define as obstack_free.
3381         [__GNUC__]: Remove check for ancient NeXT gcc.
3382
3383 2014-07-02  Will Newton  <will.newton@linaro.org>
3384             Paul Eggert  <eggert@cs.ucla.edu>
3385
3386         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3387
3388 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3389
3390         * resolv/gethnamaddr.c: Add comment warning that the file is
3391         not maintained.
3392
3393 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
3394
3395         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3396         entries.
3397
3398         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3399         entry for aio_cancel and aio_cancel64.
3400         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3401         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3402         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3403         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3404         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3405         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3406         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3407         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3408         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3409         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3410         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3411         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3412         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3413
3414 2014-07-01  Roland McGrath  <roland@hack.frob.com>
3415
3416         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3417         * nptl/pthread_mutex_lock.c: Likewise.
3418         * nptl/pthread_mutex_timedlock.c: Likewise.
3419         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3420
3421 2014-07-01  Richard henderson  <rth@redhat.com>
3422
3423         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3424         (__isnan, __isnanl): Remove.
3425         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3426
3427         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3428
3429 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3430
3431         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3432
3433 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3434
3435         * resolv/nss_dns/dns-host.c (getanswer_r)
3436         [MULTI_PTRS_ARE_ALIASES]: Remove code.
3437
3438 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
3439
3440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3441         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3442         undefine.
3443         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3444         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3445
3446 2014-07-01  Roland McGrath <roland@hack.frob.com>
3447
3448         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3449         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3450
3451         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3452         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3453
3454         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3455         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3456         ... here.
3457         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3458         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3459
3460         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3461         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3462         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3463         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3464
3465         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3466         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3467         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3468         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3469         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3470         Moved ...
3471         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3472         ... here.
3473         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3474         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3475         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3476         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3477         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3478         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3479         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3480         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3481         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3482         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3483         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3484         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3485         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3486         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3487         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3488         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3489         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3490         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3491         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3492         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3493         ... here.
3494         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3495         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3496         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3497         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3498         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3499         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3500         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3501         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3502
3503 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
3504
3505         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3506         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3507         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3508         Add sysdep.
3509
3510 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3511
3512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513
3514 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3515
3516         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3517         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3518
3519         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3520
3521         * sysdeps/arm/libm-test-ulps: Regenerated.
3522
3523 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3524             Roland McGrath <roland@hack.frob.com>
3525
3526         * test-skeleton.c (signal_handler): Kill the whole process group
3527         before killing the child individually.
3528         (main): Report any failure on `setpgid'.
3529
3530 2014-06-30  Roland McGrath  <roland@hack.frob.com>
3531
3532         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3533         from _TLS_H to _ARM_NPTL_TLS_H.
3534         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3535         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3536
3537 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
3538
3539         [BZ #16539]
3540         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3541         (__expm1l): Return argument unchanged when small but not
3542         subnormal.
3543
3544         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3545         include macro name.
3546         (_FP_UNPACK_RAW_1_P): Likewise.
3547         (_FP_PACK_RAW_1): Likewise.
3548         (_FP_PACK_RAW_1_P): Likewise.
3549         (_FP_MUL_MEAT_1_wide): Likewise.
3550         (_FP_MUL_MEAT_DW_1_hard): Likewise.
3551         (_FP_MUL_MEAT_1_hard): Likewise.
3552         (_FP_DIV_MEAT_1_imm): Likewise.
3553         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3554         (_FP_DIV_MEAT_1_udiv): Likewise.
3555         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3556         (_FP_UNPACK_RAW_2): Likewise.
3557         (_FP_UNPACK_RAW_2_P): Likewise.
3558         (_FP_PACK_RAW_2): Likewise.
3559         (_FP_PACK_RAW_2_P): Likewise.
3560         (_FP_MUL_MEAT_DW_2_wide): Likewise.
3561         (_FP_MUL_MEAT_2_wide): Likewise.
3562         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3563         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3564         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3565         (_FP_MUL_MEAT_2_gmp): Likewise.
3566         (_FP_DIV_MEAT_2_udiv): Likewise.
3567         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3568         (_FP_FRAC_SRL_4): Likewise.
3569         (_FP_FRAC_SRST_4): Likewise.
3570         (_FP_FRAC_SRS_4): Likewise.
3571         (_FP_UNPACK_RAW_4): Likewise.
3572         (_FP_UNPACK_RAW_4_P): Likewise.
3573         (_FP_PACK_RAW_4): Likewise.
3574         (_FP_PACK_RAW_4_P): Likewise.
3575         (_FP_MUL_MEAT_DW_4_wide): Likewise.
3576         (_FP_MUL_MEAT_4_wide): Likewise.
3577         (_FP_MUL_MEAT_4_gmp): Likewise.
3578         (umul_ppppmnnn): Likewise.
3579         (_FP_DIV_MEAT_4_udiv): Likewise.
3580         (__FP_FRAC_ADD_4): Likewise.
3581         (__FP_FRAC_SUB_3): Likewise.
3582         (__FP_FRAC_SUB_4): Likewise.
3583         (__FP_FRAC_DEC_3): Likewise.
3584         (__FP_FRAC_DEC_4): Likewise.
3585         (__FP_FRAC_ADDI_4): Likewise.
3586         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3587         (_FP_FRAC_SRL_8): Likewise.
3588         (_FP_FRAC_SRS_8): Likewise.
3589
3590         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3591         include macro name.
3592         (FP_UNPACK_RAW_EP): Likewise.
3593         (FP_PACK_RAW_E): Likewise.
3594         (FP_PACK_RAW_EP): Likewise.
3595         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3596         (_FP_ISSIGNAN): Likewise.
3597         (_FP_ADD_INTERNAL): Likewise.
3598         (_FP_FMA): Likewise.
3599         (_FP_CMP): Likewise.
3600         (_FP_SQRT): Likewise.
3601         (_FP_TO_INT): Likewise.
3602         (_FP_FROM_INT): Likewise.
3603         (FP_EXTEND): Likewise.
3604         (_FP_DIV_MEAT_N_loop): Likewise.
3605
3606 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
3607
3608         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3609         throughout.
3610
3611 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
3612
3613         [BZ #17097]
3614         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3615         result with correct sign in case of exponents that produce
3616         overflow except for X very close to 1.
3617
3618 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
3619
3620         mktime: merge #if/#ifdef usage from glibc
3621         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3622         as that works with both Glibc's and Gnulib's style.
3623         See thread starting at Siddhesh Poyarekar's bug report at:
3624         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3625
3626 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3627
3628         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3629         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3630         * sysdeps/tile/tilegx/memmove.c: Remove file.
3631
3632 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3633
3634         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3635         abi-name definition.
3636         * scripts/soversions.awk: Do not handle or generate ABI lines.
3637         * shlib-versions: Remove ABI entries.
3638         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3639         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3640
3641 2014-06-27  Roland McGrath  <roland@hack.frob.com>
3642
3643         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3644         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3645         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3650         Moved ...
3651         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3652         ... here.
3653         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3656         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3658         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3660         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3662         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3664         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3665         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3669         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3671         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3673         Moved ...
3674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3676         Moved ...
3677         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3679         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3681         Moved ...
3682         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3690         Moved ...
3691         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3693         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3694         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3695         Moved ...
3696         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3700         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3701         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3703         Moved ...
3704         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3705         ... here.
3706         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3707         Identical file removed.
3708         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3709         Moved ...
3710         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3712         Identical file removed.
3713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3714         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3716         Moved ...
3717         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3719         Identical file removed.
3720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3721         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3723         Identical file removed.
3724         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3725         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3727         Identical file removed.
3728         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3729         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3730         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3731         Identical file removed.
3732         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3733         Moved ...
3734         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3735         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3736         Identical file removed.
3737         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3738         Moved ...
3739         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3740         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3741         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3743         Identical file removed.
3744         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3745         Moved ...
3746         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3747         ... here.
3748         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3749         Identical file removed.
3750         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3751         Moved ...
3752         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3754         Identical file removed.
3755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3756         Moved ...
3757         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3758         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3759         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3761         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3762         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3765         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3766         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3767
3768         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3769         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3770         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3771         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3772         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3773
3774 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
3775
3776         [BZ #17092]
3777         * nscd/nscd.c (monitor_child): Return exit status of child
3778         instead of return value from wait syscall.
3779
3780 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3781
3782         * configure.ac (libc_commonpagesize): Remove variable.
3783         (libc_relro_required): Likewise.
3784         (libc_cv_z_relro): Remove configure test.
3785         * configure: Regenerated.
3786         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3787         variable.
3788         (libc_relro_required): Likewise.
3789         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3790         (libc_relro_required): Likewise.
3791         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3792         (libc_relro_required): Likewise.
3793         * sysdeps/arm/preconfigure: Regenerated.
3794         * sysdeps/ia64/preconfigure: Remove file.
3795         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3796         variable.
3797         (libc_relro_required): Likewise.
3798
3799         [BZ #16561]
3800         [BZ #16562]
3801         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3802         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3803         recompute overflowing results in original rounding mode.
3804         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3805         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3806         recompute overflowing results in original rounding mode.
3807         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3808         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3809         recompute overflowing results in original rounding mode.
3810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3811         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3812         recompute overflowing results in original rounding mode.
3813         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3814         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3815         recompute overflowing results in original rounding mode.
3816         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3817         (libc_feholdsetround_ctx): New macro.
3818         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3819         * sysdeps/i386/fpu/libm-test-ulps: Update.
3820         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3821
3822 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3823
3824         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3825         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3826         corresponding .cpsetup call.
3827
3828 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3829
3830         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3831         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3832         * sysdeps/arm/Makefile [$(subdir) = csu]
3833         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3834         (static-only-routines): Add aeabi_read_tp here.
3835         (shared-only-routines): Add libc-aeabi_read_tp here.
3836         (CFLAGS-libc-start.c): Add -fexceptions here.
3837         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3838         (sysdep_routines, static-only-routines, shared-only-routines):
3839         Don't add to these here.
3840         (CFLAGS-libc-start.c): Likewise.
3841
3842         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3843         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3844         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3845         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3846         * sysdeps/arm/Makefile [$(subdir) = rt]
3847         (librt-sysdep_routines, librt-shared-only-routines):
3848         Append rt-aeabi_unwind_cpp_pr1 here.
3849         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3850         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3851         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3852         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3853         Append nptl-aeabi_unwind_cpp_pr1 here.
3854         (tests): Filter out tst-cleanupx4 here.
3855         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3856         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3857         Don't do those here.
3858
3859 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3860
3861         * scripts/list-sources.sh: Do not handle ports specially.
3862
3863 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3864
3865         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3866         * sysdeps/arm/feupdateenv.c: Likewise.
3867
3868         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3869
3870 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3871
3872         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3873         trailing whitespace removed.
3874         * scripts/config.guess: Update to version 2014-03-23.
3875         * scripts/config.sub: Update to version 2014-05-01
3876         * scripts/install-sh: Update to version 2013-12-25.23.
3877         * scripts/move-if-change: Update from gnulib.
3878
3879 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3880
3881         * debug/memmove_chk.c: Remove pagecopy.h include.
3882
3883 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3884
3885         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3886         identical to gnulib mktime.
3887
3888 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3889
3890         * configure.ac: Do not test for machine being rs6000.  Do not test
3891         for powerpc*-*soft.
3892         * configure: Regenerated.
3893
3894         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3895         test.
3896         * configure: Regenerated.
3897         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3898         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3899         Remove configure test.
3900         * sysdeps/arm/configure: Regenerated.
3901         * sysdeps/nptl/configure.ac: Do not check
3902         libc_cv_asm_cfi_directives.
3903         * sysdeps/nptl/configure: Regenerated.
3904         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3905         * sysdeps/x86_64/nptl/configure: Remove generated file.
3906         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3907         unconditional.
3908         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3909
3910 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3911
3912         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3913         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3914         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3915         it is defined.
3916
3917         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3918         instead of whether it is defined.
3919         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3920         * sysdeps/hppa/dl-machine.h: Likewise.
3921         * sysdeps/ia64/dl-machine.h: Likewise.
3922         * sysdeps/m68k/dl-machine.h: Likewise.
3923         * sysdeps/microblaze/dl-machine.h: Likewise.
3924         * sysdeps/mips/dl-machine.: Likewise.
3925         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3926         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3927         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3928         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3929         * sysdeps/sh/dl-machine.h: Likewise.
3930         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3931         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3932         * sysdeps/tile/dl-machine.h: Likewise.
3933         * sysdeps/x86_64/dl-machine.h: Likewise.
3934
3935         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3936         code.
3937         (verify_persistent_db): Likewise.
3938
3939 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3940
3941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3942         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3944         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3946         Moved ...
3947         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3948         ... here.
3949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3950         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3952         Identical file removed.
3953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3956         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3958         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3960         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3964         Moved ...
3965         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3967         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3969         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3971         Moved ...
3972         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3974         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3976         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3978         Identical file removed.
3979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3980         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3982         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3984         Moved ...
3985         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3986         ... here.
3987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3988         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3990         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3992         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3994         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3996         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3998         Moved ...
3999         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4001         Moved ...
4002         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4004         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4006         Moved ...
4007         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4009         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4010
4011         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4012         folded into ...
4013         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4014         * sysdeps/unix/sysv/linux/s390/Versions
4015         (libpthread: GLIBC_2.19): New version set.
4016         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4017         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4018         (librt: GLIBC_2.3.3): New version set.
4019         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4020         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4021         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4022         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4023         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4024         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4025         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4026         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4027         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4028         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4029         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4030         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4031         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4032         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4033         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4034         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4035         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4036         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4037         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4038         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4039         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4041         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4042         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4043         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4044         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4045         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4047         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4049         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4050         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4055         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4057         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4059         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4064
4065         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4066         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4067         (__libc_vfork): Define the function under this name.
4068         [!NOT_IN_libc] (__vfork): Make this an alias.
4069         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4071         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4072         (__libc_vfork): Define the function under this name.
4073         [!NOT_IN_libc] (__vfork): Make this an alias.
4074         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4075         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4076         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4077         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4078         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4079         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4080
4081         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4082         code that was previously under [RESET_PID].
4083         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4084         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4085         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4086
4087         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4088         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4089         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4090         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4091         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4092         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4093         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4094         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4095         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4096         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4098         Moved ...
4099         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4101         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4102         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4103         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4104         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4105         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4107         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4109         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4110         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4111         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4112         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4113         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4114         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4115         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4117         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4118         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4119         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4120         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4121         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4122         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4123         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4124         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4125         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4127         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4128
4129 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4130
4131         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4132         that was previously under [RESET_PID].
4133         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4134
4135 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4136
4137         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4138         not undefine and redefine.
4139         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4140         [O_CLOEXEC]: Make code unconditional.
4141         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4142         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4143         <kernel-features.h>.
4144         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4145         conditional variable definition.
4146         (shm_open) [O_CLOEXEC]: Make code unconditional.
4147         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4148         code.
4149
4150         * configure.ac (USE_REGPARMS): Don't define here.
4151         * configure: Regenerated.
4152         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4153         * sysdeps/i386/configure: Regenerated.
4154
4155         * nptl/createthread.c: Don't include kernel-features.h.
4156         * nptl/pthread_cancel.c: Likewise.
4157         * nptl/pthread_condattr_setclock.c: Likewise.
4158         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4159         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4160         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4161         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4162         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4163         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4164         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4165         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4167         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4168         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4169         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4170         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4171         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4172         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4173         * nscd/gai.c: Likewise.
4174         * nss/nss_db/db-open.c: Likewise.
4175         * sysdeps/generic/ldsodefs.h: Likewise.
4176         * sysdeps/sh/nptl/tls.h: Likewise.
4177         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4178         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4179         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4180         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4181         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4182         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4183         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4184         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4186         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4187         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4188         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4189         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4190         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4191         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4192         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4193         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4194         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4195         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4196         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4197         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4198         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4199         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4200         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4201         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4202         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4205         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4206         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4207         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4208         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4209         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4210         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4211         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4212         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4213         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4214         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4215         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4216         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4217         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4218         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4219         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4220         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4221         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4222         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4223         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4225         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4226         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4227         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4228         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4229         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4230         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4231         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4232         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4233         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4234         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4257         * sysdeps/unix/sysv/linux/pread.c: Likewise.
4258         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4259         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4260         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4261         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4262         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4263         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4264         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4265         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4266         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4267         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4268         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4269         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4270         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4271         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4272         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4273         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4274         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4275         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4276         * sysdeps/unix/sysv/linux/system.c: Likewise.
4277         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4278         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4279         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4280         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4281         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4282         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4283         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4284
4285         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4286         * configure: Regenerated.
4287         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4288
4289         * configure.ac (base_machine): Do not set specially for particular
4290         machines here.
4291         * configure: Regenerated.
4292         * sysdeps/powerpc/preconfigure: Move machine and base_machine
4293         settings from configure.ac.
4294         * sysdeps/i386/preconfigure: New file.
4295         * sysdeps/s390/preconfigure: Likewise.
4296         * sysdeps/sh/preconfigure: Likewise.
4297         * sysdeps/sparc/preconfigure: Likewise.
4298
4299 2014-06-25  Roland McGrath  <roland@hack.frob.com>
4300
4301         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4302         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4303         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4304         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4305         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4306         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4307         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4308         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4309         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4310         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4311         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4312         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4313         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4314         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4315         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4316         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4318         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4319         * sysdeps/sparc/sparc64/Makefile: ... appended here.
4320
4321         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4322         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4323         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4324         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4325         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4326         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4327         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4328         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4329         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4330         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4331         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4332         * sysdeps/sparc/sparc32/sem_post.c: ... here.
4333         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4334         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4335         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4336         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4337         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4338         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4339         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4340         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4341         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4342         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4344         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4346         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4348         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4350         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4351         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4352         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4354         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4356         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4358         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4359
4360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4361         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4363         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4365         Moved ...
4366         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4367         ... here.
4368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4369         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4371         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4373         Moved ...
4374         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4376         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4378         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4380         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4382         Moved ...
4383         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4385         Moved ...
4386         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4388         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4390         Moved ...
4391         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4393         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4395         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4397         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4399         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4401         Moved ...
4402         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4403         ... here.
4404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4405         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4407         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4409         Moved ...
4410         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4412         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4414         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4416         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4418         Moved ...
4419         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4421         Moved ...
4422         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4426         Moved ...
4427         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4429         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4431         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4432
4433 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4434
4435         * timezone/checktab.awk: Update from tzcode 2014e.
4436         * timezone/private.h: Likewise.
4437         * timezone/tzfile.h: Likewise.
4438         * timezone/zdump.c: Likewise.
4439         * timezone/zic.c: Likewise.
4440
4441         * sysdeps/unix/sysv/linux/kernel-features.h
4442         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4443         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4444         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4445         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4446         Remove conditional code.
4447
4448 2014-06-25  Will Newton  <will.newton@linaro.org>
4449
4450         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4451         (_dl_arm_cap_flags): Add HWCAP2 values.
4452         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4453         (_DL_HWCAP_COUNT): Increase to 37.
4454         (_DL_HWCAP_LAST): New define.
4455         (_DL_HWCAP2_LAST): New define.
4456         (_dl_procinfo): Add support for printing
4457         AT_HWCAP2 entries.
4458         (_dl_string_hwcap): Use _dl_hwcap_string.
4459
4460 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4461
4462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4463
4464 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
4465
4466         * README: Do not mention ports directory.
4467
4468         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4469         Remove macro.
4470         * sysdeps/unix/sysv/linux/futimes.c: Do not include
4471         <kernel-features.h>.
4472         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4473         conditional variable definition.
4474         (__futimes): Update comment.
4475         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4476         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4477
4478         [BZ #16560]
4479         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4480         arguments close to 0.
4481         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4482         Likewise.
4483         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4484         Likewise.
4485         * math/auto-libm-test-in: Add more tests of exp10.
4486         * math/auto-libm-test-out: Regenerated.
4487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4488
4489         * sysdeps/unix/sysv/linux/kernel-features.h
4490         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4491         * sysdeps/unix/sysv/linux/readv.c: Do not include
4492         <kernel-features.h>.
4493         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4494         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4495         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4496         unconditional.
4497         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4498         conditional code.
4499         * sysdeps/unix/sysv/linux/writev.c: Do not include
4500         <kernel-features.h>.
4501         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4502         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4503         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4504         unconditional.
4505         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4506         conditional code.
4507
4508 2014-06-25  Will Newton  <will.newton@linaro.org>
4509
4510         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4511         comment changes throughout the file.  Remove checks
4512         for HAVE_*_H definitions that are not required.
4513         (__gen_tempname): Call abort if an unknown kind value is
4514         passed.
4515
4516 2014-06-25  Andreas Schwab  <schwab@suse.de>
4517
4518         [BZ #17086]
4519         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4520         scalbln, scalblnf, scalblnl in libc.
4521
4522 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4523
4524         [BZ #17086]
4525         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4526         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4527         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4528
4529 2014-06-24  Roland McGrath  <roland@hack.frob.com>
4530
4531         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4532         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4533         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4534         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4535         Update #include.
4536         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4537         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4538         Update #include.
4539         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4540         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4541         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4542         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4543         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4544         * sysdeps/x86/bits/pthreadtypes.h: ... here.
4545         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4546         * sysdeps/x86/bits/semaphore.h: ... here.
4547         * sysdeps/x86/nptl/elide.h: Moved ...
4548         * sysdeps/x86/elide.h: ... here.
4549         * sysdeps/x86_64/nptl/Implies: File removed.
4550         * sysdeps/i386/nptl/Implies: File removed.
4551
4552 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
4553
4554         [BZ #16539]
4555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4556         return the argument for normal arguments with exponent below -64.
4557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4558         Likewise.
4559         * math/auto-libm-test-in: Add another test of expm1.
4560         * math/auto-libm-test-out: Regenerated.
4561
4562         [BZ #16287]
4563         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4564         calling __erfcl for arguments at least 16.
4565         * math/auto-libm-test-in: Add more tests of erf.
4566         * math/auto-libm-test-out: Regenerated.
4567
4568         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4569         individual architectures.
4570         * sysdeps/unix/sysv/linux/configure: Regenerated.
4571         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4572         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4573         * sysdeps/unix/sysv/linux/powerpc/configure.ac
4574         (ldd_rewrite_script): Define variable.
4575         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4577         file.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4579         generated file.
4580         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4581         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4582         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4583         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4584         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4585         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4586         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4587         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4588
4589 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4590
4591         [BZ #17084]
4592         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4593         Rename member __data.d to __data.__elision_data.
4594
4595 2014-06-24  Wilco  <wdijkstr@arm.com>
4596
4597         * NEWS: Add 16918 to fixed bug list.
4598
4599 2014-06-24  Wilco  <wdijkstr@arm.com>
4600
4601         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4602
4603 2014-06-24  Wilco  <wdijkstr@arm.com>
4604
4605         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4606         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4607         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4608         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4609         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4610         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4611         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4612         Use _FPU_MASK_RM.
4613
4614 2014-06-24  Wilco  <wdijkstr@arm.com>
4615
4616         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4617
4618 2014-06-24  Wilco  <wdijkstr@arm.com>
4619
4620         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4621         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4622         * sysdeps/arm/fesetround.c (fesetround): Remove space.
4623         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4624
4625 2014-06-24  Wilco  <wdijkstr@arm.com>
4626
4627         [BZ #16918]
4628         * sysdeps/arm/feupdateenv.c (feupdateenv):
4629         Rewrite to reduce FPSCR accesses and fix return value.
4630
4631 2014-06-24  Wilco  <wdijkstr@arm.com>
4632
4633         * sysdeps/arm/fclrexcpt.c (feclearexcept):
4634         Optimize to avoid unnecessary FPSCR writes.
4635         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4636         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4637         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4638         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4639
4640 2014-06-24  Wilco  <wdijkstr@arm.com>
4641
4642         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4643         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4644         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4645         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4646         Call libc_fetestexcept_vfp.
4647         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4648         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4649         __SOFTFP__ ifdef so that they can be built for softfp.
4650
4651 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4652
4653         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4654         argument type signed char.
4655
4656         * Makerules (check-abi): Dump diff of symlist if the test
4657         fails.
4658
4659 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4660
4661         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4662         using abort.
4663
4664         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4665         Remove unused variable ST.
4666
4667 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4668
4669         [BZ #16354]
4670         [BZ #17061]
4671         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4672         small arguments before calling __expm1.
4673         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4674         small arguments before calling __expm1f.
4675         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4676         small arguments before calling __expm1l.
4677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4678         Likewise.
4679         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4680         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
4681         spurious underflow for some cosh tests.
4682         * math/auto-libm-test-out: Regenerated.
4683         * sysdeps/i386/fpu/libm-test-ulps: Update.
4684
4685         [BZ #17050]
4686         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4687         (__ieee754_y1): Set errno if return value overflows.
4688         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4689         (__ieee754_y1f): Set errno if return value overflows.
4690         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4691         (__ieee754_y1l): Set errno if return value overflows.
4692         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4693         (__ieee754_y1l): Set errno if return value overflows.
4694         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4695         * math/auto-libm-test-out: Regenerated.
4696
4697         * math/gen-auto-libm-tests.c: Document use of
4698         ignore-zero-inf-sign.
4699         (input_flag_type): Add value flag_ignore_zero_inf_sign.
4700         (input_flags): Add ignore-zero-inf-sign.
4701         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4702         * math/gen-libm-test.pl (generate_testfile): Handle
4703         ignore-zero-inf-sign.
4704         * math/auto-libm-test-in: Mark some cpow tests with
4705         ignore-zero-inf-sign and some with xfail-rounding.
4706         * math/auto-libm-test-out: Regenerated.
4707         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4708         * sysdeps/i386/fpu/libm-test-ulps: Update.
4709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710
4711         [BZ #16315]
4712         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4713         overflowing or underflowing operations take place with sign of
4714         result.
4715         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4716         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4717         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4718         (__ieee754_pow): Recompute overflowing and underflowing results in
4719         original rounding mode.
4720         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4721         (__powl_helper): Allow negative argument X and scale negated value
4722         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
4723         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4724         overflowing or underflowing operations take place with sign of
4725         result.
4726         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4727         Include <math.h>.
4728         * math/auto-libm-test-in: Add more tests of pow.
4729         * math/auto-libm-test-out: Regenerated.
4730         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4731         (pow_tonearest_test_data): Remove.
4732         (pow_test_tonearest): Likewise.
4733         (pow_towardzero_test_data): Likewise.
4734         (pow_test_towardzero): Likewise.
4735         (pow_downward_test_data): Likewise.
4736         (pow_test_downward): Likewise.
4737         (pow_upward_test_data): Likewise.
4738         (pow_test_upward): Likewise.
4739         (main): Don't call removed functions.
4740         * sysdeps/i386/fpu/libm-test-ulps: Update.
4741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4742
4743 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4744
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4746         Moved ...
4747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4749         Moved ...
4750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4752         Moved ...
4753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4755         Moved ...
4756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4758         File removed.
4759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4760         File removed.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4762         File removed.
4763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4764         File removed.
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4766         File removed.
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4768         File removed.
4769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4770         File removed.
4771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4772         File removed.
4773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4774         File removed.
4775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4776         File removed.
4777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4778         File removed.
4779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4780         File removed.
4781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4782         Moved ...
4783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4785         Moved ...
4786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4787         ... here.
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4789         Moved ...
4790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4792         Moved ...
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4795         Moved ...
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4798         Moved ...
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4801         Moved ...
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4804         Moved ...
4805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4807         Moved ...
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4811         ... here.
4812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4813         Moved ...
4814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4816         Moved ...
4817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4818         ... here.
4819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4820         Moved ...
4821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4822         ... here.
4823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4824         Moved ...
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4826         ... here.
4827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4828         Moved ...
4829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4831         Moved ...
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4836         Moved ...
4837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4838         ... here.
4839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4840         Moved ...
4841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4842         ... here.
4843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4844         Moved ...
4845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4847         Moved ...
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4850         Moved ...
4851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4853         Moved ...
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4856         Moved ...
4857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4858         ... here.
4859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4860         Moved ...
4861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4863         Moved ...
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4866         Moved ...
4867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4869         Moved ...
4870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4874         Moved ...
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4877         Moved ...
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4880         Moved ...
4881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4882         ... here.
4883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4884         Moved ...
4885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4886         ... here.
4887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4888         Moved ...
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4890         ... here.
4891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4892         Moved ...
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4895         Moved ...
4896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4898         Moved ...
4899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4901         Moved ...
4902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4903         ... here.
4904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4905         Moved ...
4906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4907         ... here.
4908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4909         Moved ...
4910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4911         ... here.
4912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4913         Moved ...
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4916         Moved ...
4917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4918
4919 2014-06-23  Will Newton  <will.newton@linaro.org>
4920             Wilco  <wdijkstr@arm.com>
4921
4922         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4923         implementation.  Include get-rounding-mode.h.
4924         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4925         [!libc_feholdsetround_noex_ctx]: Define
4926         libc_feholdsetround_noex_ctx.
4927         [!libc_feholdsetround_noexf_ctx]: Define
4928         libc_feholdsetround_noexf_ctx.
4929         [!libc_feholdsetround_noexl_ctx]: Define
4930         libc_feholdsetround_noexl_ctx.
4931         (libc_feholdsetround_ctx): New function.
4932         (libc_feresetround_ctx): New function.
4933         (libc_feholdsetround_noex_ctx): New function.
4934         (libc_feresetround_noex_ctx): New function.
4935
4936 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4937
4938         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4939         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4940         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4941         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4942         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4943         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4944
4945         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4946         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4947         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4948         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4949         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4950         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4952         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4954         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4956         Moved ...
4957         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4958         ... here.
4959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4960         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4962         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4963         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4964         Moved ...
4965         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4967         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4971         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4973         Moved ...
4974         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4976         Moved ...
4977         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4979         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4980         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4981         Moved ...
4982         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4983         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4984         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4985         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4986         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4987         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4988         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4990         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4992         Moved ...
4993         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4994         ... here.
4995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4996         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4998         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5000         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5002         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5004         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5006         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5008         Moved ...
5009         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5010         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5011         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5012         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5013         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5014         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5015         Moved ...
5016         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5017         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5018         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5019         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5020         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5021
5022         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5023         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5024         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5025         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5026         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5027         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5028         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5029         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5030         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5031         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5032         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5033         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5034         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5035         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5036         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5037         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5038         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5039         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5040         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5041         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5042         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5043         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5045         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5046         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5047         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5048         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5049         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5050
5051 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
5052
5053         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5054         (FALLOC_FL_COLLAPSE_RANGE): New macro.
5055         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5056         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5057         (IPV6_PMTUDISC_INTERFACE): Likewise.
5058         (IPV6_PMTUDISC_OMIT): Likewise.
5059
5060 2014-06-23  Andreas Schwab  <schwab@suse.de>
5061
5062         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5063         Remove unused errout label.
5064
5065 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5066
5067         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5068         macro: hardware supports Vector Crypto instructions.
5069
5070 2014-06-23  Will Newton  <will.newton@linaro.org>
5071
5072         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5073         rather than __builtin_expect.
5074
5075         * elf/dl-lookup.c (undefined_msg): Remove variable.
5076         (_dl_lookup_symbol_x): Replace undefined_msg with string
5077         literal.
5078
5079         * elf/dl-lookup.c (do_lookup_unique): New function.
5080         (do_lookup_x): Move STB_GNU_UNIQUE handling code
5081         to a separate function.
5082
5083 2014-06-23  Andreas Schwab  <schwab@suse.de>
5084
5085         [BZ #17079]
5086         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5087         before reading the next line.
5088
5089 2014-06-23  Will Newton  <will.newton@linaro.org>
5090
5091         * test-skeleton.c (signal_handler): Use printf and %m
5092         rather than perror.  Use printf rather than fprintf to
5093         stderr.  Use puts rather than fputs to stderr.
5094         (main): Likewise.
5095
5096 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
5097
5098         * nscd/nscd.c (thread_info_t): Remove typedef.
5099         (thread_info): Remove variable.
5100
5101 2014-06-21  Allan McRae  <allan@archlinux.org>
5102
5103         * NEWS: Mention CVE-2014-4043.
5104
5105 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5106
5107         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5108         * nptl/smp.h: ... here.
5109
5110         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5111
5112         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5113         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5114         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5115         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5116
5117         * nptl/allocatestack.c: Include <stack-aliasing.h>.
5118         * nptl/stack-aliasing.h: New file.
5119         * sysdeps/i386/i686/stack-aliasing.h: New file.
5120         * sysdeps/i386/i686/nptl/Makefile: File removed.
5121         * sysdeps/x86_64/stack-aliasing.h: New file.
5122         * sysdeps/x86_64/nptl/Makefile
5123         (CFLAGS-pthread_create.c): Variable removed.
5124
5125         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5126         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5127         old file.
5128         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5129         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5130         old file.
5131
5132 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
5133
5134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5135         (__ASSUME_SIGFRAME_V2): Remove macro.
5136         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5137         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5138         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5139         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5140         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5141         Declare as function.  Remove conditional macro definitions.
5142         (__default_rt_sa_restorer): Likewise.
5143         (__default_sa_restorer_v1): Remove declaration.
5144         (__default_sa_restorer_v2): Likewise.
5145         (__default_rt_sa_restorer_v1): Likewise.
5146         (__default_rt_sa_restorer_v2): Likewise.
5147         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5148         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5149         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5150
5151 2014-06-20  Roland McGrath  <roland@hack.frob.com>
5152
5153         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5154         (libpthread-routines): Add sysdep.
5155         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5156         * sysdeps/unix/sysv/linux/sparc/Versions
5157         (libpthread: GLIBC_2.3.3): New version set.
5158         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5159         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5160         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5161         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5162         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
5163         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5164         Moved ...
5165         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5167         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5168         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5169         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5170         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5171         * sysdeps/sparc/nptl/sem_init.c: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5173         * sysdeps/sparc/nptl/sem_post.c: ... here.
5174         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5175         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5176         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5177         * sysdeps/sparc/nptl/sem_wait.c: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5179         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5180         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5181         (libpthread-routines): Add cpu_relax.
5182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5183         File removed.
5184         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5185         (librt: GLIBC_2.3.3): New version set.
5186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5187         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5188         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5189         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5192         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5194         Moved ...
5195         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5197         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5199         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5201         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5203         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5205         Moved ...
5206         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5207         Update #include.
5208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5209         Moved ...
5210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5211         Update #include.
5212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5213         Moved ...
5214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5215         Update #include.
5216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5217         Moved ...
5218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5219         Update #include.
5220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5221         Moved ...
5222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5223         Update #include.
5224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5225         Moved ...
5226         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5227         Update #include.
5228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5229         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5231         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5235         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5237         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5239         Moved ...
5240         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5242         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5244         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5245
5246 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5247
5248         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5249         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5250         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5251         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5252         * nscd/nscd.c: Likewise.
5253         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5254         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5255         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5256         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5257
5258         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5259         <kernel-features.h>.
5260         (init_mq_netlink): Remove conditional have_sock_cloexec
5261         definitions.  Remove code conditional on have_sock_cloexec < 0.
5262         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5263         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5264         * sysdeps/unix/sysv/linux/opensock.c: Do not include
5265         <kernel-features.h>.
5266         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5267         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5268
5269 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5270
5271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5272         Add tests for memset_chk and memset.
5273
5274         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5275         with AVX2_Usable.
5276
5277 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5278
5279         [BZ #16046]
5280         * elf/tst-dl-iter-static.c: New file.
5281         * elf/Makefile (tests-static): Add tst-dl-iter-static.
5282
5283         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5284         error.
5285
5286 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5287
5288         * sysdeps/unix/sysv/linux/kernel-features.h
5289         (__ASSUME_F_GETOWN_EX): Remove macro.
5290         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5291         <kernel-features.h>.
5292         (miss_F_GETOWN_EX): Remove variable or macro.
5293         (do_fcntl): Do not check miss_F_GETOWN_EX.
5294         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5295
5296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5297         Remove macro.
5298         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5299         [!__ASSUME_AT_RANDOM]: Remove conditional code.
5300         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5301
5302         * sysdeps/unix/sysv/linux/kernel-features.h
5303         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5304         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5305         [ADJ_OFFSET_SS_READ]: Make code unconditional.
5306         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5307
5308 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
5309
5310         [BZ #17075]
5311         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5312         Fix calculation of the symbol's value.
5313         * sysdeps/arm/tst-armtlsdescloc.c: New file.
5314         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5315         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5316         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5317         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5318         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5319         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5320         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5321         (modules-names): Add `tst-armtlsdescmod',
5322         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5323         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5324         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5325         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5326         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5327         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5328         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5329         ($(objpfx)tst-armtlsdescloc): New dependency.
5330         ($(objpfx)tst-armtlsdescextnow): Likewise.
5331         ($(objpfx)tst-armtlsdescextlazy): Likewise.
5332         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5333         TLS scheme support.
5334         * sysdeps/arm/configure: Regenerate.
5335
5336 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
5337
5338         * include/fcntl.h (__atfct_seterrno): Remove prototype.
5339         (__atfct_seterrno_2): Likewise.
5340         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5341         <kernel-features.h>.
5342         (__ASSUME_ATFCTS): Do not undefine and redefine.
5343         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5344         (__have_atfcts): Remove conditional definition.
5345         (__fxstatat([__NR_fstatat64]: Make code unconditional.
5346         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5347         unreachable if [__ASSUME_ATFCTS].
5348         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5349         not undefine and redefine.
5350         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5351         <kernel-features.h>.
5352         (faccessat) [__NR_faccessat]: Make code unconditional.
5353         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5354         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5355         <kernel-features.h>.
5356         (fchmodat) [__NR_fchmodat]: Make code unconditional.
5357         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5358         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5359         <kernel-features.h>.
5360         (fchownat) [__NR_fchownat]: Make code unconditional.
5361         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5362         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5363         <kernel-features.h>.
5364         (futimesat) [__NR_futimesat]: Make code unconditional.
5365         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5366         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5367         <kernel-features.h>.
5368         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5369         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5370         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5371         <kernel-features.h>.
5372         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5373         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5374         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5375         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5376         <kernel-features.h>.
5377         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5378         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5379         * sysdeps/unix/sysv/linux/linkat.c: Do not include
5380         <kernel-features.h>.
5381         (linkat) [__NR_linkat]: Make code unconditional.
5382         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5383         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5384         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5385         <kernel-features.h>.
5386         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5387         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5388         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5389         <kernel-features.h>.
5390         (mkdirat) [__NR_mkdirat]: Make code unconditional.
5391         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5392         * sysdeps/unix/sysv/linux/openat.c: Do not include
5393         <kernel-features.h>.
5394         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5395         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5396         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5397         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5398         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5399         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5400         <kernel-features.h>.
5401         (readlinkat) [__NR_readlinkat]: Make code unconditional.
5402         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
5403         result of INLINE_SYSCALL directly, not via int variable.
5404         * sysdeps/unix/sysv/linux/renameat.c: Do not include
5405         <kernel-features.h>.
5406         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5407         (renameat) [__NR_renameat]: Make code unconditional.
5408         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5409         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5410         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5411         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5412         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5413         (__ASSUME_ATFCTS): Do not undefine and redefine.
5414         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5415         <kernel-features.h>.
5416         (symlinkat) [__NR_symlinkat]: Make code unconditional.
5417         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5418         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5419         <kernel-features.h>.
5420         (unlinkat) [__NR_unlinkat]: Make code unconditional.
5421         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5422         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5423         (__ASSUME_ATFCTS): Do not undefine and redefine.
5424         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5425         <kernel-features.h>.
5426         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5427         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5428         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5429         <kernel-features.h>.
5430         (__xmknodat) [__NR_mknodat]: Make code unconditional.
5431         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5432
5433 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
5434
5435         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5436
5437 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
5438
5439         [BZ #17069]
5440         * posix/regcomp.c (parse_reg_exp): Deallocate partially
5441         constructed tree before returning error.
5442         * posix/bug-regexp36.c: Expand test case.
5443
5444 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5445
5446         [BZ #6803]
5447         * math/libm-test.inc (scalbln_test_date):
5448         Add errno expectations.
5449         * math/w_scalblnf.c: New File.
5450         Add wrapper which checks for setting errno to ERANGE.
5451         Add weak_alias for corresponding scalbln function.
5452         * math/w_scalbln.c: Likewise.
5453         * math/w_scalblnl.c: Likewise.
5454         * math/Makefile (libm-calls): Add w_scalbln.
5455         * sysdeps/ieee754/flt-32/s_scalblnf.c:
5456         Remove weak_alias for corresponding scalbln function.
5457         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5459         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5460         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5461         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5462         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5463         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5464         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5465         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5466         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5467         Remove long_double_symbol for scalblnl function in libm, libc.
5468         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5469         Add wrapper which checks for setting errno to ERANGE.
5470         Add long_double_symbol for scalblnl function in libm, libc.
5471         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5472         Remove long_double_symbol for scalblnl in libm.
5473         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5474         Add wrapper which checks for setting errno to ERANGE.
5475         Add long_double_symbol for scalblnl function in libm.
5476         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5477         Do not use wrapper because of own implementation.
5478
5479 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
5480
5481         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5482         3 bytes for __pad1 for x32.
5483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5484
5485 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
5486             H.J. Lu  <hongjiu.lu@intel.com>
5487
5488         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5489         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5490         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5491         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5492         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5493
5494 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
5495
5496         [BZ #17069]
5497         * posix/regcomp.c (parse_expression): Deallocate partially
5498         constructed tree before returning error.
5499         * posix/Makefile.c (tests): Add bug-regex36.
5500         (generated): Add bug-regex36.mtrace.
5501         (tests-special): Add $(objpfx)bug-regex36-mem.out
5502         (bug-regex36-ENV): New variable.
5503         ($(objpfx)bug-regex36-mem.out): New rule.
5504         * posix/bug-regex36.c: New file.
5505
5506 2014-06-19  Will Newton  <will.newton@linaro.org>
5507
5508         * malloc/malloc.c (systrim): If extra is zero then return
5509         early.
5510
5511 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5512
5513         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5514
5515 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
5516
5517         * sysdeps/aarch64/strchr.S: New file.
5518
5519 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5520
5521         [BZ #17022]
5522         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5523         from arguments -2 or below.
5524         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5525         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5526
5527 2014-06-18  Andreas Schwab  <schwab@suse.de>
5528
5529         [BZ #17062]
5530         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5531         of a bracket expr not to run off the end of the string.
5532         * posix/Makefile (tests): Add tst-fnmatch3.
5533         * posix/tst-fnmatch3.c: New file.
5534
5535 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
5536
5537         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5538         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5539         [$(cross-compiling) = no]: Likewise.
5540         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5541         [$(cross-compiling) = no]: Likewise.
5542
5543 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5544
5545         [BZ #17031]
5546         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5547         double, adjusted for any remainder from the high double.
5548         * math/libm-test.inc (nearbyint): Add tests.
5549         (rint): Likewise.
5550
5551 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5552
5553         * nptl/sysdeps/powerpc/Makefile: Moved ...
5554         * sysdeps/powerpc/nptl/Makefile: ... here.
5555         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5556         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5557         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5558         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5559         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5560         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5561         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5562         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5563         * nptl/sysdeps/powerpc/tls.h: Moved ...
5564         * sysdeps/powerpc/nptl/tls.h: ... here.
5565
5566 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
5567
5568         [BZ #16681]
5569         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5570         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5571         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5572         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5573         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5574         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5575         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5576         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5577         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5578
5579 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
5580
5581         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5582
5583 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
5584
5585         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5586         defined operator.
5587
5588         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5589         $TIMEOUTFACTOR.
5590
5591 2014-06-16  Florian Weimer  <fweimer@redhat.com>
5592
5593         [BZ #17058]
5594         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5595         non-executed part of the test.
5596
5597 2014-06-16  Andreas Schwab  <schwab@suse.de>
5598
5599         * string/bits/string2.h (strdup, strndup): Update feature guard.
5600
5601 2014-06-14  David S. Miller  <davem@davemloft.net>
5602
5603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5604
5605 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5606
5607         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5608         that was previously under [RESET_PID].
5609         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5610
5611         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5612         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5613         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5614         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5615         (__libc_vfork): New strong alias.
5616         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5617
5618 2014-06-14 Andi Kleen  <ak@linux.intel.com>
5619
5620         * sysdeps/generic/elide.h: New file.
5621
5622 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5623
5624         * Makefile (installed-headers): Adjust path of pthread.h header.
5625
5626 2014-06-13  Roland McGrath  <roland@hack.frob.com>
5627
5628         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5629         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5630         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5631         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5632
5633         * nptl/sysdeps/s390/Makefile: Moved ...
5634         * sysdeps/s390/nptl/Makefile: ... here.
5635         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5636         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5637         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5638         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5639         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5640         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5641         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5642         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5643         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5644         * sysdeps/s390/nptl/pthreaddef.h: ... here.
5645         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5646         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5647         * nptl/sysdeps/s390/tls.h: Moved ...
5648         * sysdeps/s390/nptl/tls.h: ... here.
5649
5650         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5651         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5652
5653 2014-06-13  David S. Miller  <davem@davemloft.net>
5654
5655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5658         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5662         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5663         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5664         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5665         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5666         Remove RESET_PID cpp guards.
5667         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5668         Remove RESET_PID cpp guards.
5669         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5670
5671 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
5672
5673         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5674         __sp to uintptr_t.
5675
5676 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5677
5678         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5679         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5680         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5681         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5682         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5683         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5684         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5685         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5689         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5690         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5691         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5692         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5693         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5694         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5696         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5698
5699         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5700         (pthread_rwlock_rdlock): Add elision.
5701         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5702         (pthread_rwlock_wrlock): Add elision.
5703         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5704         (pthread_rwlock_trywrlock): Add elision.
5705         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5706         (pthread_rwlock_tryrdlock): Add elision.
5707         * nptl/pthread_rwlock_unlock.c: Include elide.h.
5708         (pthread_rwlock_tryrdlock): Add elision unlock.
5709         * nptl/sysdeps/pthread/pthread.h:
5710         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5711         (PTHREAD_RWLOCK_INITIALIZER,
5712         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5713         Handle new elision field.
5714         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5715         * sysdeps/arm/nptl/bits/pthreadtypes.h
5716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5717         * sysdeps/sh/nptl/bits/pthreadtypes.h
5718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5719         * sysdeps/tile/nptl/bits/pthreadtypes.h
5720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5721         * sysdeps/a/nptl/bits/pthreadtypes.h
5722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5723         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5725         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5727         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5729         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5731         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5733         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5735         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5737         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5739         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5740         (elision_init): Set try_xbegin to zero when no RTM.
5741         * sysdeps/x86/nptl/bits/pthreadtypes.h
5742         (pthread_rwlock_t): Change __pad1 to __rwelision.
5743         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5744
5745 2014-06-13  Andi Kleen  <ak@linux.intel.com>
5746
5747         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5748         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5749         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5750         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5751
5752 2014-06-13  Meador Inge  <meadori@codesourcery.com>
5753
5754         [BZ #16996]
5755         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5756         that the cached result has been set before returning it.
5757
5758 2014-06-12  Roland McGrath  <roland@hack.frob.com>
5759
5760         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5761         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5762         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5763         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5764         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5765         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5766
5767         * nptl/sysdeps/sparc/Makefile: Moved ...
5768         * sysdeps/sparc/nptl/Makefile: ... here.
5769         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5770         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5771         * nptl/sysdeps/sparc/tls.h: Moved ...
5772         * sysdeps/sparc/nptl/tls.h: ... here.
5773         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5774         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5775         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5776         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5777         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5778         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5779         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5780         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5781         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5782         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5783         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5784         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5785         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5786         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5787         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5788         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5789         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5790         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5791         Update #include.
5792         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5794         Update #include.
5795         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5797         Update #include.
5798         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5799         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5800         Update #include.
5801
5802         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5803
5804         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5805         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5806
5807         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5808         (struct list_links): Type removed.
5809         (struct thread_node, struct timer_node): Replace struct list_links
5810         with struct list_head.
5811         (list_unlink_ip): Likewise.
5812         * sysdeps/pthread/timer_routines.c
5813         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5814         (list_append, list_insbefore): Likewise.
5815         (list_init): Function removed.
5816         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5817         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5818         * sysdeps/pthread/Makefile: ... here, new file.
5819
5820         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5821         * sysdeps/nptl/Implies: ... here.
5822         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5823         * nptl/sysdeps/pthread/list.h: Moved ...
5824         * include/list.h: ... here.
5825         * nptl/sysdeps/pthread/createthread.c: Moved ...
5826         * nptl/createthread.c: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5828         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5829         * nptl/pt-longjmp.c: ... here.
5830         * nptl/sysdeps/pthread/Makefile: Moved ...
5831         * sysdeps/nptl/Makefile: ... here.
5832         * nptl/sysdeps/pthread/Subdirs: Moved ...
5833         * sysdeps/nptl/Subdirs: ... here.
5834         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5835         * sysdeps/nptl/aio_misc.h: ... here.
5836         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5837         * sysdeps/nptl/bits/libc-lock.h: ... here.
5838         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5839         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5840         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5841         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5842         * nptl/sysdeps/pthread/configure: Moved ...
5843         * sysdeps/nptl/configure: ... here.
5844         * nptl/sysdeps/pthread/configure.ac: Moved ...
5845         * sysdeps/nptl/configure.ac: ... here.
5846         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5847         * sysdeps/nptl/gai_misc.h: ... here.
5848         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5849         * sysdeps/nptl/librt-cancellation.c: ... here.
5850         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5851         * sysdeps/nptl/malloc-machine.h: ... here.
5852         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5853         * sysdeps/nptl/pthread-functions.h: ... here.
5854         * nptl/sysdeps/pthread/pthread.h: Moved ...
5855         * sysdeps/nptl/pthread.h: ... here.
5856         * nptl/sysdeps/pthread/setxid.h: Moved ...
5857         * sysdeps/nptl/setxid.h: ... here.
5858         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5859         * sysdeps/nptl/sigfillset.c: ... here.
5860         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5861         * sysdeps/nptl/tcb-offsets.h: ... here.
5862         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5863         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5864         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5865         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5866         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5867         * sysdeps/pthread/allocalim.h: ... here.
5868         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5869         * sysdeps/pthread/bits/sigthread.h: ... here.
5870         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5871         * sysdeps/pthread/flockfile.c: ... here.
5872         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5873         * sysdeps/pthread/ftrylockfile.c: ... here.
5874         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5875         * sysdeps/pthread/funlockfile.c: ... here.
5876         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5877         * sysdeps/pthread/posix-timer.h: ... here.
5878         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5879         * sysdeps/pthread/timer_create.c: ... here.
5880         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5881         * sysdeps/pthread/timer_delete.c: ... here.
5882         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5883         * sysdeps/pthread/timer_getoverr.c: ... here.
5884         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5885         * sysdeps/pthread/timer_gettime.c: ... here.
5886         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5887         * sysdeps/pthread/timer_routines.c: ... here.
5888         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5889         * sysdeps/pthread/timer_settime.c: ... here.
5890         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5891         * sysdeps/pthread/tst-timer.c: ... here.
5892         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5893         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5894
5895         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5896         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5897
5898         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5899         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5900         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5901         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5902         Update #include target.
5903         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5904         * sysdeps/i386/i686/nptl/Makefile: ... here.
5905         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5906         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5907         Update #include target.
5908         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5909         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5910         * nptl/sysdeps/i386/Makefile: Moved ...
5911         * sysdeps/i386/nptl/Makefile: ... here.
5912         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5913         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5914         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5915         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5916         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5917         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5918         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5919         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5920         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5921         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5922         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5923         * nptl/sysdeps/i386/tls.h: Moved ...
5924         * sysdeps/i386/nptl/tls.h: ... here.
5925
5926         * sysdeps/sh/Makefile [$(subdir) = csu]
5927         (gen-as-const-headers): Add tcb-offsets.sym.
5928         * nptl/sysdeps/sh/Makefile: File removed.
5929         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5930         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5931         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5932         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5933         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5934         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5935         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5936         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5937         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5938         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5939         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5940         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5941         * nptl/sysdeps/sh/tls.h: Moved ...
5942         * sysdeps/sh/nptl/tls.h: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5944         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5945         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5946         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5947         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5948         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5950         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5951         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5952         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5953         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5954         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5956         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5958         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5960         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5962         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5964         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5966         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5968         Moved ...
5969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5971         Moved ...
5972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5974         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5976         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5978         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5979         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5980         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5981         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5982         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5983         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5984         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5985         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5986         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5987         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5988         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5990         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5991
5992 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5993
5994         * posix/spawn_faction_addopen.c: Include string.h.
5995
5996 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5997
5998         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5999         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6000         * nptl/sysdeps/x86_64/Makefile: Moved ...
6001         * sysdeps/x86_64/nptl/Makefile: ... here.
6002         * nptl/sysdeps/x86_64/configure: Moved ...
6003         * sysdeps/x86_64/nptl/configure: ... here.
6004         * nptl/sysdeps/x86_64/configure.ac: Moved ...
6005         * sysdeps/x86_64/nptl/configure.ac: ... here.
6006         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6007         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6008         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6009         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6010         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6011         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6012         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6013         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6014         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6015         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6016         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6017         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6018         * nptl/sysdeps/x86_64/tls.h: Moved ...
6019         * sysdeps/x86_64/nptl/tls.h: ... here.
6020         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6021         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6022         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6023         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6024
6025         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6026
6027 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6028
6029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6030
6031 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
6032
6033         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6034         type.
6035         [POSIX] (off_t): Likewise.
6036         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6037         [POSIX] (S_ISBLK): Require macro.
6038         [POSIX] (S_ISCHR): Likewise.
6039         [POSIX] (S_ISDIR): Likewise.
6040         [POSIX] (S_ISFIFO): Likewise.
6041         [POSIX] (S_ISREG): Likewise.
6042         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6043         optional-macro.
6044         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6045         type.
6046         [POSIX] (time_t): Likewise.
6047         [POSIX] (timer_t): Likewise.
6048
6049 2014-06-11  Florian Weimer  <fweimer@redhat.com>
6050
6051         [BZ #17048]
6052         * posix/spawn_int.h (struct __spawn_action): Make the path string
6053         non-const to support deallocation.
6054         * posix/spawn_faction_addopen.c
6055         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6056         * posix/spawn_faction_destroy.c
6057         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
6058         path in all spawn_do_open actions.
6059         * posix/tst-spawn.c (do_test): Exercise the copy operation in
6060         posix_spawn_file_actions_addopen.
6061
6062 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
6063
6064         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6065         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6066         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6067         conditional code always true.
6068         (__libc_vfork): New alias.
6069
6070 2014-06-11  Roland McGrath  <roland@hack.frob.com>
6071
6072         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6073         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6074
6075         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6076
6077         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6078         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6079
6080         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6081         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6082
6083         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6084         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6085
6086 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6087
6088         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6089         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6090         multiarch strcmp for PPC64.
6091         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6092         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6093         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6094         multiarch optimizations.
6095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6096         (__libc_ifunc_impl_list): Likewise.
6097
6098 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
6099
6100         * benchtests/scripts/validate_benchout.py: New script.
6101         * benchtests/Makefile (bench-func): Call it.
6102         * benchtests/scripts/benchout.schema.json: New file.
6103
6104 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
6105
6106         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6107         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6108         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6109         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6110         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6111         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6112         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6113         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6114         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6115         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6116         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6117         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6118         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6119         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6120         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6121         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6123         Moved ...
6124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6125         ... here.
6126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6127         Moved ...
6128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6130         Moved ...
6131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6132         ... here.
6133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6134         Moved ...
6135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6136         ... here.
6137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6138         Moved ...
6139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6141         Moved ...
6142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6143         ... here.
6144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6145         Moved ...
6146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6147         ... here.
6148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6149         Moved ...
6150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6152         Moved ...
6153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6154         ... here.
6155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6156         Moved ...
6157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6158         ... here.
6159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6160         Moved ...
6161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6162         ... here.
6163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6164         Moved ...
6165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6167         Moved ...
6168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6169         ... here.
6170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6171         Moved ...
6172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6173         ... here.
6174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6175         Moved ...
6176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6177         ... here.
6178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6179         Moved ...
6180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6182         Moved ...
6183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6184         ... here.
6185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6186         Moved ...
6187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6188         ... here.
6189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6190         Moved ...
6191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6193         Moved ...
6194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6195         ... here.
6196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6197         Moved ...
6198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6200         Moved ...
6201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6203         Moved ...
6204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6205         ... here.
6206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6207         Moved ...
6208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6209         ... here.
6210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6211         Moved ...
6212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6213         ... here.
6214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6215         Moved ...
6216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6218         Moved ...
6219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6220         ... here.
6221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6222         Moved ...
6223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6224         ... here.
6225         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6226         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6228         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6230         Moved ...
6231         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6232         ... here.
6233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6234         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6236         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6238         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6240         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6242         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6246         Moved ...
6247         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6249         Moved ...
6250         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6252         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6254         Moved ...
6255         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6256         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6257         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6258         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6259         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6260         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6261         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6262
6263 2014-06-10  Wilco  <wdijkstr@arm.com>
6264
6265         * math/test-fenv-return.c: New file.
6266         * math/Makefile: Add new test test-fenv-return.
6267
6268 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
6269
6270         [BZ #17042]
6271         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6272         when x - 1 is zero.
6273         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6274         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6275         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6276         0.0L for an argument of 1.0L.
6277         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6278         Likewise.
6279         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6280         value when x - 1 is zero.
6281         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6282         * sysdeps/i386/fpu/libm-test-ulps: Update.
6283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6284
6285 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
6286
6287         [BZ #15119]
6288         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6289
6290 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6291
6292         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6293         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6294
6295 2014-06-09  Roland McGrath  <roland@hack.frob.com>
6296
6297         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6298         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6299
6300         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6301         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6302
6303         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6304         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6305
6306         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6307         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6308
6309         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6310         if not already defined.
6311         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6312         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6313         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6314         (TLS_INIT_TP): Use it.
6315         (TLS_DEFINE_INIT_TP): New macro.
6316         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6317
6318 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
6319
6320         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6321         constant.
6322         [POSIX] (IXANY): Likewise.
6323         [POSIX] (OLCUC): Likewise.
6324         [POSIX || POSIX2008] (CBAUD): Do not allow.
6325         [POSIX || POSIX2008] (DEFECHO): Likewise.
6326         [POSIX || POSIX2008] (ECHOCTL): Likewise.
6327         [POSIX || POSIX2008] (ECHOKE): Likewise.
6328         [POSIX || POSIX2008] (ECHOPRT): Likewise.
6329         [POSIX || POSIX2008] (EXTA): Likewise.
6330         [POSIX || POSIX2008] (EXTB): Likewise.
6331         [POSIX || POSIX2008] (FLUSHO): Likewise.
6332         [POSIX || POSIX2008] (LOBLK): Likewise.
6333         [POSIX || POSIX2008] (PENDIN): Likewise.
6334         [POSIX || POSIX2008] (SWTCH): Likewise.
6335         [POSIX || POSIX2008] (VDISCARD): Likewise.
6336         [POSIX || POSIX2008] (VDSUSP): Likewise.
6337         [POSIX || POSIX2008] (VLNEXT): Likewise.
6338         [POSIX || POSIX2008] (VREPRINT): Likewise.
6339         [POSIX || POSIX2008] (VSTATUS): Likewise.
6340         [POSIX || POSIX2008] (VWERASE): Likewise.
6341         (B*): Change to B[0123456789]*.
6342         * conform/data/time.h-data [POSIX || UNIX98]
6343         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6344         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6345         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6346         [POSIX] (tm_*): Do not allow.
6347
6348 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
6349
6350         * Makefile (install): Don't set LANGUAGE.
6351         * Makefile.in (install): Likewise.
6352         * assert/Makefile (test-assert-ENV): Remove variable.
6353         (test-assert-perr-ENV): Likewise.
6354         * elf/Makefile (neededtest4-ENV): Likewise.
6355         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6356         [$(cross-compiling) = no]: Don't set LANGUAGE.
6357         * io/ftwtest-sh (LANG): Remove variable.
6358         * libio/Makefile (tst-widetext-ENV): Likewise.
6359         * manual/install.texi (Running make install): Don't refer to
6360         environment settings for make install.
6361         * INSTALL: Regenerated.
6362         * nptl/tst-tls6.sh: Don't set LANG.
6363         * posix/globtest.sh (LANG): Remove variable.
6364         * string/Makefile (tester-ENV): Likewise.
6365         (inl-tester-ENV): Likewise.
6366         (noinl-tester-ENV): Likewise.
6367         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6368         [$(cross-compiling) = no]: Don't set LANGUAGE.
6369         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6370         without explicit environment settings.
6371
6372 2014-06-06  Roland McGrath  <roland@hack.frob.com>
6373
6374         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6375         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6376         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6377         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6378
6379 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
6380
6381         * crypt/crypt-private.h [DOS]: Add some includes taken from the
6382         other files in the crypt directory.
6383         * crypt/crypt.c: Remove duplicate includes.
6384         * crypt/crypt-entry.c: Likewise.
6385         * crypt/crypt_util.c: Likewise.
6386
6387 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
6388
6389         * Makeconfig (run-program-env): New variable.
6390         (run-program-prefix-before-env): Likewise.
6391         (run-program-prefix-after-env): Likewise.
6392         (run-program-prefix): Define in terms of new variables.
6393         (built-program-cmd-before-env): New variable.
6394         (built-program-cmd-after-env): Likewise.
6395         (built-program-cmd): Define in terms of new variables.
6396         (test-program-prefix-before-env): New variable.
6397         (test-program-prefix-after-env): Likewise.
6398         (test-program-prefix): Define in terms of new variables.
6399         (test-program-cmd-before-env): New variable.
6400         (test-program-cmd-after-env): Likewise.
6401         (test-program-cmd): Define in terms of new variables.
6402         * Rules (make-test-out): Use $(run-program-env).
6403         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6404         (help): Do not mention environment variables.  Mention
6405         --timeoutfactor option.
6406         (timeoutfactor): New variable.
6407         (blacklist_exports): Remove function.
6408         (exports): Remove variable.
6409         (command): Do not include ${exports}.
6410         * manual/install.texi (Configuring and compiling): Do not mention
6411         test wrappers preserving environment variables.  Mention that last
6412         assignment to a variable must take precedence.
6413         * INSTALL: Regenerated.
6414         * benchtests/Makefile (run-bench): Use $(run-program-env).
6415         * catgets/Makefile ($(objpfx)test1.cat): Use
6416         $(built-program-cmd-before-env), $(run-program-env) and
6417         $(built-program-cmd-after-env).
6418         ($(objpfx)test2.cat): Do not specify environment variables
6419         explicitly.
6420         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6421         $(run-program-env) and $(built-program-cmd-after-env).
6422         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6423         $(run-program-env) and $(test-program-cmd-after-env).
6424         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6425         explicitly.
6426         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6427         run_program_env and test_program_cmd_after_env arguments.
6428         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6429         * elf/tst-pathopt.sh: Use run_program_env argument.
6430         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6431         $(test-wrapper-env) and $(run-program-env).
6432         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6433         run_program_env arguments.
6434         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6435         * intl/Makefile ($(objpfx)tst-gettext.out): Use
6436         $(test-program-prefix-before-env), $(run-program-env) and
6437         $(test-program-prefix-after-env).
6438         ($(objpfx)tst-gettext2.out): Likewise.
6439         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6440         run_program_env and test_program_prefix_after_env arguments.
6441         * intl/tst-gettext2.sh: Likewise.
6442         * intl/tst-gettext4.sh: Do not set environment variables
6443         explicitly.
6444         * intl/tst-gettext6.sh: Likewise.
6445         * intl/tst-translit.sh: Likewise.
6446         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6447         $(test-program-prefix-before-env), $(run-program-env) and
6448         $(test-program-prefix-after-env).
6449         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6450         run_program_env and test_program_prefix_after_env arguments.
6451         * math/Makefile (run-regen-ulps): Use $(run-program-env).
6452         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6453         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
6454         explicitly with each use of ${test_wrapper_env}.
6455         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6456         $(test-program-prefix-before-env), $(run-program-env) and
6457         $(test-program-prefix-after-env).
6458         * posix/tst-getconf.sh: Do not set environment variables
6459         explicitly.
6460         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6461         run_program_env and test_program_prefix_after_env arguments.
6462         * stdio-common/tst-printf.sh: Do not set environment variables
6463         explicitly.
6464         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6465         $(test-program-prefix-before-env), $(run-program-env) and
6466         $(test-program-prefix-after-env).
6467         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6468         run_program_env and test_program_prefix_after_env arguments.
6469         Split $test calls into $test_pre and $test.
6470         * timezone/Makefile (build-testdata): Use
6471         $(built-program-cmd-before-env), $(run-program-env) and
6472         $(built-program-cmd-after-env).
6473
6474 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6475
6476         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6477         strlen for non SHARED builds.
6478
6479 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6480
6481         * nptl/allocatestack.c (check_list): Inlined function...
6482         (__reclaim_stacks): ... here.
6483
6484 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6485
6486         [BZ #15698]
6487         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6488         memory overrun.
6489
6490 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
6491
6492         * Rules (make-test-out): Include
6493         LOCPATH=$(common-objpfx)localedata in default environment.
6494         * debug/Makefile (tst-chk1-ENV): Remove variable.
6495         (tst-chk2-ENV): Likewise.
6496         (tst-chk3-ENV): Likewise.
6497         (tst-chk4-ENV): Likewise.
6498         (tst-chk5-ENV): Likewise.
6499         (tst-chk6-ENV): Likewise.
6500         (tst-lfschk1-ENV): Likewise.
6501         (tst-lfschk2-ENV): Likewise.
6502         (tst-lfschk3-ENV): Likewise.
6503         (tst-lfschk4-ENV): Likewise.
6504         (tst-lfschk5-ENV): Likewise.
6505         (tst-lfschk6-ENV): Likewise.
6506         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6507         (tst-iconv7-ENV): Likewise.
6508         * intl/Makefile (LOCPATH-ENV): Likewise.
6509         (tst-codeset-ENV): Likewise.
6510         (tst-gettext3-ENV): Likewise.
6511         (tst-gettext5-ENV): Likewise.
6512         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6513         (tst-fopenloc-ENV): Likewise.
6514         (tst-fgetws-ENV): Remove variable.
6515         (tst-ungetwc1-ENV): Likewise.
6516         (tst-ungetwc2-ENV): Likewise.
6517         (bug-ungetwc2-ENV): Likewise.
6518         (tst-swscanf-ENV): Likewise.
6519         (bug-ftell-ENV): Likewise.
6520         (tst-fgetwc-ENV): Likewise.
6521         (tst-fseek-ENV): Likewise.
6522         (tst-ftell-partial-wide-ENV): Likewise.
6523         (tst-ftell-active-handler-ENV): Likewise.
6524         (tst-ftell-append-ENV): Likewise.
6525         * posix/Makefile (tst-fnmatch-ENV): Likewise.
6526         (tst-regexloc-ENV): Likewise.
6527         (bug-regex1-ENV): Likewise.
6528         (tst-regex-ENV): Likewise.
6529         (tst-regex2-ENV): Likewise.
6530         (bug-regex5-ENV): Likewise.
6531         (bug-regex6-ENV): Likewise.
6532         (bug-regex17-ENV): Likewise.
6533         (bug-regex18-ENV): Likewise.
6534         (bug-regex19-ENV): Likewise.
6535         (bug-regex20-ENV): Likewise.
6536         (bug-regex22-ENV): Likewise.
6537         (bug-regex23-ENV): Likewise.
6538         (bug-regex25-ENV): Likewise.
6539         (bug-regex26-ENV): Likewise.
6540         (bug-regex30-ENV): Likewise.
6541         (bug-regex32-ENV): Likewise.
6542         (bug-regex33-ENV): Likewise.
6543         (bug-regex34-ENV): Likewise.
6544         (bug-regex35-ENV): Likewise.
6545         (tst-rxspencer-ENV): Likewise.
6546         (tst-rxspencer-no-utf8-ENV): Likewise.
6547         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6548         (tst-sscanf-ENV): Likewise.
6549         (tst-swprintf-ENV): Likewise.
6550         (tst-swscanf-ENV): Likewise.
6551         (test-vfprintf-ENV): Likewise.
6552         (scanf13-ENV): Likewise.
6553         (bug14-ENV): Likewise.
6554         (tst-grouping-ENV): Likewise.
6555         * stdlib/Makefile (tst-strtod-ENV): Likewise.
6556         (tst-strtod3-ENV): Likewise.
6557         (tst-strtod4-ENV): Likewise.
6558         (tst-strtod5-ENV): Likewise.
6559         (testmb2-ENV): Likewise./
6560         * string/Makefile (tst-strxfrm-ENV): Likewise.
6561         (tst-strxfrm2-ENV): Likewise.
6562         (bug-strcoll1-ENV): Likewise.
6563         (test-strcasecmp-ENV): Likewise.
6564         (test-strncasecmp-ENV): Likewise.
6565         * time/Makefile (tst-strptime-ENV): Likewise.
6566         (tst-ftime_l-ENV): Likewise.
6567         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6568         (tst-mbrtowc-ENV): Likewise.
6569         (tst-wcrtomb-ENV): Likewise.
6570         (tst-mbrtowc2-ENV): Likewise.
6571         (tst-c16c32-1-ENV): Likewise.
6572         (tst-mbsnrtowcs-ENV): Likewise.
6573
6574 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
6575
6576         * manual/resource.texi (How to get information about the memory
6577         subsystem?): Fix typo.
6578         Reported by Peon de la Parra Ivan <peon@keba.com>
6579
6580 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
6581
6582         [BZ #16882]
6583         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6584         (pthread_spin_lock): Branch out of spin loop to proper location.
6585         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6586         (pthread_spin_lock): Likewise.
6587
6588         * nptl/tst-spin4.c: New test.
6589         * nptl/Makefile (tests): Add tst-spin4.
6590
6591 2014-06-03  Andreas Schwab  <schwab@suse.de>
6592
6593         [BZ #15946]
6594         * resolv/res_send.c (send_dg): Reload file descriptor after
6595         calling reopen.
6596
6597 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
6598
6599         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6600
6601 2014-06-03  Richard Henderson  <rth@redhat.com>
6602
6603         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6604         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6605         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6606         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
6607         in the SAVE_PID block.
6608         (__libc_vfork): New alias.
6609         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6610
6611         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6612         child in registers, not on the stack.  Remove RESET_PID conditionals.
6613         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6614
6615 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6616
6617         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6618
6619 2014-06-03  Wilco  <wdijkstr@arm.com>
6620
6621         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6622         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6623         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6624         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6625         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6626         Likewise.
6627
6628 2014-06-03  Wilco  <wdijkstr@arm.com>
6629
6630         * sysdeps/aarch64/fpu/math_private.h
6631         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6632         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6633         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6634         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6635         Fix declarations.
6636
6637 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6638
6639         * crypt/crypt-private.h: Include ufc-crypt.h.
6640         (__b64_from_24bit): Declare extern.
6641         * crypt/crypt_util.c(__b64_from_24bit): New function.
6642         (b64t): New static const variable.
6643         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6644         (b64t): Remove variable.
6645         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6646         * crypt/sha256-crypt.c: Include crypt-private.h.
6647         (b64t): Remove variable.
6648         (__sha256_crypt_r): Remove b64_from_24bit and replace
6649         with __b64_from_24bit.
6650         * crypt/sha512-crypt.c: Likewise.
6651
6652 2014-06-02  Roland McGrath  <roland@hack.frob.com>
6653
6654         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6655         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6656         Label the code __libc_vfork rather than __vfork.
6657         [!NOT_IN_libc] (vfork): Define as weak alias.
6658         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6659         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6660         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6661
6662 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6663
6664         * malloc/malloc.c (malloc_info): Fix format specifier for
6665         n_mmaps.
6666
6667 2014-06-02  Wilco  <wdijkstr@arm.com>
6668
6669         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6670         FPCR write.
6671
6672 2014-06-02  Wilco  <wdijkstr@arm.com>
6673
6674         [BZ #17009]
6675         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6676         Rewrite to reduce FPCR/FPSR accesses.
6677
6678 2014-06-01  David S. Miller  <davem@davemloft.net>
6679
6680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6681
6682 2014-05-31  David S. Miller  <davem@davemloft.net>
6683
6684         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6685         to occur in round to nearest mode when |x| >= 2.0
6686
6687 2014-05-30  Richard Henderson  <rth@twiddle.net>
6688
6689         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6690         (PSEUDO_RET_NOERRNO): Remove.
6691         (ret): Don't redefine.
6692         (ret_NOERRNO): Define in terms of ret.
6693         (ret_ERRVAL): Likewise.
6694
6695         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6696         use of PSEUDO_RET; perform the error check directly.
6697
6698 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
6699
6700         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6701         with __int128_t.
6702
6703 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6704
6705         * malloc/malloc (malloc_info): Fix formatting.
6706
6707 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6708             Roland McGrath  <roland@hack.frob.com>
6709
6710         * malloc/malloc (malloc_info): Also print mmapped statistics.
6711
6712 2014-05-30  Roland McGrath  <roland@hack.frob.com>
6713
6714         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6715         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6716
6717 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
6718
6719         * malloc/malloc.c (malloc_info): Inline mi_arena.
6720
6721 2014-05-29  Richard Henderson  <rth@twiddle.net>
6722
6723         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6724         Remove comma before expanding ASM_ARGS_##nr.
6725         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6726         Make _x0 a strict output; make _x8 a strict input; adjust expansion
6727         of ASM_ARGS_##nr.
6728         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6729         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6730         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6731         (ASM_ARGS_1): Add leading comma.
6732
6733         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6734         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6735         to __errno_location.
6736         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6737         Remove the expected plt for __errno_location.
6738
6739         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6740         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6741         call to __read_tp.
6742
6743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6744         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
6745         it and break it down.
6746         (DOCARGS_0, DOCARGS_1): Do nothing.
6747         (DOCARGS_2): Update to store into the new stack frame.
6748         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6749         (UNDOCARGS_1): Update to restore from the new stack frame.
6750         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6751         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6752
6753         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6754         (SINGLE_THREAD_P): New parameter for result regno.
6755         (PSEUDO): Update to match; use cbz instead of beq.
6756
6757         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6758         Use ENTRY to define the _nocancel entry point.  Share the syscall
6759         and syscall error check paths with the cancel path.
6760         (PSEUDO_END): New.
6761
6762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6763         whitespace; tabs before and after asm mnemonics.
6764
6765 2014-05-29  Eric Wong  <normalperson@yhbt.net>
6766
6767         [BZ #15132]
6768         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6769         Call fstat64 or stat64 internally, depending on arguments passed.
6770         Replace stat buffer argument with file descriptor argument.
6771         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6772         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6773         Pass fd to __internal_statvfs instead of calling fstat64.
6774         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6775         Pass fd to __internal_statvfs64 instead of calling fstat64.
6776         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6777         Pass -1 to __internal_statvfs instead of calling stat64.
6778         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6779         Pass -1 to __internal_statvfs64 instead of calling stat64.
6780
6781 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6782
6783         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6784         that was previously under [RESET_PID].
6785         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6786
6787         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6788         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6789
6790 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6791
6792         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6793
6794         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6795         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6796
6797 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6798
6799         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6800
6801 2014-05-27  Andreas Schwab  <schwab@suse.de>
6802
6803         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6804         TLS_INIT_TP macro.
6805         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6806         * elf/rtld.c (init_tls, dl_main): Likewise.
6807         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6808         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6809         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6810         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6811         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6812         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6813         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6814         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6815         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6816         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6817         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6818         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6819         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6820         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6821         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6822         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6823         * sysdeps/generic/tls.h: Update description.
6824
6825 2014-05-27  Will Newton  <will.newton@linaro.org>
6826
6827         [BZ #16990]
6828         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6829         and restore r2 rather than just restoring.
6830
6831 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6832
6833         [BZ #16724]
6834         * libio/tst-ftell-append.c: New test case.
6835         * libio/Makefile (tests): Add test case.
6836         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6837         append mode.
6838         * libio/wfileops.c (do_ftell_wide): Likewise.
6839
6840 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6841
6842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6843
6844         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6845         ...
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6848         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6849         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6850         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6851         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6852         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6853         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6854         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6855         Moved ...
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6858         Moved ...
6859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6860         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6861         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6862         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6863         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6864         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6865         ...
6866         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6867         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6868         Moved ...
6869         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6870         here.
6871         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6872         ...
6873         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6874         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6875         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6876
6877         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6878         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6879         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6880         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6881
6882         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6883         merge into ...
6884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6885         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6886         ...
6887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6889         ...
6890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6892         Moved ...
6893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6894         here.
6895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6896         Moved ...
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6898         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6899         Moved ...
6900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6901
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6903         conditional [RESET_PID].
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6906         removed.
6907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6908         removed.
6909
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6911         <tcb-offsets.h>.
6912         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6913         (__libc_vfork): New strong alias.
6914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6915         removed.
6916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6917         Removed.
6918
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6920         <tcb-offsets.h>.
6921         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6922         (__libc_vfork): New strong alias.
6923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6924         removed.
6925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6926         removed.
6927
6928 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6929
6930         * malloc/malloc.c (mi_arena): New function.
6931         (malloc_info): Remove nested function mi_arena. Call non-nosted
6932         function mi_arena.
6933
6934 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6935
6936         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6937         by insrwi.
6938         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6939         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6940         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6941         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6942         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6943         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6944         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6945
6946 2014-05-26  Andreas Schwab  <schwab@suse.de>
6947
6948         [BZ #16984]
6949         * locale/programs/repertoire.c (repertoire_read): Add slash
6950         between I18NPATH element and file name.
6951         * locale/programs/locfile.c (locfile_read): Likewise.
6952
6953 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6954
6955         * nptl/pthread_mutexattr_settype.c
6956         (__pthread_mutexattr_settype):
6957         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6958
6959 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6960
6961         * nptl/tst-mutex5 (do_test):
6962         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6963
6964 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965
6966         * benchtests/README: Document 'init' directive.
6967         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6968         BENCH_INIT.
6969         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6970         (parse_file): Recognize 'init' directive.
6971
6972 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6973
6974         [BZ #16796]
6975         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6976         alignment of struct pthread.
6977
6978 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6979
6980         [BZ #16878]
6981         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6982         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6983         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6984         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6985
6986 2014-05-25  Richard Henderson  <rth@twiddle.net>
6987
6988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6989         (SINGLE_THREAD_P_PIC): Remove.
6990         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6991         (SINGLE_THREAD_P_PIC): Remove.
6992
6993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6994         branch to syscall error ...
6995         (PSEUDO): ... here.
6996         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6997         from __local_syscall_error to .Lsyscall_error.
6998         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6999         (SYSCALL_ERROR): Update label name.
7000
7001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7002         Do not use DOARGS/UNDOARGS.
7003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7004         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7005         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7006         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7007         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7008
7009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7010         block comment.
7011
7012         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7013         define if !NOT_IN_libc.
7014         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7015         define with non-default symbol versions.
7016
7017 2014-05-23  Richard Henderson  <rth@twiddle.net>
7018
7019         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7020         (vfork, __vfork): Define via compat_symbol.
7021
7022         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7023         [!HAVE_IFUNC] (vfork_compat): Remove.
7024         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7025
7026 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7027
7028         [BZ #16978]
7029         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7030         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7031         variable.
7032
7033 2014-05-23  Richard Henderson  <rth@twiddle.net>
7034
7035         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7036         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7037         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7038         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7039
7040         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7041         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7042         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7043         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7044         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7045         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7046         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7047         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7048         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7049         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7050         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7051         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7052         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7053         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7054         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7055         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7056         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7057         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7058         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7059         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7060         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7061         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7062         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7063         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7064         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7065         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7066         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7067         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7068         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7069         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7070         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7071         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7072         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7073         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7074         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7075         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7076         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7077         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7078         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7079         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7080         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7081         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7082         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7083         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7084         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7085         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7087         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7088         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7089         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7090         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7091         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7093         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7095         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7096
7097         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7098         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7099         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
7100         before exiting on error.
7101         (__libc_vfork): New strong alias.
7102         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7103         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7104
7105         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7106         that was previously under [RESET_PID].
7107         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7108
7109         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7110
7111 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7112
7113         [BZ #16977]
7114         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7115         value when x - 1 is zero.
7116         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7117         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7118         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7119         0.0L for an argument of 1.0L.
7120         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7121         Likewise.
7122         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7123         value when x - 1 is zero.
7124         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7125         * sysdeps/i386/fpu/libm-test-ulps: Update.
7126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127
7128 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7129
7130         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7131         alphasort and versionsort.
7132
7133 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7134
7135         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7136         macro.
7137         [copysignf]: Likewise.
7138
7139 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7140
7141         * crypt/md5-crypt.c: Fix formatting.
7142
7143 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7144
7145         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7146         (b64_from_24bit): New function.
7147
7148 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7149
7150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7151         libc_hidden_builtin_def to ifunc.
7152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7153         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7154
7155 2014-05-21  Roland McGrath  <roland@hack.frob.com>
7156
7157         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7158         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7159
7160 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
7161
7162         * nscd/Depend (linuxthreads): Remove.
7163         (nptl): Add.
7164         * resolv/Depend (linuxthreads): Remove.
7165         * rt/Depend (linuxthreads): Remove.
7166
7167         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7168         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7169         $(common-objpfx)elf/.
7170         (link-libc-before-gnulib): Likewise.
7171         (elfobjdir): Remove variable.
7172         * Makefile (install): Use $(elf-objpfx) instead of
7173         $(common-objpfx)elf/.
7174         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7175         $(elfobjdir)/.
7176         (link-libc-deps): Likewise.
7177         ($(common-objpfx)libc.so): Likewise.
7178         ($(common-objpfx)linkobj/libc.so): Likewise.
7179         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7180         instead of $(common-objpfx)elf/.
7181         (symbolic-link-list): Likewise.
7182         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7183         [$(cross-compiling) = no]: Likewise.
7184         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7185         $(elfobjdir)/.
7186         (static-gnulib-arch): Likewise.
7187         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7188         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7189         $(common-objpfx)elf/.
7190
7191 2014-05-21  Richard Henderson  <rth@redhat.com>
7192
7193         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7194         (SINGLE_THREAD_P): Use the correct width load.  Fold
7195         into the ldr offset.
7196
7197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7198         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7199
7200 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
7201
7202         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7203         (libgcc_s_resume): Use __attribute_used__.
7204         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7205         Likewise.
7206
7207 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7208
7209         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7210         optimization when used with float constants.
7211
7212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7213
7214 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
7215
7216         [BZ #16915]
7217         * locale/nl_langinfo_l.c: Make direct reference to every
7218         _nl_current_CATEGORY symbol.
7219         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7220         (tests-static): Add tst-langinfo-static.
7221         (tests-special): Add tst-langinfo-static.out.
7222         ($(objpfx)tst-langinfo.out): Redirect output.
7223         ($(objpfx)tst-langinfo-static.out): New.
7224         * localedata/tst-langinfo.sh: Send output to stdout.
7225         * localedata/tst-langinfo-static.c: New file.
7226
7227         [BZ #16965]
7228         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7229         when the shift amount is modulo the limb size.
7230
7231 2014-05-20  Richard Henderson  <rth@redhat.com>
7232
7233         [BZ #16967]
7234         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7235         Change type of sa_flags from unsigned int to int.
7236
7237         [BZ #16966]
7238         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7239
7240         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7241
7242 2014-05-20  Will Newton  <will.newton@linaro.org>
7243
7244         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7245         Test the return value of the system call in the nocancel case.
7246
7247 2014-05-20  Will Newton  <will.newton@linaro.org>
7248             Yvan Roux  <yvan.roux@linaro.org>
7249
7250         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7251         #include of asm/ptrace.h.
7252         (PTRACE_GET_THREAD_AREA): Remove #undef.
7253         (PTRACE_GETHBPREGS): Likewise.
7254         (PTRACE_SETHBPREGS): Likewise.
7255         (struct user_regs_struct): New structure.
7256         (struct user_fpsimd_struct): New structure.
7257         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7258         #include of asm/ptrace.h and second #include of sys/user.h.
7259         (PTRACE_GET_THREAD_AREA): Remove #undef.
7260         (PTRACE_GETHBPREGS): Likewise.
7261         (PTRACE_SETHBPREGS): Likewise.
7262         (ELF_NGREG): Use new struct user_regs_struct.
7263         (elf_fpregset_t): Use new struct user_fpsimd_struct.
7264
7265 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7266
7267         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7268         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7269
7270 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
7271
7272         [BZ #16958]
7273         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7274         membar to avoid block loads/stores to overlap previous stores.
7275
7276 2014-05-17  Richard Henderson  <rth@redhat.com>
7277
7278         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7279         Create the __##syscall_name##_nocancel entry point.
7280         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7281         Remove; let the sysdep-cancel.h code create it.
7282
7283 2014-05-17  David S. Miller  <davem@davemloft.net>
7284
7285         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7286         Protect with __USE_GNU.
7287         (TIOCSET_TEMPT): Likewise.
7288         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7289         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7290         these are already provided in bits/ioctl-types.h
7291
7292 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7293
7294         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7295         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7296
7297         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7298         Use wait4 regardless of [__NR_waitpid].
7299
7300 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7301
7302         PR libgcc/60166
7303         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7304         (_FP_NANSIGN_Q): Set the quiet bit.
7305
7306 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
7307
7308         * benchtests/Makefile
7309         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7310         not $(common-objpfx)math/libm.so.
7311         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7312         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7313         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7314         $(common-objpfx)dlfcn/libdl.so.
7315         ($(objpfx)tst-audit8): Depend on $(libm), not
7316         $(common-objpfx)math/libm.so.
7317         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7318         not $(common-objpfx)dlfcn/libdl.so.
7319         * math/Makefile
7320         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7321         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
7322         [$(build-shared) = yes].
7323         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7324         $(common-objpfx)nptl/libpthread.so.
7325         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7326         $(common-objpfx)math/libm.so$(libm.so-version) or
7327         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7328         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7329         $(common-objpfx)dlfcn/libdl.so.
7330         * setjmp/Makefile (link-libm): Remove variable.
7331         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7332         * stdio-common/Makefile (link-libm): Remove variable.
7333         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7334         * stdlib/Makefile (link-libm): Remove variable.
7335         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7336         ($(objpfx)tst-strtod-round): Likewise.
7337         ($(objpfx)tst-tininess): Likewise.
7338         ($(objpfx)tst-strtod-underflow): Likewise.
7339         ($(objpfx)tst-strtod6): Likewise.
7340         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7341         $(libdl), not $(common-objpfx)nptl/libpthread.so and
7342         $(common-objpfx)dlfcn/libdl.so.
7343
7344 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7345
7346         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7347         BSD terminal modes definitions.
7348
7349 2014-05-16  Roland McGrath  <roland@hack.frob.com>
7350
7351         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7352         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7353
7354         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7355         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7356         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7357         Don't do #include_next.
7358         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7359         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7360         Don't do #include_next.
7361         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7362         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7363         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7364         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7365
7366 2014-05-16  Allan McRae  <allan@archlinux.org>
7367
7368         * po/sv.po: Update Swedish translation from translation project.
7369
7370         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7371         in sed expression.
7372
7373 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
7374
7375         [BZ #16917]
7376         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7377         errno if the TIOCGPTN ioctl fails with an error different than
7378         EINVAL.
7379         * login/tst-ptsname.c: New file.
7380         * login/Makefile (tests): Add tst-ptsname.
7381
7382         [BZ #16943]
7383         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7384         and prlimit64.
7385
7386 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7387
7388         [BZ #16849]
7389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7390         herrno to return EAI_AGAIN.
7391
7392 2014-05-14  Roland McGrath  <roland@hack.frob.com>
7393
7394         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7395         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7396         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7397         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7399         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7401         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7402         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7403         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7404         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7405         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7406         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7407         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7408         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7409         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7410         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7411         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7412         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7413         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7414         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7415         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7416         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7417         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7418         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7419         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7420         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7421         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7422         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7423         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7425         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7427         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7429         Moved ...
7430         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7432         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7434         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7436         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7438         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7440         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7442         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7444         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7446         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7448         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7450         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7452         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7454         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7456         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7458         Moved ...
7459         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7461         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7465         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7467         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7469         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7471         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7473         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7475         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7477         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7479         Moved ...
7480         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7482         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7483
7484         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7485         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7486         (libpthread-sysdep_routines): Add elision-related stuff here instead.
7487         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7488         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7489         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7490         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7491         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7492         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7493         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7494         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7495         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7496         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7497         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7498         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7499         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7500         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7501         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7502         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7503         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7504         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7505         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7506         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7507         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7508         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7509         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7510         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7511         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7512         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7513         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7514         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7515
7516         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7517         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7518
7519         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7520         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7521         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7522         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7523         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7525         Moved ...
7526         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7527         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7528         Moved ...
7529         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7531         Moved ...
7532         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7533         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7534         Moved ...
7535         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7536         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7537         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7538         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7539         Moved ...
7540         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7541         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7542         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7543         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7545         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7546         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7547         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7548         Moved ...
7549         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7550         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7551         Moved ...
7552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7553         ... here.
7554         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7555         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7556         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7557         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7558         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7559         Moved ...
7560         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7561         ... here.
7562         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7563         Moved ...
7564         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7565         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7566         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7567         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7568         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7570         Moved ...
7571         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7572         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7573         Moved ...
7574         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7578         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7579         Moved ...
7580         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7581         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7582         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7583         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7584         Moved ...
7585         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7586         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7587         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7588         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7589         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7590         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7591         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7592         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7593         Moved ...
7594         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7595         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7596         Moved ...
7597         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7598         ... here.
7599         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7600         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7601         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7602         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7603         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7604         Moved ...
7605         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7606         ... here.
7607         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7610         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7611         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7612         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7613         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7614         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7615         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7616         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7617         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7618         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7619         Moved ...
7620         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7621         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7622         Moved ...
7623         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7625         Moved ...
7626         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7627         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7628         Moved ...
7629         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7630         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7631         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7632         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7633         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7634         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7635         Moved ...
7636         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7637         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7638         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7639         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7640         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7641         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7642         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7643         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7646         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7647         Moved ...
7648         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7649         ... here.
7650         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7651         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7652         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7653         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7654         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7655         Moved ...
7656         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7657         ... here.
7658         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7659         Moved ...
7660         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7661         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7662         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7663         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7664         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7665         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7666         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7667         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7668         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7669         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7670         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7671
7672         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7673         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7674
7675         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7676         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7677
7678         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7679         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7680         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7682         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7683         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7684         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7685         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7686         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7687         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7688         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7689         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7690         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7691         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7692         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7694         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7696         Moved ...
7697         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7699         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7701         Moved ...
7702         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7703         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7704         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7705         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7706         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7710         Moved ...
7711         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7712         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7713         Moved ...
7714         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7716         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7717         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7718         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7719         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7720         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7721         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7722         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7724         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7725         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7726         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7728         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7729         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7730         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7731
7732         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7733         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7734         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7735         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7736         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7737
7738         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7739         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7740         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7741         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7742         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7743         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7744         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7745         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7746         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7747         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7748
7749         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7750         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7751
7752         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7753         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7754         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7755         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7756         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7757         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7758         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7759         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7760         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7761         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7763         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7765         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7767         Update #include.
7768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7769         Likewise.
7770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7771         Likewise.
7772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7773         Likewise.
7774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7775         Likewise.
7776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7777         Likewise.
7778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7779         Likewise.
7780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7781         Likewise.
7782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7783         Likewise.
7784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7785         Likewise.
7786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7787         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7789         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7790         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7791         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7792         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7793         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7794         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7796         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7797         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7798         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7799         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7800         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7801
7802         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7803         that was previously under [RESET_PID].
7804         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7805         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7806         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7807
7808         * sysdeps/i386/nptl/Implies: New file.
7809         * sysdeps/x86_64/nptl/Implies: New file.
7810         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7811         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7812         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7813         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7814
7815         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7816         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7817         (__libc_vfork): New strong alias.
7818         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7819         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7820
7821         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7822         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7823         (__libc_vfork): New strong alias.
7824         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7825         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7826
7827         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7828         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7829         (__libc_vfork): New strong alias.
7830         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7831         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7832         * nptl/pt-vfork.c: New file.
7833         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7834         (libpthread: GLIBC_2.20): New version set (empty).
7835
7836 2014-05-14  Will Newton  <will.newton@linaro.org>
7837
7838         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7839         rather than #if.
7840
7841 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7842
7843         [BZ #16564]
7844         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7845         arguments with exponent 65 or above.
7846         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7847         arguments 0x1p113L or above.
7848         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7849         to arguments 0x1p107L or above.
7850         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7851         positive arguments with exponent 65 or above.
7852         * math/auto-libm-test-in: Add more tests of log1p.
7853         * math/auto-libm-test-out: Regenerated.
7854
7855         [BZ #16928]
7856         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7857         non-finite arguments is +0.
7858         * math/s_cacosf.c (__cacosf): Likewise.
7859         * math/s_cacosl.c (__cacosl): Likewise.
7860         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7861         * sysdeps/i386/fpu/libm-test-ulps: Update.
7862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7863
7864         [BZ #16927]
7865         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7866         value.
7867         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7868         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7869         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7870         for explicit high bit of mantissa when testing for argument equal
7871         to 1.
7872         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7873         * sysdeps/i386/fpu/libm-test-ulps: Update.
7874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7875
7876         [BZ #16516]
7877         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7878         (__erf): Scale by 16 instead of 8 in potentially underflowing
7879         case.  Ensure exception if result actually underflows.
7880         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7881         (__erff): Scale by 16 instead of 8 in potentially underflowing
7882         case.  Ensure exception if result actually underflows.
7883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7884         (efx8): Remove variable.
7885         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7886         case.  Ensure exception if result actually underflows.
7887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7888         (efx8): Remove variable.
7889         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7890         case.  Ensure exception if result actually underflows.
7891         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7892         (efx8): Remove variable.
7893         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7894         case.  Ensure exception if result actually underflows.
7895         * math/auto-libm-test-in: Add more tests of erf.
7896         * math/auto-libm-test-out: Regenerated.
7897
7898 2014-05-14  Andreas Schwab  <schwab@suse.de>
7899
7900         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7901         Remove code conditionalized on USE___THREAD.
7902
7903         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7904         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7905         not definedness.
7906
7907 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7908
7909         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7910         Define unconditionally.
7911         (__ASSUME_O_CLOEXEC): Likewise.
7912         (__ASSUME_SOCK_CLOEXEC): Likewise.
7913         (__ASSUME_IN_NONBLOCK): Likewise.
7914         (__ASSUME_PIPE2): Likewise.
7915         (__ASSUME_EVENTFD2): Likewise.
7916         (__ASSUME_SIGNALFD4): Likewise.
7917         (__ASSUME_DUP3): Likewise.
7918         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7919         (__ASSUME_DUP3): Do not define.
7920         (__ASSUME_EVENTFD2): Likewise.
7921         (__ASSUME_IN_NONBLOCK): Likewise.
7922         (__ASSUME_O_CLOEXEC): Likewise.
7923         (__ASSUME_PIPE2): Likewise.
7924         (__ASSUME_SIGNALFD4): Likewise.
7925         (__ASSUME_SOCK_CLOEXEC): Likewise.
7926         (__ASSUME_UTIMES): Undefine.
7927         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7928         (__ASSUME_UTIMES): Do not define.
7929         (__ASSUME_O_CLOEXEC): Likewise.
7930         (__ASSUME_SOCK_CLOEXEC): Likewise.
7931         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7932         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7933         0x020621].
7934         (__ASSUME_PIPE2): Likewise.
7935         (__ASSUME_EVENTFD2): Likewise.
7936         (__ASSUME_SIGNALFD4): Likewise.
7937         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7938         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7939         Do not define.
7940         (__ASSUME_EVENTFD2): Likewise.
7941         (__ASSUME_SIGNALFD4): Likewise.
7942         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7943         (__ASSUME_32BITUIDS): Likewise.
7944         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7945         (__ASSUME_IPC64): Likewise.
7946         (__ASSUME_ST_INO_64_BIT): Likewise.
7947         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7948         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7949         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7950         (__ASSUME_UTIMES): Do not define.
7951         (__ASSUME_PSELECT): Likewise.
7952         (__ASSUME_PPOLL): Likewise.
7953         (__ASSUME_O_CLOEXEC): Likewise.
7954         (__ASSUME_SOCK_CLOEXEC): Likewise.
7955         (__ASSUME_IN_NONBLOCK): Likewise.
7956         (__ASSUME_PIPE2): Likewise.
7957         (__ASSUME_EVENTFD2): Likewise.
7958         (__ASSUME_SIGNALFD4): Likewise.
7959         (__ASSUME_DUP3): Likewise.
7960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7961         (__ASSUME_UTIMES): Likewise.
7962         (__ASSUME_O_CLOEXEC): Likewise.
7963         (__ASSUME_SOCK_CLOEXEC): Likewise.
7964         (__ASSUME_IN_NONBLOCK): Likewise.
7965         (__ASSUME_PIPE2): Likewise.
7966         (__ASSUME_EVENTFD2): Likewise.
7967         (__ASSUME_SIGNALFD4): Likewise.
7968         (__ASSUME_DUP3): Likewise.
7969         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7970         (__ASSUME_UTIMES): Likewise.
7971         (__ASSUME_O_CLOEXEC): Likewise.
7972         (__ASSUME_SOCK_CLOEXEC): Likewise.
7973         (__ASSUME_IN_NONBLOCK): Likewise.
7974         (__ASSUME_PIPE2): Likewise.
7975         (__ASSUME_EVENTFD2): Likewise.
7976         (__ASSUME_SIGNALFD4): Likewise.
7977         (__ASSUME_DUP3): Likewise.
7978         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7979         Likewise.
7980         (__ASSUME_UTIMES): Likewise.
7981         (__ASSUME_EVENTFD2): Likewise.
7982         (__ASSUME_SIGNALFD4): Likewise.
7983         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7984         (__ASSUME_O_CLOEXEC): Likewise.
7985         (__ASSUME_SOCK_CLOEXEC): Likewise.
7986         (__ASSUME_IN_NONBLOCK): Likewise.
7987         (__ASSUME_PIPE2): Likewise.
7988         (__ASSUME_EVENTFD2): Likewise.
7989         (__ASSUME_SIGNALFD4): Likewise.
7990         (__ASSUME_DUP3): Likewise.
7991         (__ASSUME_UTIMES): Undefine.
7992
7993         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7994         feclearexcept.  Remove symbol versioning code.
7995         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7996         symbol versioning code.
7997         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7998         symbol versioning code.
7999         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8000         feupdateenv.  Remove symbol versioning code.
8001         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8002         fegetexceptflag.  Remove symbol versioning code.
8003         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8004         fesetexceptflag.  Remove symbol versioning code.
8005         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8006         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
8007         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8008         (__posix_fadvise64_l32): Remove prototype.
8009         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8010         code.
8011
8012 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8013
8014         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8015         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8016         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8017         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8018
8019 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
8020
8021         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8022         current working directory
8023
8024 2014-05-13  Roland McGrath  <roland@hack.frob.com>
8025
8026         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8027         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8028         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8029         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8030         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8031         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8032         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8033         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8034         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8035         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8037         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8039         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8040         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8041         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8042         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8043         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8044         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8045         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8046         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8047         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8048         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8049         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8050         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8051         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8052         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8053         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8054         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8055         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8056         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8057         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8058         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8059         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8060         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8061         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8062         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8063         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8064         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8065         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8066         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8067         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8068
8069         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8070         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8071
8072         * sysdeps/unix/sysv/linux/arm/Makefile
8073         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8074         Add rt-aeabi_unwind_cpp_pr1.
8075         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8076         Add nptl-aeabi_unwind_cpp_pr1.
8077         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8078         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8079         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8080         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8081         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8082         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8083
8084         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8085         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8086         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8087         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8088
8089         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8090         Deconditionalize the code that was previously under [RESET_PID].
8091         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8092
8093         * sysdeps/generic/exit-thread.h: New file.
8094         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8095         * include/unistd.h (__exit_thread): Remove declaration.
8096         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8097         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8098         * csu/libc-start.c: Include <exit-thread.h>.
8099         (LIBC_START_MAIN): Pass no argument to __exit_thread.
8100         * nptl/pthread_create.c: Include <exit-thread.h>.
8101         (start_thread): Call __exit_thread in place of __exit_thread_inline.
8102         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8103         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8104         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8105         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8106         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8107         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8108         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8109         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8110         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8111         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8112         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8113         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8114         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8115         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8116         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8117         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8118
8119 2014-05-13  Andreas Schwab  <schwab@suse.de>
8120
8121         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8122
8123 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
8124
8125         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8126         (__ASSUME_UTIMES): Do not condition on kernel version.
8127         (__ASSUME_PSELECT): Define unconditionally.
8128         (__ASSUME_PPOLL): Likewise.
8129         (__ASSUME_ATFCTS): Likewise.
8130         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8131         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8132         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8133         (__ASSUME_UTIMENSAT): Define unconditionally.
8134         (__ASSUME_PRIVATE_FUTEX): Likewise.
8135         (__ASSUME_FALLOCATE): Likewise.
8136         (__ASSUME_O_CLOEXEC): Likewise.
8137         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8138         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8139         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8140         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8141         (__ASSUME_IN_NONBLOCK): Likewise.
8142         (__ASSUME_PIPE2): Likewise.
8143         (__ASSUME_EVENTFD2): Likewise.
8144         (__ASSUME_SIGNALFD4): Likewise.
8145         (__ASSUME_DUP3): Likewise.
8146         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8147         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8148         (__ASSUME_AT_RANDOM): Likewise.
8149         (__ASSUME_PREADV): Likewise.
8150         (__ASSUME_PWRITEV): Likewise.
8151         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8152         (__ASSUME_F_GETOWN_EX): Define unconditionally.
8153         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8154         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8155         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8156         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8157         (__ASSUME_O_CLOEXEC): Define unconditionally.
8158         (__ASSUME_PSELECT): Do not undefine conditionally.
8159         (__ASSUME_PPOLL): Likewise.
8160         (__ASSUME_ATFCTS): Likewise.
8161         (__ASSUME_SET_ROBUST_LIST): Likewise.
8162         (__ASSUME_UTIMENSAT): Likewise.
8163         (__ASSUME_FDATASYNC): Define unconditionally.
8164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8165         (__ASSUME_SIGFRAME_V2): Likewise.
8166         )__ASSUME_EVENTFD2): Likewise.
8167         (__ASSUME_SIGNALFD4): Likewise.
8168         (__ASSUME_PSELECT): Do not undefine conditionally.
8169         (__ASSUME_PPOLL): Likewise.
8170         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8171         (__ASSUME_PSELECT): Define unconditionally.
8172         (__ASSUME_PPOLL): Likewise.
8173         (__ASSUME_O_CLOEXEC): Likewise.
8174         (__ASSUME_SOCK_CLOEXEC): Likewise.
8175         (__ASSUME_IN_NONBLOCK): Likewise.
8176         (__ASSUME_PIPE2): Likewise.
8177         (__ASSUME_EVENTFD2): Likewise.
8178         (__ASSUME_SIGNALFD4): Likewise.
8179         (__ASSUME_DUP3): Likewise.
8180         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8181         (__ASSUME_O_CLOEXEC): Likewise.
8182         (__ASSUME_SOCK_CLOEXEC): Likewise.
8183         (__ASSUME_IN_NONBLOCK): Likewise.
8184         (__ASSUME_PIPE2): Likewise.
8185         (__ASSUME_EVENTFD2): Likewise.
8186         (__ASSUME_SIGNALFD4): Likewise.
8187         (__ASSUME_DUP3): Likewise.
8188         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8189         (__ASSUME_EVENTFD2): Likewise.
8190         (__ASSUME_SIGNALFD4): Likewise.
8191         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8192
8193 2014-05-12  Andreas Schwab  <schwab@suse.de>
8194
8195         [BZ #16932]
8196         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8197         (_nss_nis_gethostbyname4_r): Return error if item length is larger
8198         than maximum RPC packet size.
8199         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8200         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8201         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8202         (_nss_nis_getservbyport_r): Likewise.
8203
8204 2014-05-12  Will Newton  <will.newton@linaro.org>
8205
8206         * malloc/Makefile (tests): Add tst-mallopt.
8207         * malloc/tst-mallopt.c: New file.
8208
8209 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8210
8211         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8212         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8213
8214 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8215
8216         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8217         (tst-tlsmod6.so): Likewise.
8218
8219 2014-05-09  Roland McGrath  <roland@hack.frob.com>
8220
8221         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8222
8223 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
8224
8225         [BZ #16064]
8226         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8227         and <dl-procinfo.h>.
8228         (__fegetenv): Save SSE state in envp->__eip if supported.
8229         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8230         envp->__eip if supported.
8231         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8232         and <dl-procinfo.h>.
8233         (__fesetenv): Always set __eip, __cs_selector, __opcode,
8234         __data_offset and __data_selector in environment to 0.  Set SSE
8235         state if supported.
8236         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8237         test-fenv-sse.
8238         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8239         -mfpmath=sse.
8240         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8241
8242 2014-05-09  Will Newton  <will.newton@linaro.org>
8243
8244         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8245         and libc_relro_required for ARM.
8246         * sysdeps/arm/preconfigure: Regenerate.
8247
8248 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8249             Stefan Liebler  <stli@linux.vnet.ibm.com>
8250
8251         * config.make.in (enable-lock-elision): New Makefile variable.
8252         * configure.ac: Likewise.
8253         * configure: Regenerate.
8254         * sysdeps/s390/configure.ac:
8255         Add check for gcc transactions support.
8256         * sysdeps/s390/configure: Regenerate.
8257         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8258         Build elision files if enabled.
8259         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8260         Add lock elision support for s390.
8261         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8262         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8263         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8264         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8265         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8266         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8267         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8268         Likewise.
8269         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8270         Likewise.
8271         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8272         Likewise.
8273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8274         Likewise.
8275         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8276         (__lll_timedlock_elision, __lll_lock_elision)
8277         (__lll_unlock_elision, __lll_trylock_elision)
8278         (lll_timedlock_elision, lll_lock_elision)
8279         (lll_unlock_elision, lll_trylock_elision): Add.
8280         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8281         (pthread_mutex_t): Add lock elision support for s390.
8282
8283 2014-05-14  Wilco  <wdijkstr@arm.com>
8284
8285         * sysdeps/arm/fclrexcpt.c: Cleanup.
8286         * sysdeps/arm/fedisblxcpt.c: Cleanup.
8287         * sysdeps/arm/feenablxcpt.c: Cleanup.
8288         * sysdeps/arm/fegetenv.c: Cleanup.
8289         * sysdeps/arm/fegetexcept.c: Cleanup.
8290         * sysdeps/arm/fegetround.c: Cleanup.
8291         * sysdeps/arm/feholdexcpt.c: Cleanup.
8292         * sysdeps/arm/fesetenv.c: Cleanup.
8293         * sysdeps/arm/fesetround.c: Cleanup.
8294         * sysdeps/arm/feupdateenv.c: Cleanup.
8295         * sysdeps/arm/fgetexcptflg.c: Cleanup.
8296         * sysdeps/arm/fraiseexcpt.c: Cleanup.
8297         * sysdeps/arm/fsetexcptflg.c: Cleanup.
8298         * sysdeps/arm/ftestexcept.c: Cleanup.
8299         * sysdeps/arm/get-rounding-mode.h: Cleanup.
8300         * sysdeps/arm/setfpucw.c: Cleanup.
8301
8302 2014-05-09  Will Newton  <will.newton@linaro.org>
8303
8304         * sysdeps/arm/armv7/strcmp.S: New file.
8305         * NEWS: Mention addition of ARMv7 optimized strcmp.
8306
8307 2014-05-08  Roland McGrath  <roland@hack.frob.com>
8308
8309         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8310         look for %.ac rather than %.in.
8311
8312         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8313         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8314         * sysdeps/mach/hurd/configure: Regenerated.
8315         * sysdeps/unix/sysv/linux/configure: Regenerated.
8316
8317         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8318
8319 2014-05-07  Steve Ellcey  <sellcey@mips.com>
8320
8321         [BZ# 16922]
8322         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8323         (LONG_SUB): Ditto.
8324         (PTR_SUB): Ditto.
8325
8326 2014-05-07  Andreas Schwab  <schwab@suse.de>
8327
8328         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8329         when skipping over non-matching result from nscd.
8330
8331 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
8332
8333         [BZ #16876]
8334         * nptl/sockperf.c (client): Check socket return value.
8335
8336         [BZ #16877]
8337         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8338         nscd security class.
8339
8340 2014-05-06  Roland McGrath  <roland@hack.frob.com>
8341
8342         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8343         * sysdeps/arm/unwind.h: ... here.
8344
8345 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
8346
8347         [BZ# 16916]
8348         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8349         Define.
8350
8351 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8352
8353         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8354         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8355         multiarch strncpy for PPC64.
8356         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8357         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8359         multiarch optimizations.
8360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8361         (__libc_ifunc_impl_list): Likewise.
8362         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8363         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8364         multiarch stpncpy for PPC64.
8365         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8367
8368 2014-05-06  Andreas Schwab  <schwab@suse.de>
8369
8370         [BZ #16912]
8371         * gmon/mcount.c (_MCOUNT_DECL): Use
8372         atomic_compare_and_exchange_bool_acq instead of
8373         catomic_compare_and_exchange_bool_acq.
8374
8375 2014-05-05  Roland McGrath  <roland@hack.frob.com>
8376
8377         * elf/Makefile (others, install-bin): Remove pldd.
8378         (pldd-modules): Variable removed.
8379         ($(objpfx)pldd): Target removed.
8380         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8381         (others, install-bin): Append pldd here.
8382         ($(objpfx)pldd): New target.
8383
8384         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8385         to 0, so the first #if test emitted later doesn't see it undefined.
8386         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8387         * sysdeps/gnu/errlist.c: Regenerated.
8388
8389 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8390
8391         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8392         [libc_hidden_builtin_def]: Define to empty value.
8393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8394         [libc_hidden_builtin_def]: Likewise.
8395         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8396         [libc_hidden_builtin_def]: Likewise.
8397         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8398         [libc_hidden_builtin_def]: Likewise.
8399         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8400         __redirect_memcpy and define ifunc as default hidden symbol.
8401         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8402         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8403
8404 2014-05-04  Adam Conrad  <adconrad@0c3.net>
8405
8406         * locale/iso-4217.def: Reintroduce XDR currency.
8407
8408 2014-05-04  Allan McRae  <allan@archlinux.org>
8409
8410         * po/eo.po: Update Esperanto translation from translation project.
8411
8412 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
8413
8414         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8415         and FEATURE_INDEX_MAX to 1.
8416         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8417
8418 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8419
8420         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8421         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8422         * iconvdata/big5.c (ONE_DIRECTION): Define.
8423         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8424         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8425         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8426         * iconvdata/cp932.c (ONE_DIRECTION): Define.
8427         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8428         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8429         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8430         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8431         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8432         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8433         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8434         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8435         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8436         * iconvdata/gbk.c (ONE_DIRECTION): Define.
8437         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8438         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8439         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8440         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8441         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8442         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8443         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8444         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8445         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8446         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8447         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8448         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8449         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8450         * iconvdata/iso646.c (ONE_DIRECTION): Define.
8451         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8452         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8453         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8454         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8455         * iconvdata/johab.c (ONE_DIRECTION): Define.
8456         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8457         * iconvdata/sjis.c (ONE_DIRECTION): Define.
8458         * iconvdata/t.61.c (ONE_DIRECTION): Define.
8459         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8460         * iconvdata/tscii.c (ONE_DIRECTION): Define.
8461         * iconvdata/uhc.c (ONE_DIRECTION): Define.
8462         * iconvdata/unicode.c (ONE_DIRECTION): Define.
8463         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8464         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8465         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8466
8467 2014-05-01  Roland McGrath  <roland@hack.frob.com>
8468
8469         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8470         (_IO_JUMPS_OFFSET): Define to 0.
8471
8472         * nptl/sysdeps/pthread/bits/libc-lock.h
8473         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8474         (__libc_lock_define_initialized_recursive): Always define using
8475         initializer.  Modern compilers treat uninitialized (implicit zero) and
8476         explicit zero initializers the same (i.e. put the datum in bss).
8477
8478 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8479
8480         * nscd/nscd-client.h: Include <string.h>.
8481
8482 2014-05-01  David S. Miller  <davem@davemloft.net>
8483
8484         [BZ #16885]
8485         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8486         multiple zero bytes exist at the end of a string.
8487         Reported by Aurelien Jarno <aurelien@aurel32.net>
8488
8489         * string/test-strcmp.c (check): Add explicit test for situations where
8490         there are multiple zero bytes after the first.
8491
8492 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
8493
8494         [BZ #16890]
8495         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8496         when compiling wprintf.
8497         * stdio-common/tstdiomisc.c (t3): New function.
8498         (main): Call it.
8499
8500 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8501
8502         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8503         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8504         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8505         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8506
8507 2014-05-01  Steve Ellcey  <sellcey@mips.com>
8508
8509         * stdlib/longlong.h: Updated from GCC.
8510
8511 2014-05-01  Will Newton  <will.newton@linaro.org>
8512             Bernard Ogden  <bernie.ogden@linaro.org>
8513
8514         * NEWS: Update fixed bug list.
8515
8516         [BZ #15119]
8517         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8518
8519 2014-04-30  David S. Miller  <davem@davemloft.net>
8520
8521         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8522         (libc_feholdexcept_setround_sparc_ctx): New function.
8523         (libc_fesetenv_sparc_ctx): Likewise.
8524         (libc_feupdateenv_sparc_ctx): Likewise.
8525         (libc_feholdsetround_sparc_ctx): Likewise.
8526         (libc_feholdexcept_setround_ctx): Define.
8527         (libc_feholdexcept_setroundf_ctx): Likewise.
8528         (libc_feholdexcept_setroundl_ctx): Likewise.
8529         (libc_fesetenv_ctx): Likewise.
8530         (libc_fesetenvf_ctx): Likewise.
8531         (libc_fesetenvl_ctx): Likewise.
8532         (libc_feupdateenv_ctx): Likewise.
8533         (libc_feupdateenvf_ctx): Likewise.
8534         (libc_feupdateenvl_ctx): Likewise.
8535         (libc_feresetround_ctx): Likewise.
8536         (libc_feresetroundf_ctx): Likewise.
8537         (libc_feresetroundl_ctx): Likewise.
8538         (libc_feholdsetround_ctx): Likewise.
8539         (libc_feholdsetroundf_ctx): Likewise.
8540         (libc_feholdsetroundl_ctx): Likewise.
8541
8542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8543         with __USE_GNU instead of XOPEN cpp guards.
8544
8545         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8546         0.
8547
8548         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8549         with XOPEN cpp guards.
8550
8551 2014-04-30  Julian Brown  <julian@codesourcery.com>
8552
8553         [BZ #16888]
8554         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8555         handling.
8556
8557 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
8558
8559         [BZ #9894]
8560         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8561         Change to 2.6.32.
8562         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8563         * sysdeps/unix/sysv/linux/configure: Regenerated.
8564         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8565         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8566         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8567         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8568         * README: Update reference to required Linux kernel version.
8569         * manual/install.texi (Linux): Update reference to required Linux
8570         kernel headers version.
8571         * INSTALL: Regenerated.
8572
8573         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8574         header inclusion.
8575         [POSIX] (limits.h): Likewise.
8576         [POSIX] (math.h): Likewise.
8577         [POSIX] (sys/wait.h): Likewise.
8578         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8579         function.
8580         [POSIX] (stddef.h): Do not allow header inclusion.
8581
8582 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8583
8584         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8585
8586 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
8587
8588         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8589         Return immediately after lll_futex_wake.
8590
8591 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8592
8593         [BZ #16791]
8594         * nscd/nscd-client.h (datahead_init_common): Initialize entire
8595         structure.
8596         (datahead_init_pos): Call datahead_init_common early.
8597         (datahead_init_neg): Likewise.
8598
8599         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8600         datahead_init_neg): New functions.
8601         * nscd/aicache.c (addhstaiX): Use them.
8602         * nscd/grpcache.c (cache_addgr): Likewise.
8603         * nscd/hstcache.c (cache_addhst): Likewise.
8604         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8605         * nscd/netgroupcache.c (do_notfound): Likewise.
8606         (addgetnetgrentX): Likewise.
8607         (addinnetgrX): Likewise.
8608         * nscd/pwdcache.c (cache_addpw): Likewise.
8609         * nscd/servicescache.c (cache_addserv): Likewise.
8610
8611 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8612             Atsushi Onoe  <atsushi@onoe.org>
8613
8614         [BZ #14308]
8615         [BZ #12994]
8616         [BZ #13651]
8617         * resolv/res_query.c (__libc_res_nsearch): Return if at least
8618         one response is valid.
8619         * resolv/res_send.c (send_dg): Check for validity of other
8620         response if the current response is a referral.
8621
8622 2014-04-29  Steve Ellcey  <sellcey@mips.com>
8623
8624         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8625
8626 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
8627
8628         [BZ #16823]
8629         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8630         Always divide by positive zero when computing -Inf result.
8631         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8632         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8633
8634 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8635
8636         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8637         FPSCR if value do not change.
8638         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8639         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8640         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8641         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8642         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8643         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8644         function.
8645
8646 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
8647
8648         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8649         * sysdeps/unix/sysv/linux/hppa: Move directory from
8650         ports/systeps/unix/sysv/linux/hppa.
8651         * README: Update listing for hppa-*-linux-gnu.
8652
8653 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
8654
8655         [BZ #16754]
8656         * manual/stdio.texi (Hook functions): Fix types of stream hook
8657         functions.
8658         [BZ #16854]
8659         * socket/sys/socket.h: Fix typo in comment.
8660
8661 2014-04-28  Wilco  <wdijkstr@arm.com>
8662
8663         * sysdeps/arm/fenv_private.h: New file.
8664         * sysdeps/arm/math_private.h: New file.
8665         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8666
8667 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
8668
8669         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8670         with __int128_t.
8671         (La_x86_64_retval): Likewise.
8672
8673 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
8674
8675         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8676         fpsr if value didn't change.
8677         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8678         to fpcr if value didn't change.
8679         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8680         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8681         fpsr or fpcr if value didn't change.
8682         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8683         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8684         fpcr if value didn't change.
8685         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8686         to fpsr if value didn't change.
8687
8688 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8689
8690         * nptl/tst-sem3.c: Use test-skeleton.c
8691         (main): Rename to do_test.  Use return instead of
8692         exit.
8693         * nptl/tst-sem4.c: Use test-skeleton.c
8694         (main): Rename to do_test.
8695
8696 2014-04-22  David S. Miller  <davem@davemloft.net>
8697
8698         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8699         (struct sigaction): New struct member __glibc_reserved0, change
8700         type of sa_flags to int.
8701
8702 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
8703
8704         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8705         (COUNT_LEADING_ZEROS_0): Define for AArch64.
8706
8707 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8708
8709         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8710         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8711
8712 2014-04-22  Will Newton  <will.newton@linaro.org>
8713             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
8714
8715         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8716         (__longjmp): Add longjmp and longjmp_target SystemTap
8717         probes.
8718         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8719         (__sigsetjmp): Add setjmp SystemTap probe.
8720
8721 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
8722
8723         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8724         match manual order.
8725
8726 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8727
8728         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8729
8730         * sysdeps/powerpc/fpu/fenv_private.h
8731         (libc_feholdexcept_setroundl_ctx): Define to
8732         libc_feholdexcept_setround_ppc_ctx.
8733         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8734         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8735         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8736         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8737
8738 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8739
8740         * sysdeps/aarch64/math-tests.h: New file.
8741
8742 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
8743
8744         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8745         New.
8746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8747         Check and set bit_AVX2_Usable.
8748         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8749         macro.
8750         (bit_AVX2): Likewise.
8751         (index_AVX2_Usable): Likewise.
8752         (CPUID_AVX2): Likewise.
8753         (HAS_AVX2): Likewise.
8754
8755 2014-04-17  Will Newton  <will.newton@linaro.org>
8756
8757         * manual/setjmp.texi (System V contexts): Add note that
8758         calling setcontext on a context created by a call to a
8759         signal handler is undefined.  Update text to note that
8760         setcontext from a signal handler is possible but not
8761         recommended.
8762
8763         [BZ #16629]
8764         * stdlib/tst-setcontext.c: Include signal.h.
8765         (main): Check that the signal stack before and
8766         after swapcontext is the same.
8767
8768         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8769         Re-implement to restore registers in user code and avoid
8770         rt_sigreturn system call.
8771
8772 2014-04-17  Wilco  <wdijkstr@arm.com>
8773
8774         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8775         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8776         * math/test-fenv.c: Skip exception trap tests on targets which only
8777         support non-stop mode.
8778
8779 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
8780             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8781
8782         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8783         (libc_feholdsetround_aarch64_ctx)
8784         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8785         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8786         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8787         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8788         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8789         (libc_feresetround_noexl_ctx): Define.
8790
8791 2014-04-16  Richard Henderson  <rth@redhat.com>
8792
8793         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8794
8795         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8796         unwind tables.
8797
8798         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8799         const from the non-libc, non-ldso copy.
8800
8801         * sysdeps/alpha/libm-test-ulps: Regenerate.
8802
8803 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8804             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8805
8806         * sysdeps/aarch64/fpu/math_private.h: New file.
8807
8808 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8809
8810         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8811
8812 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8813
8814         [BZ #16275]
8815         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8816         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8817         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8818         Intel MPX bound registers before _dl_profile_fixup.
8819         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8820         registers after _dl_profile_fixup.  Save and restore bound
8821         registers bnd0/bnd1 when calling _dl_call_pltexit.
8822         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8823         (LR_BND_OFFSET): Likewise.
8824         (LRV_BND0_OFFSET): Likewise.
8825         (LRV_BND1_OFFSET): Likewise.
8826
8827 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8828
8829         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8830         to...
8831         * sysdeps/mach/hurd/i386/tls.h: ... here.
8832         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8833         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8834         fields.
8835
8836 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8837
8838         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8839
8840 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8841
8842         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8843
8844 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8845
8846         [BZ #14770]
8847         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8848         * sysdeps/s390/configure: Regenerate.
8849
8850         [BZ #16824]
8851         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8852         Set round-to-nearest internally to reduce error accumulation.
8853
8854 2014-04-16  Alan Modra  <amodra@gmail.com>
8855
8856         [BZ #16740]
8857         [BZ #16619]
8858         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8859         * math/libm-test.inc (frexp_test_data): Add tests.
8860         * NEWS: Update fixed bug list.
8861
8862 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8863
8864         * benchtests/Makefile: Depend on libraries in build directory.
8865         (bench-math): Separate out math tests.
8866         (bench-pthread): Separate out pthread tests.
8867         (bench): Include math and pthread tests.
8868
8869 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8870
8871         [BZ #16831]
8872         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8873         _dl_debug_initialize.
8874
8875         * configure.ac: Remove SELinux header check.
8876         * configure: Regenerate.
8877         * nscd/selinux.c (perms): Array of const char* to permission names.
8878         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8879         default policy. Call string_to_security_class and string_to_av_perm to
8880         translate strings. Enforce default policy and call avs_has_perm with
8881         results of translated strings.
8882
8883 2014-04-13  David S. Miller  <davem@davemloft.net>
8884
8885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8886
8887 2014-04-12  Allan McRae  <allan@archlinux.org>
8888
8889         [BZ #16838]
8890         * manual/string.texi (Collation Functions): Fix qsort argument
8891         order in example.
8892         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8893
8894 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8895
8896         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8897         Make the test a no-op if there are no exceptions defined.
8898
8899 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8900
8901         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8902         enable-hardcoded-path-in-tests
8903
8904 2014-04-11  Will Newton  <will.newton@linaro.org>
8905
8906         * benchtests/Makefile (extra-objs): Add json-lib.o.
8907         (bench-func): Tidy up JSON output.
8908         * benchtests/bench-skeleton.c: Include json-lib.h.
8909         (main): Use JSON library functions to do output of
8910         benchmark results.
8911         * benchtests/bench-timing-type.c (main): Output the
8912         timing type simply, leaving formatting to the user.
8913         * benchtests/json-lib.c: New file.
8914         * benchtests/json-lib.h: Likewise.
8915
8916 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8917
8918         [BZ #15215]
8919         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8920         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8921         memory barriers.  Add comments.
8922         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8923         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8924         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8925         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8926         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8927         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8928
8929 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8930
8931         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8932         * sysdeps/s390/s390-64/configure.ac: ... this ...
8933         * sysdeps/s390/configure.ac: ... to here.
8934         * sysdeps/s390/s390-32/configure: Delete file.
8935         * sysdeps/s390/s390-64/configure: Delete file.
8936         * sysdeps/s390/configure: Regenerate.
8937
8938 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8939
8940         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8941
8942 2014-04-11  Will Newton  <will.newton@linaro.org>
8943
8944         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8945         to zero if it is not defined elsewhere.  (mtrim): Test
8946         the value of MALLOC_DEBUG with #if rather than #ifdef.
8947
8948 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8949
8950         * benchtests/pthread_once-inputs: New file.
8951         * benchtests/pthread_once-source.c: New file.
8952         * benchtests/README: Update documentation.
8953
8954 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8955             H.J. Lu  <hongjiu.lu@intel.com>
8956
8957         [BZ #16275]
8958         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8959         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8960         * sysdeps/x86_64/configure: Regenerated.
8961         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8962         macro.
8963         (REGISTER_SAVE_RAX): Likewise.
8964         (REGISTER_SAVE_RCX): Likewise.
8965         (REGISTER_SAVE_RDX): Likewise.
8966         (REGISTER_SAVE_RSI): Likewise.
8967         (REGISTER_SAVE_RDI): Likewise.
8968         (REGISTER_SAVE_R8): Likewise.
8969         (REGISTER_SAVE_R9): Likewise.
8970         (REGISTER_SAVE_BND0): Likewise.
8971         (REGISTER_SAVE_BND1): Likewise.
8972         (REGISTER_SAVE_BND2): Likewise.
8973         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8974         bound registers when calling _dl_fixup.
8975
8976 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8977
8978         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8979         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8980         of its definition.
8981         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8982         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8983         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8984         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8985         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8986         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8987         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8988
8989 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8990
8991         [BZ #15514]
8992         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8993         pathconf(_PC_NAME_MAX).
8994
8995 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8996
8997         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8998         Remove macro usage.
8999         (__PTHREAD_SPINS): Move definition to ...
9000         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9001         (__PTHREAD_SPINS): ... here.
9002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9003         (__PTHREAD_SPIN): Likewise.
9004         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9005         (__PTHREAD_SPIN): Likewise.
9006         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9007         (__PTHREAD_SPIN): Likewise.
9008         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9009         (__PTHREAD_SPIN): Likewise.
9010         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9011         (__PTHREAD_SPIN): Likewise.
9012         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9013         (__PTHREAD_SPIN): Likewise.
9014         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9015         (__PTHREAD_SPIN): Likewise.
9016         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9017         (__PTHREAD_SPIN): Likewise.
9018         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9019         (__PTHREAD_SPIN): Likewise.
9020         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9021         (__PTHREAD_SPIN): Likewise.
9022         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9023         (__PTHREAD_SPIN): Likewise.
9024         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9025         (__PTHREAD_SPIN): Likewise.
9026
9027         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9028         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9029         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9030         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9031         imply folder.
9032         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9033         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9034         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9035         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9036         correct imply path.
9037         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9038         strlen symbol for non multi-arch builds.
9039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9040         missing hidden_def and weak_alias.
9041
9042 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
9043
9044         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9045
9046 2014-04-07  Will Newton  <will.newton@linaro.org>
9047
9048         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9049         and contents.  [!_LIBC] Remove #ifndef and contents.
9050         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
9051         * string/memccpy.c (__memccpy): Use ANSI prototype.
9052         * string/memfrob.c (memfrob): Likewise.
9053         * string/strcoll.c (STRCOLL): Likewise.
9054         * string/strlen.c (strlen): Likewise.
9055         * string/strtok.c (STRTOK): Likewise.
9056         * string/strcat.c: Remove unused #include of memcopy.h.
9057         (strcat): Use ANSI prototype.
9058         * string/strchr.c: Remove unused #include of memcopy.h.
9059         (strchr): Use ANSI prototype.
9060         * string/strcmp.c: Remove unused #include of memcopy.h.
9061         (strcmp): Use ANSI prototype.
9062         * string/strcpy.c: Remove unused #include of memcopy.h.
9063         (strcpy): Use ANSI prototype.
9064
9065 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9066
9067         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9068         * config.make.in (config-extra-cppflags): Set it from
9069         libc_extra_cppflags.
9070         * configure.ac (libc_extra_cflags): Make it accumulate over
9071         configure fragments.
9072         (libc_extra_cppflags): New flag.
9073         * configure. Regenerate.
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9075         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9076         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9078
9079         [BZ #16815]
9080         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9081         result for FE_DOWNWARD rounding mode.
9082         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9083         Likewise.
9084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9085
9086 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
9087
9088         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9089         in function argument name.
9090
9091 2014-04-03  David Svoboda  <svoboda@cert.org>
9092
9093         [BZ #5666]
9094         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9095         explicitly.
9096
9097 2014-04-03  Roland McGrath  <roland@hack.frob.com>
9098
9099         * elf/dl-unmap-segments.h: New file.
9100         * sysdeps/generic/ldsodefs.h
9101         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9102         * elf/dl-close.c: Include <dl-unmap-segments.h>.
9103         * elf/dl-fptr.c: Likewise.
9104         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9105         * sysdeps/aarch64/tlsdesc.c: Likewise.
9106         * sysdeps/arm/tlsdesc.c: Likewise.
9107         * sysdeps/i386/tlsdesc.c: Likewise.
9108         * sysdeps/tile/dl-runtime.c: Likewise.
9109         * sysdeps/x86_64/tlsdesc.c: Likewise.
9110         * elf/dl-load.h: New file.
9111         * elf/dl-load.c: Include it.
9112         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9113         Macros moved to dl-load.h.
9114         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9115         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9116         Use _dl_unmap_segments in place of __munmap.
9117         Break out segment-mapping loop into ...
9118         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9119
9120 2014-04-03  Will Newton  <will.newton@linaro.org>
9121
9122         * elf/dl-lookup.c (do_lookup_x): Remove comment
9123         referring to nested function and move variable
9124         declarations down to before first use.
9125
9126 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
9127
9128         [BZ #16799]
9129         [BZ #16800]
9130         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9131         with 0 numerator.
9132         * math/s_catanf.c (__catanf): Likewise.
9133         * math/s_catanh.c (__catanh): Likewise.
9134         * math/s_catanhf.c (__catanhf): Likewise.
9135         * math/s_catanhl.c (__catanhl): Likewise.
9136         * math/s_catanl.c (__catanl): Likewise.
9137         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9138         by positive zero when computing -Inf result.
9139         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9140         (catanh_test): Likewise.
9141         * sysdeps/i386/fpu/libm-test-ulps: Update.
9142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9143
9144         [BZ #16789]
9145         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9146         instead of using underflowing value in computing result.
9147         * math/s_clog10.c (__clog10): Likewise.
9148         * math/s_clog10f.c (__clog10f): Likewise.
9149         * math/s_clog10l.c (__clog10l): Likewise.
9150         * math/s_clogf.c (__clogf): Likewise.
9151         * math/s_clogl.c (__clogl): Likewise.
9152         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9153         (clog10_test): Likewise.
9154         * sysdeps/i386/fpu/libm-test-ulps: Update.
9155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9156
9157 2014-04-02  Alan Modra  <amodra@gmail.com>
9158
9159         [BZ #16739]
9160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9161         output when value is near a power of two.  Use int64_t for lx and
9162         remove casts.  Use decimal rather than hex exponent constants.
9163         Don't use long double multiplication when double will suffice.
9164         * math/libm-test.inc (nextafter_test_data): Add tests.
9165         * NEWS: Add 16739 and 16786 to bug list.
9166
9167         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9168
9169         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9170
9171 2014-04-01  Will Newton  <will.newton@linaro.org>
9172
9173         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9174         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
9175
9176 2014-04-01  Florian Weimer  <fweimer@redhat.com>
9177
9178         [BZ #13347]
9179         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9180         * nptl/tst-setuid2.c: New file.
9181         * nptl/Makefile (xtests): Add tst-setuid2.
9182
9183 2014-04-01  Alan Modra  <amodra@gmail.com>
9184
9185         [BZ #16786]
9186         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9187
9188 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9189
9190         [BZ #6803]
9191         [BZ #6804]
9192         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9193         set errno as appropriate.
9194         * math/w_scalbf.c (__scalbf): Likewise.
9195         * math/w_scalbl.c (__scalbl): Likewise.
9196         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9197         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9198         * math/libm-test.inc (scalb_test_data): Add errno expectations.
9199         Add more NaN tests.
9200
9201         [BZ #16349]
9202         * math/w_atan2.c: Include <errno.h>.
9203         (__atan2): Set errno for result underflowing to zero.
9204         * math/w_atan2f.c: Include <errno.h>.
9205         (__atan2f): Set errno for result underflowing to zero.
9206         * math/w_atan2l.c: Include <errno.h>.
9207         (__atan2l): Set errno for result underflowing to zero.
9208         * math/auto-libm-test-in: Don't allow missing errno for some atan2
9209         tests.
9210         * math/auto-libm-test-out: Regenerated.
9211
9212 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9213
9214         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9215         Encode instruction correctly in little endian.
9216         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9217         Likewise.
9218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9219         Likewise.
9220         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9221         Likewise.
9222         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9223         Likewise.
9224
9225 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
9226
9227         [BZ #9894]
9228         * sysdeps/unix/sysv/linux/kernel-features.h
9229         [__sparc__ && !__arch64__ && !__sparc_v9__]
9230         (__ASSUME_SET_ROBUST_LIST): Do not define.
9231         [__sparc__ && !__arch64__ && !__sparc_v9__]
9232         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9233         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9234         Likewise.
9235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9236         (__ASSUME_FUTEX_LOCK_PI): Undefine.
9237         (__ASSUME_REQUEUE_PI): Likewise.
9238         (__ASSUME_SET_ROBUST_LIST): Likewise.
9239         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9240         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9241         Undefine.
9242         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9243         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9244         Likewise.
9245         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9246         Likewise.
9247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9248         Likewise.
9249         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9250         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9251         Undefine.
9252         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9253         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9254         Likewise.
9255
9256         [BZ #16648]
9257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9259         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9260
9261 2014-03-31  Will Newton  <will.newton@linaro.org>
9262
9263         * benchtests/Makefile (bench): Add ffs and ffsll to list
9264         of tests.
9265         * benchtests/ffs-inputs: New file.
9266         * benchtests/ffsll-inputs: Likewise.
9267
9268 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
9269
9270         [BZ #16770]
9271         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9272         too large before casting to int.
9273         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9274         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9275         * math/libm-test.inc (scalb_test_data): Add more tests.
9276
9277 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9278
9279         * benchtests/Makefile (DETAILED_OPT): New make option.
9280         (bench-func): Run benchmark program with -d if DETAILED_OPT is
9281         set.
9282         * benchtests/bench-skeleton.c: Include stdbool.h.
9283         (main): Store and print timings per input.
9284         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9285         member to each argument value.
9286         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9287         (_print_arg_data): Initialize per-input timing to 0.
9288
9289         * benchtests/Makefile (timing-type): New binary.
9290         (bench-clean): Also remove bench-timing-type.
9291         (bench): New target for timing-type.
9292         (bench-func): Print output in JSON format.
9293         * benchtests/bench-skeleton.c (main): Print output in JSON
9294         format.
9295         * benchtests/bench-timing-type.c: New file.
9296         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9297         (TIMING_PRINT_STATS): Remove.
9298         * benchtests/scripts/bench.py (_print_arg_data): Store variant
9299         name separately.
9300
9301         * benchtests/bench-modf.c: Remove.
9302         * benchtests/modf-inputs: New inputs file.
9303
9304 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
9305
9306         [BZ #16362]
9307         * math/s_clog10.c (M_PI_LOG10E): New macro.
9308         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9309         imaginary parts are 0.
9310         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9311         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9312         imaginary parts are 0.
9313         * math/s_clog10l.c (M_PI_LOG10El): New macro.
9314         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9315         imaginary parts are 0.
9316         * math/libm-test.inc (clog10_test_data): Update expected results
9317         for when real and imaginary parts are 0.
9318
9319 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
9320
9321         * elf/dl-load.c: Finish conversion of __builtin_expect into
9322         __glibc_{un}likely.
9323
9324 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
9325
9326         [BZ #16348]
9327         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9328         1+x for argument with exponent below -67.
9329         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9330         Likewise.
9331         * math/auto-libm-test-in: Add more tests of exp.
9332         * math/auto-libm-test-out: Regenerated.
9333
9334 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9335
9336         [BZ #16759]
9337         * inet/getnetgrent_r.c (get_nonempty_val): New function.
9338         (nscd_getnetgrent): Use it.
9339
9340         [BZ #16760]
9341         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9342         of stpcpy.
9343
9344 2014-03-27  Andi Kleen  <ak@linux.intel.com>
9345
9346         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9347         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9348         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9349         (lll_robust_unlock): Remove out of line section. Use cfi
9350         intrinsics.
9351         (LLL_STUB_UNWIND_INFO*): Remove.
9352         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9353         (lll_robust_lock, lll_cond_lock, lll_timedlock)
9354         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9355         (lll_robust_unlock): Remove out of line section. Use cfi
9356         intrinsics.
9357         (LLL_STUB_UNWIND_INFO*): Remove.
9358
9359 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9360
9361         [BZ #16758]
9362         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9363         blank values.
9364
9365 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9366
9367         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9368
9369 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
9370
9371         [BZ #16198]
9372         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9373         fnstenv.
9374         * math/test-fenv-preserve.c: New file.
9375         * math/Makefile (tests): Add test-fenv-preserve.
9376
9377 2014-03-26  Will Newton <will.newton@linaro.org>
9378
9379         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9380
9381 2014-03-25  Roland McGrath  <roland@hack.frob.com>
9382
9383         * scripts/versionlist.awk: Partition the version sets and emit all
9384         GLIBC_* (sorted) before all others (sorted).
9385
9386 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9387
9388         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9389         GLIBC_2.2.5 version.
9390
9391 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9392
9393         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9394         calls.
9395
9396         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9397         previous change.
9398
9399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9400
9401 2014-03-25  Andreas Schwab  <schwab@suse.de>
9402
9403         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9404         label to be used after in6ailist is initialized.
9405
9406 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9407
9408         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9409         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9410
9411 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
9412
9413         [BZ #16357]
9414         [BZ #16599]
9415         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9416         min_plus_half.
9417         (fp_formats): Update initializers.
9418         (init_fp_formats): Initialize new field.
9419         (output_for_one_input_case): Allow underflow for results up to
9420         min_plus_half.
9421         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9422         * math/auto-libm-test-in: Don't mark some underflows from asin and
9423         atanh as spurious.
9424         * math/auto-libm-test-out: Regenerated.
9425         * sysdeps/i386/fpu/libm-test-ulps: Update.
9426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9427
9428 2014-03-25  Andreas Schwab  <schwab@suse.de>
9429
9430         * libio/Makefile (tst-ftell-partial-wide-ENV)
9431         (tst-ftell-active-handler-ENV): Define.
9432
9433 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
9434
9435         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9436
9437 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9438
9439         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9440
9441 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9442
9443         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9444         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9445         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9446
9447 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
9448
9449         [BZ #16634]
9450         * elf/dl-load.c (open_verify): Add mode parameter.
9451         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9452         (open_path): Change from boolean 'secure' to complete flag 'mode'
9453         (_dl_map_object): Adjust.
9454         * elf/Makefile (tests): Add tst-dlopen-aout.
9455         * elf/tst-dlopen-aout.c: New test.
9456
9457 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
9458
9459         [BZ #16714]
9460         * sysdeps/unix/sysv/linux/s390/bits/stat.h
9461         (struct stat): Rename member pad0 to __glibc_reserved0.
9462
9463         [BZ #16712]
9464         * sysdeps/s390/s390-32/bits/wordsize.h
9465         (__WORDSIZE32_SIZE_ULONG): New define.
9466         * sysdeps/s390/s390-64/bits/wordsize.h
9467         (__WORDSIZE32_SIZE_ULONG): Likewise.
9468         * sysdeps/generic/stdint.h (SIZE_MAX):
9469         Define as UL if __WORDSIZE32_SIZE_ULONG.
9470
9471         [BZ #16713]
9472         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9473         (__glibc_reserved0): New variable.
9474         (sa_flags): Change type to int.
9475
9476         * posix/Makefile (before-compile): Use += before-compile instead
9477         of a :=.
9478
9479         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9480         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9481
9482 2014-03-20  Andreas Schwab  <schwab@suse.de>
9483
9484         [BZ #16743]
9485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9486         non-matching result from nscd.
9487
9488 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9489
9490         * scripts/bench.py: Moved to ...
9491         * benchtests/scripts/bench.py: ... here.
9492         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9493
9494 2014-03-24  Andreas Schwab  <schwab@suse.de>
9495
9496         [BZ #16002]
9497         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9498         alloca_account and account alloca use for struct in6ailist.
9499
9500 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
9501
9502         [BZ #16284]
9503         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9504         rounding mode to recompute results that overflow to infinity or
9505         underflow to zero.
9506         * math/auto-libm-test-in: Don't mark tests as expected to fail for
9507         bug 16284.
9508         * math/auto-libm-test-out: Regenerated.
9509         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9510         (ccosh_test): Likewise.
9511         (csin_test_data): Use plus_oflow.
9512         (csin_test): Use ALL_RM_TEST.
9513         (csinh_test_data): Use plus_oflow.
9514         (csinh_test): Use ALL_RM_TEST.
9515         * sysdeps/i386/fpu/libm-test-ulps: Update.
9516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9517
9518 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
9519
9520         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9521         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9522         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9523
9524         [BZ #16731]
9525         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9526         when x - 1 is zero.
9527         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9528         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9529         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9531         argument is 1.
9532         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9533         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9534         zero.
9535         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9536         * sysdeps/i386/fpu/libm-test-ulps: Update.
9537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9538
9539 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9540
9541         * scripts/bench.pl: Remove file.
9542         * scripts/bench.py: New benchmark script.
9543         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9544         * benchtests/README: Mention python dependency.
9545         * scripts/pylintrc: New file.
9546         * scripts/pylint: New file.
9547
9548         * bits/mathdef.h: Use #ifdef instead of #if.
9549         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9550         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9551         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9552         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9553         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9554         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9555
9556 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9557             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9558
9559         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9560         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9561         and strpbrk-ppc64 objects.
9562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9563         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9564         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9565         multiarch strpbrk for POWER7.
9566         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9567         multiarch strpbrk for PPC64.
9568         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9569         ifunc selector.
9570         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9571         strpbrk for POWER7.
9572
9573 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9574
9575         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9576         (atan_test): Likewise.
9577         (atanh_test_data): Use NO_TEST_INLINE for two tests.
9578         (atanh_test): Use ALL_RM_TEST.
9579         (atan2_test_data): Likewise.
9580         (cabs_test): Likewise.
9581         (cacosh_test): Likewise.
9582         (carg_test): Likewise.
9583         (casin_test): Likewise.
9584         (casinh_test): Likewise.
9585         (cbrt_test): Likewise.
9586         (csqrt_test): Likewise.
9587         (erf_test): Likewise.
9588         (erfc_test): Likewise.
9589         (pow10_test): Likewise.
9590         (exp2_test): Likewise.
9591         (hypot_test): Likewise.
9592         (j0_test): Likewise.
9593         (j1_test): Likewise.
9594         (lgamma_test): Likewise.
9595         (gamma_test): Likewise.
9596         (sincos_test): Likewise.
9597         (tanh_test): Likewise.
9598         (y0_test): Likewise.
9599         (y1_test): Likewise.
9600         * sysdeps/i386/fpu/libm-test-ulps: Update.
9601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9602
9603 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9604
9605         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9607         and strcspn-ppc64 objects.
9608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9609         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9610         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9611         multiarch strcspn for POWER7.
9612         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9613         multiarch strcspn for PPC64.
9614         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9615         ifunc selector.
9616         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9617         strcspn for POWER7.
9618
9619 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
9620
9621         * math/gen-libm-test.pl (generate_testfile): Expect only function
9622         name as argument to AUTO_TESTS_* and pass results for all rounding
9623         modes to parse_args.
9624         (parse_auto_input): Separate inputs of automatic tests from
9625         outputs before storing in %auto_tests.
9626         * math/libm-test.inc (acos_test_data): Update call to
9627         AUTO_TESTS_f_f.
9628         (acos_test): Use ALL_RM_TEST.
9629         (acos_tonearest_test_data): Remove.
9630         (acos_test_tonearest): Likewise.
9631         (acos_towardzero_test_data): Likewise.
9632         (acos_test_towardzero): Likewise.
9633         (acos_downward_test_data): Likewise.
9634         (acos_test_downward): Likewise.
9635         (acos_upward_test_data): Likewise.
9636         (acos_test_upward): Likewise.
9637         (acosh_test_data): Update call to AUTO_TESTS_f_f.
9638         (asin_test_data): Likewise.
9639         (asin_test): Use ALL_RM_TEST.
9640         (asin_tonearest_test_data): Remove.
9641         (asin_test_tonearest): Likewise.
9642         (asin_towardzero_test_data): Likewise.
9643         (asin_test_towardzero): Likewise.
9644         (asin_downward_test_data): Likewise.
9645         (asin_test_downward): Likewise.
9646         (asin_upward_test_data): Likewise.
9647         (asin_test_upward): Likewise.
9648         (asinh_test_data): Update call to AUTO_TESTS_f_f.
9649         (atan_test_data): Likewise.
9650         (atanh_test_data): Likewise.
9651         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9652         (cabs_test_data): Update call to AUTO_TESTS_c_f.
9653         (carg_test_data): Likewise.
9654         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9655         (ccos_test_data): Update call to AUTO_TESTS_c_c.
9656         (ccosh_test_data): Likewise.
9657         (cexp_test_data): Likewise.
9658         (clog_test_data): Likewise.
9659         (clog10_test_data): Likewise.
9660         (cos_test_data): Update call to AUTO_TESTS_f_f.
9661         (cos_test): Use ALL_RM_TEST.
9662         (cos_tonearest_test_data): Remove.
9663         (cos_test_tonearest): Likewise.
9664         (cos_towardzero_test_data): Likewise.
9665         (cos_test_towardzero): Likewise.
9666         (cos_downward_test_data): Likewise.
9667         (cos_test_downward): Likewise.
9668         (cos_upward_test_data): Likewise.
9669         (cos_test_upward): Likewise.
9670         (cosh_test_data): Update call to AUTO_TESTS_f_f.
9671         (cosh_test): Use ALL_RM_TEST.
9672         (cosh_tonearest_test_data): Remove.
9673         (cosh_test_tonearest): Likewise.
9674         (cosh_towardzero_test_data): Likewise.
9675         (cosh_test_towardzero): Likewise.
9676         (cosh_downward_test_data): Likewise.
9677         (cosh_test_downward): Likewise.
9678         (cosh_upward_test_data): Likewise.
9679         (cosh_test_upward): Likewise.
9680         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9681         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9682         (ctan_test_data): Likewise.
9683         (ctan_test): Use ALL_RM_TEST.
9684         (ctan_tonearest_test_data): Remove.
9685         (ctan_test_tonearest): Likewise.
9686         (ctan_towardzero_test_data): Likewise.
9687         (ctan_test_towardzero): Likewise.
9688         (ctan_downward_test_data): Likewise.
9689         (ctan_test_downward): Likewise.
9690         (ctan_upward_test_data): Likewise.
9691         (ctan_test_upward): Likewise.
9692         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9693         (ctanh_test): Use ALL_RM_TEST.
9694         (ctanh_tonearest_test_data): Remove.
9695         (ctanh_test_tonearest): Likewise.
9696         (ctanh_towardzero_test_data): Likewise.
9697         (ctanh_test_towardzero): Likewise.
9698         (ctanh_downward_test_data): Likewise.
9699         (ctanh_test_downward): Likewise.
9700         (ctanh_upward_test_data): Likewise.
9701         (ctanh_test_upward): Likewise.
9702         (erf_test_data): Update call to AUTO_TESTS_f_f.
9703         (erfc_test_data): Likewise.
9704         (exp_test_data): Likewise.
9705         (exp_test): Use ALL_RM_TEST.
9706         (exp_tonearest_test_data): Remove.
9707         (exp_test_tonearest): Likewise.
9708         (exp_towardzero_test_data): Likewise.
9709         (exp_test_towardzero): Likewise.
9710         (exp_downward_test_data): Likewise.
9711         (exp_test_downward): Likewise.
9712         (exp_upward_test_data): Likewise.
9713         (exp_test_upward): Likewise.
9714         (exp10_test_data): Update call to AUTO_TESTS_f_f.
9715         (exp10_test): Use ALL_RM_TEST.
9716         (exp10_tonearest_test_data): Remove.
9717         (exp10_test_tonearest): Likewise.
9718         (exp10_towardzero_test_data): Likewise.
9719         (exp10_test_towardzero): Likewise.
9720         (exp10_downward_test_data): Likewise.
9721         (exp10_test_downward): Likewise.
9722         (exp10_upward_test_data): Likewise.
9723         (exp10_test_upward): Likewise.
9724         (exp2_test_data): Update call to AUTO_TESTS_f_f.
9725         (expm1_test_data): Likewise.
9726         (expm1_test): Use ALL_RM_TEST.
9727         (expm1_tonearest_test_data): Remove.
9728         (expm1_test_tonearest): Likewise.
9729         (expm1_towardzero_test_data): Likewise.
9730         (expm1_test_towardzero): Likewise.
9731         (expm1_downward_test_data): Likewise.
9732         (expm1_test_downward): Likewise.
9733         (expm1_upward_test_data): Likewise.
9734         (expm1_test_upward): Likewise.
9735         (fma_test_data): Update call to AUTO_TESTS_fff_f.
9736         (fma_test): Use ALL_RM_TEST.
9737         (fma_towardzero_test_data): Remove.
9738         (fma_test_towardzero): Likewise.
9739         (fma_downward_test_data): Likewise.
9740         (fma_test_downward): Likewise.
9741         (fma_upward_test_data): Likewise.
9742         (fma_test_upward): Likewise.
9743         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9744         (j0_test_data): Update call to AUTO_TESTS_f_f.
9745         (j1_test_data): Likewise.
9746         (jn_test_data): Update call to AUTO_TESTS_if_f.
9747         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9748         (log_test_data): Update call to AUTO_TESTS_f_f.
9749         (log10_test_data): Likewise.
9750         (log1p_test_data): Likewise.
9751         (log2_test_data): Likewise.
9752         (pow_test_data): Update call to AUTO_TESTS_ff_f.
9753         (pow_tonearest_test_data): Likewise.
9754         (sin_test_data): Update call to AUTO_TESTS_f_f.
9755         (sin_test): Use ALL_RM_TEST.
9756         (sin_tonearest_test_data): Remove.
9757         (sin_test_tonearest): Likewise.
9758         (sin_towardzero_test_data): Likewise.
9759         (sin_test_towardzero): Likewise.
9760         (sin_downward_test_data): Likewise.
9761         (sin_test_downward): Likewise.
9762         (sin_upward_test_data): Likewise.
9763         (sin_test_upward): Likewise.
9764         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9765         (sinh_test_data): Update call to AUTO_TESTS_f_f.
9766         (sinh_test): Use ALL_RM_TEST.
9767         (sinh_tonearest_test_data): Remove.
9768         (sinh_test_tonearest): Likewise.
9769         (sinh_towardzero_test_data): Likewise.
9770         (sinh_test_towardzero): Likewise.
9771         (sinh_downward_test_data): Likewise.
9772         (sinh_test_downward): Likewise.
9773         (sinh_upward_test_data): Likewise.
9774         (sinh_test_upward): Likewise.
9775         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9776         (sqrt_test): Use ALL_RM_TEST.
9777         (sqrt_tonearest_test_data): Remove.
9778         (sqrt_test_tonearest): Likewise.
9779         (sqrt_towardzero_test_data): Likewise.
9780         (sqrt_test_towardzero): Likewise.
9781         (sqrt_downward_test_data): Likewise.
9782         (sqrt_test_downward): Likewise.
9783         (sqrt_upward_test_data): Likewise.
9784         (sqrt_test_upward): Likewise.
9785         (tan_test_data): Update call to AUTO_TESTS_f_f.
9786         (tan_test): Use ALL_RM_TEST.
9787         (tan_tonearest_test_data): Remove.
9788         (tan_test_tonearest): Likewise.
9789         (tan_towardzero_test_data): Likewise.
9790         (tan_test_towardzero): Likewise.
9791         (tan_downward_test_data): Likewise.
9792         (tan_test_downward): Likewise.
9793         (tan_upward_test_data): Likewise.
9794         (tan_test_upward): Likewise.
9795         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9796         (tgamma_test_data): Likewise.
9797         (y0_test_data): Likewise.
9798         (y1_test_data): Likewise.
9799         (yn_test_data): Update call to AUTO_TESTS_if_f.
9800         (main): Do not call removed functions.
9801
9802 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9803
9804         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9805         (ldexp_test_data): Remove.
9806         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9807         scalbn_test_data.
9808         (scalb_test): Use ALL_RM_TEST.
9809
9810 2014-03-19  Andreas Schwab  <schwab@suse.de>
9811
9812         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9813
9814 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9815
9816         [BZ #16649]
9817         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9818         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9819         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9821         (__ASSUME_PREADV): Undefine.
9822         (__ASSUME_PWRITEV): Likewise.
9823
9824 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9825
9826         * bits/mman-linux.h: Add comment about non-Linux use.
9827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9828         bits/mman-linux.h resting place.
9829
9830         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9831         * bits/mman-linux.h: ... here.
9832
9833 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9834
9835         * conform/conformtest.pl: Add standard definition when calling C
9836         preprocessor on data files.
9837         (checknamespace): Remove unused variable.
9838
9839 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9840
9841         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9842         minus_oflow, plus_uflow and minus_uflow in expected results.
9843         * math/libm-test.inc (scalbn_test_data): Add more tests of
9844         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9845         minus_uflow.
9846         (scalbn_test): Use ALL_RM_TEST.
9847         (scalbln_test_data): Add more tests of negative arguments.  Use
9848         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9849         (scalbln_test): Use ALL_RM_TEST.
9850
9851 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9852
9853         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9854
9855 2014-03-18  Will Newton  <will.newton@linaro.org>
9856
9857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9858         inaccurate comment.
9859
9860 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9861
9862         * Makerules [!subdir] (check-abi): Exit with error status if a
9863         test failed.
9864
9865 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9866
9867         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9868         for rint.  Include results for all rounding modes.
9869         (nearbyint_test): Use ALL_RM_TEST.
9870         (rint_test_data): Include all tests used for nearbyint.
9871
9872 2014-03-17  Will Newton  <will.newton@linaro.org>
9873
9874         * nptl/sysdeps/pthread/pthread.h: Revert previous
9875         change.
9876
9877         * sysdeps/generic/ldsodefs.h: Revert previous
9878         change.
9879
9880         * libio/genops.c: Revert previous change.
9881         * libio/libioP.h: Likewise.
9882         * stdio-common/vfprintf.c: Likewise.
9883
9884         * sysdeps/generic/math_private.h: Revert previous
9885         change.
9886
9887         * sysdeps/generic/math_private.h: Check whether
9888         HAVE_RM_CTX is defined with #ifdef rather
9889         than #if.
9890
9891         * argp/argp-fmtstream.h: Check whether
9892         __STRICT_ANSI__ is defined with #ifdef rather
9893         than #if.
9894         * argp/argp.h: Likewise.
9895
9896         * libio/genops.c: Check whether
9897         _IO_JUMPS_OFFSET is defined with #ifdef rather
9898         than #if.
9899         * libio/libioP.h: Likewise.
9900         * stdio-common/vfprintf.c: Likewise.
9901
9902         * sysdeps/generic/ldsodefs.h: Check whether
9903         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9904         than #if.
9905
9906         * nptl/sysdeps/pthread/pthread.h: Check
9907         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9908         its value.
9909
9910 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9911
9912         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9913         setting O_APPEND.
9914         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9915         test case.
9916
9917         [BZ #16680]
9918         * libio/fileops.c (_IO_file_open): Seek to end of file but
9919         don't cache the offset.
9920         (get_file_offset): Remove function.
9921         (do_ftell): Use cached offset when available.
9922         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9923         don't cache the offset.
9924         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9925         case.
9926         (do_one_test): Call it.
9927         (do_ftell_test): Fix up expected old offset for a+ mode.
9928         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9929         available.
9930
9931         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9932         up test status with function return status.
9933         (do_write_test): Likewise.
9934         (do_append_test): Likewise.
9935
9936         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9937         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9938         Remove.
9939
9940 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9941
9942         * math/gen-libm-test.pl (parse_args): Handle results specified for
9943         each rounding mode separately.
9944         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9945         tests and results from lrint_tonearest_test_data,
9946         lrint_towardzero_test_data, lrint_downward_test_data and
9947         lrint_upward_test_data.
9948         (lrint_test): Use ALL_RM_TEST.
9949         (lrint_tonearest_test_data): Remove.
9950         (lrint_test_tonearest): Likewise.
9951         (lrint_towardzero_test_data): Likewise.
9952         (lrint_test_towardzero): Likewise.
9953         (lrint_downward_test_data): Likewise.
9954         (lrint_test_downward): Likewise.
9955         (lrint_upward_test_data): Likewise.
9956         (lrint_test_upward): Likewise.
9957         (llrint_test_data): Merge in per-rounding-mode tests and results
9958         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9959         llrint_downward_test_data and llrint_upward_test_data.
9960         (llrint_test): Use ALL_RM_TEST.
9961         (llrint_tonearest_test_data): Remove.
9962         (llrint_test_tonearest): Likewise.
9963         (llrint_towardzero_test_data): Likewise.
9964         (llrint_test_towardzero): Likewise.
9965         (llrint_downward_test_data): Likewise.
9966         (llrint_test_downward): Likewise.
9967         (llrint_upward_test_data): Likewise.
9968         (llrint_test_upward): Likewise.
9969         (rint_test_data): Merge in per-rounding-mode tests and results
9970         from rint_tonearest_test_data, rint_towardzero_test_data,
9971         rint_downward_test_data and rint_upward_test_data.  Add
9972         per-rounding-mode results for tests not in those arrays.
9973         (rint_test): Use ALL_RM_TEST.
9974         (rint_tonearest_test_data): Remove.
9975         (rint_test_tonearest): Likewise.
9976         (rint_towardzero_test_data): Likewise.
9977         (rint_test_towardzero): Likewise.
9978         (rint_downward_test_data): Likewise.
9979         (rint_test_downward): Likewise.
9980         (rint_upward_test_data): Likewise.
9981         (rint_test_upward): Likewise.
9982         (main): Don't call removed functions.
9983
9984 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9985
9986         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9987         "Compiled on ..." crapola.  It is anti-useful.
9988
9989 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9990
9991         * scripts/evaluate-test.sh: Handle fourth argument to determine
9992         whether test run should stop on failure.
9993         * Makeconfig (stop-on-test-failure): New variable.
9994         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9995         $(stop-on-test-failure).
9996         * Makefile (tests): Give a summary of results from testing and
9997         exit with failure status if they include an ERROR or FAIL.
9998         (xtests): Likewise.
9999         * manual/install.texi (Configuring and compiling): Mention
10000         stop-on-test-failure=y.
10001         * INSTALL: Regenerated.
10002
10003 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10004
10005         * scripts/versionlist.awk: New file.
10006         * Makerules [$(build-shared) = yes]
10007         (postclean-generated): Add Versions.def, not Versions.def.v and
10008         Versions.def.v.i.
10009         ($(common-objpfx)Versions.def.v.i): Target removed.
10010         ($(common-objpfx)Versions.def): New target.
10011         ($(common-objpfx)Versions.all): Depend on that rather that
10012         $(common-objpfx)Versions.def.v.
10013         * Versions.def: File removed.
10014
10015         * Makeconfig (+gccwarn): Add -Wundef.
10016         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10017         a dl-sysdep.h breaking its contract.
10018         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10019         * include/stackinfo.h: New file.
10020         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10021         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10022         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10023         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10024         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10025         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10026         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10027         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10028         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10029         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10030         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10031         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10032         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10033         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10034         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10035
10036 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10037
10038         [BZ #16707]
10039         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10040         implementation.
10041         * math/libm-test.inc (round_test_data): Add more tests.
10042
10043         [BZ #16706]
10044         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10045         implementation.
10046         * math/libm-test.inc (nearbyint_test_data): Add more tests.
10047
10048         [BZ #16701]
10049         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10050         implementation.
10051         * math/libm-test.inc (ceil_test_data): Add more tests.
10052
10053         * math/libm-test.inc (trunc_test_data): Add more tests related to
10054         BZ#16414.
10055
10056 2014-03-14  Roland McGrath  <roland@hack.frob.com>
10057
10058         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10059         with #if rather than #ifdef.
10060         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10061
10062 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
10063
10064         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10065         first.  Disable AVX-512 GCC support if assembler doesn't support
10066         it.
10067         * sysdeps/x86_64/configure: Regenerated.
10068
10069 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
10070
10071         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10072         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10073         (__old_pthread_attr_setstack): Likewise.
10074         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10075         [!_STACK_GROWS_DOWN]: Likewise.
10076
10077 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
10078
10079         * config.make.in (have-bash2): Delete.
10080         * configure.ac (libc_cv_have_bash2): Delete.
10081         * configure: Regenerate.
10082         * elf/Makefile (common-ldd-rewrite): Rename to ...
10083         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
10084         (sh-ldd-rewrite): Delete.
10085         (bash-ldd-rewrite): Delete.
10086         (have-bash2): Delete checks.
10087         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10088         ldd-rewrite.
10089
10090         * config.make.in (have-ksh): Delete.
10091         (KSH): Delete.
10092         * configure.ac (libc_cv_have_ksh): Delete.
10093         * configure: Regenerate.
10094
10095         * elf/Makefile: Delete $(have-ksh) check.
10096         ($(objpfx)sotruss): Change KSH to BASH.
10097         * elf/sotruss.ksh: Rename to ...
10098         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
10099         function style to match POSIX.  Drop ksh vim mode setting.
10100
10101         * manual/time.texi (Specifying the Time Zone with TZ): Change
10102         Tuesday to Thursday.
10103
10104         * debug/tst-longjmp_chk2.c: Update header comment.
10105         (stackoverflow_handler): Add comment.  Call assert on pass value.
10106
10107 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
10108
10109         [BZ #16194]
10110         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10111         (HAVE_AVX512_ASM_SUPPORT): Likewise.
10112         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10113         (La_x86_64_vector): Add zmm.
10114         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10115         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10116         ($(objpfx)tst-audit10): New target.
10117         ($(objpfx)tst-audit10.out): Likewise.
10118         (tst-audit10-ENV): New.
10119         (AVX512-CFLAGS): Likewise.
10120         (CFLAGS-tst-audit10.c): Likewise.
10121         (CFLAGS-tst-auditmod10a.c): Likewise.
10122         (CFLAGS-tst-auditmod10b.c): Likewise.
10123         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10124         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10125         * sysdeps/x86_64/configure: Regenerated.
10126         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10127         AVX-512 zmm register support.
10128         (_dl_x86_64_save_sse): Likewise.
10129         (_dl_x86_64_restore_sse): Likewise.
10130         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10131         size vector registers.
10132         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10133         (ZMM_SIZE): Likewise.
10134         * sysdeps/x86_64/tst-audit10.c: New file.
10135         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10136         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10137
10138 2014-03-13  Roland McGrath  <roland@hack.frob.com>
10139
10140         * configure.ac (HAVE_EHDR_START): New check.
10141         * configure: Regenerated.
10142         * config.h.in (HAVE_EHDR_START): New #undef.
10143         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10144         assuming the lowest-addressed segment maps the start of the file.
10145
10146 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
10147
10148         * INSTALL: Regenerated.
10149
10150 2014-03-13  Will Newton  <will.newton@linaro.org>
10151
10152         * manual/setjmp.texi (System V contexts): Improve
10153         clarity and grammar of documentation.
10154
10155 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10156
10157         [BZ #16381]
10158         * elf/Makefile (tests): Add tst-pie2.
10159         (tests-pie): Add tst-pie2.
10160         * elf/tst-pie2.c: New file.
10161         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10162         for ET_EXEC.
10163         * elf/rtld.c (map_doit): Load executable as lt_executable.
10164         (dl_main): Likewise.
10165
10166 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
10167
10168         [BZ #16642]
10169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10170         (__ASSUME_PSELECT): Undefine.
10171
10172 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10173
10174         [BZ #16689]
10175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10176         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10177         static build.
10178         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10179         selector for static builds.
10180
10181 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10182
10183         [BZ #16695]
10184         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10185         key in the buffer.
10186
10187 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10188
10189         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10190         IFUNC selector for static builds.
10191
10192 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
10193
10194         * sysdeps/mips/math_private.h [__mips_hard_float]
10195         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10196         libc_feresetround_mips_ctx.
10197         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10198         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10199         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10200
10201         [BZ #16677]
10202         * math/s_nextafter.c (__nextafter): Do not return value from
10203         overflowing computation.
10204         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10205         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10206         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10207         Likewise.
10208         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10209         Likewise.
10210         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10211         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10212
10213 2014-03-11  Roland McGrath  <roland@hack.frob.com>
10214
10215         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10216         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10217         Move sfi_sp use from the load-multiple (that no longer sets sp) to
10218         the new mov targetting sp.
10219
10220 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10221
10222         [BZ #16683]
10223         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10224         Define it for static builds as well.
10225         (NO_BZERO_IMPL): Likewise.
10226
10227 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10228
10229         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10230         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10231         multiarch strspn for PPC64.
10232         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10233         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10235         (__libc_ifunc_impl_list): Likewise.
10236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10237         multiarch optimizations
10238         * string/strspn.c (strspn): Using macro to redefine symbol name.
10239
10240 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10241             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10242
10243         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10244         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10245         multiarch strncat for PPC64.
10246         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10247         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10249         (__libc_ifunc_impl_list): Likewise.
10250         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10251         multiarch optimizations
10252
10253 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10254
10255         [BZ #16639]
10256         * nscd/nscd.service: Make service type forking.
10257
10258 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10259
10260         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10261         sign in non default rounding modes.
10262         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10263
10264 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
10265
10266         * math/libm-test.inc (ALL_RM_TEST): New macro.
10267         (ceil_test): Use ALL_RM_TEST.
10268         (cimag_test): Likewise.
10269         (conj_test): Likewise.
10270         (copysign_test): Likewise.
10271         (cproj_test): Likewise.
10272         (creal_test): Likewise.
10273         (fabs_test): Likewise.
10274         (floor_test): Likewise.
10275         (fmax_test): Likewise.
10276         (fmin_test): Likewise.
10277         (fmod_test): Likewise.
10278         (fpclassify_test): Likewise.
10279         (frexp_test): Likewise.
10280         (ilogb_test): Likewise.
10281         (isfinite_test): Likewise.
10282         (finite_test): Likewise.
10283         (isgreater_test): Likewise.
10284         (isgreaterequal_test): Likewise.
10285         (isinf_test): Likewise.
10286         (isless_test): Likewise.
10287         (islessequal_test): Likewise.
10288         (islessgreater_test): Likewise.
10289         (isnan_test): Likewise.
10290         (isnormal_test): Likewise.
10291         (issignaling_test): Likewise.
10292         (isunordered_test): Likewise.
10293         (logb_test): Likewise.
10294         (logb_downward_test_data): Remove.
10295         (logb_test_downward): Likewise.
10296         (lround_test): Use ALL_RM_TEST.
10297         (llround_test): Likewise.
10298         (modf_test): Likewise.
10299         (nexttoward_test): Likewise.
10300         (remainder_test): Likewise.
10301         (drem_test): Likewise.
10302         (remainder_tonearest_test_data): Likewise.
10303         (remainder_test_tonearest): Likewise.
10304         (drem_test_tonearest): Likewise.
10305         (remainder_towardzero_test_data): Likewise.
10306         (remainder_test_towardzero): Likewise.
10307         (drem_test_towardzero): Likewise.
10308         (remainder_downward_test_data): Likewise.
10309         (remainder_test_downward): Likewise.
10310         (drem_test_downward): Likewise.
10311         (remainder_upward_test_data): Likewise.
10312         (remainder_test_upward): Likewise.
10313         (drem_test_upward): Likewise.
10314         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
10315         (round_test): Use ALL_RM_TEST.
10316         (signbit_test): Likewise.
10317         (trunc_test): Likewise.
10318         (significand_test): Likewise.
10319         (main): Don't call removed functions.
10320
10321 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10322
10323         [BZ #16674]
10324         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10325         || __USE_XOPEN2K8].
10326         (ILL_ILLOPN): Likewise.
10327         (ILL_ILLADR): Likewise.
10328         (ILL_ILLTRP): Likewise.
10329         (ILL_PRVOPC): Likewise.
10330         (ILL_PRVREG): Likewise.
10331         (ILL_COPROC): Likewise.
10332         (ILL_BADSTK): Likewise.
10333         (FPE_INTDIV): Likewise.
10334         (FPE_INTOVF): Likewise.
10335         (FPE_FLTDIV): Likewise.
10336         (FPE_FLTOVF): Likewise.
10337         (FPE_FLTUND): Likewise.
10338         (FPE_FLTRES): Likewise.
10339         (FPE_FLTINV): Likewise.
10340         (FPE_FLTSUB): Likewise.
10341         (SEGV_MAPERR): Likewise.
10342         (SEGV_ACCERR): Likewise.
10343         (BUS_ADRALN): Likewise.
10344         (BUS_ADRERR): Likewise.
10345         (BUS_OBJERR): Likewise.
10346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10347         (TRAP_TRACE): Likewise.
10348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10349         __USE_XOPEN2K8].
10350         (CLD_KILLED): Likewise.
10351         (CLD_DUMPED): Likewise.
10352         (CLD_TRAPPED): Likewise.
10353         (CLD_STOPPED): Likewise.
10354         (CLD_CONTINUED): Likewise.
10355         (POLL_IN): Likewise.
10356         (POLL_OUT): Likewise.
10357         (POLL_MSG): Likewise.
10358         (POLL_ERR): Likewise.
10359         (POLL_PRI): Likewise.
10360         (POLL_HUP): Likewise.
10361         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10362         Likewise.
10363         (ILL_ILLOPN): Likewise.
10364         (ILL_ILLADR): Likewise.
10365         (ILL_ILLTRP): Likewise.
10366         (ILL_PRVOPC): Likewise.
10367         (ILL_PRVREG): Likewise.
10368         (ILL_COPROC): Likewise.
10369         (ILL_BADSTK): Likewise.
10370         (FPE_INTDIV): Likewise.
10371         (FPE_INTOVF): Likewise.
10372         (FPE_FLTDIV): Likewise.
10373         (FPE_FLTOVF): Likewise.
10374         (FPE_FLTUND): Likewise.
10375         (FPE_FLTRES): Likewise.
10376         (FPE_FLTINV): Likewise.
10377         (FPE_FLTSUB): Likewise.
10378         (SEGV_MAPERR): Likewise.
10379         (SEGV_ACCERR): Likewise.
10380         (BUS_ADRALN): Likewise.
10381         (BUS_ADRERR): Likewise.
10382         (BUS_OBJERR): Likewise.
10383         (BUS_MCEERR_AR): Likewise.
10384         (BUS_MCEERR_AO): Likewise.
10385         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10386         (TRAP_TRACE): Likewise.
10387         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10388         __USE_XOPEN2K8].
10389         (CLD_KILLED): Likewise.
10390         (CLD_DUMPED): Likewise.
10391         (CLD_TRAPPED): Likewise.
10392         (CLD_STOPPED): Likewise.
10393         (CLD_CONTINUED): Likewise.
10394         (POLL_IN): Likewise.
10395         (POLL_OUT): Likewise.
10396         (POLL_MSG): Likewise.
10397         (POLL_ERR): Likewise.
10398         (POLL_PRI): Likewise.
10399         (POLL_HUP): Likewise.
10400         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10401         (ILL_ILLOPN): Likewise.
10402         (ILL_ILLADR): Likewise.
10403         (ILL_ILLTRP): Likewise.
10404         (ILL_PRVOPC): Likewise.
10405         (ILL_PRVREG): Likewise.
10406         (ILL_COPROC): Likewise.
10407         (ILL_BADSTK): Likewise.
10408         (FPE_INTDIV): Likewise.
10409         (FPE_INTOVF): Likewise.
10410         (FPE_FLTDIV): Likewise.
10411         (FPE_FLTOVF): Likewise.
10412         (FPE_FLTUND): Likewise.
10413         (FPE_FLTRES): Likewise.
10414         (FPE_FLTINV): Likewise.
10415         (FPE_FLTSUB): Likewise.
10416         (SEGV_MAPERR): Likewise.
10417         (SEGV_ACCERR): Likewise.
10418         (BUS_ADRALN): Likewise.
10419         (BUS_ADRERR): Likewise.
10420         (BUS_OBJERR): Likewise.
10421         (BUS_MCEERR_AR): Likewise.
10422         (BUS_MCEERR_AO): Likewise.
10423         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10424         (TRAP_TRACE): Likewise.
10425         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10426         __USE_XOPEN2K8].
10427         (CLD_KILLED): Likewise.
10428         (CLD_DUMPED): Likewise.
10429         (CLD_TRAPPED): Likewise.
10430         (CLD_STOPPED): Likewise.
10431         (CLD_CONTINUED): Likewise.
10432         (POLL_IN): Likewise.
10433         (POLL_OUT): Likewise.
10434         (POLL_MSG): Likewise.
10435         (POLL_ERR): Likewise.
10436         (POLL_PRI): Likewise.
10437         (POLL_HUP): Likewise.
10438         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10439         Likewise.
10440         (ILL_ILLOPN): Likewise.
10441         (ILL_ILLADR): Likewise.
10442         (ILL_ILLTRP): Likewise.
10443         (ILL_PRVOPC): Likewise.
10444         (ILL_PRVREG): Likewise.
10445         (ILL_COPROC): Likewise.
10446         (ILL_BADSTK): Likewise.
10447         (ILL_BADIADDR): Likewise.
10448         (ILL_BREAK): Likewise.
10449         (FPE_INTDIV): Likewise.
10450         (FPE_INTOVF): Likewise.
10451         (FPE_FLTDIV): Likewise.
10452         (FPE_FLTOVF): Likewise.
10453         (FPE_FLTUND): Likewise.
10454         (FPE_FLTRES): Likewise.
10455         (FPE_FLTINV): Likewise.
10456         (FPE_FLTSUB): Likewise.
10457         (FPE_DECOVF): Likewise.
10458         (FPE_DECDIV): Likewise.
10459         (FPE_DECERR): Likewise.
10460         (FPE_INVASC): Likewise.
10461         (FPE_INVDEC): Likewise.
10462         (SEGV_MAPERR): Likewise.
10463         (SEGV_ACCERR): Likewise.
10464         (SEGV_PSTKOVF): Likewise.
10465         (BUS_ADRALN): Likewise.
10466         (BUS_ADRERR): Likewise.
10467         (BUS_OBJERR): Likewise.
10468         (BUS_MCEERR_AR): Likewise.
10469         (BUS_MCEERR_AO): Likewise.
10470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10471         (TRAP_TRACE): Likewise.
10472         (TRAP_BRANCH): Likewise.
10473         (TRAP_HWBKPT): Likewise.
10474         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10475         __USE_XOPEN2K8].
10476         (CLD_KILLED): Likewise.
10477         (CLD_DUMPED): Likewise.
10478         (CLD_TRAPPED): Likewise.
10479         (CLD_STOPPED): Likewise.
10480         (CLD_CONTINUED): Likewise.
10481         (POLL_IN): Likewise.
10482         (POLL_OUT): Likewise.
10483         (POLL_MSG): Likewise.
10484         (POLL_ERR): Likewise.
10485         (POLL_PRI): Likewise.
10486         (POLL_HUP): Likewise.
10487         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10488         (ILL_ILLOPN): Likewise.
10489         (ILL_ILLADR): Likewise.
10490         (ILL_ILLTRP): Likewise.
10491         (ILL_PRVOPC): Likewise.
10492         (ILL_PRVREG): Likewise.
10493         (ILL_COPROC): Likewise.
10494         (ILL_BADSTK): Likewise.
10495         (FPE_INTDIV): Likewise.
10496         (FPE_INTOVF): Likewise.
10497         (FPE_FLTDIV): Likewise.
10498         (FPE_FLTOVF): Likewise.
10499         (FPE_FLTUND): Likewise.
10500         (FPE_FLTRES): Likewise.
10501         (FPE_FLTINV): Likewise.
10502         (FPE_FLTSUB): Likewise.
10503         (SEGV_MAPERR): Likewise.
10504         (SEGV_ACCERR): Likewise.
10505         (BUS_ADRALN): Likewise.
10506         (BUS_ADRERR): Likewise.
10507         (BUS_OBJERR): Likewise.
10508         (BUS_MCEERR_AR): Likewise.
10509         (BUS_MCEERR_AO): Likewise.
10510         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10511         (TRAP_TRACE): Likewise.
10512         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10513         __USE_XOPEN2K8].
10514         (CLD_KILLED): Likewise.
10515         (CLD_DUMPED): Likewise.
10516         (CLD_TRAPPED): Likewise.
10517         (CLD_STOPPED): Likewise.
10518         (CLD_CONTINUED): Likewise.
10519         (POLL_IN): Likewise.
10520         (POLL_OUT): Likewise.
10521         (POLL_MSG): Likewise.
10522         (POLL_ERR): Likewise.
10523         (POLL_PRI): Likewise.
10524         (POLL_HUP): Likewise.
10525         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10526         (ILL_ILLOPN): Likewise.
10527         (ILL_ILLADR): Likewise.
10528         (ILL_ILLTRP): Likewise.
10529         (ILL_PRVOPC): Likewise.
10530         (ILL_PRVREG): Likewise.
10531         (ILL_COPROC): Likewise.
10532         (ILL_BADSTK): Likewise.
10533         (FPE_INTDIV): Likewise.
10534         (FPE_INTOVF): Likewise.
10535         (FPE_FLTDIV): Likewise.
10536         (FPE_FLTOVF): Likewise.
10537         (FPE_FLTUND): Likewise.
10538         (FPE_FLTRES): Likewise.
10539         (FPE_FLTINV): Likewise.
10540         (FPE_FLTSUB): Likewise.
10541         (SEGV_MAPERR): Likewise.
10542         (SEGV_ACCERR): Likewise.
10543         (BUS_ADRALN): Likewise.
10544         (BUS_ADRERR): Likewise.
10545         (BUS_OBJERR): Likewise.
10546         (BUS_MCEERR_AR): Likewise.
10547         (BUS_MCEERR_AO): Likewise.
10548         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10549         (TRAP_TRACE): Likewise.
10550         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10551         __USE_XOPEN2K8].
10552         (CLD_KILLED): Likewise.
10553         (CLD_DUMPED): Likewise.
10554         (CLD_TRAPPED): Likewise.
10555         (CLD_STOPPED): Likewise.
10556         (CLD_CONTINUED): Likewise.
10557         (POLL_IN): Likewise.
10558         (POLL_OUT): Likewise.
10559         (POLL_MSG): Likewise.
10560         (POLL_ERR): Likewise.
10561         (POLL_PRI): Likewise.
10562         (POLL_HUP): Likewise.
10563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10564         (ILL_ILLOPN): Likewise.
10565         (ILL_ILLADR): Likewise.
10566         (ILL_ILLTRP): Likewise.
10567         (ILL_PRVOPC): Likewise.
10568         (ILL_PRVREG): Likewise.
10569         (ILL_COPROC): Likewise.
10570         (ILL_BADSTK): Likewise.
10571         (FPE_INTDIV): Likewise.
10572         (FPE_INTOVF): Likewise.
10573         (FPE_FLTDIV): Likewise.
10574         (FPE_FLTOVF): Likewise.
10575         (FPE_FLTUND): Likewise.
10576         (FPE_FLTRES): Likewise.
10577         (FPE_FLTINV): Likewise.
10578         (FPE_FLTSUB): Likewise.
10579         (SEGV_MAPERR): Likewise.
10580         (SEGV_ACCERR): Likewise.
10581         (BUS_ADRALN): Likewise.
10582         (BUS_ADRERR): Likewise.
10583         (BUS_OBJERR): Likewise.
10584         (BUS_MCEERR_AR): Likewise.
10585         (BUS_MCEERR_AO): Likewise.
10586         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10587         (TRAP_TRACE): Likewise.
10588         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10589         __USE_XOPEN2K8].
10590         (CLD_KILLED): Likewise.
10591         (CLD_DUMPED): Likewise.
10592         (CLD_TRAPPED): Likewise.
10593         (CLD_STOPPED): Likewise.
10594         (CLD_CONTINUED): Likewise.
10595         (POLL_IN): Likewise.
10596         (POLL_OUT): Likewise.
10597         (POLL_MSG): Likewise.
10598         (POLL_ERR): Likewise.
10599         (POLL_PRI): Likewise.
10600         (POLL_HUP): Likewise.
10601         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10602         (ILL_ILLOPN): Likewise.
10603         (ILL_ILLADR): Likewise.
10604         (ILL_ILLTRP): Likewise.
10605         (ILL_PRVOPC): Likewise.
10606         (ILL_PRVREG): Likewise.
10607         (ILL_COPROC): Likewise.
10608         (ILL_BADSTK): Likewise.
10609         (ILL_DBLFLT): Likewise.
10610         (ILL_HARDWALL): Likewise.
10611         (FPE_INTDIV): Likewise.
10612         (FPE_INTOVF): Likewise.
10613         (FPE_FLTDIV): Likewise.
10614         (FPE_FLTOVF): Likewise.
10615         (FPE_FLTUND): Likewise.
10616         (FPE_FLTRES): Likewise.
10617         (FPE_FLTINV): Likewise.
10618         (FPE_FLTSUB): Likewise.
10619         (SEGV_MAPERR): Likewise.
10620         (SEGV_ACCERR): Likewise.
10621         (BUS_ADRALN): Likewise.
10622         (BUS_ADRERR): Likewise.
10623         (BUS_OBJERR): Likewise.
10624         (BUS_MCEERR_AR): Likewise.
10625         (BUS_MCEERR_AO): Likewise.
10626         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10627         (TRAP_TRACE): Likewise.
10628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10629         __USE_XOPEN2K8].
10630         (CLD_KILLED): Likewise.
10631         (CLD_DUMPED): Likewise.
10632         (CLD_TRAPPED): Likewise.
10633         (CLD_STOPPED): Likewise.
10634         (CLD_CONTINUED): Likewise.
10635         (POLL_IN): Likewise.
10636         (POLL_OUT): Likewise.
10637         (POLL_MSG): Likewise.
10638         (POLL_ERR): Likewise.
10639         (POLL_PRI): Likewise.
10640         (POLL_HUP): Likewise.
10641         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10642         (ILL_ILLOPN): Likewise.
10643         (ILL_ILLADR): Likewise.
10644         (ILL_ILLTRP): Likewise.
10645         (ILL_PRVOPC): Likewise.
10646         (ILL_PRVREG): Likewise.
10647         (ILL_COPROC): Likewise.
10648         (ILL_BADSTK): Likewise.
10649         (FPE_INTDIV): Likewise.
10650         (FPE_INTOVF): Likewise.
10651         (FPE_FLTDIV): Likewise.
10652         (FPE_FLTOVF): Likewise.
10653         (FPE_FLTUND): Likewise.
10654         (FPE_FLTRES): Likewise.
10655         (FPE_FLTINV): Likewise.
10656         (FPE_FLTSUB): Likewise.
10657         (SEGV_MAPERR): Likewise.
10658         (SEGV_ACCERR): Likewise.
10659         (BUS_ADRALN): Likewise.
10660         (BUS_ADRERR): Likewise.
10661         (BUS_OBJERR): Likewise.
10662         (BUS_MCEERR_AR): Likewise.
10663         (BUS_MCEERR_AO): Likewise.
10664         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10665         (TRAP_TRACE): Likewise.
10666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10667         __USE_XOPEN2K8].
10668         (CLD_KILLED): Likewise.
10669         (CLD_DUMPED): Likewise.
10670         (CLD_TRAPPED): Likewise.
10671         (CLD_STOPPED): Likewise.
10672         (CLD_CONTINUED): Likewise.
10673         (POLL_IN): Likewise.
10674         (POLL_OUT): Likewise.
10675         (POLL_MSG): Likewise.
10676         (POLL_ERR): Likewise.
10677         (POLL_PRI): Likewise.
10678         (POLL_HUP): Likewise.
10679         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10680         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10681
10682         [BZ #16670]
10683         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10684         before #include of <time.h>.
10685         [!__USE_XOPEN2K] (__need_timespec): Likewise.
10686         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10687         (test-xfail-UNIX98/sched.h/conform): Likewise.
10688
10689 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10690
10691         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10692         error absence of trapping exception support.
10693         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10694
10695 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
10696
10697         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10698         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10699         * timezone/Makefile (testdata): Move definition above include of
10700         Rules.
10701         (test-zones): New variable.
10702         (tests-special): Add zone files.
10703         (build-testdata): Use $(evaluate-test).
10704
10705         * elf/Makefile (tests-special): Rename tests to end with .out.
10706         ($(objpfx)noload-mem): Likewise.
10707         ($(objpfx)tst-leaks1-mem): Likewise.
10708         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10709         * iconv/Makefile (xtests-special): Change test-iconvconfig to
10710         $(objpfx)test-iconvconfig.out.
10711         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
10712         set -e inside subshell and redirect output to file.
10713         * iconvdata/Makefile (generated): Rename tests to end with .out.
10714         Correct type.
10715         (tests-special): Rename tests to end with .out.
10716         ($(objpfx)mtrace-tst-loading): Likewise.
10717         * intl/Makefile (generated): Likewise.
10718         (tests-special): Likewise.
10719         ($(objpfx)mtrace-tst-gettext): Likewise.
10720         * misc/Makefile (generated): Likewise.
10721         (tests-special): Likewise.
10722         ($(objpfx)tst-error1-mem): Likewise.
10723         * nptl/Makefile (tests-special): Likewise.
10724         ($(objpfx)tst-stack3-mem): Likewise.
10725         (generated): Likewise.
10726         * posix/Makefile (generated): Likewise.
10727         (tests-special): Likewise.
10728         (xtests-special): Likewise.
10729         ($(objpfx)tst-fnmatch-mem): Likewise.
10730         ($(objpfx)bug-regex2-mem): Likewise.
10731         ($(objpfx)bug-regex14-mem): Likewise.
10732         ($(objpfx)bug-regex21-mem): Likewise.
10733         ($(objpfx)bug-regex31-mem): Likewise.
10734         ($(objpfx)tst-vfork3-mem): Likewise.
10735         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10736         ($(objpfx)tst-pcre-mem): Likewise.
10737         ($(objpfx)tst-boost-mem): Likewise.
10738         ($(objpfx)bug-ga2-mem): Likewise.
10739         ($(objpfx)bug-glob2-mem): Likewise.
10740         * resolv/Makefile (generate): Likewise.
10741         (tests-special): Likewise.
10742         (xtests-special): Likewise.
10743         (generated): Likewise.
10744         ($(objpfx)mtrace-tst-leaks): Likewise.
10745         ($(objpfx)mtrace-tst-leaks2): Likewise.
10746
10747         * scripts/merge-test-results.sh: New file.
10748         * Makefile (tests-special-notdir): New variable.
10749         (tests): Run merge-test-results.sh.
10750         (xtests): Likewise.
10751         * Rules (tests-special-notdir): New variable.
10752         (xtests-special-notdir): Likewise.
10753         (tests): Run merge-test-results.sh
10754         (xtests): Likewise.
10755
10756         * Makeconfig (test-xfail-name): New variable.
10757         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10758         compute variable name for expected failures.
10759         * conform/Makefile (conformtest-headers-data): New variable.
10760         (conformtest-standards): Likewise.
10761         (conformtest-headers-ISO): Likewise.
10762         (conformtest-headers-ISO99): Likewise.
10763         (conformtest-headers-ISO11): Likewise.
10764         (conformtest-headers-POSIX): Likewise.
10765         (conformtest-headers-XPG3): Likewise.
10766         (conformtest-headers-XPG4): Likewise.
10767         (conformtest-headers-UNIX98): Likewise.
10768         (conformtest-headers-XOPEN2K): Likewise.
10769         (conformtest-headers-POSIX2008): Likewise.
10770         (conformtest-headers-XOPEN2K8): Likewise.
10771         (conformtest-header-list-base): Likewise.
10772         (conformtest-header-list-tests): Likewise.
10773         (conformtest-header-base): Likewise.
10774         (conformtest-header-tests): Likewise.
10775         (tests-special): Add $(conformtest-header-list-tests).  If
10776         [$(fast-check) && !$(cross-compiling)], add
10777         $(conformtest-header-tests) instead of
10778         $(objpfx)run-conformtest.out.
10779         (generated): Add $(conformtest-header-list-base).  If
10780         [$(fast-check) && !$(cross-compiling)], add
10781         $(conformtest-header-base).  Remove previous setting.
10782         ($(conformtest-header-list-tests)): New target.
10783         (test-xfail-run-conformtest): Remove variable.
10784         ($(objpfx)run-conformtest.out): Remove target.
10785         (test-xfail-ISO11/complex.h/conform): New variable.
10786         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10787         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10788         (test-xfail-XPG3/varargs.h/conform): Likewise.
10789         (test-xfail-XPG4/varargs.h/conform): Likewise.
10790         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10791         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10792         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10793         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10794         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10795         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10796         (test-xfail-XPG3/ftw.h/conform): Likewise.
10797         (test-xfail-XPG3/grp.h/conform): Likewise.
10798         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10799         (test-xfail-XPG3/limits.h/conform): Likewise.
10800         (test-xfail-XPG3/pwd.h/conform): Likewise.
10801         (test-xfail-XPG3/search.h/conform): Likewise.
10802         (test-xfail-XPG3/signal.h/conform): Likewise.
10803         (test-xfail-XPG3/stdio.h/conform): Likewise.
10804         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10805         (test-xfail-XPG3/string.h/conform): Likewise.
10806         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10807         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10808         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10809         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10810         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10811         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10812         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10813         (test-xfail-XPG3/termios.h/conform): Likewise.
10814         (test-xfail-XPG3/time.h/conform): Likewise.
10815         (test-xfail-XPG3/unistd.h/conform): Likewise.
10816         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10817         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10818         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10819         (test-xfail-XPG4/netdb.h/conform): Likewise.
10820         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10821         (test-xfail-XPG4/signal.h/conform): Likewise.
10822         (test-xfail-XPG4/stdio.h/conform): Likewise.
10823         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10824         (test-xfail-XPG4/stropts.h/conform): Likewise.
10825         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10826         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10827         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10828         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10829         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10830         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10831         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10832         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10833         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10834         (test-xfail-XPG4/termios.h/conform): Likewise.
10835         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10836         (test-xfail-XPG4/unistd.h/conform): Likewise.
10837         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10838         (test-xfail-POSIX/sched.h/conform): Likewise.
10839         (test-xfail-POSIX/signal.h/conform): Likewise.
10840         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10841         (test-xfail-POSIX/tar.h/conform): Likewise.
10842         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10843         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10844         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10845         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10846         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10847         (test-xfail-UNIX98/sched.h/conform): Likewise.
10848         (test-xfail-UNIX98/signal.h/conform): Likewise.
10849         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10850         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10851         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10852         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10853         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10854         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10855         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10856         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10857         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10858         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10859         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10860         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10861         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10862         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10863         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10864         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10865         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10866         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10867         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10868         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10869         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10870         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10871         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10872         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10873         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10874         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10875         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10876         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10877         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10878         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10879         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10880         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10881         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10882         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10883         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10884         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10885         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10886         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10887         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10888         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10889         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10890         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10891         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10892         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10893         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10894         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10895         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10896         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10897         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10898         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10899         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10900         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10901         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10902         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10903         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10904         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10905         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10906         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10907         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10908         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10909         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10910         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10911         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10912         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10913         (conformtest-cc-flags): Likewise.
10914         ($(conformtest-header-tests): New target.
10915         * conform/check-header-lists.sh: New file.
10916         * conform/run-conformtest.sh: Remove.
10917
10918         * conform/conformtest.pl: Allow ' and \ in values given for
10919         constants.
10920         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10921         inclusion.
10922         [POSIX] (sys/types.h): Likewise.
10923         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10924         inclusion.
10925         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10926         inclusion.
10927         * conform/data/signal.h-data (SIGIO): Remove expectation.
10928         [XPG3] (SIGBUS): Do not expect.
10929         [POSIX || XPG3] (SIGPOLL): Likewise.
10930         [POSIX || XPG3] (SIGPROF): Likewise.
10931         [POSIX || XPG3] (SIGSYS): Likewise.
10932         [XPG3] (SIGTRAP): Likewise.
10933         [POSIX || XPG3] (SIGURG): Likewise.
10934         [POSIX || XPG3] (SIGVTALRM): Likewise.
10935         [POSIX || XPG3] (SIGXCPU): Likewise.
10936         [POSIX || XPG3] (SIGXFSZ): Likewise.
10937         [POSIX] (SA_SIGINFO): Expect.
10938         [XPG3] (siginfo_t): Do not expect type or contents.
10939         [POSIX] (si_pid): Do not expect element.
10940         [POSIX] (si_uid): Likewise.
10941         [POSIX] (si_addr): Likewise.
10942         [POSIX] (si_status): Likewise.
10943         [POSIX] (si_band): Likewise.
10944         [XPG4] (si_value): Likewise.
10945         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10946         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10947         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10948         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10949         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10950         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10951         [POSIX || XPG3] (ILL_COPROC): Likewise.
10952         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10953         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10954         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10955         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10956         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10957         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10958         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10959         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10960         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10961         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10962         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10963         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10964         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10965         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10966         [POSIX || XPG3] (CLD_EXITED): Likewise.
10967         [POSIX || XPG3] (CLD_KILLED): Likewise.
10968         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10969         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10970         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10971         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10972         [POSIX || XPG3] (POLL_IN): Likewise.
10973         [POSIX || XPG3] (POLL_OUT): Likewise.
10974         [POSIX || XPG3] (POLL_MSG): Likewise.
10975         [POSIX || XPG3] (POLL_ERR): Likewise.
10976         [POSIX || XPG3] (POLL_PRI): Likewise.
10977         [POSIX || XPG3] (POLL_HUP): Likewise.
10978         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10979         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10980         (SIG*): Do not allow.
10981         [XPG3] (si_*): Likewise.
10982         [XPG3] (SI_*): Likewise.
10983         [XPG3 || XPG4] (sigev_*): Likewise.
10984         [XPG3 || XPG4] (SIGEV_*): Likewise.
10985         [XPG3 || XPG4] (sival_*): Likewise.
10986         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10987         [POSIX || XPG3] (BUS_*): Likewise.
10988         [POSIX || XPG3] (CLD_*): Likewise.
10989         [POSIX || XPG3] (FPE_*): Likewise.
10990         [POSIX || XPG3] (ILL_*): Likewise.
10991         [POSIX || XPG3] (POLL_*): Likewise.
10992         [POSIX || XPG3] (SEGV_*): Likewise.
10993         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10994         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10995         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10996         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10997         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10998         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10999         Specify type and value.
11000         (TVERSLEN): Likewise.
11001         (REGTYPE): Likewise.
11002         (AREGTYPE): Likewise.
11003         (LNKTYPE): Likewise.
11004         (SYMTYPE): Likewise.
11005         (CHRTYPE): Likewise.
11006         (BLKTYPE): Likewise.
11007         (DIRTYPE): Likewise.
11008         (FIFOTYPE): Likewise.
11009         (CONTTYPE): Likewise.
11010         (TSUID): Likewise.
11011         (TSGID): Likewise.
11012         (TSVTX): Likewise.
11013         (TUREAD): Likewise.
11014         (TUWRITE): Likewise.
11015         (TUEXEC): Likewise.
11016         (TGREAD): Likewise.
11017         (TGWRITE): Likewise.
11018         (TGEXEC): Likewise.
11019         (TOREAD): Likewise.
11020         (TOWRITE): Likewise.
11021         (TOEXEC): Likewise.
11022         [POSIX] (TSVTX): Expect constant.
11023
11024 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
11025
11026         * Makefile (tests): Change dependencies to ....
11027         (tests-special): ... additions to this variable.
11028         (tests): Depend on $(tests-special).
11029         * Makerules (check-abi-list): New variable.
11030         (check-abi): Depend on $(check-abi-list).
11031         [$(subdir) = elf] (tests-special): Add
11032         $(objpfx)check-abi-libc.out.
11033         [$(build-shared) = yes && subdir] (tests-special): Add
11034         $(check-abi-list).
11035         [$(build-shared) = yes && subdir] (tests): Do not depend on
11036         check-abi.
11037         * Rules (tests): Depend on $(tests-special).
11038         (xtests): Depend on $(xtests-special).
11039         * catgets/Makefile (tests): Change dependencies to ....
11040         (tests-special): ... additions to this variable.
11041         * conform/Makefile (tests): Change dependencies to ....
11042         (tests-special): ... additions to this variable.
11043         * elf/Makefile (tests): Change dependencies to ....
11044         (tests-special): ... additions to this variable.
11045         * grp/Makefile (tests): Change dependencies to ....
11046         (tests-special): ... additions to this variable.
11047         * iconv/Makefile (xtests): Change dependencies to ....
11048         (xtests-special): ... additions to this variable.
11049         * iconvdata/Makefile (tests): Change dependencies to ....
11050         (tests-special): ... additions to this variable.
11051         * intl/Makefile (tests): Change dependencies to ....
11052         (tests-special): ... additions to this variable.  Also add
11053         $(objpfx)tst-gettext.out.
11054         * io/Makefile (tests): Change dependencies to ....
11055         (tests-special): ... additions to this variable.
11056         * libio/Makefile (tests): Change dependencies to ....
11057         (tests-special): ... additions to this variable.
11058         * malloc/Makefile (tests): Change dependencies to ....
11059         (tests-special): ... additions to this variable.
11060         * misc/Makefile (tests): Change dependencies to ....
11061         (tests-special): ... additions to this variable.
11062         * nptl/Makefile (tests): Change dependencies to ....
11063         (tests-special): ... additions to this variable.
11064         * nptl_db/Makefile (tests): Change dependencies to ....
11065         (tests-special): ... additions to this variable.
11066         * posix/Makefile (tests): Change dependencies to ....
11067         (tests-special): ... additions to this variable.
11068         (xtests): Change dependencies to ....
11069         (xtests-special): ... additions to this variable.
11070         * resolv/Makefile (tests): Change dependencies to ....
11071         (tests-special): ... additions to this variable.
11072         (xtests): Change dependencies to ....
11073         (xtests-special): ... additions to this variable.
11074         * stdio-common/Makefile (tests): Change dependencies to ....
11075         (tests-special): ... additions to this variable.
11076         (do-tst-unbputc): Remove target.
11077         (do-tst-printf): Likewise.
11078         * stdlib/Makefile (tests): Change dependencies to ....
11079         (tests-special): ... additions to this variable.
11080         * string/Makefile (tests): Change dependencies to ....
11081         (tests-special): ... additions to this variable.
11082         * sysdeps/x86/Makefile (tests): Change dependencies to ....
11083         (tests-special): ... additions to this variable.
11084
11085         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11086         whole file.
11087         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11088         whole file.
11089         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11090         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11091
11092         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11093         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11094         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11095         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11096         * conform/data/libgen.h-data [XPG3]: Likewise.
11097         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11098         * conform/data/ndbm.h-data [XPG3]: Likewise.
11099         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11100         * conform/data/netdb.h-data [XPG3]: Likewise.
11101         * conform/data/netinet/in.h-data [XPG3]: Likewise.
11102         * conform/data/poll.h-data [XPG3]: Likewise.
11103         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11104         * conform/data/strings.h-data [XPG3]: Likewise.
11105         * conform/data/stropts.h-data [XPG3]: Likewise.
11106         * conform/data/sys/mman.h-data [XPG3]: Likewise.
11107         * conform/data/sys/resource.h-data [XPG3]: Likewise.
11108         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11109         Likewise.
11110         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11111         * conform/data/sys/time.h-data [XPG3]: Likewise.
11112         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11113         * conform/data/sys/uio.h-data [XPG3]: Likewise.
11114         * conform/data/sys/un.h-data [XPG3]: Likewise.
11115         * conform/data/syslog.h-data [XPG3]: Likewise.
11116         * conform/data/ucontext.h-data [XPG3]: Likewise.
11117         * conform/data/utmpx.h-data [XPG3]: Likewise.
11118         * conform/data/varargs.h-data [UNIX98]: Enable file.
11119
11120         * manual/Makefile (INSTALL_INFO): Remove variable setting.
11121
11122         * math/libm-test.inc (struct test_f_f_data): Move expected results
11123         into structure for each rounding mode.
11124         (struct test_ff_f_data): Likewise.
11125         (struct test_ff_f_data_nexttoward): Likewise.
11126         (struct test_fi_f_data): Likewise.
11127         (struct test_fl_f_data): Likewise.
11128         (struct test_if_f_data): Likewise.
11129         (struct test_fff_f_data): Likewise.
11130         (struct test_c_f_data): Likewise.
11131         (struct test_f_f1_data): Likewise.
11132         (struct test_fF_f1_data): Likewise.
11133         (struct test_ffI_f1_data): Likewise.
11134         (struct test_c_c_data): Likewise.
11135         (struct test_cc_c_data): Likewise.
11136         (struct test_f_i_data): Likewise.
11137         (struct test_ff_i_data): Likewise.
11138         (struct test_f_l_data): Likewise.
11139         (struct test_f_L_data): Likewise.
11140         (struct test_fFF_11_data): Likewise.
11141         (RM_): New macro.
11142         (RM_FE_DOWNWARD): Likewise.
11143         (RM_FE_TONEAREST): Likewise.
11144         (RM_FE_TOWARDZERO): Likewise.
11145         (RM_FE_UPWARD): Likewise.
11146         (RUN_TEST_LOOP_f_f): Update references to expected results.
11147         (RUN_TEST_LOOP_2_f): Likewise.
11148         (RUN_TEST_LOOP_fff_f): Likewise.
11149         (RUN_TEST_LOOP_c_f): Likewise.
11150         (RUN_TEST_LOOP_f_f1): Likewise.
11151         (RUN_TEST_LOOP_fF_f1): Likewise.
11152         (RUN_TEST_LOOP_fI_f1): Likewise.
11153         (RUN_TEST_LOOP_ffI_f1): Likewise.
11154         (RUN_TEST_LOOP_c_c): Likewise.
11155         (RUN_TEST_LOOP_cc_c): Likewise.
11156         (RUN_TEST_LOOP_f_i): Likewise.
11157         (RUN_TEST_LOOP_f_i_tg): Likewise.
11158         (RUN_TEST_LOOP_ff_i_tg): Likewise.
11159         (RUN_TEST_LOOP_f_b): Likewise.
11160         (RUN_TEST_LOOP_f_b_tg): Likewise.
11161         (RUN_TEST_LOOP_f_l): Likewise.
11162         (RUN_TEST_LOOP_f_L): Likewise.
11163         (RUN_TEST_LOOP_fFF_11): Likewise.
11164         * math/gen-libm-test.pl (parse_args): Output four copies of
11165         expected results for each test.
11166
11167         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11168         (__ASSUME_UTIMES): Remove.
11169         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11170         (__ASSUME_UTIMES): Likewise.
11171
11172         * math/gen-auto-libm-tests.c: Update comment on output format.
11173         (output_for_one_input_case): Generate before-rounding and
11174         after-rounding information as conditions on output flags not
11175         floating-point format.
11176         * math/auto-libm-test-out: Regenerated.
11177         * math/gen-libm-test.pl (cond_value): New function.
11178         (or_cond_value): Use cond_value.
11179         (generate_testfile): Handle conditional exceptions.
11180
11181 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
11182
11183         * math/libm-test.inc (max_valid_error): New variable.
11184         (init_max_error): Take new argument specifying whether function
11185         results are exactly determined.  Set max_valid_error and bound
11186         other variables for errors based on this argument.
11187         (set_max_error): Do not record results above max_valid_error.
11188         (check_float_internal): Only accept errors of up to 0.5ulps if
11189         also at most max_valid_error.
11190         (START): Take new argument EXACT and pass it to init_max_error.
11191         (acos_test): Update call to START.
11192         (acos_test_tonearest): Likewise.
11193         (acos_test_towardzero): Likewise.
11194         (acos_test_downward): Likewise.
11195         (acos_test_upward): Likewise.
11196         (acosh_test): Likewise.
11197         (asin_test): Likewise.
11198         (asin_test_tonearest): Likewise.
11199         (asin_test_towardzero): Likewise.
11200         (asin_test_downward): Likewise.
11201         (asin_test_upward): Likewise.
11202         (asinh_test): Likewise.
11203         (atan_test): Likewise.
11204         (atanh_test): Likewise.
11205         (atan2_test): Likewise.
11206         (cabs_test): Likewise.
11207         (cacos_test): Likewise.
11208         (cacosh_test): Likewise.
11209         (carg_test): Likewise.
11210         (casin_test): Likewise.
11211         (casinh_test): Likewise.
11212         (catan_test): Likewise.
11213         (catanh_test): Likewise.
11214         (cbrt_test): Likewise.
11215         (ccos_test): Likewise.
11216         (ccosh_test): Likewise.
11217         (ceil_test): Likewise.
11218         (cexp_test): Likewise.
11219         (cimag_test): Likewise.
11220         (clog_test): Likewise.
11221         (clog10_test): Likewise.
11222         (conj_test): Likewise.
11223         (copysign_test): Likewise.
11224         (cos_test): Likewise.
11225         (cos_test_tonearest): Likewise.
11226         (cos_test_towardzero): Likewise.
11227         (cos_test_downward): Likewise.
11228         (cos_test_upward): Likewise.
11229         (cosh_test): Likewise.
11230         (cosh_test_tonearest): Likewise.
11231         (cosh_test_towardzero): Likewise.
11232         (cosh_test_downward): Likewise.
11233         (cosh_test_upward): Likewise.
11234         (cpow_test): Likewise.
11235         (cproj_test): Likewise.
11236         (creal_test): Likewise.
11237         (csin_test): Likewise.
11238         (csinh_test): Likewise.
11239         (csqrt_test): Likewise.
11240         (ctan_test): Likewise.
11241         (ctan_test_tonearest): Likewise.
11242         (ctan_test_towardzero): Likewise.
11243         (ctan_test_downward): Likewise.
11244         (ctan_test_upward): Likewise.
11245         (ctanh_test): Likewise.
11246         (ctanh_test_tonearest): Likewise.
11247         (ctanh_test_towardzero): Likewise.
11248         (ctanh_test_downward): Likewise.
11249         (ctanh_test_upward): Likewise.
11250         (erf_test): Likewise.
11251         (erfc_test): Likewise.
11252         (exp_test): Likewise.
11253         (exp_test_tonearest): Likewise.
11254         (exp_test_towardzero): Likewise.
11255         (exp_test_downward): Likewise.
11256         (exp_test_upward): Likewise.
11257         (exp10_test): Likewise.
11258         (exp10_test_tonearest): Likewise.
11259         (exp10_test_towardzero): Likewise.
11260         (exp10_test_downward): Likewise.
11261         (exp10_test_upward): Likewise.
11262         (pow10_test): Likewise.
11263         (exp2_test): Likewise.
11264         (expm1_test): Likewise.
11265         (expm1_test_tonearest): Likewise.
11266         (expm1_test_towardzero): Likewise.
11267         (expm1_test_downward): Likewise.
11268         (expm1_test_upward): Likewise.
11269         (fabs_test): Likewise.
11270         (fdim_test): Likewise.
11271         (floor_test): Likewise.
11272         (fma_test): Likewise.
11273         (fma_test_towardzero): Likewise.
11274         (fma_test_downward): Likewise.
11275         (fma_test_upward): Likewise.
11276         (fmax_test): Likewise.
11277         (fmin_test): Likewise.
11278         (fmod_test): Likewise.
11279         (fpclassify_test): Likewise.
11280         (frexp_test): Likewise.
11281         (hypot_test): Likewise.
11282         (ilogb_test): Likewise.
11283         (isfinite_test): Likewise.
11284         (finite_test): Likewise.
11285         (isgreater_test): Likewise.
11286         (isgreaterequal_test): Likewise.
11287         (isinf_test): Likewise.
11288         (isless_test): Likewise.
11289         (islessequal_test): Likewise.
11290         (islessgreater_test): Likewise.
11291         (isnan_test): Likewise.
11292         (isnormal_test): Likewise.
11293         (issignaling_test): Likewise.
11294         (isunordered_test): Likewise.
11295         (j0_test): Likewise.
11296         (j1_test): Likewise.
11297         (jn_test): Likewise.
11298         (ldexp_test): Likewise.
11299         (lgamma_test): Likewise.
11300         (gamma_test): Likewise.
11301         (lrint_test): Likewise.
11302         (lrint_test_tonearest): Likewise.
11303         (lrint_test_towardzero): Likewise.
11304         (lrint_test_downward): Likewise.
11305         (lrint_test_upward): Likewise.
11306         (llrint_test): Likewise.
11307         (llrint_test_tonearest): Likewise.
11308         (llrint_test_towardzero): Likewise.
11309         (llrint_test_downward): Likewise.
11310         (llrint_test_upward): Likewise.
11311         (log_test): Likewise.
11312         (log10_test): Likewise.
11313         (log1p_test): Likewise.
11314         (log2_test): Likewise.
11315         (logb_test): Likewise.
11316         (logb_test_downward): Likewise.
11317         (lround_test): Likewise.
11318         (llround_test): Likewise.
11319         (modf_test): Likewise.
11320         (nearbyint_test): Likewise.
11321         (nextafter_test): Likewise.
11322         (nexttoward_test): Likewise.
11323         (pow_test): Likewise.
11324         (pow_test_tonearest): Likewise.
11325         (pow_test_towardzero): Likewise.
11326         (pow_test_downward): Likewise.
11327         (pow_test_upward): Likewise.
11328         (remainder_test): Likewise.
11329         (drem_test): Likewise.
11330         (remainder_test_tonearest): Likewise.
11331         (drem_test_tonearest): Likewise.
11332         (remainder_test_towardzero): Likewise.
11333         (drem_test_towardzero): Likewise.
11334         (remainder_test_downward): Likewise.
11335         (drem_test_downward): Likewise.
11336         (remainder_test_upward): Likewise.
11337         (drem_test_upward): Likewise.
11338         (remquo_test): Likewise.
11339         (rint_test): Likewise.
11340         (rint_test_tonearest): Likewise.
11341         (rint_test_towardzero): Likewise.
11342         (rint_test_downward): Likewise.
11343         (rint_test_upward): Likewise.
11344         (round_test): Likewise.
11345         (scalb_test): Likewise.
11346         (scalbn_test): Likewise.
11347         (scalbln_test): Likewise.
11348         (signbit_test): Likewise.
11349         (sin_test): Likewise.
11350         (sin_test_tonearest): Likewise.
11351         (sin_test_towardzero): Likewise.
11352         (sin_test_downward): Likewise.
11353         (sin_test_upward): Likewise.
11354         (sincos_test): Likewise.
11355         (sinh_test): Likewise.
11356         (sinh_test_tonearest): Likewise.
11357         (sinh_test_towardzero): Likewise.
11358         (sinh_test_downward): Likewise.
11359         (sinh_test_upward): Likewise.
11360         (sqrt_test): Likewise.
11361         (sqrt_test_tonearest): Likewise.
11362         (sqrt_test_towardzero): Likewise.
11363         (sqrt_test_downward): Likewise.
11364         (sqrt_test_upward): Likewise.
11365         (tan_test): Likewise.
11366         (tan_test_tonearest): Likewise.
11367         (tan_test_towardzero): Likewise.
11368         (tan_test_downward): Likewise.
11369         (tan_test_upward): Likewise.
11370         (tanh_test): Likewise.
11371         (tgamma_test): Likewise.
11372         (trunc_test): Likewise.
11373         (y0_test): Likewise.
11374         (y1_test): Likewise.
11375         (yn_test): Likewise.
11376         (significand_test): Likewise.
11377
11378         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11379         individual tests in comment.
11380         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11381         (prev_max_error): New variable.
11382         (prev_real_max_error): Likewise.
11383         (prev_imag_max_error): Likewise.
11384         (compare_ulp_data): Don't refer to test names in comment.
11385         (find_test_ulps): Remove function.
11386         (find_function_ulps): Likewise.
11387         (find_complex_function_ulps): Likewise.
11388         (init_max_error): Take function name as argument.  Look up ulps
11389         for that function.
11390         (print_ulps): Remove function.
11391         (print_max_error): Use prev_max_error instead of calling
11392         find_function_ulps.
11393         (print_complex_max_error): Use prev_real_max_error and
11394         prev_imag_max_error instead of calling find_complex_function_ulps.
11395         (check_float_internal): Take max_ulp parameter instead of calling
11396         find_test_ulps.  Don't call print_ulps.
11397         (check_float): Update call to check_float_internal.
11398         (check_complex): Update calls to check_float_internal.
11399         (START): Pass argument to init_max_error.
11400         * math/gen-libm-test.pl (%results): Don't include "kind"
11401         information.
11402         (parse_ulps): Don't handle ulps of individual tests.
11403         (print_ulps_file): Likewise.
11404         (output_ulps): Likewise.
11405         * math/README.libm-test: Update.
11406         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11407         individual tests.
11408         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11409         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11410         * sysdeps/arm/libm-test-ulps: Likewise.
11411         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11412         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11413         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11414         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11415         * sysdeps/microblaze/libm-test-ulps: Likewise.
11416         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11417         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11418         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11419         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11420         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11421         * sysdeps/sh/libm-test-ulps: Likewise.
11422         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11423         * sysdeps/tile/libm-test-ulps: Likewise.
11424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11425
11426 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
11427
11428         * math/libm-test.inc (print_complex_max_error): Check separately
11429         whether real and imaginary errors are within allowed range and
11430         pass 0 to print_complex_function_ulps instead of value within
11431         allowed range.
11432
11433 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11434
11435         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11436         formatting.
11437         (get_handles_fopen): Likewise.
11438         (do_write_test): Likewise.
11439
11440         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11441
11442         * libio/fileops.c (do_ftell): Use cached offset when
11443         available.
11444         * libio/iofwide.c (do_ftell_wide): Likewise.
11445         * libio/iofdopen.c (_IO_new_fdopen): Don't use
11446         _IO_file_attach.
11447         * libio/wfileops.c (_IO_fwide): Don't cache offset.
11448
11449         [BZ #16532]
11450         * libio/libioP.h (get_file_offset): New function.
11451         * libio/fileops.c (get_file_offset): Likewise.
11452         (do_ftell): Likewise.
11453         (_IO_new_file_seekoff): Split out ftell logic.
11454         * libio/wfileops.c (do_ftell_wide): Likewise.
11455         (_IO_wfile_seekoff): Split out ftell logic.
11456         * libio/tst-ftell-active-handler.c: New test case.
11457         * libio/Makefile (tests): Add it.
11458
11459 2014-03-03  Roland McGrath  <roland@hack.frob.com>
11460
11461         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11462         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11463
11464 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11465
11466         [BZ #16639]
11467         * nscd/connections.c (nscd_init): Call do_exit.
11468         (start_threads): Call do_exit and notify_parent.
11469         (begin_drop_privileges): Call do_exit.
11470         (finish_drop_privileges): Likewise.
11471         * nscd/selinux.c (preserve_capabilities): Likewise.
11472         (install_real_capabilities): Likewise.
11473         (nscd_selinux_enabled): Likewise.
11474         (avc_create_thread): Likewise.
11475         (avc_alloc_lock): Likewise.
11476         (nscd_avc_init): Likewise.
11477         * nscd/nscd.c (parent_fd): New static variable.
11478         (main): Create a pipe between parent and child processes.
11479         Skip closing parent_fd.
11480         (monitor_child): New function.
11481         (do_exit): Likewise.
11482         (notify_parent): Likewise.
11483         * nscd/nscd.h (notify_parent): Likewise.
11484         (do_exit): Likewise.
11485
11486 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
11487
11488         * malloc/malloc.c (__libc_calloc): Revert last change.
11489
11490 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11491
11492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11493
11494 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11495
11496         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11498         implementation.
11499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11500         (__libc_ifunc_impl_list): Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11502         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11503         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11504         * string/strrchr.c: Define STRRCHR.
11505
11506 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
11507
11508         * benchtest/bench-strtok.c (simple_strtok): Delete.
11509         (strtok_string): Use as benchmark.
11510         * string/strtok (STRTOK): New macro.
11511
11512 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
11513
11514         * manual/threads.texi: Add header and standard comments to all
11515         functions.
11516
11517         * elf/dl-lookup.c (check_match): New function.
11518         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11519         (do_lookup_x): Remove nested function check_match. Use non-nested
11520         function check_match.
11521
11522 2014-02-28  Roland McGrath  <roland@hack.frob.com>
11523
11524         * csu/Makefile (generated, before-compile): Use += rather than =.
11525         * catgets/Makefile (generated, generated-dirs): Likewise.
11526         * debug/Makefile (generated): Likewise.
11527         * dlfcn/Makefile (generated): Likewise.
11528         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11529         * iconvdata/Makefile (before-compile, generated): Likewise.
11530         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11531         * libio/Makefile (generated): Likewise.
11532         * malloc/Makefile (generated): Likewise.
11533         * manual/Makefile (generated, generated-dirs): Likewise.
11534         * misc/Makefile (generated): Likewise.
11535         * posix/Makefile (generated): Likewise.
11536         * resolv/Makefile (generated): Likewise.
11537         * sunrpc/Makefile (generated, generated-dirs): Likewise.
11538         * timezone/Makefile (generated, generated-dirs): Likewise.
11539
11540         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11541
11542 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11543
11544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11545         power8 implementation.
11546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11547         file: POWER8 llround ifunc implementation.
11548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11549         (__lllround): Add POWER8 implementation.
11550         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11551         POWER8 llround implementation.
11552
11553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11554         power8 implementation.
11555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11556         file: POWER8 llrint ifunc implementation.
11557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11558         Add POWER8 implementation.
11559         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11560         POWER8 llrint implementation.
11561
11562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11563         power8 implementation.
11564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11565         file: POWER8 finite ifunc implementation.
11566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11567         Add POWER8 implementation.
11568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11569         Likewise.
11570         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11571         POWER8 finite implementation.
11572         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11573
11574         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11575         power8 implementation.
11576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11577         file: POWER8 isinf ifunc implementation.
11578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11579         POWER8 implementation.
11580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11581         Likewise.
11582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11583         isinf implementation.
11584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11585
11586         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11587         (INIT_ARCH): Add hwcap2 initialization.
11588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11589         power8 implementation.
11590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11591         file: POWER8 isnan ifunc implementation.
11592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11593         POWER8 implementation.
11594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11595         Likewise.
11596         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11597         isnan implementation.
11598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11599
11600 2014-02-27  Joey Ye  <joey.ye@arm.com>
11601
11602         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11603         (_FP_NANFRAC_Q): Set to zero.
11604
11605 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11606
11607         [BZ #16623]
11608         * math/auto-libm-test-in: New test inputs.
11609         * math/auto-libm-test-out: Regenerate.
11610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11611         and DA.
11612         (__cos): Likewise.
11613         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11614
11615 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
11616
11617         * scripts/evaluate-test.sh: Take new argument indicating whether
11618         failure is expected.
11619         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11620         indicating whether failure is expected.
11621         * conform/Makefile (test-xfail-run-conformtest): New variable.
11622         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11623         level.
11624         * posix/Makefile (test-xfail-annexc): New variable.
11625         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11626
11627 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
11628
11629         * argp/Makefile: Include Makeconfig immediately after defining
11630         subdir.
11631         * assert/Makefile: Likewise.
11632         * benchtests/Makefile: Likewise.
11633         * catgets/Makefile: Likewise.
11634         * conform/Makefile: Likewise.
11635         * crypt/Makefile: Likewise.
11636         * csu/Makefile: Likewise.
11637         (all): Remove target.
11638         * ctype/Makefile: Include Makeconfig immediately after defining
11639         subdir.
11640         * debug/Makefile: Likewise.
11641         * dirent/Makefile: Likewise.
11642         * dlfcn/Makefile: Likewise.
11643         * gmon/Makefile: Likewise.
11644         * gnulib/Makefile: Likewise.
11645         * grp/Makefile: Likewise.
11646         * gshadow/Makefile: Likewise.
11647         * hesiod/Makefile: Likewise.
11648         * hurd/Makefile: Likewise.
11649         (all): Remove target.
11650         * iconvdata/Makefile: Include Makeconfig immediately after
11651         defining subdir.
11652         * inet/Makefile: Likewise.
11653         * intl/Makefile: Likewise.
11654         * io/Makefile: Likewise.
11655         * libio/Makefile: Likewise.
11656         (all): Remove target.
11657         * locale/Makefile: Include Makeconfig immediately after defining
11658         subdir.
11659         * login/Makefile: Likewise.
11660         * mach/Makefile: Likewise.
11661         (all): Remove target.
11662         * malloc/Makefile: Include Makeconfig immediately after defining
11663         subdir.
11664         (all): Remove target.
11665         * manual/Makefile: Include Makeconfig immediately after defining
11666         subdir.
11667         * math/Makefile: Likewise.
11668         * misc/Makefile: Likewise.
11669         * nis/Makefile: Likewise.
11670         * nss/Makefile: Likewise.
11671         * po/Makefile: Likewise.
11672         (all): Remove target.
11673         * posix/Makefile: Include Makeconfig immediately after defining
11674         subdir.
11675         * pwd/Makefile: Likewise.
11676         * resolv/Makefile: Likewise.
11677         * resource/Makefile: Likewise.
11678         * rt/Makefile: Likewise.
11679         * setjmp/Makefile: Likewise.
11680         * shadow/Makefile: Likewise.
11681         * signal/Makefile: Likewise.
11682         * socket/Makefile: Likewise.
11683         * soft-fp/Makefile: Likewise.
11684         * stdio-common/Makefile: Likewise.
11685         * stdlib/Makefile: Likewise.
11686         * streams/Makefile: Likewise.
11687         * string/Makefile: Likewise.
11688         * sunrpc/Makefile: Likewise.
11689         (all): Remove target.
11690         * sysvipc/Makefile: Include Makeconfig immediately after defining
11691         subdir.
11692         * termios/Makefile: Likewise.
11693         * time/Makefile: Likewise.
11694         * timezone/Makefile: Likewise.
11695         (all): Remove target.
11696         * wcsmbs/Makefile: Include Makeconfig immediately after defining
11697         subdir.
11698         * wctype/Makefile: Likewise.
11699
11700 2014-02-26  Steve Ellcey  <sellcey@mips.com>
11701
11702         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11703         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11704         (libc_feholdexcept_setround_mips): Ditto.
11705         (libc_feholdsetround): New.
11706         (libc_feholdsetroundf): New.
11707         (libc_feholdsetroundl): New.
11708         (libc_feupdateenv_test_mips): New.
11709         (libc_feupdateenv_test): New.
11710         (libc_feupdateenv_testf): New.
11711         (libc_feupdateenv_testl): New.
11712         (libc_feresetround): New.
11713         (libc_feresetroundf): New.
11714         (libc_feresetroundl): New.
11715         (libc_fetestexcept_mips): New.
11716         (libc_fetestexcept): New.
11717         (libc_fetestexceptf): New.
11718         (libc_fetestexceptl): New.
11719         (HAVE_RM_CTX): New.
11720         (libc_feholdexcept_setround_mips_ctx): New.
11721         (libc_feholdexcept_setround_ctx): New.
11722         (libc_feholdexcept_setroundf_ctx): New.
11723         (libc_feholdexcept_setroundl_ctx): New.
11724         (libc_fesetenv_mips_ctx): New.
11725         (libc_fesetenv_ctx): New.
11726         (libc_fesetenv_ctxf): New.
11727         (libc_fesetenv_ctxl): New.
11728         (libc_feupdateenv_mips_ctx): New.
11729         (libc_feupdateenv_ctx): New.
11730         (libc_feupdateenvf_ctx): New.
11731         (libc_feupdateenvl_ctx): New.
11732         (libc_feholdsetround_mips_ctx): New.
11733         (libc_feholdsetround_ctx): New.
11734         (libc_feholdsetroundf_ctx): New.
11735         (libc_feholdsetroundl_ctx): New.
11736         (libc_feresetround_mips_ctx): New.
11737         (libc_feresetround_ctx): New.
11738         (libc_feresetroundf_ctx): New.
11739         (libc_feresetroundl_ctx): New.
11740
11741 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
11742
11743         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11744
11745         * manual/ipc.texi: New file.
11746         * manual/Makefile (chapters): Add ipc.
11747         * manual/job.texi: Add "Inter-Process Communication" to next.
11748         * manual/process.texi: Add "Inter-Process Communication" to prev.
11749
11750 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11751
11752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11753
11754 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
11755
11756         * malloc/malloc.c (__libc_calloc): Simplify implementation.
11757
11758         * manual/arith.texi: Fix spaces after sentences.
11759         * manual/charset.texi: Likewise.
11760         * manual/errno.texi: Likewise.
11761         * manual/install.texi: Likewise.
11762         * manual/llio.texi: Likewise.
11763         * manual/locale.texi: Likewise.
11764         * manual/maint.texi: Likewise.
11765         * manual/math.texi: Likewise.
11766         * manual/memory.texi: Likewise.
11767         * manual/message.texi: Likewise.
11768         * manual/probes.texi: Likewise.
11769         * manual/resource.texi: Likewise.
11770         * manual/signal.texi: Likewise.
11771         * manual/socket.texi: Likewise.
11772         * manual/stdio.texi: Likewise.
11773         * manual/string.texi: Likewise.
11774         * manual/time.texi: Likewise.
11775         * manual/users.texi: Likewise.
11776
11777 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
11778
11779         [BZ #16632]
11780         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11781         _DEFAULT_SOURCE is defined.
11782
11783 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11784             Carlos O'Donell  <carlos@redhat.com>
11785
11786         [BZ #16613]
11787         * elf/dl-tls.c (_dl_count_modids): New function.
11788         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11789         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11790         audit library and increment generation counter.
11791         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11792         * elf/tst-audit9.c: New file.
11793         * elf/tst-auditmod9a.c: New file.
11794         * elf/tst-auditmod9b.c: New file.
11795         * elf/Makefile: Add rules to build and run tst-audit9.
11796
11797 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11798
11799         [BZ #15347]
11800         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11801
11802 2014-02-25  Will Newton  <will.newton@linaro.org>
11803
11804         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11805         (__longjmp): Restore sp and lr before restoring callee
11806         saved registers.  Add longjmp and longjmp_target
11807         SystemTap probe point.
11808         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11809         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11810         Define to zero to match jmpbuf layout.
11811         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11812         (__sigsetjmp): Save sp and lr before saving callee
11813         saved registers.  Add setjmp SystemTap probe point.
11814
11815 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11816
11817         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11818
11819 2014-02-24  Andreas Schwab  <schwab@suse.de>
11820
11821         [BZ #15804]
11822         * elf/pldd.c (wait_for_ptrace_stop): New function.
11823         (main): Call it after attaching.
11824
11825 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11826
11827         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11828         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11829         Versions files is now verboten.
11830         * hurd/Versions (libc: GLIBC_2.0):
11831         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11832         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11833         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11834         * mach/Versions: Likewise.
11835
11836         * csu/Versions: Remove unused %include.
11837         * resolv/Versions: Likewise.
11838
11839 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11840
11841         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11842         ($(objpfx)check-local-headers.out): Likewise.
11843         ($(objpfx)begin-end-check.out): Likewise.
11844         * Makerules (check-abi-%.out): Likewise.
11845         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11846         ($(objpfx)test2.cat): Likewise.
11847         ($(objpfx)de/libc.cat): Likewise.
11848         ($(objpfx)test-gencat.out): Likewise.
11849         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11850         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11851         ($(objpfx)noload-mem): Likewise.
11852         ($(objpfx)tst-pathopt.out): Likewise.
11853         ($(objpfx)tst-rtld-load-self.out): Likewise.
11854         ($(objpfx)tst-array1-cmp.out): Likewise.
11855         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11856         ($(objpfx)tst-array2-cmp.out): Likewise.
11857         ($(objpfx)tst-array3-cmp.out): Likewise.
11858         ($(objpfx)tst-array4-cmp.out): Likewise.
11859         ($(objpfx)tst-array5-cmp.out): Likewise.
11860         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11861         ($(objpfx)check-textrel.out): Likewise.
11862         ($(objpfx)check-execstack.out): Likewise.
11863         ($(objpfx)check-localplt.out): Likewise.
11864         ($(objpfx)order2-cmp.out): Likewise.
11865         ($(objpfx)tst-leaks1-mem): Likewise.
11866         ($(objpfx)tst-leaks1-static-mem): Likewise.
11867         ($(objpfx)tst-initorder-cmp.out): Likewise.
11868         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11869         ($(objpfx)tst-unused-dep.out): Likewise.
11870         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11871         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11872         * iconv/Makefile (test-iconvconfig): Likewise.
11873         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11874         ($(objpfx)iconv-test.out): Likewise.
11875         ($(objpfx)tst-tables.out): Likewise.
11876         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11877         ($(objpfx)tst-gettext.out): Likewise.
11878         ($(objpfx)tst-translit.out): Likewise.
11879         ($(objpfx)tst-gettext2.out): Likewise.
11880         ($(objpfx)tst-gettext4.out): Likewise.
11881         ($(objpfx)tst-gettext6.out): Likewise.
11882         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11883         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11884         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11885         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11886         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11887         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11888         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11889         ($(objpfx)wordexp-tst.out): Likewise.
11890         ($(objpfx)annexc.out): Likewise.
11891         ($(objpfx)tst-fnmatch-mem): Likewise.
11892         ($(objpfx)bug-regex2-mem): Likewise.
11893         ($(objpfx)bug-regex14-mem): Likewise.
11894         ($(objpfx)bug-regex21-mem): Likewise.
11895         ($(objpfx)bug-regex31-mem): Likewise.
11896         ($(objpfx)tst-vfork3-mem): Likewise.
11897         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11898         ($(objpfx)tst-pcre-mem): Likewise.
11899         ($(objpfx)tst-boost-mem): Likewise.
11900         ($(objpfx)tst-getconf.out): Likewise.
11901         ($(objpfx)bug-ga2-mem): Likewise.
11902         ($(objpfx)bug-glob2-mem): Likewise.
11903         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11904         ($(objpfx)mtrace-tst-leaks2): Likewise.
11905         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11906         ($(objpfx)tst-printf.out): Likewise.
11907         ($(objpfx)tst-setvbuf1.out): Likewise.
11908         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11909         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11910         ($(objpfx)tst-fmtmsg.out): Likewise.
11911         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11912         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11913
11914         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11915         * bits/sigaction.h [__USE_MISC]: Likewise.
11916         * bits/waitstatus.h: Update #endif comments.
11917         * ctype/ctype.h: Likewise.
11918         * dirent/dirent.h: Likewise.
11919         [__USE_MISC]: Remove redundant conditionals.
11920         * grp/grp.h: Update #endif comments.
11921         [__USE_GNU]: Remove redundant conditionals.
11922         [__USE_MISC]: Likewise.
11923         * inet/netinet/in.h [__USE_GNU]: Likewise.
11924         * io/sys/stat.h [__USE_MISC]: Likewise.
11925         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11926         * libio/bits/stdio.h: Update #endif comments.
11927         [__USE_MISC]: Remove redundant conditionals.
11928         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11929         * libio/stdio.h: Update #endif comments.
11930         [__USE_MISC]: Remove redundant conditionals.
11931         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11932         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11933         * math/math.h: Update #else and #endif comments.
11934         [__USE_MISC]: Remove redundant conditionals.
11935         * misc/sys/uio.h: Update #endif comments.
11936         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11937         * posix/glob.h [__USE_MISC]: Likewise.
11938         * posix/sys/types.h: Update #endif comments.
11939         [__USE_MISC]: Remove redundant conditionals.
11940         * posix/sys/wait.h: Update #endif comments.
11941         [__USE_MISC]: Remove redundant conditionals.
11942         * posix/unistd.h: Update #endif comments.
11943         [__USE_MISC]: Remove redundant conditionals.
11944         * pwd/pwd.h [__USE_GNU]: Likewise.
11945         [__USE_MISC]: Likewise.
11946         * resolv/netdb.h [__USE_GNU]: Likewise.
11947         * signal/signal.h: Update #endif comments.
11948         [__USE_MISC]: Remove redundant conditionals.
11949         * stdlib/stdlib.h: Update #else and #endif comments.
11950         [__USE_MISC]: Remove redundant conditionals.
11951         [__USE_GNU]: Likewise.
11952         * string/bits/string2.h [__USE_MISC]: Likewise.
11953         * string/string.h: Update #endif comments.
11954         [__USE_MISC]: Remove redundant conditionals.
11955         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11956         Likewise.
11957         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11958         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11959         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11964         comments.
11965         [__USE_MISC]: Remove redundant conditionals.
11966         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11967         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11968         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11969         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11970         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11971         Likewise.
11972         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11973         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11974         Likewise.
11975         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11976         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11977         Likewise.
11978         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11979         Likewise.
11980         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11981         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11986         * sysdeps/x86/bits/string.h: Update #endif comments.
11987         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11988         conditionals.
11989         * time/sys/time.h: Update #endif comments.
11990         * time/time.h: Likewise.
11991         [__USE_MISC]: Remove redundant conditionals.
11992
11993 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11994
11995         [BZ #16600]
11996         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11997
11998 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11999
12000         * Versions.def (librt): Add GLIBC_2.17.
12001
12002 2014-02-21  Adam Conrad  <adconrad@0c3.net>
12003
12004         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12005         synonym for _SYS_AUXV_H to allow direct inclusion.
12006         * sysdeps/sparc/bits/hwcap.h: Likewise.
12007         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12008         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12009         * sysdeps/sparc/sysdep.h: Likewise.
12010
12011 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12012
12013         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12014
12015 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12016
12017         * benchtests/bench-strrchr.c: Print length instead of position.
12018
12019 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
12020
12021         [BZ #16611]
12022         * sysdeps/unix/sysv/linux/kernel-features.h
12023         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12024         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12025         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12026         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12027         Likewise.
12028         [__i386__ || __powerpc__ || __sh__ || __sparc__]
12029         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12030         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12031         (__ASSUME_SENDMMSG): Define instead of using previous
12032         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12034         (__ASSUME_SENDMMSG_SYSCALL): Define.
12035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12036         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12037         Likewise.
12038         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12039         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12040         Likewise.
12041         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12042         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12043         Likewise.
12044         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12045         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12046         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12047         [__ASSUME_SENDMMSG]: Change conditionals to
12048         [__ASSUME_SENDMMSG_SOCKETCALL].
12049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12050         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12051         Define.
12052         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12053         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12054         Likewise.
12055         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12056         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12057         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12058         [!__ASSUME_SENDMMSG]: Change conditional to
12059         [!__ASSUME_SENDMMSG_SOCKETCALL].
12060         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12061         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12062         Define.
12063
12064         [BZ #16610]
12065         * sysdeps/unix/sysv/linux/kernel-features.h
12066         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12067         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12068         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12069         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12070         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12071         [__i386__ || __sparc__]
12072         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12073         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12074         (__ASSUME_RECVMMSG): Define instead of using previous
12075         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12076         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12077         (__ASSUME_RECVMMSG_SYSCALL): Define.
12078         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12079         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12080         Likewise.
12081         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12082         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12083         Likewise.
12084         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12088         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12089         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12090         [__ASSUME_RECVMMSG]: Change condition to
12091         [__ASSUME_RECVMMSG_SOCKETCALL].
12092         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12093         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12094         Define.
12095         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12096         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12098         Likewise.
12099         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12100         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12101         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12102         [!__ASSUME_RECVMMSG]: Change condition to
12103         [!__ASSUME_RECVMMSG_SOCKETCALL].
12104         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12105         (__ASSUME_RECVMMSG_SYSCALL): Define.
12106
12107         [BZ #16609]
12108         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12109         __powerpc__ || __s390__ || __sh__ || __sparc__]
12110         (__ASSUME_SOCKETCALL): Define.
12111         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12112         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12113         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12114         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12115         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12116         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12117         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12118         (__ASSUME_ACCEPT4): Define instead of using previous
12119         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12120         __powerpc__ || __sparc__ || __s390__)] condition.
12121         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12122         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12123         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12124         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12125         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12126         [!__ASSUME_ACCEPT4]: Change condition to
12127         [!__ASSUME_ACCEPT4_SOCKETCALL].
12128         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12129         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
12130         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12132         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12133         __ASSUME_ACCEPT4_SYSCALL.
12134         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12135         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12136         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12137         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12138         __ASSUME_ACCEPT4_SYSCALL.
12139         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12140         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12141         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12142         [__ASSUME_ACCEPT4]: Change condition to
12143         [__ASSUME_ACCEPT4_SOCKETCALL].
12144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12145         (__ASSUME_SOCKETCALL): Define.
12146         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12148         (__ASSUME_SOCKETCALL): Define.
12149         (__ASSUME_ACCEPT4): Remove.
12150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12151         Define.
12152         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12153         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12156         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12157
12158         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12159         macro.
12160         (HWCAP_ARM_LPAE): Likewise.
12161         (HWCAP_ARM_EVTSTRM): Likewise.
12162         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12163         Add vpfd32, lpae and evtstrm.
12164         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12165         Increase to 22.
12166
12167 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
12168
12169         * math/auto-libm-test-in: Add tests of clog10.
12170         * math/auto-libm-test-out: Regenerated.
12171         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12172         * sysdeps/i386/fpu/libm-test-ulps: Update.
12173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174
12175 2014-02-18  Andreas Schwab  <schwab@suse.de>
12176
12177         [BZ #16574]
12178         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12179         Store non-zero if the second buffer was newly allocated.
12180         (send_dg): Likewise.
12181         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12182         to send_vc and send_dg.
12183         (res_nsend): Pass NULL for ansp2_malloced.
12184         * resolv/res_query.c (__libc_res_nquery): Add parameter
12185         answerp2_malloced and pass it down to __libc_res_nsend.
12186         (res_nquery): Pass additional NULL to __libc_res_nquery.
12187         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12188         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
12189         second answer buffer if answerp2_malloced was set.
12190         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12191         (__libc_res_nquerydomain): Add parameter
12192         answerp2_malloced and pass it down to __libc_res_nquery.
12193         (res_nquerydomain): Pass additional NULL to
12194         __libc_res_nquerydomain.
12195         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12196         additional NULL to __libc_res_nsend and __libc_res_nquery.
12197         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12198         additional NULL to __libc_res_nsearch.
12199         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
12200         parameter of __libc_res_nsearch to check for separately allocated
12201         second buffer.
12202         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12203         __libc_res_nquery.
12204         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12205         additional NULL to __libc_res_nquery.
12206         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12207         __libc_res_nsearch.
12208         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12209         * include/resolv.h: Update prototypes of __libc_res_nquery,
12210         __libc_res_nsearch, __libc_res_nsend.
12211
12212 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
12213
12214         * math/auto-libm-test-in: Add tests of fma.
12215         * math/auto-libm-test-out: Regenerated.
12216         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12217         (fma_towardzero_test_data): Likewise.
12218         (fma_downward_test_data): Likewise.
12219         (fma_upward_test_data): Likewise.
12220         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12221         mpc_mode.
12222         (rounding_modes): Add values for new field.
12223         (func_calc_method): Add value mpfr_fff_f.
12224         (func_calc_desc): Add mpfr_fff_f union field.
12225         (test_function): Add field exact_args.
12226         (FUNC): Add macro argument EXACT_ARGS.
12227         (FUNC_mpfr_f_f): Update call to FUNC.
12228         (FUNC_mpfr_f_f): Likewise.
12229         (FUNC_mpfr_ff_f): Likewise.
12230         (FUNC_mpfr_if_f): Likewise.
12231         (FUNC_mpc_c_f): Likewise.
12232         (FUNC_mpc_c_c): Likewise.
12233         (test_functions): Add fma.  Update calls to FUNC.
12234         (handle_input_arg): Add argument exact_args.
12235         (add_test): Update call to handle_input_arg.
12236         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
12237         (output_for_one_input_case): Update call to calc_generic_results.
12238         Recalculate exact zero results in each rounding mode.
12239
12240         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12241         non-negative before setting low bit.
12242         * math/auto-libm-test-in: Mark one asin test possibly having
12243         spurious underflow.
12244         * math/auto-libm-test-out: Regenerated.
12245         * sysdeps/i386/fpu/libm-test-ulps: Update.
12246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12247
12248 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
12249
12250         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12251         * sysdeps/unix/sysv/linux/microblaze: Move directory from
12252         ports/sysdeps/unix/sysv/linux/microblaze.
12253         * README: Add missing listing for microblaze*-*-linux-gnu.
12254
12255 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
12256
12257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12258         duplicate code
12259
12260 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
12261
12262         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12263         * sysdeps/unix/sysv/linux/ia64: Move directory from
12264         ports/sysdeps/unix/sysv/linux/ia64.
12265         * README: Update listing for ia64-*-linux-gnu.
12266
12267 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
12268             Joseph Myers  <joseph@codesourcery.com>
12269
12270         * Makeconfig (test-name): New variable.
12271         (evaluate-test): Likewise.
12272         * Makerules (do-test-clean): Remove .test-result files.
12273         (common-mostlyclean): Likewise.
12274         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12275         * scripts/evaluate-test.sh: New file.
12276
12277 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
12278
12279         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12280         separate $(objpfx)tst-fopenloc-cmp.out and
12281         $(objpfx)tst-fopenloc-mem.out targets.
12282         (tests): Update dependencies.
12283         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12284         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12285         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12286         (tst-rxspencer-no-utf8-ARGS): New variable.
12287         (tst-rxspencer-no-utf8-ENV): Likewise.
12288         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12289         instead of $(objpfx)tst-rxspencer-mem.
12290         ($(objpfx)tst-rxspencer-mem): Change target to
12291         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
12292         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12293         * posix/tst-rxspencer-no-utf8.c: New file.
12294
12295         * elf/Makefile ($(objpfx)order.out): Remove rule.
12296         [$(run-built-tests) = yes] (tests): Depend on
12297         $(objpfx)order-cmp.out.
12298         ($(objpfx)order-cmp.out): New rule.
12299         [$(run-built-tests) = yes] (tests): Depend on
12300         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12301         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12302         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12303         $(objpfx)tst-array5-static-cmp.out.
12304         ($(objpfx)tst-array1.out): Remove rule.
12305         ($(objpfx)tst-array1-cmp.out): New rule.
12306         ($(objpfx)tst-array1-static.out): Remove rule.
12307         ($(objpfx)tst-array1-static-cmp.out): New rule.
12308         ($(objpfx)tst-array2.out): Remove rule.
12309         ($(objpfx)tst-array2-cmp.out): New rule.
12310         ($(objpfx)tst-array3.out): Remove rule.
12311         ($(objpfx)tst-array3-cmp.out): New rule.
12312         ($(objpfx)tst-array4.out): Remove rule.
12313         ($(objpfx)tst-array4-cmp.out): New rule.
12314         ($(objpfx)tst-array5.out): Remove rule.
12315         ($(objpfx)tst-array5-cmp.out): New rule.
12316         ($(objpfx)tst-array5-static.out): Remove rule.
12317         ($(objpfx)tst-array5-static-cmp.out): New rule.
12318         [$(run-built-tests) = yes] (tests): Depend on
12319         $(objpfx)order2-cmp.out.
12320         ($(objpfx)order2.out): Remove rule.
12321         ($(objpfx)order2-cmp.out): New rule.
12322         ($(objpfx)tst-initorder.out): Remove rule.
12323         [$(run-built-tests) = yes] (tests): Depend on
12324         $(objpfx)tst-initorder-cmp.out.
12325         ($(objpfx)tst-initorder-cmp.out): New rule.
12326         ($(objpfx)tst-initorder2.out): Remove rule.
12327         [$(run-built-tests) = yes] (tests): Depend on
12328         $(objpfx)tst-initorder2-cmp.out.
12329         ($(objpfx)tst-initorder2-cmp.out): New rule.
12330         [$(run-built-tests) = yes] (tests): Depend on
12331         $(objpfx)tst-unused-dep-cmp.out.
12332         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12333         ($(objpfx)tst-unused-dep-cmp.out): New rule.
12334         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12335         on $(objpfx)tst-setvbuf1-cmp.out.
12336         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12337         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12338         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12339         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12340         ($(objpfx)tst-svc.out): Remove rule.
12341         ($(objpfx)tst-svc-cmp.out): New rule.
12342
12343 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
12344
12345         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12346         * ctype/ctype.h [__USE_MISC]: Likewise.
12347         * dirent/dirent.h [__USE_MISC]: Likewise.
12348         * grp/grp.h [__USE_MISC]: Likewise.
12349         * io/fcntl.h [__USE_MISC]: Likewise.
12350         * io/sys/stat.h [__USE_MISC]: Likewise.
12351         * libio/stdio.h [__USE_MISC]: Likewise.
12352         * posix/unistd.h [__USE_MISC]: Likewise.
12353         * pwd/pwd.h [__USE_MISC]: Likewise.
12354         * stdlib.h [__USE_MISC]: Likewise.
12355         * string/bits/string2.h [__USE_MISC]: Likewise.
12356         * string/string.h [__USE_MISC]: Likewise.
12357         * time/time.h [__USE_MISC]: Likewise.
12358
12359 2014-02-13  Andreas Schwab  <schwab@suse.de>
12360
12361         [BZ #16574]
12362         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12363         second answer buffer if it was separately allocated.
12364
12365 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
12366
12367         * sysdeps/mips/math-tests.h: Include <features.h>.
12368         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12369         (ROUNDING_TESTS_long_double): Do not define.
12370         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12371         (EXCEPTION_TESTS_long_double): Likewise.
12372         * sysdeps/mips/mips64/libm-test-ulps: Update.
12373
12374         * include/features.h (__USE_BSD): Remove macro definitions.
12375         (__USE_SVID): Likewise.
12376         (_BSD_SOURCE): Likewise.
12377         (_SVID_SOURCE): Likewise.
12378         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12379         from definition of _DEFAULT_SOURCE.
12380         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12381         [_DEFAULT_SOURCE].
12382         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12383         * bits/mman.h [__USE_BSD]: Likewise.
12384         * bits/termios.h [__USE_BSD]: Likewise.
12385         * bits/waitstatus.h [__USE_BSD]: Likewise.
12386         * ctype/ctype.h [__USE_SVID]: Likewise.
12387         * dirent/dirent.h [__USE_BSD]: Likewise.
12388         * grp/grp.h [__USE_SVID]: Likewise.
12389         [__USE_BSD]: Likewise.
12390         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12391         * io/fcntl.h [__USE_BSD]: Likewise.
12392         * io/ftw.h [__USE_BSD]: Likewise.
12393         * io/sys/stat.h [__USE_BSD]: Likewise.
12394         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12395         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12396         * libio/stdio.h [__USE_SVID]: Likewise.
12397         [__USE_BSD]: Likewise.
12398         * math/math.h [__USE_SVID]: Likewise.
12399         [__USE_BSD]: Likewise.
12400         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12401         * misc/bits/syslog.h [__USE_BSD]: Likewise.
12402         * misc/search.h [__USE_SVID]: Likewise.
12403         * misc/sys/mman.h [__USE_BSD]: Likewise.
12404         * misc/sys/syslog.h [__USE_BSD]: Likewise.
12405         * misc/sys/uio.h [__USE_BSD]: Likewise.
12406         * posix/bits/unistd.h [__USE_BSD]: Likewise.
12407         * posix/glob.h [__USE_BSD]: Likewise.
12408         * posix/regex.h [__USE_BSD]: Likewise.
12409         * posix/sys/types.h [__USE_BSD]: Likewise.
12410         [__USE_SVID]: Likewise.
12411         * posix/sys/utsname.h [__USE_SVID]: Likewise.
12412         * posix/sys/wait.h [__USE_BSD]: Likewise.
12413         [__USE_SVID]: Likewise.
12414         * posix/unistd.h [__USE_BSD]: Likewise.
12415         [__USE_SVID]: Likewise.
12416         * pwd/pwd.h [__USE_SVID]: Likewise.
12417         * resolv/netdb.h [__USE_BSD]: Likewise.
12418         * setjmp/setjmp.h [__USE_BSD]: Likewise.
12419         * signal/signal.h [__USE_BSD]: Likewise.
12420         [__USE_SVID]: Likewise.
12421         * socket/sys/socket.h [__USE_BSD]: Likewise.
12422         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12423         * stdlib/stdlib.h [__USE_BSD]: Likewise.
12424         [__USE_SVID]: Likewise.
12425         * string/bits/string2.h [__USE_BSD]: Likewise.
12426         [__USE_SVID]: Likewise.
12427         * string/bits/string3.h [__USE_BSD]: Likewise.
12428         * string/endian.h [__USE_BSD]: Likewise.
12429         * string/string.h [__USE_SVID]: Likewise.
12430         [__USE_BSD]: Likewise.
12431         * string/strings.h [__USE_BSD]: Likewise.
12432         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12433         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12434         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12435         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12436         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12437         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12442         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12443         Likewise.
12444         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12445         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12450         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12451         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12452         Likewise.
12453         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12454         Likewise.
12455         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12456         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12457         * termios/termios.h [__USE_BSD]: Likewise.
12458         * time/sys/time.h [__USE_BSD]: Likewise.
12459         * time/time.h [__USE_BSD]: Likewise.
12460         [__USE_SVID]: Likewise.
12461
12462         * Makefile (subdir_targets): Remove subdir_lint.out.
12463
12464         * stdio-common/Makefile (do-tst-unbputc): Remove target.
12465         (do-tst-printf): Likewise.
12466         (tests): Depend directly on $(objpfx)tst-unbputc.out and
12467         $(objpfx)tst-printf.out.
12468
12469         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12470
12471         * Makerules (check-abi-%): Change target to
12472         $(objpfx)check-abi-%.out.
12473         (check-abi target): Update dependencies.
12474         (check-abi-pattern variable): Redirect output of diff to $@.
12475         (check-abi variable): Likewise.
12476         * elf/Makefile (check-abi): Update dependencies.
12477
12478         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12479         unused.
12480         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12481         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12482         subnormal range.
12483         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12484         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12485         value has largest subnormal exponent.
12486         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12487         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12488         * sysdeps/aarch64/soft-fp/sfp-machine.h
12489         (_FP_TININESS_AFTER_ROUNDING): New macro.
12490         * sysdeps/alpha/soft-fp/sfp-machine.h
12491         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12492         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12493         Likewise.
12494         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12496         * sysdeps/mips/soft-fp/sfp-machine.h
12497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12498         * sysdeps/powerpc/soft-fp/sfp-machine.h
12499         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12500         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12501         Likewise.
12502         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12504         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12505         (_FP_TININESS_AFTER_ROUNDING): Likewise.
12506         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12507         Likewise.
12508
12509 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
12510
12511         [BZ #16545]
12512         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12513         model 1.
12514
12515 2014-02-12  Richard Henderson  <rth@redhat.com>
12516
12517         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12518         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12519         * sysdeps/unix/sysv/linux/alpha: Move directory from
12520         ports/sysdeps/unix/sysv/linux/alpha.
12521         * README: Update listing for alpha-*-linux-gnu.
12522
12523 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
12524
12525         * include/features.h: Update comment documenting feature test
12526         macros.
12527         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
12528         _DEFAULT_SOURCE.
12529         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12530         (_SVID_SOURCE): Likewise.
12531         (_DEFAULT_SOURCE): Update description of default features.
12532         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12533         with _GNU_SOURCE.
12534         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12535         (S_ISVTX): Likewise.
12536         * manual/math.texi (Mathematical Constants): Likewise.
12537         * manual/signal.texi (Interrupted Primitives): Likewise.
12538         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12539         * math/test-matherr.c (_SVID_SOURCE): Do not define.
12540         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12541         Don't refer to _SVID_SOURCE in warning text.
12542
12543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12544
12545         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12546         already defined.
12547         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12548         * sysdeps/mips/dl-lookup.c: Remove.
12549         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12550
12551 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12552
12553         [BZ #16447]
12554         * math/auto-libm-test-in: Add testcase for expl.
12555         * math/auto-libm-test-out: Regenerate.
12556         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12557         calculation of unsafe.
12558         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12559
12560 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12561
12562         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12563         * sysdeps/unix/sysv/linux/aarch64: Move directory from
12564         ports/sysdeps/unix/sysv/linux/aarch64.
12565         * README: Update listing for aarch64*-*-linux-gnu.
12566
12567 2014-02-11  Will Newton  <will.newton@linaro.org>
12568
12569         * manual/probes.texi (Mathematical Function Probes): Use
12570         "triggered" instead of "hit".
12571
12572         * manual/probes.texi (Internal Probes): Add documentation
12573         of setjmp, longjmp and longjmp_target probes.
12574
12575         * include/stap-probe.h: Add comment about probe argument
12576         format.
12577
12578         * malloc/mtrace.c (attribute_hidden): Remove unused macro
12579         definition.  (tr_where, tr_freehook, tr_mallochook,
12580         tr_reallochook, tr_memalignhook): Use ANSI protoype.
12581
12582 2014-02-11  David S. Miller  <davem@davemloft.net>
12583
12584         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12585         processing int_tests.
12586
12587 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
12588
12589         * sysdeps/mips: Move directory from ports/sysdeps/mips.
12590         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12591         * sysdeps/unix/sysv/linux/mips: Move directory from
12592         ports/sysdeps/unix/sysv/linux/mips.
12593         * README: Update listing for mips-*-linux-gnu and
12594         mips64-*-linux-gnu.
12595
12596 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
12597
12598         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12599         * sysdeps/unix/sysv/linux/m68k: Move directory from
12600         ports/sysdeps/unix/sysv/linux/m68k.
12601         * README: Update listing for m68k-*-linux-gnu.
12602
12603 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
12604
12605         * sysdeps/tile: Move directory from ports/sysdeps/tile.
12606         * sysdeps/unix/sysv/linux/generic: Move directory from
12607         ports/sysdeps/unix/sysv/linux/generic.
12608         * sysdeps/unix/sysv/linux/tile: Move directory from
12609         ports/sysdeps/unix/sysv/linux/tile.
12610         * README: Update listing for tile*-*-linux-gnu.
12611
12612 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
12613
12614         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12615         __builtin_expect.
12616         * benchtests/bench-memmem.c (simple_memmem): Likewise.
12617         * catgets/open_catalog.c (__open_catalog): Likewise.
12618         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12619         * debug/confstr_chk.c: Likewise.
12620         * debug/fread_chk.c (__fread_chk): Likewise.
12621         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12622         * debug/getgroups_chk.c: Likewise.
12623         * debug/mbsnrtowcs_chk.c: Likewise.
12624         * debug/mbsrtowcs_chk.c: Likewise.
12625         * debug/mbstowcs_chk.c: Likewise.
12626         * debug/memcpy_chk.c: Likewise.
12627         * debug/memmove_chk.c: Likewise.
12628         * debug/mempcpy_chk.c: Likewise.
12629         * debug/memset_chk.c: Likewise.
12630         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12631         * debug/strcat_chk.c (__strcat_chk): Likewise.
12632         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12633         * debug/strncat_chk.c (__strncat_chk): Likewise.
12634         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12635         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12636         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12637         * debug/wcpncpy_chk.c: Likewise.
12638         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12639         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12640         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12641         * debug/wcsncpy_chk.c: Likewise.
12642         * debug/wcsnrtombs_chk.c: Likewise.
12643         * debug/wcsrtombs_chk.c: Likewise.
12644         * debug/wcstombs_chk.c: Likewise.
12645         * debug/wmemcpy_chk.c: Likewise.
12646         * debug/wmemmove_chk.c: Likewise.
12647         * debug/wmempcpy_chk.c: Likewise.
12648         * debug/wmemset_chk.c: Likewise.
12649         * dirent/scandirat.c (SCANDIRAT): Likewise.
12650         * dlfcn/dladdr1.c (dladdr1): Likewise.
12651         * dlfcn/dladdr.c (dladdr): Likewise.
12652         * dlfcn/dlclose.c (dlclose_doit): Likewise.
12653         * dlfcn/dlerror.c (__dlerror): Likewise.
12654         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12655         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12656         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12657         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12658         * dlfcn/dlsym.c (dlsym_doit): Likewise.
12659         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12660         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12661         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12662         Likewise.
12663         * elf/dl-conflict.c: Likewise.
12664         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12665         * elf/dl-dst.h: Likewise.
12666         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12667         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12668         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12669         * elf/dl-init.c (call_init, _dl_init): Likewise.
12670         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12671         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12672         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12673         Likewise.
12674         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12675         Likewise.
12676         * elf/dl-minimal.c (__libc_memalign): Likewise.
12677         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12678         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12679         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12680         * elf/dl-sym.c (do_sym): Likewise.
12681         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12682         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12683         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12684         * elf/dl-writev.h (_dl_writev): Likewise.
12685         * elf/ldconfig.c (search_dir): Likewise.
12686         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12687         (dl_main): Likewise.
12688         * elf/setup-vdso.h (setup_vdso): Likewise.
12689         * grp/compat-initgroups.c (compat_call): Likewise.
12690         * grp/fgetgrent.c (fgetgrent): Likewise.
12691         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12692         * grp/putgrent.c (putgrent): Likewise.
12693         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12694         Likewise.
12695         * hurd/hurdinit.c: Likewise.
12696         * iconvdata/8bit-gap.c (struct): Likewise.
12697         * iconvdata/ansi_x3.110.c : Likewise.
12698         * iconvdata/big5.c : Likewise.
12699         * iconvdata/big5hkscs.c : Likewise.
12700         * iconvdata/cp1255.c: Likewise.
12701         * iconvdata/cp1258.c : Likewise.
12702         * iconvdata/cp932.c : Likewise.
12703         * iconvdata/euc-cn.c: Likewise.
12704         * iconvdata/euc-jisx0213.c : Likewise.
12705         * iconvdata/euc-jp.c: Likewise.
12706         * iconvdata/euc-jp-ms.c : Likewise.
12707         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12708         * iconvdata/gb18030.c : Likewise.
12709         * iconvdata/gbbig5.c (const): Likewise.
12710         * iconvdata/gbgbk.c: Likewise.
12711         * iconvdata/gbk.c : Likewise.
12712         * iconvdata/ibm1364.c : Likewise.
12713         * iconvdata/ibm930.c : Likewise.
12714         * iconvdata/ibm932.c: Likewise.
12715         * iconvdata/ibm933.c : Likewise.
12716         * iconvdata/ibm935.c : Likewise.
12717         * iconvdata/ibm937.c : Likewise.
12718         * iconvdata/ibm939.c : Likewise.
12719         * iconvdata/ibm943.c: Likewise.
12720         * iconvdata/iso_11548-1.c: Likewise.
12721         * iconvdata/iso-2022-cn.c : Likewise.
12722         * iconvdata/iso-2022-cn-ext.c : Likewise.
12723         * iconvdata/iso-2022-jp-3.c: Likewise.
12724         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12725         * iconvdata/iso-2022-kr.c : Likewise.
12726         * iconvdata/iso646.c (gconv_end): Likewise.
12727         * iconvdata/iso_6937-2.c : Likewise.
12728         * iconvdata/iso_6937.c : Likewise.
12729         * iconvdata/iso8859-1.c: Likewise.
12730         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12731         * iconvdata/shift_jisx0213.c : Likewise.
12732         * iconvdata/sjis.c : Likewise.
12733         * iconvdata/t.61.c : Likewise.
12734         * iconvdata/tcvn5712-1.c : Likewise.
12735         * iconvdata/tscii.c: Likewise.
12736         * iconvdata/uhc.c : Likewise.
12737         * iconvdata/unicode.c (gconv_end): Likewise.
12738         * iconvdata/utf-16.c (gconv_end): Likewise.
12739         * iconvdata/utf-32.c (gconv_end): Likewise.
12740         * iconvdata/utf-7.c (base64): Likewise.
12741         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12742         * iconv/gconv_close.c (__gconv_close): Likewise.
12743         * iconv/gconv_open.c (__gconv_open): Likewise.
12744         * iconv/gconv_simple.c (internal_ucs4_loop_single)
12745         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12746         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12747         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12748         (ucs4le_internal_loop_single): Likewise.
12749         * iconv/iconv.c (iconv): Likewise.
12750         * iconv/iconv_close.c: Likewise.
12751         * iconv/loop.c (SINGLE): Likewise.
12752         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12753         * include/atomic.h: Likewise.
12754         * inet/inet6_option.c (option_alloc): Likewise.
12755         * intl/bindtextdom.c (set_binding_values): Likewise.
12756         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12757         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12758         * intl/localealias.c (read_alias_file): Likewise.
12759         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12760         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12761         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12762         * libio/fmemopen.c (fmemopen): Likewise.
12763         * libio/iofgets.c (_IO_fgets): Likewise.
12764         * libio/iofgets_u.c (fgets_unlocked): Likewise.
12765         * libio/iofgetws.c (fgetws): Likewise.
12766         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12767         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12768         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12769         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12770         * locale/findlocale.c (_nl_find_locale): Likewise.
12771         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12772         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12773         Likewise.
12774         * locale/setlocale.c (setlocale): Likewise.
12775         * login/programs/pt_chown.c (main): Likewise.
12776         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12777         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12778         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12779         (mmap, mmap64, mremap, munmap): Likewise.
12780         * math/e_exp2l.c: Likewise.
12781         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12782         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12783         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12784         * math/s_catan.c (__catan): Likewise.
12785         * math/s_catanf.c (__catanf): Likewise.
12786         * math/s_catanh.c (__catanh): Likewise.
12787         * math/s_catanhf.c (__catanhf): Likewise.
12788         * math/s_catanhl.c (__catanhl): Likewise.
12789         * math/s_catanl.c (__catanl): Likewise.
12790         * math/s_ccosh.c (__ccosh): Likewise.
12791         * math/s_ccoshf.c (__ccoshf): Likewise.
12792         * math/s_ccoshl.c (__ccoshl): Likewise.
12793         * math/s_cexp.c (__cexp): Likewise.
12794         * math/s_cexpf.c (__cexpf): Likewise.
12795         * math/s_cexpl.c (__cexpl): Likewise.
12796         * math/s_clog10.c (__clog10): Likewise.
12797         * math/s_clog10f.c (__clog10f): Likewise.
12798         * math/s_clog10l.c (__clog10l): Likewise.
12799         * math/s_clog.c (__clog): Likewise.
12800         * math/s_clogf.c (__clogf): Likewise.
12801         * math/s_clogl.c (__clogl): Likewise.
12802         * math/s_csin.c (__csin): Likewise.
12803         * math/s_csinf.c (__csinf): Likewise.
12804         * math/s_csinh.c (__csinh): Likewise.
12805         * math/s_csinhf.c (__csinhf): Likewise.
12806         * math/s_csinhl.c (__csinhl): Likewise.
12807         * math/s_csinl.c (__csinl): Likewise.
12808         * math/s_csqrt.c (__csqrt): Likewise.
12809         * math/s_csqrtf.c (__csqrtf): Likewise.
12810         * math/s_csqrtl.c (__csqrtl): Likewise.
12811         * math/s_ctan.c (__ctan): Likewise.
12812         * math/s_ctanf.c (__ctanf): Likewise.
12813         * math/s_ctanh.c (__ctanh): Likewise.
12814         * math/s_ctanhf.c (__ctanhf): Likewise.
12815         * math/s_ctanhl.c (__ctanhl): Likewise.
12816         * math/s_ctanl.c (__ctanl): Likewise.
12817         * math/w_pow.c: Likewise.
12818         * math/w_powf.c: Likewise.
12819         * math/w_powl.c: Likewise.
12820         * math/w_scalb.c (sysv_scalb): Likewise.
12821         * math/w_scalbf.c (sysv_scalbf): Likewise.
12822         * math/w_scalbl.c (sysv_scalbl): Likewise.
12823         * misc/error.c (error_tail): Likewise.
12824         * misc/pselect.c (__pselect): Likewise.
12825         * nis/nis_callback.c (__nis_create_callback): Likewise.
12826         * nis/nis_call.c (__nisfind_server): Likewise.
12827         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12828         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12829         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12830         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12831         * nis/nis_lookup.c (nis_lookup): Likewise.
12832         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12833         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12834         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12835         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12836         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12837         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12838         * nis/nss_compat/compat-initgroups.c (add_group)
12839         (internal_getgrent_r): Likewise.
12840         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12841         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12842         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12843         (internal_getspnam_r): Likewise.
12844         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12845         (_nss_nis_getaliasbyname_r): Likewise.
12846         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12847         (_nss_nis_getntohost_r): Likewise.
12848         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12849         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12850         (_nss_nis_getgrgid_r): Likewise.
12851         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12852         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12853         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12854         (_nss_nis_gethostbyname4_r): Likewise.
12855         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12856         (initgroups_netid): Likewise.
12857         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12858         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12859         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12860         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12861         (_nss_nis_getprotobynumber_r): Likewise.
12862         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12863         (_nss_nis_getsecretkey): Likewise.
12864         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12865         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12866         (_nss_nis_getpwuid_r): Likewise.
12867         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12868         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12869         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12870         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12871         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12872         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12873         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12874         Likewise.
12875         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12876         (_nss_nisplus_getntohost_r): Likewise.
12877         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12878         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12879         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12880         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12881         Likewise.
12882         * nis/nss_nisplus/nisplus-initgroups.c
12883         (_nss_nisplus_initgroups_dyn): Likewise.
12884         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12885         (_nss_nisplus_getnetbyaddr_r): Likewise.
12886         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12887         (_nss_nisplus_getprotobynumber_r): Likewise.
12888         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12889         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12890         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12891         Likewise.
12892         * nis/nss_nisplus/nisplus-service.c
12893         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12894         (_nss_nisplus_getservbyport_r): Likewise.
12895         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12896         (_nss_nisplus_getspnam_r): Likewise.
12897         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12898         Likewise.
12899         * nscd/aicache.c (addhstaiX): Likewise.
12900         * nscd/cache.c (cache_search, prune_cache): Likewise.
12901         * nscd/connections.c (register_traced_file, send_ro_fd)
12902         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12903         (main_loop_epoll): Likewise.
12904         * nscd/grpcache.c (addgrbyX): Likewise.
12905         * nscd/hstcache.c (addhstbyX): Likewise.
12906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12907         * nscd/mem.c (gc, mempool_alloc): Likewise.
12908         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12909         (addinnetgrX): Likewise.
12910         * nscd/nscd-client.h (__nscd_acquire_maplock)
12911         (__nscd_drop_map_ref): Likewise.
12912         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12913         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12914         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12915         Likewise.
12916         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12917         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12918         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12919         (__nscd_get_map_ref): Likewise.
12920         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12921         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12922         Likewise.
12923         * nscd/pwdcache.c (addpwbyX): Likewise.
12924         * nscd/selinux.c (preserve_capabilities): Likewise.
12925         * nscd/servicescache.c (addservbyX): Likewise.
12926         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12927         * posix/fnmatch.c (fnmatch): Likewise.
12928         * posix/getopt.c (_getopt_internal_r): Likewise.
12929         * posix/glob.c (glob, glob_in_dir): Likewise.
12930         * posix/wordexp.c (exec_comm_child): Likewise.
12931         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12932         (getanswer_r, gaih_getanswer_slice): Likewise.
12933         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12934         * resolv/res_init.c: Likewise.
12935         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12936         * resolv/res_query.c (__libc_res_nquery): Likewise.
12937         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12938         Likewise.
12939         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12940         * stdio-common/perror.c (perror): Likewise.
12941         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12942         * stdio-common/tmpnam.c (tmpnam): Likewise.
12943         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12944         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12945         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12946         Likewise.
12947         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12948         * stdlib/putenv.c (putenv): Likewise.
12949         * stdlib/setenv.c (__add_to_environ): Likewise.
12950         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12951         * stdlib/strtol_l.c (INTERNAL): Likewise.
12952         * string/memmem.c (memmem): Likewise.
12953         * string/strerror.c (strerror): Likewise.
12954         * string/strnlen.c (__strnlen): Likewise.
12955         * string/test-memmem.c (simple_memmem): Likewise.
12956         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12957         * sunrpc/pm_getport.c (__get_socket): Likewise.
12958         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12959         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12960         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12961         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12962         Likewise.
12963         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12965         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12967         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12968         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12969         Likewise.
12970         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12971         Likewise.
12972         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12973         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12974         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12975         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12976         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12978         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12979         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12980         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12981         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12982         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12984         Likewise.
12985         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12986         Likewise.
12987         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12988         Likewise.
12989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12990         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12991         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12992         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12993         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12994         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12995         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12996         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12997         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12998         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12999         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13001         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13002         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13004         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13005         Likewise.
13006         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13007         Likewise.
13008         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13009         Likewise.
13010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13011         Likewise.
13012         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13014         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13015         Likewise.
13016         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13017         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13018         * sysdeps/posix/opendir.c (__opendirat): Likewise.
13019         * sysdeps/posix/sleep.c: Likewise.
13020         * sysdeps/posix/tempname.c: Likewise.
13021         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13022         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13023         Likewise.
13024         * sysdeps/powerpc/powerpc32/dl-machine.h
13025         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13026         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13028         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13029         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13030         Likewise.
13031         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13033         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13035         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13036         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13037         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13038         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13039         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13040         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13041         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13042         (elf_machine_lazy_rel): Likewise.
13043         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13044         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13045         (elf_machine_lazy_rel): Likewise.
13046         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13047         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13048         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13049         * sysdeps/unix/grantpt.c (grantpt): Likewise.
13050         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13051         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13052         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13054         Likewise.
13055         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13056         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13057         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13058         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13059         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13060         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13061         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13062         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13063         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13064         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13065         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13066         Likewise.
13067         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13068         (__posix_fallocate64_l64): Likewise.
13069         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13070         (posix_fallocate): Likewise.
13071         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13072         Likewise.
13073         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13074         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13075         (getifaddrs_internal): Likewise.
13076         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13077         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13078         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13079         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13080         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13081         (__posix_fallocate64_l64): Likewise.
13082         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13083         Likewise.
13084         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13085         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13086         (__get_clockfreq): Likewise.
13087         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13088         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13089         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13090         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13091         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13092         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13093         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13094         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13095         Likewise.
13096         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13097         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13098         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13099         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13100         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13101         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13102         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13103         Likewise.
13104         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13105         (posix_fallocate): Likewise.
13106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13107         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13108         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13109         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13110         (elf_machine_rela, elf_machine_rela_relative)
13111         (elf_machine_lazy_rel): Likewise.
13112         * time/asctime.c (asctime_internal): Likewise.
13113         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13114         * time/tzset.c (__tzset_parse_tz): Likewise.
13115         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13116         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13117         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13118         * wcsmbs/wcsmbsload.h: Likewise.
13119
13120         [BZ #15894]
13121         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13122
13123         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13124         (arena_get2): Remove THREAD_STATS conditionals.
13125         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13126         (__malloc_stats, int): Likewise.
13127
13128 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
13129
13130         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13131         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
13132
13133         * manual/setjmp.texi: Fix typos/grammar errors.
13134
13135         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13136         Only return early when n is <= 0.  Delete unused return statement.
13137
13138         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13139         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13140         * debug/tst-longjmp_chk3.c: New file.
13141
13142         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13143         (test_main): Replace code with set_fortify_handler call.
13144         * debug/test-strcpy_chk.c: Likewise.
13145         * debug/tst-chk1.c: Likewise.
13146         * debug/tst-longjmp_chk.c: Likewise.
13147         * test-skeleton.c: Include fcntl.h & paths.h
13148         (set_fortify_handler): Define.
13149
13150         * debug/tst-longjmp_chk.c: Add header comment and include
13151         ../test-skeleton.c.
13152         (do_test): Mark static.
13153         (TEST_FUNCTION): Define.
13154
13155         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13156         (IP_PMTUDISC_INTERFACE): Likewise.
13157         (IP_MULTICAST_IF): Likewise.
13158         (IP_MULTICAST_TTL): Likewise.
13159         (IP_MULTICAST_LOOP): Likewise.
13160         (IP_ADD_MEMBERSHIP): Likewise.
13161         (IP_DROP_MEMBERSHIP): Likewise.
13162         (IP_UNBLOCK_SOURCE): Likewise.
13163         (IP_BLOCK_SOURCE): Likewise.
13164         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13165         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13166         (IP_MSFILTER): Likewise.
13167         (MCAST_JOIN_GROUP): Likewise.
13168         (MCAST_BLOCK_SOURCE): Likewise.
13169         (MCAST_UNBLOCK_SOURCE): Likewise.
13170         (MCAST_LEAVE_GROUP): Likewise.
13171         (MCAST_JOIN_SOURCE_GROUP): Likewise.
13172         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13173         (MCAST_MSFILTER): Likewise.
13174         (IP_MULTICAST_ALL): Likewise.
13175         (IP_UNICAST_IF): Likewise.
13176
13177         * timezone/Makefile: Delete $(have-ksh) check.
13178         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13179         * timezone/tzselect.ksh: Add +x mode bits.
13180
13181         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13182         (ANON_INODE_FS_MAGIC): Likewise.
13183         (BDEVFS_MAGIC): Likewise.
13184         (BINFMTFS_MAGIC): Likewise.
13185         (BTRFS_TEST_MAGIC): Likewise.
13186         (CRAMFS_MAGIC_WEND): Likewise.
13187         (DEBUGFS_MAGIC): Likewise.
13188         (ECRYPTFS_SUPER_MAGIC): Likewise.
13189         (EXT3_SUPER_MAGIC): Likewise.
13190         (EXT4_SUPER_MAGIC): Likewise.
13191         (FUTEXFS_SUPER_MAGIC): Likewise.
13192         (HOSTFS_SUPER_MAGIC): Likewise.
13193         (HUGETLBFS_MAGIC): Likewise.
13194         (MINIX3_SUPER_MAGIC): Likewise.
13195         (MTD_INODE_FS_MAGIC): Likewise.
13196         (NILFS_SUPER_MAGIC): Likewise.
13197         (OPENPROM_SUPER_MAGIC): Likewise.
13198         (PIPEFS_MAGIC): Likewise.
13199         (PSTOREFS_MAGIC): Likewise.
13200         (QNX6_SUPER_MAGIC): Likewise.
13201         (RAMFS_MAGIC): Likewise.
13202         (REISERFS_SUPER_MAGIC_STRING): Likewise.
13203         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13204         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13205         (SECURITYFS_MAGIC): Likewise.
13206         (SELINUX_MAGIC): Likewise.
13207         (SMACK_MAGIC): Likewise.
13208         (SOCKFS_MAGIC): Likewise.
13209         (SQUASHFS_MAGIC): Likewise.
13210         (STACK_END_MAGIC): Likewise.
13211         (TMPFS_MAGIC): Likewise.
13212         (USBDEVICE_SUPER_MAGIC): Likewise.
13213         (V9FS_MAGIC): Likewise.
13214         (XENFS_SUPER_MAGIC): Likewise.
13215         (CRAMFS_MAGIC): Fix typo in comment.
13216         (EXT2_SUPER_MAGIC): Update comment.
13217         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13218
13219 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
13220
13221         * sysdeps/arm: Move directory from ports/sysdeps/arm.
13222         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13223         * sysdeps/unix/sysv/linux/arm: Move directory from
13224         ports/sysdeps/unix/sysv/linux/arm.
13225         * README: Update listing for arm-*-linux-gnueabi.
13226
13227         * README: Remove mention of am33.
13228
13229 2014-02-07  Roland McGrath  <roland@hack.frob.com>
13230
13231         * bits/sigset.h (__sigemptyset): Use a statement expression rather
13232         than the comma operator, to avoid "rhs of comma has no effect"
13233         compiler warnings.
13234         (__sigfillset, __sigandset, __sigorset): Likewise.
13235         * include/signal.h (__sigemptyset): Likewise.
13236         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13237
13238 2014-02-07  Allan McRae  <allan@archlinux.org>
13239
13240         * version.h (RELEASE): Set to "development".
13241         (VERSION): Set to "2.19.90"
13242         * NEWS: Add 2.20 section.
13243
13244 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
13245
13246         [BZ #16529]
13247         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13248
13249 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13250
13251         * manual/contrib.texi: Update entry for Carlos O'Donell,
13252         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13253
13254 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
13255
13256         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13257
13258         * sysdeps/unix/sysv/linux/kernel-features.h
13259         [__LINUX_KERNEL_VERSION >= 0x020621]
13260         (__ASSUME_PROC_PID_TASK_COMM): Define.
13261
13262 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13263
13264         [BZ #16398]
13265         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13266         conversion when destination buffer does not have enough space.
13267         * libio/tst-ftell-partial-wide.c: New test case.
13268         * libio/Makefile (tests): Add tst-ftell-partial-wide.
13269
13270         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13271         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
13272         Leonard and Allan McRae.
13273
13274 2014-02-04  David S. Miller  <davem@davemloft.net>
13275
13276         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13277         32-bit.
13278
13279 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13280
13281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13282         New file
13283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13284         New file
13285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13286         New file.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13288         New file.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13290         New file.
13291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13292         New file.
13293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13294         New file.
13295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13296         New file.
13297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13298         New file.
13299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13300         New file.
13301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13302         New file.
13303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13304         New file.
13305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13306         New file.
13307
13308 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13309
13310         * nptl/shlib-versions: Change powerpc*le start to 2.17.
13311         * shlib-versions: Likewise.
13312
13313 2014-02-04  Roland McGrath  <roland@hack.frob.com>
13314             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13315
13316         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13317         (abilist-pattern): New variable, set to %-le.abilist.
13318
13319         * Makerules (abilist-pattern): New variable.
13320         (vpath): Use $(abilist-pattern) in place of %.abilist.
13321         (check-abi-% pattern rule): Likewise.
13322         (check-abi, update-abi): Likewise.
13323
13324 2014-02-04  Eric Wong  <normalperson@yhbt.net>
13325
13326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13327
13328 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
13329
13330         * manual/startup.texi: Add next, previous, and top entries for
13331         the `Program Arguments' and `Environment Variables' nodes.
13332
13333 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
13334
13335         * manual/macros.texi: Add comments before MTASC-safety macros.
13336
13337         * manual/users.texi: Document MTASC-safety properties.
13338
13339         * manual/threads.texi (pthread_key_create, pthread_key_delete)
13340         (pthread_getspecific, pthread_setspecific): Format with
13341         @deftypefun, and add @safety note.
13342         * manual/signal.texi: Move comments that analyze the above
13343         functions to their home place.
13344
13345 2014-02-03  Allan McRae  <allan@archlinux.org>
13346
13347         * po/sl.po: Update Slovenian translation from translation project.
13348
13349 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
13350
13351         * manual/time.texi (timegm): Add missing blank after @c.
13352         Reported by Joseph Myers <joseph@codesourcery.com>.
13353
13354 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
13355
13356         * manual/check-safety.sh: New.
13357         * manual/Makefile ($(objpfx)stamp-summary): Run it.
13358
13359         * manual/terminal.texi: Document MTASC-safety properties.
13360
13361         * manual/filesys.texi: Document MTASC-safety properties.
13362
13363         * manual/errno.texi: Document MTASC-safety properties.
13364
13365         * manual/intro.texi: Document safety identifiers and
13366         conditionals.
13367
13368         * manual/string.texi (wcstok): Fix prototype.
13369         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13370
13371         * manual/time.texi: Document MTASC-safety properties.
13372
13373         * manual/string.texi: Document MTASC-safety properties.
13374
13375         * manual/threads.texi: Document MTASC-safety properties.
13376
13377         * manual/stdio.texi: Document MTASC-safety properties.
13378
13379         * manual/syslog.texi: Document MTASC-safety properties.
13380
13381         * manual/sysinfo.texi: Document MTASC-safety properties.
13382
13383         * manual/startup.texi: Document MTASC-safety properties.
13384
13385         * manual/socket.texi: Document MTASC-safety properties.
13386
13387         * manual/signal.texi: Document MTASC-safety properties.
13388
13389 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
13390
13391         * manual/setjmp.texi: Document MTASC-safety properties.
13392
13393         * manual/search.texi: Document MTASC-safety properties.
13394
13395         * manual/resource.texi: Document MTASC-safety properties.
13396
13397         * manual/process.texi: Document MTASC-safety properties.
13398
13399         * manual/platform.texi: Document MTASC-safety properties.
13400
13401         * manual/pipe.texi: Document MTASC-safety properties.
13402
13403         * manual/pattern.texi: Document MTASC-safety properties.
13404
13405         * manual/message.texi: Document MTASC-safety properties.
13406
13407         [BZ #12751]
13408         * manual/memory.texi: Document MTASC-safety properties.
13409
13410         * manual/math.texi: Document MTASC-safety properties.
13411
13412         * manual/locale.texi: Document MTASC-safety properties.
13413
13414         * manual/llio.texi: Document MTASC-safety properties.
13415
13416         * manual/libdl.texi: New.
13417
13418         * manual/lang.texi: Document MTASC-safety properties.
13419
13420         * manual/job.texi: Document MTASC-safety properties.
13421
13422         * manual/getopt.texi: Document MTASC-safety properties.
13423
13424         * manual/ctype.texi: Document MTASC-safety properties.
13425
13426 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
13427
13428         [BZ #16046]
13429         * csu/libc-tls.c (static_map): Remove variable.
13430         (__libc_setup_tls): Use main executable's link map for TLS data.
13431         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13432         casing for LM_ID_BASE and GL(dl_nns).
13433         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13434         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
13435         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13436         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13437         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13438         member.
13439         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13440         l_phnum members.
13441
13442 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
13443
13444         * manual/debug.texi: Document MTASC-safety properties.
13445
13446 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
13447
13448         [BZ #16510]
13449         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13450         of __x86_64__ when disabling x87 inline functions.
13451
13452 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
13453
13454         * manual/charset.texi: Document MTASC-safety properties.
13455
13456         * manual/crypt.texi: Document MTASC-safety properties.
13457
13458         * manual/conf.texi: Document MTASC-safety properties.
13459
13460         * manual/arith.texi: Document MTASC-safety properties.
13461
13462         * manual/argp.texi: Document MTASC-safety properties.
13463
13464         * manual/macros.texi: Introduce macros to document multi
13465         thread, asynchronous signal and asynchronous cancellation
13466         safety properties.
13467         * manual/intro.texi: Introduce the properties themselves.
13468
13469 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13470
13471         * sysdeps/sh/sh4/Makefile: New file.
13472
13473 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
13474
13475         * math/gen-libm-test.pl ($srcdir): New variable.
13476         ($auto_input): Use it.
13477
13478 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13479
13480         [BZ #16506]
13481         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13482         access beyond array bounds when parsing netgroups file.
13483
13484         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13485         the old buffer before realloc.
13486
13487 2014-01-27  Allan McRae  <allan@archlinux.org>
13488
13489         * po/fr.po: Update French translation from translation project.
13490
13491 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13492
13493         * sysdeps/sh/libm-test-ulps: Regenerate.
13494
13495 2014-01-24  David S. Miller  <davem@davemloft.net>
13496
13497         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13498
13499 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13500
13501         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13502         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13503
13504 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505
13506         [BZ #16474]
13507         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13508         string pointers after reallocation.
13509
13510 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13511
13512         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13513         __SH4A__ instead of __SH_FPU_ANY__.
13514
13515 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13516
13517         * sysdeps/sh/fpu_control.h: New file.
13518         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13519         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13520         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13521         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13522         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13523         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13524         * sysdeps/sh/sys/ucontext.h: Remove.
13525         * sysdeps/sh/sys: Remove directory.
13526
13527 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13528
13529         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13530         s390/sys/ucontext.h.
13531         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13532         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13533
13534 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
13535
13536         [BZ #15605]
13537         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13538
13539 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13540
13541         [BZ#16431]
13542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13543         Adjust the vDSO correctly for internal calls.
13544         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13545
13546 2014-01-20  Allan McRae  <allan@archlinux.org>
13547
13548         * po/ca.po: Update Catalan translation from translation project.
13549
13550 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
13551
13552         * sysdeps/s390/sotruss-lib.c: New file.
13553
13554 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13555
13556         [BZ#16430]
13557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13558         (__GI___gettimeofday): Alias for a different internal symbol to avoid
13559         local calls issues by not having a PLT stub required for IFUNC calls.
13560         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13561
13562 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
13563
13564         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13565         * math/test-fpucw-static.c: Likewise.
13566
13567 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13568
13569         [BZ #16453]
13570         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13571
13572 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13573
13574         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13575         implementation for powerpc.
13576
13577 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
13578
13579         [BZ #14782]
13580         * sysdeps/posix/system.c (__libc_system): Do not enable
13581         asynchronous cancellation.
13582
13583 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13584
13585         [BZ #16427]
13586         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13587         handling only for numbers special also in the IEEE case.
13588
13589 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13590
13591         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13592
13593 2014-01-11  Allan McRae  <allan@archlinux.org>
13594
13595         * po/bg.po: Update Bulgarian translation from translation project.
13596
13597         * po/de.po: Update German translation from translation project.
13598
13599 2014-01-10  Roland McGrath  <roland@hack.frob.com>
13600
13601         * sysdeps/generic/gcc-compat.h: New file.
13602
13603 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13604
13605         * benchtests/asin-inputs: Correct slow inputs.
13606         * benchtests/acos-inputs: Likewise.
13607
13608 2014-01-10  Allan McRae  <allan@archlinux.org>
13609
13610         * po:sv.po: Update Swedish translation from translation project.
13611
13612         * po/vi.po: Update Vietnamese translation from translation project.
13613
13614         * po/eo.po: Update Esperanto translation from translation project.
13615
13616         * po/cs.po: Update Czech translation from translation project.
13617
13618         * po/nl.po: Update Dutch translation from translation project.
13619
13620         * po/pl.po: Update Polish translation from translation project.
13621
13622         * po/ru.po: Update Russian translation from translation project.
13623
13624         * po/uk.po: Update Ukrainian translation from translation project.
13625
13626 2014-01-08  Brooks Moses  <bmoses@google.com>
13627
13628         * elf/dl-load.c: Fix comment typo.
13629
13630 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
13631
13632         * po/header.pot: Rename to...
13633         * po/pot.header: ... this.
13634         * po/Makefile: Use pot.header.
13635
13636 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
13637             Maxim Kuvyrkov  <maxim@kugelworks.com>
13638
13639         [BZ #16394]
13640         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13641         SRC and DEST against LEN.
13642
13643 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13644
13645         [BZ #16414]
13646         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13647         implementation.
13648         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13649
13650 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13651
13652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13653
13654 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
13655
13656         [BZ #16408]
13657         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13658         for large positive arguments.
13659
13660 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
13661
13662         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13663
13664         * math/auto-libm-test-in: Mark various tests with
13665         xfail-rounding:ldbl-128ibm.
13666         * math/auto-libm-test-out: Regenerated.
13667
13668         [BZ #16407]
13669         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13670         Increase overflow threshold.
13671
13672 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
13673
13674         [BZ #14286]
13675         * stdio-common/vfprintf.c: Check for integer overflow.
13676
13677 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13678
13679         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13680         the first argument and return value of __tls_get_addr_internal.
13681
13682 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13683
13684         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13685         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13686
13687 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13688
13689         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13690         * sysdeps/s390/rtld-global-offsets.sym: New file.
13691         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13692         GLIBC_2.19 symbol.
13693         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13694         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13695         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13696         ... this.
13697         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13698         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13699         ... this.
13700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13701         Regenerate.
13702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13703         Regenerate.
13704         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13705         halfs of GPRs for high_gprs contexts.
13706         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13707         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
13708         field.
13709         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13710         uc_flags field.
13711         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13712         64 bit versions:
13713         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13714         for high GPRs (uc_high_gprs) and for future extensions
13715         (__reserved).
13716         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13717         for future extensions (__reserved).
13718         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13719         64 bit versions:
13720         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13721         SC_HIGHGPRS offset definition.
13722         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13723         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13724
13725         * Versions.def: Add GLIBC_2.19 for libpthread.
13726         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13727         siglongjmp for libpthread with GLIBC_2.19 symver.
13728         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13729         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13730         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13731         * sysdeps/s390/__longjmp.c: New file.
13732         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13733         * sysdeps/s390/longjmp.c: New file.
13734         * sysdeps/s390/setjmp.S: New file.
13735         * sysdeps/s390/sigjmp.S: New file.
13736         * sysdeps/s390/v1-longjmp.c: New file.
13737         * sysdeps/s390/v1-setjmp.h: New file.
13738         * sysdeps/s390/v1-sigjmp.c: New file.
13739         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13740         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13741         GLIBC_2.19 version.
13742         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13743         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13744         versioned symbols for ____longjmp_chk.
13745         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13746         Likewise.
13747         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13748         Regenerate.
13749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13750         Regenerate.
13751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13752         Regenerate.
13753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13754         Regenerate.
13755         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13756         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13757         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13758         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13759         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13760         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13761         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13762         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13763         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13764         * sysdeps/s390/rtld-__longjmp.c: New file.
13765         * sysdeps/s390/rtld-setjmp.S: New file.
13766
13767 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
13768
13769         [BZ #16400]
13770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13771         Return -__logl (x) for small positive arguments without evaluating
13772         a polynomial.
13773
13774 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
13775
13776         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13777         Rename to ...
13778         (__ptrace_peeksiginfo_args): ... this.
13779         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13780         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13781         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13782
13783 2014-01-06  Allan McRae  <allan@archlinux.org>
13784
13785         * inet/netinet/in.h: Fix typo in comment.
13786
13787 2014-01-05  Andreas Jaeger  <aj@suse.de>
13788
13789         * sysdeps/i386/fpu/libm-test-ulps: Update.
13790
13791 2014-01-05  Allan McRae  <allan@archlinux.org>
13792
13793         * po/libc.pot: Regenerated.
13794
13795         * malloc/memusagestat.c: Fix gettext call formatting.
13796
13797 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13798
13799         * nscd/nscd.c: Improve usage() output.
13800
13801 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13802
13803         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13804         * sysdeps/unix/sysv/linux/configure: Regenerated.
13805         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13806         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13807
13808 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13809
13810         [BZ #16390]
13811         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13812         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13813
13814 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13815
13816         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13817         extra tokens at end of #undef directive.
13818         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13819         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13820         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13821
13822 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13823
13824         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13825
13826         * math/auto-libm-test-in: Mark various tests with
13827         xfail-rounding:ldbl-128ibm.
13828         * math/auto-libm-test-out: Regenerated.
13829
13830 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13831
13832         [BZ #16386]
13833         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13834         numbers with subnormal high part when calculating exponent.
13835
13836         [BZ #16385]
13837         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13838         fabs.
13839
13840         [BZ #16384]
13841         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13842         M_LN2l.
13843         (__ieee754_acoshl): Use __log1pl not __log1p.
13844
13845 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13846
13847         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13848         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13849         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13850         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13851         (reused_arena, arena_get2): Convert to GNU style.
13852         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13853         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13854         (memalign_check, __malloc_set_state): Likewise.
13855         * malloc/mallocbug.c (main): Likewise.
13856         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13857         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13858         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13859         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13860         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13861         (__posix_memalign, malloc_info): Likewise.
13862         * malloc/malloc.h: Likewise.
13863         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13864         (mallochook, memalignhook, reallochook, mabort): Likewise.
13865         * malloc/mcheck.h: Likewise.
13866         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13867         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13868         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13869         * malloc/morecore.c (__default_morecore): Likewise.
13870         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13871         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13872         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13873         (print_and_abort): Likewise.
13874         * malloc/obstack.h: Likewise.
13875         * malloc/set-freeres.c (__libc_freeres): Likewise.
13876         * malloc/tst-mallocstate.c (main): Likewise.
13877         * malloc/tst-mtrace.c (main): Likewise.
13878         * malloc/tst-realloc.c (do_test): Likewise.
13879
13880 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13881
13882         [BZ #16366]
13883         * nscd/netgroupcache.c (do_notfound): New function.
13884         (addgetnetgrentX): Use it.
13885
13886         [BZ # 16365]
13887         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13888         NSS_STATUS_NOTFOUND.
13889
13890 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13891
13892         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13894
13895 2014-01-01  Allan McRae  <allan@archlinux.org>
13896
13897         * scripts/update-copyrights: Update configure input file suffix.
13898
13899         * NEWS: Update copyright year.
13900         * catgets/gencat.c: Likewise.
13901         * csu/version.c: Likewise.
13902         * debug/catchsegv.sh: Likewise.
13903         * debug/pcprofiledump.c: Likewise.
13904         * debug/xtrace.sh: Likewise.
13905         * elf/ldconfig.c: Likewise.
13906         * elf/ldd.bash.in: Likewise.
13907         * elf/pldd.c: Likewise.
13908         * elf/sotruss.ksh: Likewise.
13909         * elf/sprof.c: Likewise.
13910         * iconv/iconv_prog.c: Likewise.
13911         * iconv/iconvconfig.c: Likewise.
13912         * locale/programs/locale.c: Likewise.
13913         * locale/programs/localedef.c: Likewise.
13914         * login/programs/pt_chown.c: Likewise.
13915         * malloc/memusage.sh: Likewise.
13916         * malloc/memusagestat.c: Likewise.
13917         * malloc/mtrace.pl: Likewise.
13918         * manual/libc.texinfo: Likewise.
13919         * nscd/nscd.c: Likewise.
13920         * nss/getent.c: Likewise.
13921         * nss/makedb.c: Likewise.
13922         * posix/getconf.c: Likewise.
13923         * scripts/test-installation.pl: Likewise.
13924
13925         * All files with FSF copyright notices: Update copyright dates
13926         using scripts/update-copyrights.
13927         * intl/plural.c: Regenerated.
13928         * locale/programs/charmap-kw.h: Likewise.
13929         * locale/programs/locfile-kw.h: Likewise.
13930
13931 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13932
13933         * sysdeps/unix/sysv/linux/configure: Regenerated.
13934         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13935         the linux/fanotify.h header.
13936         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13937         HAVE_LINUX_FANOTIFY_H is defined.
13938
13939 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13940
13941         * benchtests/cos-inputs: New inputs.
13942         * benchtests/sin-inputs: Likewise.
13943
13944         * benchtests/atan-inputs: New inputs. Fix name of multiple
13945         precision fallback inputs.
13946
13947         * benchtests/atanh-inputs: New inputs.
13948         * benchtests/tanh-inputs: Likewise.
13949
13950         * benchtests/acosh-inputs: New inputs.
13951         * benchtests/asinh-inputs: Likewise.
13952
13953         * benchtests/cosh-inputs: New inputs.
13954         * benchtests/sinh-inputs: Likewise.
13955
13956         * benchtests/acos-inputs: Add more inputs.
13957         * benchtests/asin-inputs: Likewise.
13958
13959 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13960
13961         [BZ #16375]
13962         * manual/arith.texi: Fix spelling.
13963         * manual/charset.texi: Likewise.
13964         * manual/errno.texi: Likewise.
13965         * manual/filesys.texi: Likewise.
13966         * manual/lang.texi: Likewise.
13967         * manual/llio.texi: Likewise.
13968         * manual/locale.texi: Likewise.
13969         * manual/message.texi: Likewise.
13970         * manual/resource.texi: Likewise.
13971         * manual/search.texi: Likewise.
13972         * manual/setjmp.texi: Likewise.
13973         * manual/stdio.texi: Likewise.
13974         * manual/string.texi: Likewise.
13975         * manual/sysinfo.texi: Likewise.
13976         * manual/time.texi: Likewise.
13977
13978 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13979
13980         * po/sl.po: New file.
13981
13982 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13983
13984         * .gitignore: Add core/.gdbinit/.gdb_history.
13985
13986 2013-12-27  Allan McRae  <allan@archlinux.org>
13987
13988         [BZ #16369]
13989         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13990         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13991
13992 2013-12-24  Brooks Moses  <bmoses@google.com>
13993
13994         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13995         all compilers that claim C++98 compliance, not just GCC.
13996         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13997         Likewise.
13998
13999 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14000
14001         * NEWS: Restore accidentally deleted bug-fix entries.
14002
14003 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
14004             Ondřej Bílka  <neleai@seznam.cz>
14005
14006         [BZ #15073]
14007         * malloc/malloc.c (_int_free): Perform sanity check only if we
14008         have_lock.
14009
14010 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
14011
14012         [BZ #12986]
14013         * manual/stdio.texi (String Input Conversions): Clarify that character
14014         classes are not supported.
14015
14016 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14017
14018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14019
14020 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
14021
14022         [BZ #16337]
14023         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14024         Calculate results for small negative arguments directly rather
14025         than using reflection formula with special underflow handling.
14026
14027         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14028         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14029         sysdeps/unix/bsd/bsd4.4/syscalls.list.
14030         (fchflags): Likewise.
14031         (revoke): Likewise.
14032         (setlogin): Likewise.
14033         (sigaltstack): Likewise.
14034         (wait4): Likewise.
14035         (sigblock): Remove.
14036         (sigsetmask): Likewise.
14037         (wait3): Likewise.
14038         (waitpid): Likewise.
14039         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14040         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14041         file.
14042         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14043         * sysdeps/unix/bsd/Makefile: ... here.
14044         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14045         * sysdeps/unix/bsd/Versions: ... here.
14046         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14047         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14048         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14049         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14050         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14051         * sysdeps/unix/bsd/sigblock.c: ... here.
14052         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14053         * sysdeps/unix/bsd/sigsetmask.c: ... here.
14054         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14055         * sysdeps/unix/bsd/sigvec.c: ... here.
14056         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14057         * sysdeps/unix/bsd/tcdrain.c: ... here.
14058         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14059         * sysdeps/unix/bsd/tcgetattr.c: ... here.
14060         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14061         * sysdeps/unix/bsd/tcsetattr.c: ... here.
14062         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14063         * sysdeps/unix/bsd/wait.c: ... here.
14064         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14065         * sysdeps/unix/bsd/wait3.c: ... here.
14066         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14067         * sysdeps/unix/bsd/waitpid.c: ... here.
14068
14069 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
14070
14071         [BZ #16356]
14072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14073         round-to-nearest for [!USE_AS_EXPM1L].
14074         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14075         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
14076         more tests of exp and exp10.  Expect some exp10 tests to miss
14077         exceptions or fail in directed rounding modes.
14078         * math/auto-libm-test-out: Regenerated.
14079         * math/libm-test.inc (exp10_tonearest_test_data): New array.
14080         (exp10_test_tonearest): New function.
14081         (exp10_towardzero_test_data): New array.
14082         (exp10_test_towardzero): New function.
14083         (exp10_downward_test_data): New array.
14084         (exp10_test_downward): New function.
14085         (exp10_upward_test_data): New array.
14086         (exp10_test_upward): New function.
14087         (main): Call the new functions.
14088         * sysdeps/i386/fpu/libm-test-ulps: Update.
14089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14090
14091 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
14092
14093         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14094         asinh, atan, atan2, atanh, cbrt, cos and cosh.
14095         * math/auto-libm-test-out: Regenerated.
14096         * math/libm-test.inc (acosh_test_data): Add more tests.
14097         (atanh_test_data): Likewise.
14098         (ceil_test_data): Likewise.
14099         (copysign_test_data): Likewise.
14100         * sysdeps/i386/fpu/libm-test-ulps: Update.
14101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102
14103         * timezone/checktab.awk: Update from tzcode 2013i.
14104         * timezone/private.h: Likewise.
14105         * timezone/scheck.c: Likewise.
14106         * timezone/tzfile.h: Likewise.
14107         * timezone/tzselect.ksh: Likewise.
14108         * timezone/zdump.c: Likewise.
14109         * timezone/zic.c: Likewise.
14110
14111         * math/auto-libm-test-in: Add tests of cpow.
14112         * math/auto-libm-test-out: Regenerated.
14113         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14114         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14115         mpc_cc_c.
14116         (func_calc_desc): Add mpc_cc_c union field.
14117         (test_functions): Add cpow.
14118         (special_fill_2pi): New function.
14119         (special_real_inputs): Add 2pi.
14120         (calc_generic_results): Handle mpc_cc_c.
14121         * sysdeps/i386/fpu/libm-test-ulps: Update.
14122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14123
14124         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14125         csqrt, ctan and ctanh.
14126         * math/auto-libm-test-out: Regenerated.
14127         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14128         (TEST_COND_x86): Likewise.
14129         (ccos_test_data): Use AUTO_TESTS_c_c.
14130         (ccosh_test_data): Likewise.
14131         (cexp_test_data): Likewise.
14132         (clog_test_data): Likewise.
14133         (csqrt_test_data): Likewise.
14134         (ctan_test_data): Likewise.
14135         (ctan_tonearest_test_data): Likewise.
14136         (ctan_towardzero_test_data): Likewise.
14137         (ctan_downward_test_data): Likewise.
14138         (ctan_upward_test_data): Likewise.
14139         (ctanh_test_data): Likewise.
14140         (ctanh_tonearest_test_data): Likewise.
14141         (ctanh_towardzero_test_data): Likewise.
14142         (ctanh_downward_test_data): Likewise.
14143         (ctanh_upward_test_data): Likewise.
14144         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14145         mpc_c_c.
14146         (func_calc_desc): Add mpc_c_c union field.
14147         (FUNC_mpc_c_c): New macro.
14148         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14149         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14150         ctanh.
14151         (special_fill_min_subnorm_p120): New function.
14152         (special_real_inputs): Add min_subnorm_p120.
14153         (calc_generic_results): Handle mpc_c_c.
14154         * sysdeps/i386/fpu/libm-test-ulps: Update.
14155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14156
14157 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14158
14159         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14160         (do_sin_slow): New functions.
14161         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14162         (cslow2, csloww1, csloww2): Use the new functions.
14163
14164         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14165         Use M to change sign of result instead of X.  Assume X is
14166         positive.
14167         (csloww1): Likewise.
14168         (__sin): Adjust.
14169         (__cos): Adjust.
14170
14171         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14172         arguments A and DA.
14173         (__sin): Adjust.
14174         (__cos): Likewise.
14175
14176         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14177         (__cos): Likewise.
14178         (sloww1): Don't adjust sign of DX.
14179         (csloww1): Likewise.
14180         (sloww2): Use X directly and don't adjust sign of DX.
14181         (csloww2): Likewise.
14182
14183 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14184
14185         * math/auto-libm-test-in: Add tests of cabs and carg.
14186         * math/auto-libm-test-out: Regenerated.
14187         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14188         (carg_test_data): Likewise.
14189         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14190         mpc_c_f.
14191         (func_calc_desc): Add mpc_c_f union field.
14192         (test_functions): Add cabs and carg.
14193         (calc_generic_results): Handle mpc_c_f.
14194
14195         * sysdeps/powerpc/powerpc32/libgcc-compat.S
14196         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14197         as a macro and a compat symbol.
14198         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14199         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14200         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14201         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14202         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14204         not use .hidden.
14205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14206         Likewise.
14207         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14208         Likewise.
14209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14210         Likewise.
14211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14212         Likewise.
14213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14214         Likewise.
14215         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14216         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14217         from GLIBC_2.3.2.
14218
14219 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14220
14221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14222
14223 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14224
14225         * manual/texinfo.tex: Update to version 2013-11-26.10 with
14226         trailing whitespace removed.
14227         * scripts/config.guess: Update to version 2013-11-29.
14228         * scripts/config.sub: Update to version 2013-10-01.
14229
14230         * math/auto-libm-test-in: Add tests of sincos.
14231         * math/auto-libm-test-out: Regenerated.
14232         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14233         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14234         mpfr_f_11.
14235         (func_calc_desc): Add mpfr_f_11 union field.
14236         (test_functions): Add sincos.
14237         (calc_generic_results): Handle mpfr_f_11.
14238         * sysdeps/i386/fpu/libm-test-ulps: Update.
14239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
14241 2013-12-19  Andreas Schwab  <schwab@suse.de>
14242
14243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14244         CALL_MCOUNT.
14245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14246         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14247         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14248
14249 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
14250
14251         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14252         * sysdeps/i386/fpu/libm-test-ulps: Update.
14253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254
14255         [BZ #16293]
14256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14257         round-to-nearest mode when using frndint.
14258         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14259         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14260         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14261         Likewise.
14262         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
14263         sinh test to fail.
14264         * math/auto-libm-test-out: Regenerated.
14265         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14266         (TEST_COND_x86): Likewise.
14267         (expm1_tonearest_test_data): New array.
14268         (expm1_test_tonearest): New function.
14269         (expm1_towardzero_test_data): New array.
14270         (expm1_test_towardzero): New function.
14271         (expm1_downward_test_data): New array.
14272         (expm1_test_downward): New function.
14273         (expm1_upward_test_data): New array.
14274         (expm1_test_upward): New function.
14275         (main): Run the new test functions.
14276         * sysdeps/i386/fpu/libm-test-ulps: Update.
14277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278
14279         * include/features.h: Update comment documenting feature test
14280         macros.  Mention _DEFAULT_SOURCE in comment.
14281         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14282         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14283         _BSD_SOURCE and _SVID_SOURCE.
14284         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14285         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14286         !_SVID_SOURCE]: Likewise.
14287         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14288         (__USE_POSIX_IMPLICITLY): Define.
14289         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14290         (_POSIX_SOURCE): Undefine and redefine.
14291         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14292         (_POSIX_C_SOURCE): Likewise.
14293         * manual/creature.texi (_DEFAULT_SOURCE): Document.
14294         (Feature Test Macros): Update documentation of default features.
14295
14296 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14297
14298         * benchtests/Makefile: Add bench-strtok.
14299         * benchtests/bench-strtok.c: New file: strtok benchtest.
14300
14301 2013-12-19  Allan McRae  <allan@archlinux.org>
14302
14303         * manual/install.texi: Suppress menu for plain text output.
14304         * INSTALL: Regenerated.
14305
14306 2013-12-18  Brooks Moses  <bmoses@google.com>
14307
14308         [BZ #15846]
14309         * misc/getauxval.c: Include errno.h.
14310         (__getauxval): Set errno to ENOENT if the requested type is not
14311         found.
14312         * misc/sys/auxv.h (getauxval): Document that it may set errno;
14313         don't declare with __attribute_const__.
14314         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14315         * manual/startup.texi: Document that getauxval sets errno.
14316
14317 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14318
14319         * math/auto-libm-test-in: Add tests of jn and yn.
14320         * math/auto-libm-test-out: Regenerated.
14321         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14322         (yn_test_data): Likewise.
14323         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14324         mpfr_if_f.
14325         (func_calc_desc): Add mpfr_if_f union field.
14326         (FUNC_mpfr_if_f): New macro.
14327         (test_functions): Add jn and yn.
14328         (calc_generic_results): Assert type of second input for
14329         mpfr_ff_f.  Handle mpfr_if_f.
14330         (output_for_one_input_case): Disable all checking for arguments
14331         fitting floating-point types in case of an integer argument.
14332         * sysdeps/i386/fpu/libm-test-ulps: Update.
14333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14334
14335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14336         Don't expect fegetround reference in libm.so.
14337
14338 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14339
14340         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14341         $(config-cflags-nofma).
14342
14343 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
14344
14345         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14346         * math/auto-libm-test-out: Regenerated.
14347
14348         [BZ #16338]
14349         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14350         to determine exponent and adjust argument to have exponent of -1.
14351         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14352         log2.
14353         * math/auto-libm-test-out: Regenerated.
14354         * sysdeps/i386/fpu/libm-test-ulps: Update.
14355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356
14357 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
14358
14359         * manual/probes.texi: Remove cases when per-thread arenas are
14360         disabled.
14361
14362 2013-12-18  Andreas Schwab  <schwab@suse.de>
14363
14364         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14365         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14366         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14367         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14368         * sysdeps/i386/i686/multiarch/Makefile: Update.
14369         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14370
14371 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14372
14373         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14374         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14375
14376 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
14377
14378         [BZ #15968]
14379         Support TZ transition times < 00:00:00.
14380         This is needed for version-3 tz-format files; it supports time
14381         stamps past 2037 for America/Godthab (the only entry in the tz
14382         database for which this change is relevant).
14383         * manual/time.texi (TZ Variable): Document transition times
14384         from -167:59:59 through -00:00:01.
14385         * time/tzset.c (tz_rule): Time of day is now signed.
14386         (__tzset_parse_tz): Parse negative time of day.
14387
14388         Document TZ transition times >= 25:00:00.
14389         * manual/time.texi (TZ Variable): Document transition times from
14390         25:00:00 through 167:59:59.  These are already supported, and this
14391         support will help with version-3 tz-format files.
14392
14393         * manual/time.texi (TZ Variable): Modernize North America example
14394         to reflect current (i.e., 2007-and-later) daylight saving rules.
14395
14396         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14397
14398 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14399
14400         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14401         * sysdeps/unix/bsd/bits/stat.h: Likewise.
14402         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14403         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14404         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14405         * sysdeps/unix/bsd/bsdstat.h: Likewise.
14406         * sysdeps/unix/bsd/clock.c: Likewise.
14407         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14408         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14409         * sysdeps/unix/bsd/init-posix.c: Likewise.
14410         * sysdeps/unix/bsd/poll.c: Likewise.
14411         * sysdeps/unix/bsd/ptsname.c: Likewise.
14412         * sysdeps/unix/bsd/seekdir.c: Likewise.
14413         * sysdeps/unix/bsd/setegid.c: Likewise.
14414         * sysdeps/unix/bsd/seteuid.c: Likewise.
14415         * sysdeps/unix/bsd/setgid.c: Likewise.
14416         * sysdeps/unix/bsd/setrgid.c: Likewise.
14417         * sysdeps/unix/bsd/setruid.c: Likewise.
14418         * sysdeps/unix/bsd/setsid.c: Likewise.
14419         * sysdeps/unix/bsd/setuid.c: Likewise.
14420         * sysdeps/unix/bsd/sigaction.c: Likewise.
14421         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14422         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14423         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14424         * sysdeps/unix/bsd/telldir.c: Likewise.
14425         * sysdeps/unix/bsd/times.c: Likewise.
14426         * sysdeps/unix/bsd/usleep.c: Likewise.
14427
14428         * misc/Makefile (install-lib): Remove libbsd-compat.a.
14429         ($(objpfx)libbsd-compat.a): Remove rule.
14430
14431         * include/features.h (__FAVOR_BSD): Do not define.
14432         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14433         features conflicting with POSIX.
14434         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14435         (_BSD_SOURCE): Remove description of not being a subset of other
14436         feature test macros.
14437         * manual/job.texi (getpgrp): Do not document BSD version.
14438         (getpgid): Do not document by reference to BSD getpgrp.
14439         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14440         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14441         * signal/signal.h [__FAVOR_BSD]: Likewise.
14442         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14443         instead of making contents conditional on [__FAVOR_BSD].
14444         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14445
14446 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14447
14448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14449
14450 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
14451
14452         [BZ #16314]
14453         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14454         values below 2**-450, not 2**-500.
14455         * math/auto-libm-test-in: Don't allow spurious underflow from
14456         hypot.
14457         * math/auto-libm-test-out: Regenerated.
14458
14459         [BZ #16316]
14460         [BZ #16330]
14461         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14462         values of ha and hb and sort them after adjusting subnormal
14463         arguments.
14464         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14465         Likewise.
14466         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14467         values of ea and eb and sort them after adjusting subnormal
14468         arguments.
14469         * math/auto-libm-test-in: Do not expect some hypot tests of
14470         subnormals to fail.  Add more hypot tests.
14471         * math/auto-libm-test-out: Regenerated.
14472
14473 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14474
14475         [BZ #13304]
14476         * sysdeps/sh/s_fma.c: New file.
14477         * sysdeps/sh/s_fmaf.c: New file.
14478         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
14479         version.
14480         * sysdeps/sh/Implies: Add sh/soft-fp.
14481
14482 2013-12-16  Roland McGrath  <roland@hack.frob.com>
14483
14484         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
14485         level of indirection to members `objname', `errstring', `malloced'.
14486         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14487         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
14488         it as the __longjmp argument (just pass 1 instead).
14489         (_dl_catch_error): Initialize C with argument pointers and address of
14490         volatile local ERRCODE rather than copying values out of C at return.
14491
14492 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
14493
14494         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14495         * math/auto-libm-test-out: Regenerated.
14496         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14497         (hypot_test_data): Likewise.
14498         (pow_test_data): Likewise.
14499         (pow_tonearest_test_data): Likewise.
14500         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14501         mpfr_ff_f.
14502         (func_calc_desc): Add mpfr_ff_f union field.
14503         (FUNC_mpfr_ff_f): New macro.
14504         (test_functions): Add atan2, hypot and pow.
14505         (special_fill_min): New function.
14506         (special_fill_minus_min): Likewise.
14507         (special_fill_min_subnorm): Likewise.
14508         (special_fill_minus_min_subnorm): Likewise.
14509         (special_real_inputs): Add min, -min, min_subnorm and
14510         -min_subnorm.
14511         (calc_generic_results): Handle mpfr_ff_f.
14512         * sysdeps/i386/fpu/libm-test-ulps: Update.
14513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14514
14515 2013-12-16  Will Newton  <will.newton@linaro.org>
14516
14517         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14518         (Aligned Memory Blocks): Add documentation for aligned_alloc
14519         and suggest it as an alternative to posix_memalign.
14520         (Hooks for Malloc): Document __memalign_hook is also called
14521         for aligned_alloc.  (Summary of Malloc): Add summary for
14522         aligned alloc.  Document __memalign_hook is also called
14523         for aligned_alloc.
14524
14525 2013-12-16  Will Newton  <will.newton@linaro.org>
14526
14527         * manual/memory.texi (Malloc Examples): Clarify default
14528         alignment documentation.  Suggest posix_memalign rather
14529         than memalign or valloc.
14530         (Aligned Memory Blocks): Remove suggestion to use memalign
14531         or valloc.  Remove obsolete comment about BSD.
14532         Document memalign errno values and mark the function obsolete.
14533         Document posix_memalign returned error codes.  Mark valloc
14534         as obsolete.  (Hooks for Malloc): __memalign_hook is also
14535         called for posix_memalign and valloc.
14536         (Summary of Malloc): Add posix_memalign to function summary.
14537         __memalign_hook is also called for posix_memalign and valloc.
14538
14539 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14540
14541         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14542         TAYLOR_SIN.
14543         (__sin): Adjust.
14544         (__cos): Likewise.
14545         (sloww): Use mynumber union.  Expand ternary operator into
14546         if-else statements.
14547         (cslow): use mynumber union.
14548
14549 2013-12-16  Allan McRae  <allan@archlinux.org>
14550
14551         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14552         * configure: Regenerated.
14553
14554         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14555
14556         [BZ #14120]
14557         * configure.ac: Added --enable-maintainer-mode. Check for
14558         autoconf when enabled.
14559         * configure: Regenerated.
14560
14561         * nscd/nscd.service: New file.
14562         * nscd/nscd.tmpfiles: New file.
14563
14564 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
14565
14566         [BZ #12100]
14567         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14568         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14569         * sysdeps/x86_64/multiarch/strstr.c: ... here.
14570         (strstr): Add __strstr_sse2_unaligned ifunc.
14571         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14572         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14573         (strcasestr): Remove __strcasestr_sse42 ifunc.
14574         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14576         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14577
14578 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14579
14580         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14581         * sysdeps/sh/bits/fenv.h: ... here.
14582         * sysdeps/sh/sh4/fpu/bits: Remove directory.
14583
14584 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14585
14586         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14587
14588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14589         hypotf multiarch implementations.
14590         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14591         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14592         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14593         multiarch hypot for PPC64.
14594         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14597         multiarch hypotf for PPC64.
14598
14599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14600         modff multiarch implementations.
14601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14604         multiarch modf for PPC64.
14605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14608         multiarch modff for PPC64.
14609
14610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14611         and logl multiarch implementations.
14612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14615         multiarch logb for PPC64.
14616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14619         multiarch logb for PPC64.
14620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14623         multiarch logb for PPC64.
14624
14625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14626         isinff multiarch implementation.
14627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14628         file.
14629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14631         multiarch isinf for PPC64.
14632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14633         file.
14634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14635         multiarch isinff for PPC64.
14636
14637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14638         finitef multiarch implementation.
14639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14640         file.
14641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14643         multiarch finite for PPC64.
14644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14645         file.
14646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14647         multiarch finitef for PPC64.
14648
14649         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14650         lrint multiarch implementation.
14651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14652         file.
14653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14655         multiarch llrint for PPC64.
14656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14657         multiarch lrint for PPC64.
14658
14659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14660         copysignf multiarch implementation.
14661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14662         file.
14663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14664         file.
14665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14666         multiarch copysign for PPC64.
14667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14668         multiarch copysignf for PPC64.
14669
14670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14671         multiarch implementation.
14672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14673         file.
14674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14675         file.
14676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14677         file.
14678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14679         file.
14680         multiarch llround for PPC64.
14681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14682         multiarch trunc for PPC64.
14683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14684         multiarch truncf for PPC64.
14685
14686         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14687         multiarch implementation.
14688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14689         file.
14690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14691         file.
14692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14693         file.
14694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14695         file.
14696         multiarch llround for PPC64.
14697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14698         multiarch round for PPC64.
14699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14700         multiarch roundf for PPC64.
14701
14702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14703         multiarch implementation.
14704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14705         file.
14706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14707         file.
14708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14709         file.
14710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14711         file.
14712         multiarch llround for PPC64.
14713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14714         multiarch floor for PPC64.
14715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14716         multiarch floorf for PPC64.
14717
14718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14719         multiarch implementation.
14720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14721         file.
14722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14723         file.
14724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14725         file.
14726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14727         file.
14728         multiarch llround for PPC64.
14729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14730         multiarch ceil for PPC64.
14731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14732         multiarch ceilf for PPC64.
14733
14734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14735         multiarch implementation.
14736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14737         file.
14738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14739         file.
14740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14741         file.
14742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14743         multiarch llround for PPC64.
14744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14745         multiarch lround for PPC64.
14746
14747         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14748         multiarch implementation.
14749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14752         file.
14753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14756         multiarch isnan for PPC64.
14757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14758         multiarch isnanf for PPC64.
14759
14760         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14761         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14762         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14763         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14764         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14766
14767         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14768         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14770         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14771
14772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14773         multiarch implementations.
14774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14775         (__libc_ifunc_impl_list): Likewise.
14776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14778         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14779         multiarch stpcpy for PPC64.
14780
14781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14782         multiarch implementations.
14783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14784         (__libc_ifunc_impl_list): Likewise.
14785         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14786         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14787         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14788         multiarch strcpy for PPC64.
14789
14790         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14791         redefine function name.
14792         (_wordcopy_fwd_dest_aligned): Likewise.
14793         (_wordcopy_bwd_aligned): Likewise.
14794         (_wordcopy_bwd_dest_aligned): Likewise.
14795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14796         multiarch implementations.
14797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14798         (__libc_ifunc_impl_list): Likewise.
14799         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14800         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14801         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14802         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14803         multiarch wcscpy for PPC64.
14804
14805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14806         multiarch implementations.
14807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14808         (__libc_ifunc_impl_list): Likewise.
14809         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14810         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14811         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14812         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14813         multiarch wcscpy for PPC64.
14814
14815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14816         multiarch implementations.
14817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14818         (__libc_ifunc_impl_list): Likewise.
14819         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14820         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14821         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14822         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14823         multiarch wcsrchr for PPC64.
14824
14825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14826         multiarch implementations.
14827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14828         (__libc_ifunc_impl_list): Likewise.
14829         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14830         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14831         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14832         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14833         multiarch wcschr for PPC64.
14834
14835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14836         multiarch implementations.
14837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14838         (__libc_ifunc_impl_list): Likewise.
14839         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14840         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14841         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14842         multiarch strchrnul for PPC64.
14843
14844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14845         implementations.
14846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14847         (__libc_ifunc_impl_list): Likewise.
14848         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14849         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14850         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14851         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14852         strchr for PPC64.
14853
14854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14855         implementations.
14856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14857         (__libc_ifunc_impl_list): Likewise.
14858         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14859         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14860         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14861         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14862         strncmp for PPC64.
14863
14864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14865         multiarch implementations.
14866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14867         (__libc_ifunc_impl_list): Likewise.
14868         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14869         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14870         strncasecmp for PPC64.
14871         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14872         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14873         multiarch strncasecmp_l for PPC64.
14874
14875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14876         multiarch implementations.
14877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14878         (__libc_ifunc_impl_list): Likewise.
14879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14880         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14881         multiarch strcasecmp for PPC64.
14882         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14883         file.
14884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14885         multiarch strcasecmp_l for PPC64.
14886
14887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14888         implementations.
14889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14890         (__libc_ifunc_impl_list): Likewise.
14891         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14892         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14893         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14894         strnlen for PPC64.
14895
14896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14897         implementations.
14898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14899         (__libc_ifunc_impl_list): Likewise.
14900         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14901         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14902         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14903         strlen for PPC64.
14904
14905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14906         implementations.
14907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14908         (__libc_ifunc_impl_list): Likewise.
14909         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14910         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14911         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14912         rawmemrchr for PPC64.
14913
14914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14915         implementation.
14916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14917         (__libc_ifunc_impl_list): Likewise.
14918         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14919         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14920         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14921         memrchr for PPC64.
14922
14923         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14924         implementation.
14925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14926         (__libc_ifunc_impl_list): Likewise.
14927         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14928         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14929         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14930         memchr for PPC64.
14931
14932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14933         implementation.
14934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14935         (__libc_ifunc_impl_list): Likewise.
14936         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14937         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14938         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14939         mempcpy for PPC64.
14940
14941         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14942         avoid cretion of __bzero symbol.
14943         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14944         Likewise.
14945         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14946         Likewise.
14947         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14948         Likewise.
14949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14950         multiarch implementations.
14951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14952         (__libc_ifunc_impl_list): Likewise.
14953         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14954         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14955         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14956         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14957         bzero for PPC32.
14958         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14959         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14960         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14961         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14962         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14963         memset for PPC64.
14964         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14965
14966         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14968         implementations.
14969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14970         (__libc_ifunc_impl_list): Likewise.
14971         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14972         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14973         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14974         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14975         memcmp for PPC64.
14976
14977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14978         multiarch for POWER/PPC64.
14979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14980         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14981         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14982         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14983         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14984         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14985         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14987         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14988         memcpy for PPC64.
14989
14990         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14991         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14992         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14993         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14994         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14995         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14996         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14997         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14998         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14999         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15000         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15001         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15002         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15003         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15004         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15012
15013 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15014
15015         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15016
15017 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15018
15019         * benchtests/Makefile (bench): Add exp2 and log2.
15020         (LDLIBS-bench-exp2): Add -lm.
15021         (LDLIBS-bench-log2): Likewise.
15022         * benchtests/exp2-inputs: New inputs file.
15023         * benchtests/log2-inputs: New inputs file.
15024         * benchtests/log-inputs: Add new inputs.
15025         * benchtests/tan-inputs: Likewise.
15026
15027 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15028
15029         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15030         definition...
15031         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15032         (csloww2): ... from here.
15033
15034         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15035         instead of structures.
15036         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15037         (POLYNOMIAL): Likewise.
15038         (TAYLOR_SLOW): Likewise.
15039         (__sin): Likewise.
15040         (__cos): Likewise.
15041         (slow1): Likewise.
15042         (slow2): Likewise.
15043         (sloww): Likewise.
15044         (sloww1); Likewise.
15045         (sloww2): Likewise.
15046         (bsloww1): Likewise.
15047         (bsloww2): Likewise.
15048         (cslow2): Likewise.
15049         (csloww): Likewise.
15050         (csloww1): Likewise.
15051         (csloww2): Likewise.
15052
15053 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
15054
15055         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15056         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15057         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15058         * malloc/hooks.c (realloc_check): Likewise.
15059
15060         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15061         * malloc/arena.c: Remove PER_THREAD conditional.
15062         [!PER_THREAD]: Remove code.
15063         (ptmalloc_unlock_all2): Likewise.
15064         (ptmalloc_init): Likewise.
15065         (_int_new_arena): Likewise.
15066         (arena_get2): Likewise.
15067         * malloc/hooks.c (__malloc_get_state): Likewise.
15068         (__malloc_set_state): Likewise.
15069         * malloc/malloc.c: Likewise.
15070         (struct malloc_state): Likewise.
15071         (struct malloc_par): Likewise.
15072         (__libc_realloc): Likewise.
15073         (__libc_mallopt): Likewise.
15074
15075 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15076
15077         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15078
15079 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
15080
15081         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15082         macro to a function.  Check for zero perturb_byte.
15083         (_int_malloc, _int_free): Remove zero perturb_byte checks.
15084
15085         * malloc/malloc.c: (force_reg): Remove.
15086         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15087         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15088         force_reg by atomic_forced_read.
15089         * malloc/arena.c (ptmalloc_init): Likewise.
15090         * malloc/hooks.c (top_check): Likewise.
15091
15092 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15093
15094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15095
15096 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
15097
15098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15099
15100 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
15101
15102         * math/auto-libm-test-in: Add tests of lgamma.
15103         * math/auto-libm-test-out: Regenerated.
15104         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15105         (M_LOG_2_SQRT_PIl): Likewise.
15106         (lgamma_test_data): Use AUTO_TESTS_f_f1.
15107         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15108         mpfr_f_f1.
15109         (func_calc_desc): Add mpfr_f_f1 union field.
15110         (ARGS1): New macro.
15111         (ARGS2): Likewise.
15112         (ARGS3): Likewise.
15113         (ARGS4): Likewise.
15114         (RET1): Likewise.
15115         (RET2): Likewise.
15116         (CALC): Likewise.
15117         (FUNC): Likewise.
15118         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15119         (test_functions): Add lgamma.
15120         (calc_generic_results): Handle mpfr_f_f1.
15121         * sysdeps/i386/fpu/libm-test-ulps: Update.
15122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15123
15124 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15125
15126         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15127         __mpn_add_n for PowerPC64/POWER7.
15128         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15129         __mpn_sub_n for PowerPC64/POWER7.
15130
15131         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15132         __mpn_addmul_1 for PowerPC64.
15133         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15134         __mpn_submul_1 for PowerPC64.
15135         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15136         for PowerPC64.
15137         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15138         for PowerPC64.
15139
15140 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
15141
15142         [BZ #15089]
15143         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15144
15145 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15146
15147         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15148
15149         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15150         add multiarch folders.
15151         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15152         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15153         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15154         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15155         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15156         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15157         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15158         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15159         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15160         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15161         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15168
15169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15170         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15172         New file.
15173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15174         New file.
15175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15176         multiarch __ieee754_hypot for PowerPC32.
15177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15178         New file.
15179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15180         New file.
15181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15182         multiarch __ieee754_hypotf for PowerPC32.
15183
15184         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15185         long_double_symbol only if __logbl is defined.
15186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15187         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15189         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15191         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15192         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15193         path for implementation.
15194         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15195         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15197         logb, and logbl multiarch implementations for PowerPC32.
15198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15199         file.
15200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15201         file.
15202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15203         multiarch logb for PowerPC32.
15204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15205         file.
15206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15207         file.
15208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15209         multiarch logbf for PowerPC32.
15210         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15212         file.
15213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15214         multiarch logbl implementation for PowerPC32.
15215
15216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15217         and modff multiarch implementations.
15218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15219         New file.
15220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15221         New file.
15222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15223         multiarch modf for PowerPC32.
15224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15225         New file.
15226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15227         New file.
15228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15229         multiarch modff for PowerPC32.
15230
15231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15232         and lrintf multiarch implementations.
15233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15234         New file.
15235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15236         New file.
15237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15238         multiarch lrint for PowerPC32.
15239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15240         file: multiarch lrintf for PowerPC32.
15241
15242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15243         and lroundf multiarch implementations.
15244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15245         New file.
15246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15247         New file.
15248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15249         New file.
15250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15251         multiarch lround for PowerPC32.
15252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15253         file: multiarch lroundf for PowerPC32.
15254
15255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15256         copysign and copysignf multiarch implementations.
15257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15258         New file.
15259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15260         New file.
15261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15262         file: multiarch copysign for PowerPC32.
15263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15264         file: multiarch copysignf for PowerPC32.
15265
15266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15267         and truncf multiarch implementations.
15268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15269         New file.
15270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15271         file.
15272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15273         multiarch trunc for PowerPC32.
15274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15275         New file.
15276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15277         New file.
15278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15279         multiarch truncf for PowerPC32.
15280
15281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15282         and roundf multiarch implementations.
15283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15284         New file.
15285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15286         file.
15287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15288         multiarch round for PowerPC32.
15289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15290         New file.
15291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15292         New file.
15293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15294         multiarch roundf for PowerPC32.
15295
15296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15297         and floorf multiarch implementations.
15298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15299         New file.
15300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15301         file.
15302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15303         multiarch floor for PowerPC32.
15304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15305         New file.
15306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15307         New file.
15308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15309         multiarch floorf for PowerPC32.
15310
15311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15312         and ceilf multiarch implementations.
15313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15314         New file.
15315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15316         file.
15317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15318         multiarch ceil for PowerPC32.
15319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15320         New file.
15321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15322         file.
15323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15324         multiarch ceilf for PowerPC32.
15325
15326         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15327         is defined.
15328         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15329         FINITEF is defined.
15330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15331         and finitef multiarch implementations.
15332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15333         New file.
15334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15335         file.
15336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15337         multiarch finite for PowerPC32.
15338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15339         New file.
15340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15341         file: multiarch finitef for PowerPC32.
15342
15343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15344         and isinff multiarch implementations.
15345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15346         file.
15347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15348         file.
15349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15350         multiarch isinf for PowerPC32.
15351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15352         New file.
15353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15354         multiarch isinff for PowerPC32.
15355
15356         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15357         alias when __isnan is defined.
15358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15359         and isnanf multiarch implementations.
15360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15361         file.
15362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15363         file.
15364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15365         file.
15366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15367         file.
15368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15369         multiarch isnan for PowerPC32.
15370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15371         New file.
15372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15373         New file.
15374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15375         multiarch isnanf for PowerPC32.
15376
15377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15378         and sqrtf multiarch implementations.
15379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15380         file.
15381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15382         file.
15383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15384         multiarch sqrt for PowerPC32.
15385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15386         file.
15387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15388         file.
15389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15390         multiarch sqrtf for PowerPC32.
15391
15392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15393         and llroundf multiarch implementations.
15394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15395         New file.
15396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15397         New file.
15398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15399         New file.
15400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15401         file: multiarch llround for PowerPC32.
15402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15403         file: multiarch llroundf for PowerPC32.
15404
15405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15406         multiarch PowerPC32 fpu implementations.
15407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15408         New file.
15409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15410         New file.
15411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15412         multiarch llrint for PowerPC32.
15413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15414         New file.
15415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15416         New file.
15417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15418         file.
15419
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15421
15422         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15423         file.
15424         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15425         file.
15426         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15427         file.
15428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15429         multiarch wordcopy for PPC32.
15430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15431         wordcopy objects.
15432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15433         (__libc_ifunc_impl_list): Likewise.
15434         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15435         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15436         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15437         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15438         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15439         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15440
15441         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15443         file.
15444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15445         file.
15446         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15447         file.
15448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15449         multiarch wcscpy for PPC32.
15450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15451         multiarch objects.
15452         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15453         (__libc_ifunc_impl_list): Likewise.
15454         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15455         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15456         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15457         sysdeps/powerpc/power6/wcscpy.c.
15458
15459         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15461         file.
15462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15463         file.
15464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15465         file.
15466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15467         multiarch wcsrchr for PPC32.
15468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15469         multiarch objects.
15470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15471         (__libc_ifunc_impl_list): Likewise.
15472         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15473         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15474         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15475         sysdeps/powerpc/power6/wcsrchr.c.
15476
15477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15478         file.
15479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15480         file.
15481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15483         multiarch wcschr for PPc32.
15484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15485         multiarch objects.
15486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15487         (__libc_ifunc_impl_list): Likewise.
15488         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15489         * sysdeps/powerpc/power6/wcschr.c: ... to here.
15490         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15491         sysdeps/powerpc/power6/wcschr.c.
15492
15493         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15494         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15495         file.
15496         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15497         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15498         file: multiarch strchr for PPC32.
15499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15500         multiarch objects.
15501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15502         (__libc_ifunc_impl_list): Likewise.
15503
15504         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15505         name.
15506         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15507         file.
15508         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15509         file.
15510         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15511         multiarch strchrnul for PPC32.
15512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15513         multiarch objects.
15514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15515         (__libc_ifunc_impl_list): Likewise.
15516
15517         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15518         file.
15519         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15520         multiarch strncasecmp for PPC32.
15521         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15522         file.
15523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15524         multiarch strncasecmp_l for PPC32.
15525         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15526         strncasecmp multiarch objects.
15527         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15528         (__libc_ifunc_impl_list): Likewise.
15529
15530         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15531         file.
15532         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15533         multiarch strncasecmp for PPC32.
15534         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15535         New file.
15536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15537         multiarch strcasecmp_l for PPC32.
15538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15539         multiarch objects.
15540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15541         (__libc_ifunc_impl_list): Likewise.
15542
15543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15544         file.
15545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15546         file.
15547         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15548         multiarch strncmp for PPC32.
15549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15550         multiarch objects.
15551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15552         (__libc_ifunc_impl_list): Likewise.
15553
15554         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15555         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15556         file.
15557         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15558         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15560         multiarch objects.
15561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15562         (__libc_ifunc_impl_list): Likewise.
15563
15564         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15565         file.
15566         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15567         file.
15568         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15570         multiarch objects.
15571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15572         (__libc_ifunc_impl_list): Likewise.
15573
15574         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15575         file.
15576         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15577         file.
15578         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15579         multiarch rawmemchr for PPC32.
15580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15581         multiarch objects.
15582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15583         (__libc_ifunc_impl_list): Likewise.
15584
15585         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15586         file.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15588         file.
15589         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15590         file: memrchr multiarch for PPC32.
15591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15592         multiarch objects.
15593         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15594         (__libc_ifunc_impl_list): Likewise.
15595
15596         * string/memchr.c (__memchr): Using macro to redefine symbol name.
15597         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15598         file.
15599         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15600         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15601         multiarch memchr for PPC32.
15602         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15603         multiarch objects.
15604         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15605         (__libc_ifunc_impl_list): Likewise.
15606
15607         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15608         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15609         file.
15610         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15611         file.
15612         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15613         file: multiarch mempcpy for PPC32.
15614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15615         multiarch objects.
15616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15617         (__libc_ifunc_impl_list): Likewise.
15618
15619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15620         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15621         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15623         multiarch bzero for PPC32.
15624         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15625         file.
15626         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15627         file.
15628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15629         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15630         file: multiarch memset for PPC32.
15631         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15633         memset multiarch objects.
15634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15635         (__libc_ifunc_impl_list): Likewise.
15636
15637         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15638         file.
15639         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15641         memcmp for PPC32.
15642         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15644         multiarch objects.
15645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15646         (__libc_ifunc_impl_list): Likewise.
15647
15648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15649         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15650         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15651         file.
15652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15653         file.
15654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15655         file.
15656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15657         multiarch memcpy for PPC32.
15658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15659         multiarch objects.
15660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15661         (__libc_ifunc_impl_list): Likewise.
15662
15663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15664         support multiarch for POWER/PPC32.
15665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15666         Likewise.
15667         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15669         Implies file to make multiarch folder appers before the fpu and
15670         default folder for power4 configuration.
15671
15672 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15673
15674         * scripts/bench.pl: Append volatile keyword to type.
15675
15676 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15677
15678         * sysdeps/sh/sotruss-lib.c: New file.
15679         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15680
15681 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15682
15683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15684
15685 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
15686
15687         [BZ #6810]
15688         * math/w_tgamma.c: Include <errno.h>.
15689         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
15690         * math/w_tgammaf.c: Include <errno.h>.
15691         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
15692         * math/w_tgammal.c: Include <errno.h>.
15693         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
15694         * math/auto-libm-test-in: Do not allow missing errno on tgamma
15695         underflow.  Add more tgamma tests.
15696         * math/auto-libm-test-out: Regenerated.
15697         * sysdeps/i386/fpu/libm-test-ulps: Update.
15698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699
15700         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15701         sin, sinh, tan, tanh, tgamma, y0 and y1.
15702         * math/auto-libm-test-out: Regenerated.
15703         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15704         (TEST_COND_x86): Likewise.
15705         (M_E2l): Remove macro.
15706         (M_E3l): Likewise.
15707         (M_2_SQRT_PIl): Likewise.
15708         (M_SQRT_PIl): Likewise.
15709         (M_1_DIV_El): Likewise.
15710         (log_test_data): Use AUTO_TESTS_f_f.
15711         (log10_test_data): Likewise.
15712         (log1p_test_data): Likewise.
15713         (log2_test_data): Likewise.
15714         (sin_test_data): Likewise.
15715         (sin_tonearest_test_data): Likewise.
15716         (sin_towardzero_test_data): Likewise.
15717         (sin_downward_test_data): Likewise.
15718         (sin_upward_test_data): Likewise.
15719         (sinh_test_data): Likewise.
15720         (sinh_tonearest_test_data): Likewise.
15721         (sinh_towardzero_test_data): Likewise.
15722         (sinh_downward_test_data): Likewise.
15723         (sinh_upward_test_data): Likewise.
15724         (tan_test_data): Likewise.
15725         (tan_tonearest_test_data): Likewise.
15726         (tan_towardzero_test_data): Likewise.
15727         (tan_downward_test_data): Likewise.
15728         (tan_upward_test_data): Likewise.
15729         (tanh_test_data): Likewise.
15730         (tgamma_test_data): Likewise.
15731         (y0_test_data): Likewise.
15732         (y1_test_data): Likewise.
15733         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15734         (special_real_inputs): Add pi/4.
15735         * sysdeps/i386/fpu/libm-test-ulps: Update.
15736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737
15738 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15739
15740         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15741         "longjmp_target" static probes.
15742         (__longjmp): Rename to __longjmp_symbol.
15743         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15744         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15745         on which longjmp to generate.
15746         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15747         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15748         probe.
15749         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15750         (__sigjmp_save): Rename to __sigjmp_save_symbol.
15751         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15752         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15753         and __sigjmp_save_symbol based on which sigsetjmp to generated.
15754         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15756         __longjmp_symbol based on which __longjmp to generate.
15757         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15758         probe.
15759         (setjmp): Rename to setjmp_symbol.
15760         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15761         (_setjmp): Rename to _setjmp_symbol.
15762         (__sigsetjmp): Rename to __sigsetjmp_symbol.
15763         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15764         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15765         which setjmp to generate.
15766         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15767         "longjmp_target" static probes.
15768
15769 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15770
15771         * benchtests/README: Add note about output arguments.
15772         * benchtests/bench-sincos.c: Remove file.
15773         * benchtests/sincos-inputs: New file.
15774         * scripts/bench.pl: Identify output arguments and define
15775         static variables for them.
15776
15777         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15778
15779         [BZ #15941]
15780         * Makefile (INSTALL): Add install-plain.texi as the primary
15781         dependency.
15782         * manual/install-plain.texi: New file.
15783         * manual/install.texi: Include node directive only for
15784         non-plaintext output.
15785
15786 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15787
15788         * stdlib/longlong.h: Update from GCC.
15789
15790         [BZ #6807]
15791         [BZ #15901]
15792         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15793         * math/w_j0f.c (y0f): Likewise.
15794         * math/w_j0l.c (__y0l): Likewise.
15795         * math/w_j1.c (y1): Likewise.
15796         * math/w_j1f.c (y1f): Likewise.
15797         * math/w_j1l.c (__y1l): Likewise
15798         * math/w_jn.c (yn): Likewise.
15799         * math/w_jnf.c (ynf): Likewise.
15800         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15801         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15802         value for Bessel function domain errors outside _SVID_ mode.
15803         Adjust sign of return value for yn (negative integer, 0).
15804         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15805         by zero in return for negative x and set sign appropriately for
15806         negative n.
15807         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15808         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15809         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15810         expectations in error cases.
15811         (y1_test_data): Likewise.
15812         (yn_test_data): Likewise.
15813         * sysdeps/i386/fpu/libm-test-ulps: Update.
15814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815
15816 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15817
15818         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15819         "64" to "64-v1".  Add "64-v2".
15820         (abi-64-options): Rename to ...
15821         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15822         (abi-64-condition): Rename to ...
15823         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15824         (abi-64-ld-soname): Rename to ...
15825         (abi-64-v1-ld-soname): ... this.
15826         (abi-64-v2-options): Define.
15827         (abi-64-v2-condition): Likewise.
15828         (abi-64-v2-ld-soname): Likewise.
15829         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15830         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15834
15835 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15836             Alan Modra  <amodra@gmail.com>
15837
15838         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15839         New versions for use with the ELFv2 ABI.
15840         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15841         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15842         declaration.
15843         (struct La_ppc64v2_retval): Likewise.
15844         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15845         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15846         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15847         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15848         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15849         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15850         Do not save or restore CR.
15851         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15852         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15853         return values for ELFv2 ABI.  Fix location of FPR return registers.
15854         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15855         updated values for _CALL_ELF == 2.
15856         (La_regs, La_retval, int_retval): Likewise.
15857
15858 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15859
15860         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15861         (FRAME_MIN_SIZE_PARM): Likewise.
15862         (FRAME_BACKCHAIN): Likewise.
15863         (FRAME_CR_SAVE): Likewise.
15864         (FRAME_LR_SAVE): Likewise.
15865         (FRAME_TOC_SAVE): Likewise.
15866         (FRAME_PARM_SAVE): Likewise.
15867         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15868         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15869         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15870         (call_mcount_parm_offset): New macro.
15871         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15872         (PROF): Use symbolic stack frame offsets.
15873         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15874         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15875         Redefine in terms of FRAME_MIN_SIZE.
15876         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15877         (_dl_profile_resolve): Likewise.  Update comment.
15878         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15879         symbols stack frame offsets.
15880         (__sigsetjmp): Likewise.
15881         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15882         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15883         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15884         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15885
15886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15887         (FRAME_BACKCHAIN): Remove.
15888         (FRAME_CR_SAVE): Likewise.
15889         (FRAME_LR_SAVE): Likewise.
15890         (FRAME_COMPILER_DW): Likewise.
15891         (FRAME_LINKER_DW): Likewise.
15892         (FRAME_TOC_SAVE): Likewise.
15893         (FRAME_PARM_SAVE): Likewise.
15894         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15895         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15896         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15898         (CHECK_SP): Use symbolic stack frame offsets.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15900         zone" instead of caller's parameter save area for temp storage.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15902         Likewise.  Also, use symbolic stack frame offsets.
15903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15904         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15905         our own stack frame instead of the caller's.
15906         (__socket): Use symbolic stack frame offsets.
15907
15908 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15909             Alan Modra  <amodra@gmail.com>
15910
15911         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15912         Define.
15913         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15914         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15915         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15916         New function.
15917         (elf_machine_fixup_plt): Call it.
15918         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15919         reloc arguments.
15920         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15921         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15922         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15923         r2 before calling target.
15924
15925 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15926             Alan Modra  <amodra@gmail.com>
15927
15928         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15929         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15930         versions of macros to support ELFv2 ABI.
15931         (LOCALENTRY): New macro.
15932         (ENTRY, EALIGN): Use it.
15933         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15934         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15935         fall through into ENTRY entry point.
15936         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15937         Only define if _CALL_ELF != 2.
15938
15939         (elf_machine_matches_host): Verify ABI version matches.
15940         (RTLD_START): Use LOCALENTRY.
15941         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15942         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15943         (PLT_ENTRY_WORDS): New macro.
15944         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15945         (elf_machine_runtime_setup): Support ELFv2 ABI.
15946         (elf_machine_fixup_plt): Likewise.
15947         (elf_machine_plt_conflict): Likewise.
15948         (resolve_ifunc): Likewise.
15949         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15950         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15951         Likewise.
15952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15953         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15955         (makecontext): Support ELFv2 ABI.
15956         * elf/elf.h (EF_PPC64_ABI): Define.
15957
15958 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15959
15960         * sysdeps/powerpc/powerpc64/sysdep.h
15961         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15962         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15963         (ENTRY) [ASSEMBLER]: ... but instead here ...
15964         (EALIGN) [ASSEMBLER]: ... and here.
15965         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15966         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15967         (ENTRY_2) [!ASSEMBLER]: Use it.
15968         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15969         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15970         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15971         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15972         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15974         Use PPC64_LOAD_FUNCPTR.
15975
15976         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15977
15978 2013-12-04  Alan Modra  <amodra@gmail.com>
15979
15980         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15981         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15982         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15983         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15984
15985         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15986         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15987         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15988         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15989         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15990         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15991
15992 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15993
15994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15995         (__makecontext): Fix incorrect CFI when backtracing out of
15996         context created via makecontext.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15998         (__setcontext): Fix incorrect CFI during switch to new context.
15999         (__novec_setcontext): Likewise.
16000
16001 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16002
16003         [BZ #4772]
16004         * time/strptime_l.c (__strptime_internal): Allow modifiers
16005         in strptime.
16006         * time/tst-strptime.c (day_tests): Add testcase.
16007
16008 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009
16010         * scripts/bench.pl: Skip over blank lines.
16011
16012 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
16013
16014         [BZ #926]
16015         * manual/time.texi (Calendar Time): Clarify what timezone functions
16016         use.
16017
16018 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16019
16020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16021
16022 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
16023
16024         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16025         implementation.
16026         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16027         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16028         * debug/memset_chk.c (__memset_chk): Likewise.
16029         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16030         * debug/strncpy_chk.c: Likewise.
16031
16032 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16033
16034         [BZ #15268]
16035         [BZ #15425]
16036         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16037         (__ieee754_exp): For possibly underflowing results, check size of
16038         result and force underflow exception if required.
16039         * math/auto-libm-test-in: Add more tests of exp.
16040         * math/auto-libm-test-out: Regenerated.
16041         * sysdeps/i386/fpu/libm-test-ulps: Update.
16042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16043
16044         [BZ #16283]
16045         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16046         * math/w_exp2f.c (__exp2f): Likewise.
16047         * math/w_exp2l.c (__exp2l): Likewise.
16048         * math/auto-libm-test-in: Do not allow missing errno on exp2
16049         underflow.
16050         * math/auto-libm-test-out: Regenerated.
16051
16052 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
16053
16054         [BZ #16274]
16055         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16056         handle filename validation.
16057         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16058         (do_open): Delete.
16059
16060 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
16061
16062         [BZ #6786]
16063         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16064         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16065         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16066         <float.h>.
16067         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16068         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16069         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16071         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16072         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16073         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16074         * math/auto-libm-test-in: Don't allow missing errno from erfc.
16075         Add more erfc tests.
16076         * math/auto-libm-test-out: Regenerated.
16077         * sysdeps/i386/fpu/libm-test-ulps: Update.
16078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079
16080         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16081         exp2, expm1, j0 and j1.
16082         * math/auto-libm-test-out: Regenerated.
16083         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16084         (erfc_test_data): Likewise.
16085         (exp_test_data): Likewise.
16086         (exp_tonearest_test_data): Likewise.
16087         (exp_towardzero_test_data): Likewise.
16088         (exp_downward_test_data): Likewise.
16089         (exp_upward_test_data): Likewise.
16090         (exp10_test_data): Likewise.
16091         (exp2_test_data): Likewise.
16092         (expm1_test_data): Likewise.
16093         (j0_test_data): Likewise.
16094         (j1_test_data): Likewise.
16095         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16096         (input_flag_type): Add flag_xfail_rounding.
16097         (input_flags): Add xfail-rounding.
16098         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16099         (output_for_one_input_case): Handle flag_xfail_rounding.
16100         * sysdeps/i386/fpu/libm-test-ulps: Update.
16101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16102
16103 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
16104
16105         [BZ #16289]
16106         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16107         division by 0.
16108
16109 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16110
16111         [BZ #16195]
16112         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16113         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16114         (STAP_PROBE0): New macro.
16115         (STAP_PROBE1): Likewise.
16116         (STAP_PROBE2): Likewise.
16117         (STAP_PROBE3): Likewise.
16118         (STAP_PROBE4): Likewise.
16119
16120 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
16121
16122         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16123
16124 2013-12-02  Steve Ellcey  <sellcey@mips.com>
16125
16126         * benchtests/Makefile (bench): Add sqrt.
16127         (LDLIBS-bench-sqrt): New.
16128         * benchtests/sqrt-input: New.
16129
16130 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
16131
16132         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16133         (GAIH_EAI): Likewise.
16134         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16135         (gaih_inet): Likewise.
16136         (getaddrinfo): Don't use GAIH_EAI.
16137
16138         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16139         (struct gaih): Remove definition.
16140
16141 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16142
16143         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16144         Use HERRNOP directly.
16145
16146 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16147
16148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16149
16150 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
16151
16152         * math/gen-auto-libm-tests.c (test_functions): Add more
16153         single-argument functions.
16154         (special_fill_pi_2): New function.
16155         (special_fill_minus_pi_2): Likewise.
16156         (special_fill_pi_6): Likewise.
16157         (special_fill_minus_pi_6): Likewise.
16158         (special_fill_pi_3): Likewise.
16159         (special_fill_2pi_3): Likewise.
16160         (special_fill_e): Likewise.
16161         (special_fill_1_e): Likewise.
16162         (special_fill_e_minus_1): Likewise.
16163         (special_real_inputs): Add more special inputs.
16164         (output_for_one_input_case): Do not require ERANGE on underflow to
16165         zero if round-to-nearest result does not underflow to zero, unless
16166         exact results required.
16167         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16168         atan, atanh, cbrt, cos and cosh.
16169         * math/auto-libm-test-out: Regenerated.
16170         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16171         (acos_tonearest_test_data): Likewise.
16172         (acos_towardzero_test_data): Likewise.
16173         (acos_downward_test_data): Likewise.
16174         (acos_upward_test_data): Likewise.
16175         (acosh_test_data): Likewise.
16176         (asin_test_data): Likewise.
16177         (asin_tonearest_test_data): Likewise.
16178         (asin_towardzero_test_data): Likewise.
16179         (asin_upward_test_data): Likewise.
16180         (asinh_test_data): Likewise.
16181         (atan_test_data): Likewise.
16182         (atanh_test_data): Likewise.
16183         (cbrt_test_data): Likewise.
16184         (cos_test_data): Likewise.
16185         (cos_tonearest_test_data): Likewise.
16186         (cos_towardzero_test_data): Likewise.
16187         (cos_downward_test_data): Likewise.
16188         (cos_upward_test_data): Likewise.
16189         (cosh_test_data): Likewise.
16190         (cosh_tonearest_test_data): Likewise.
16191         (cosh_towardzero_test_data): Likewise.
16192         (cosh_downward_test_data): Likewise.
16193         (cosh_upward_test_data): Likewise.
16194         * sysdeps/i386/fpu/libm-test-ulps: Update.
16195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16196
16197 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
16198
16199         [BZ #6787]
16200         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16201         * math/w_exp10f.c (__exp10f): Likewise.
16202         * math/w_exp10l.c (__exp10l): Likewise.
16203         * math/libm-test.inc (exp10_test_data): Add more tests and expect
16204         errno settings in existing tests.
16205
16206         [BZ #14032]
16207         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16208         precision control set to double precision.
16209         * sysdeps/i386/fpu/w_sqrt.c: New file.
16210         * math/auto-libm-test-in: Add more tests.
16211         * math/auto-libm-test-out: Update.
16212
16213         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16214         (sqrt_test_tonearest): New function.
16215         (sqrt_towardzero_test_data): New variable.
16216         (sqrt_test_towardzero): New function.
16217         (sqrt_downward_test_data): New variable.
16218         (sqrt_test_downward): New function.
16219         (sqrt_upward_test_data): New variable.
16220         (sqrt_test_upward): New function.
16221         (main): Call the new functions.
16222
16223         * math/gen-auto-libm-tests.c: New file.
16224         * math/auto-libm-test-in: Likewise.
16225         * math/auto-libm-test-out: New generated file.
16226         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16227         variables.
16228         (%beautify): Add generated representations of zero.
16229         (top level): Set $auto_input and call parse_auto_input.
16230         (beautify): Remove trailing "f" from hex float constants.
16231         (parse_args): Handle XFAIL_TEST.
16232         (convert_condition): New function.
16233         (or_value): Likewise.
16234         (or_cond_value): Likewise.
16235         (generate_testfile): Handle AUTO_TESTS_* lines.
16236         (parse_auto_input): New function.
16237         * math/libm-test.inc (XFAIL_TEST): New macro.
16238         (ERRNO_UNCHANGED): Update value.
16239         (ERRNO_EDOM): Likewise.
16240         (ERRNO_ERANGE): Likewise.
16241         (IGNORE_RESULT): Likewise.
16242         (TEST_COND_flt_32): New macro.
16243         (TEST_COND_dbl_64): Likewise.
16244         (TEST_COND_ldbl_96_intel): Likewise.
16245         (TEST_COND_ldbl_96_m68k): Likewise.
16246         (TEST_COND_ldbl_128): Likewise.
16247         (TEST_COND_ldbl_128ibm): Likewise.
16248         (TEST_COND_long32): Likewise.
16249         (TEST_COND_long64): Likewise.
16250         (TEST_COND_before_rounding): Likewise.
16251         (TEST_COND_after_rounding): Likewise.
16252         (enable_test): Handle XFAIL_TEST flag.
16253         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16254         with finite results.
16255         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16256         auto-libm-test-out.
16257
16258 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16259             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16260
16261         [BZ #16214]
16262         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16263         __tls_get_addr_internal instead of __tls_get_offset in order to
16264         avoid GOT pointer dependency.  Make rtld export
16265         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16266         __tls_get_addr since we are a __tls_get_offset platform.
16267         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16268         GOT pointer being set up before.
16269         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16270
16271 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
16272
16273         * manual/math.texi (Errors in Math Functions): Document accuracy
16274         goals.
16275
16276         [BZ #15004]
16277         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16278         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16279         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16280         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16281         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16282         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16283         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16284         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16285         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16286         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16287         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16288         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16289         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16290         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16291         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16292         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16293
16294         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16295         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16296         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16297         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16298         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16299         Likewise.
16300         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16301         Likewise.
16302         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16303         Likewise.
16304         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16305         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16306         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16307         atomic-feupdateenv and flt-rounds.
16308         * sysdeps/powerpc/nofpu/Versions (libc): Add
16309         __atomic_feholdexcept, __atomic_feclearexcept,
16310         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16311         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16312         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16313         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16314         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16315         here.
16316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16317         Update.
16318
16319         * manual/arith.texi (FP Exceptions): Document that exceptions may
16320         not be raised when matherr is used.
16321         (Math Error Reporting): Document overflow in directed rounding
16322         modes.  Document that errno may not be set when finite values are
16323         returned on overflow.  Document intent to set errno on underflow
16324         only for underflow to zero.
16325
16326         [BZ #16271]
16327         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16328         round-to-nearest then adjust result for other rounding modes.
16329         * include/fenv.h (fegetround): Use libm_hidden_proto.
16330         * math/fegetround.c (fegetround): Use libm_hidden_def.
16331         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16332         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16333         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16335         Likewise.
16336         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16337         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16338         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16339         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16340
16341 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16342
16343         [BZ #16077]
16344         * nss/Versions (libnss_files): Add
16345         _nss_files_gethostbyname3_r.
16346         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16347         New function.
16348         (HOST_DB_LOOKUP): Remove macro.
16349         (_nss_files_gethostbyname_r): Implement function without the
16350         HOST_DB_LOOKUP macro.
16351         (_nss_files_gethostbyname2_r): Likewise.
16352
16353 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
16354
16355         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16356
16357 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
16358
16359         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16360         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16361         warning.
16362
16363 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16364
16365         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16366         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16367         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16368         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16369         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16370         __fe_nomask_env_priv and attribute_hidden.
16371         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16372         (libc_feupdateenv_test_ppc): Likewise.
16373         (libc_feresetround_ppc): Likewise.
16374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16375         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16376         compat_symbol macro.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16378         (__fe_nomask_env): Likewise.
16379         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16380
16381 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16382
16383         * string/Makefile: Remove ifunc tests.
16384         * string/test-string.h: Define TEST_IFUNC.
16385         * string/test-bcopy-ifunc.c: Remove.
16386         * string/test-bzero-ifunc.c: Likewise.
16387         * string/test-memccpy-ifunc.c: Likewise.
16388         * string/test-memchr-ifunc.c: Likewise.
16389         * string/test-memcmp-ifunc.c: Likewise.
16390         * string/test-memcpy-ifunc.c: Likewise.
16391         * string/test-memmem-ifunc.c: Likewise.
16392         * string/test-memmove-ifunc.c: Likewise.
16393         * string/test-mempcpy-ifunc.c: Likewise.
16394         * string/test-memrchr-ifunc.c: Likewise.
16395         * string/test-memset-ifunc.c: Likewise.
16396         * string/test-rawmemchr-ifunc.c: Likewise.
16397         * string/test-stpcpy-ifunc.c: Likewise.
16398         * string/test-stpncpy-ifunc.c: Likewise.
16399         * string/test-strcasecmp-ifunc.c: Likewise.
16400         * string/test-strcasestr-ifunc.c: Likewise.
16401         * string/test-strcat-ifunc.c: Likewise.
16402         * string/test-strchr-ifunc.c: Likewise.
16403         * string/test-strchrnul-ifunc.c: Likewise.
16404         * string/test-strcmp-ifunc.c: Likewise.
16405         * string/test-strcpy-ifunc.c: Likewise.
16406         * string/test-strcspn-ifunc.c: Likewise.
16407         * string/test-strlen-ifunc.c: Likewise.
16408         * string/test-strncasecmp-ifunc.c: Likewise.
16409         * string/test-strncat-ifunc.c: Likewise.
16410         * string/test-strncmp-ifunc.c: Likewise.
16411         * string/test-strncpy-ifunc.c: Likewise.
16412         * string/test-strnlen-ifunc.c: Likewise.
16413         * string/test-strpbrk-ifunc.c: Likewise.
16414         * string/test-strrchr-ifunc.c: Likewise.
16415         * string/test-strspn-ifunc.c: Likewise.
16416         * string/test-strstr-ifunc.c: Likewise.
16417
16418 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16419
16420         * benchtests/Makefile: Remove ifunc tests.
16421         * benchtests/bench-string.h: Define TEST_IFUNC.
16422         * benchtests/bench-bcopy-ifunc.c: Remove.
16423         * benchtests/bench-bzero-ifunc.c: Likewise.
16424         * benchtests/bench-memccpy-ifunc.c: Likewise.
16425         * benchtests/bench-memchr-ifunc.c: Likewise.
16426         * benchtests/bench-memcmp-ifunc.c: Likewise.
16427         * benchtests/bench-memcpy-ifunc.c: Likewise.
16428         * benchtests/bench-memmem-ifunc.c: Likewise.
16429         * benchtests/bench-memmove-ifunc.c: Likewise.
16430         * benchtests/bench-mempcpy-ifunc.c: Likewise.
16431         * benchtests/bench-memrchr-ifunc.c: Likewise.
16432         * benchtests/bench-memset-ifunc.c: Likewise.
16433         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16434         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16435         * benchtests/bench-stpcpy-ifunc.c: Likewise.
16436         * benchtests/bench-stpncpy-ifunc.c: Likewise.
16437         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16438         * benchtests/bench-strcasestr-ifunc.c: Likewise.
16439         * benchtests/bench-strcat-ifunc.c: Likewise.
16440         * benchtests/bench-strchr-ifunc.c: Likewise.
16441         * benchtests/bench-strchrnul-ifunc.c: Likewise.
16442         * benchtests/bench-strcmp-ifunc.c: Likewise.
16443         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16444         * benchtests/bench-strcpy-ifunc.c: Likewise.
16445         * benchtests/bench-strcspn-ifunc.c: Likewise.
16446         * benchtests/bench-strlen-ifunc.c: Likewise.
16447         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16448         * benchtests/bench-strncat-ifunc.c: Likewise.
16449         * benchtests/bench-strncmp-ifunc.c: Likewise.
16450         * benchtests/bench-strncpy-ifunc.c: Likewise.
16451         * benchtests/bench-strnlen-ifunc.c: Likewise.
16452         * benchtests/bench-strpbrk-ifunc.c: Likewise.
16453         * benchtests/bench-strrchr-ifunc.c: Likewise.
16454         * benchtests/bench-strsep-ifunc.c: Likewise.
16455         * benchtests/bench-strspn-ifunc.c: Likewise.
16456         * benchtests/bench-strstr-ifunc.c: Likewise.
16457
16458 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16459
16460         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16461
16462 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
16463
16464         * resolv/netdb.h: Use __glibc_reserved instead __unused.
16465         * rt/aio.h: Likewise.
16466         * sysdeps/gnu/bits/utmp.h: Likewise.
16467         * sysdeps/gnu/bits/utmpx.h: Likewise.
16468         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16469         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16470         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16471         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16472         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16473         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16474         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16475         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16476         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16477         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16478         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16479         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16480         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16482         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16483         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16484         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16485         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16486         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16487         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16488         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16489         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16490         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16492         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16496         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16497         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16498         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16499         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16500         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16501         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16502         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16503         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16504         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16505         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16506         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16507         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16508         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16509         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16510
16511 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
16512
16513         [BZ #16245]
16514         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16515         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16516
16517 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
16518
16519         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16520         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16521         Likewise.
16522
16523 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16524
16525         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16526         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16527         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16528         (__fesetround): Remove define.
16529         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16530         rounding and exceptions handling.
16531         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16532         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16533         (__fe_nomask_env): Likewise.
16534         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16535         __fegetround instead of fegetround.
16536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16537         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16538
16539 2013-11-21  Roland McGrath  <roland@hack.frob.com>
16540
16541         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16542         it's there.
16543
16544         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16545
16546 2013-11-21  Meador Inge  <meadori@codesourcery.com>
16547
16548         [BZ #11157]
16549         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16550         (encrypt_r): Likewise.
16551         * malloc/obstack.h (obstack_free): Likewise.
16552         * posix/unistd.h (encrypt): Likewise.
16553
16554 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
16555
16556         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16557         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16558         DL_CALL_DT_FINI() that call the functions directly.
16559         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16560         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16561         * elf/dl-fini.c: Likewise.
16562
16563 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
16564
16565         * malloc/hooks.c (memalign_check): Add alignment rounding.
16566         * malloc/malloc.c (_mid_memalign): New function.
16567         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16568         Implement by calling _mid_memalign.
16569         * manual/probes.texi (Memory Allocation Probes): Remove
16570         memory_valloc_retry and memory_pvalloc_retry.
16571
16572 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16573
16574         * locale/programs/locarchive.c (open_archive): Add const
16575         qualifier to ARCHIVEFNAME and copy default fname to
16576         DEFAULT_FNAME.
16577
16578         [BZ #15601]
16579         * libio/tst-widetext.input: Rename Oriya to Odia.
16580         * locale/iso-639.def: Likewise.
16581
16582         * manual/probes.texi (Mathematical Function Probes): Add
16583         documentation for sin, cos, asin and acos probes.
16584         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16585         (__sin32): Add slowasin probe.
16586         (__cos32): Add slowacos probe.
16587         (__mpsin): Add slowsin probe.
16588         (__mpcos): Add slowcos probe.
16589
16590 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
16591
16592         [BZ #15483]
16593         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16594         thread-local __sim_exceptions_thread and global
16595         __sim_exceptions_global.
16596         (__sim_disabled_exceptions): Change to thread-local
16597         __sim_disabled_exceptions_thread and global
16598         __sim_disabled_exceptions_global.
16599         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16600         and global __sim_round_mode_global.
16601         (__simulate_exceptions): Use thread-local floating-point state and
16602         set global state from it as needed.
16603         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16604         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16605         __sim_round_mode_thread.
16606         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16607         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16608         and global __sim_exceptions_global.
16609         (__sim_disabled_exceptions): Change to thread-local
16610         __sim_disabled_exceptions_thread and global
16611         __sim_disabled_exceptions_global.
16612         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16613         and global __sim_round_mode_global.
16614         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16615         (SIM_SET_GLOBAL): Likewise.
16616         * sysdeps/powerpc/soft-fp/sfp-machine.h
16617         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16618         __sim_round_mode_thread.
16619         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16620         __sim_disabled_exceptions_thread.
16621         (__sim_exceptions): Change to __sim_exceptions_thread.
16622         (__sim_disabled_exceptions): Change to
16623         __sim_disabled_exceptions_thread.
16624         (__sim_round_mode): Change to __sim_round_mode_thread.
16625         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16626         thread-local floating-point state and set global state from it as
16627         needed.
16628         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16629         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16630         (__sim_disabled_exceptions): Remove extern declaration.
16631         (feenableexcept): Use thread-local floating-point state and set
16632         global state from it as needed.
16633         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16634         extern declaration.
16635         (__sim_disabled_exceptions): Likewise.
16636         (__sim_round_mode): Likewise.
16637         (__fegetenv): Use thread-local floating-point state.
16638         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16639         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16640         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16641         floating-point state and set global state from it as needed.
16642         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16643         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16644         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16645         Likewise.
16646         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16647         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16648         Likewise.
16649         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16650         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16651         Use __sim_round_mode_thread.
16652         * math/test-fenv-tls.c: New file.
16653         * math/Makefile (tests): Add test-fenv-tls.
16654         ($(objpfx)test-fenv-tls): Depend on
16655         $(common-objpfx)nptl/libpthread.so.
16656
16657 2013-11-19  Andreas Schwab  <schwab@suse.de>
16658
16659         * locale/programs/locale.c (show_info): Decode wordarray elements.
16660         * locale/categories.def (LC_MONETARY): Add element for
16661         _NL_MONETARY_CRNCYSTR.
16662         * locale/C-monetary.c (conversion_rate): New variable.
16663         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16664         element.
16665
16666 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
16667
16668         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16669         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16670
16671 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
16672
16673         * elf/Makefile (tst-auxv): New test.
16674         * elf/tst-auxv.c: New
16675         * elf/rtld.c (dl_main): Adjust AT_EXECFN
16676
16677 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
16678
16679         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16680         (hidden_proto): Caller changed.
16681         (hidden_tls_proto): New macro.
16682         (libc_hidden_tls_proto): Likewise.
16683         (rtld_hidden_tls_proto): Likewise.
16684         (libm_hidden_tls_proto): Likewise.
16685         (libresolv_hidden_tls_proto): Likewise.
16686         (librt_hidden_tls_proto): Likewise.
16687         (libdl_hidden_tls_proto): Likewise.
16688         (libnss_files_hidden_tls_proto): Likewise.
16689         (libnsl_hidden_tls_proto): Likewise.
16690         (libnss_nisplus_hidden_tls_proto): Likewise.
16691         (libutil_hidden_tls_proto): Likewise.
16692
16693 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
16694
16695         [BZ #10253]
16696         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16697         (decompose_rpath): Defer expansion to fillin_rpath.
16698         (_dl_init_paths): Pass linkmap to fillin_rpath.
16699
16700 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16701
16702         * benchtests/Makefile: Add strsep.
16703         * benchtests/bench-strsep.c: New file: strsep benchtest.
16704         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16705
16706 2013-11-18  Andreas Schwab  <schwab@suse.de>
16707
16708         * locale/programs/locale.c (show_info) [case byte]: Check for
16709         '\377' instead of '\177'.
16710         * locale/C-monetary.c (not_available): Always use "\377".
16711         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16712         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
16713         detect unavailable sign_posn locale elements.
16714         * locale/localeconv.c (__localeconv): For grouping and
16715         mon_grouping handle "\177" and "\377" like no grouping.
16716         (INT_ELEM): New macro.  Use it to set all numeric members.
16717         * locale/programs/ld-monetary.c (monetary_read)
16718         <tok_mon_grouping>: Normalize single -1 to the empty string.
16719         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16720         Likewise.
16721
16722 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16723
16724         [BZ #16055]
16725         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16726         when we match (nil).
16727         * stdio-common/tst-sscanf.c (struct test): Add testcase.
16728
16729 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
16730
16731         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16732         (NO_TEST_INLINE): Update value.
16733         (ERRNO_UNCHANGED): Likewise.
16734         (ERRNO_EDOM): Likewise.
16735         (ERRNO_ERANGE): Likewise.
16736         (IGNORE_RESULT): Likewise.
16737         (check_float_internal): Check signs of NaN results if
16738         TEST_NAN_SIGN used.
16739         (check_complex): Pass TEST_NAN_SIGN flag through to second
16740         check_float_internal call.
16741         (copysign_test_data): Add tests with quiet NaNs as second
16742         argument.  Use TEST_NAN_SIGN.
16743         (fabs_test_data): Add test of negative quiet NaN argument.  Use
16744         TEST_NAN_SIGN.
16745         (signbit_test_data): Add tests of quiet NaN argument.
16746         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16747
16748         * math/gen-libm-test.pl (show_exceptions): Take extra argument
16749         $ignore_result.
16750         (parse_args): Handle function results specified as IGNORE.
16751         * math/libm-test.inc (IGNORE_RESULT): New macro.
16752         (check_float_internal): Do not check numerical result if flag
16753         IGNORE_RESULT set.
16754         (check_complex): Pass through IGNORE_RESULT to second
16755         check_float_internal call.
16756         (check_int): Do not check numerical result if flag IGNORE_RESULT
16757         set.
16758         (check_long): Likewise.
16759         (check_bool): Likewise.
16760         (check_longlong): Likewise.
16761         (lrint_test_data): Add tests of infinite and NaN arguments.
16762         (lrint_tonearest_test_data): Likewise.
16763         (lrint_towardzero_test_data): Likewise.
16764         (lrint_downward_test_data): Likewise.
16765         (lrint_upward_test_data): Likewise.
16766         (llrint_test_data): Likewise.
16767         (llrint_tonearest_test_data): Likewise.
16768         (llrint_towardzero_test_data): Likewise.
16769         (llrint_downward_test_data): Likewise.
16770         (llrint_upward_test_data): Likewise.
16771         (lround_test_data): Likewise.
16772         (llround_test_data): Likewise.
16773
16774         * math/libm-test.inc (NO_TEST_INLINE): New macro.
16775         (ERRNO_UNCHANGED): Update value.
16776         (ERRNO_EDOM): Likewise.
16777         (ERRNO_ERANGE): Likewise.
16778         (NO_TEST_INLINE_FLOAT): New macro.
16779         (NO_TEST_INLINE_DOUBLE): Likewise.
16780         (enable_test): New function.
16781         (RUN_TEST_f_f): Check enable_test before running test.
16782         (RUN_TEST_2_f): Likewise.
16783         (RUN_TEST_fff_f): Likewise.
16784         (RUN_TEST_c_f): Likewise.
16785         (RUN_TEST_f_f1): Likewise.
16786         (RUN_TEST_fF_f1): Likewise.
16787         (RUN_TEST_fI_f1): Likewise.
16788         (RUN_TEST_ffI_f1): Likewise.
16789         (RUN_TEST_c_c): Likewise.
16790         (RUN_TEST_cc_c): Likewise.
16791         (RUN_TEST_f_i): Likewise.
16792         (RUN_TEST_f_i_tg): Likewise.
16793         (RUN_TEST_ff_i_tg): Likewise.
16794         (RUN_TEST_f_b): Likewise.
16795         (RUN_TEST_f_b_tg): Likewise.
16796         (RUN_TEST_f_l): Likewise.
16797         (RUN_TEST_f_L): Likewise.
16798         (RUN_TEST_fFF_11): Likewise.
16799         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16800         conditionals.
16801         (cosh_test_data): Likewise.
16802         (exp_test_data): Likewise.
16803         (expm1_test_data): Likewise.
16804         (hypot_test_data): Likewise.
16805         (pow_test_data): Likewise.
16806         (sinh_test_data): Likewise.
16807         (tanh_test_data): Likewise.
16808         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16809         flags argument.
16810
16811         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16812         tests with quiet NaN input and output.
16813         (acosh_test_data): Likewise.
16814         (asin_test_data): Likewise.
16815         (asinh_test_data): Likewise.
16816         (atan_test_data): Likewise.
16817         (atanh_test_data): Likewise.
16818         (atan2_test_data): Likewise.
16819         (cbrt_test_data): Likewise.
16820         (cos_test_data): Likewise.
16821         (cosh_test_data): Likewise.
16822         (erf_test_data): Likewise.
16823         (erfc_test_data): Likewise.
16824         (exp_test_data): Likewise.
16825         (exp10_test_data): Likewise.
16826         (exp2_test_data): Likewise.
16827         (expm1_test_data): Likewise.
16828         (hypot_test_data): Likewise.
16829         (j0_test_data): Likewise.
16830         (j1_test_data): Likewise.
16831         (jn_test_data): Likewise.
16832         (lgamma_test_data): Likewise.
16833         (log_test_data): Likewise.
16834         (log10_test_data): Likewise.
16835         (log1p_test_data): Likewise.
16836         (log2_test_data): Likewise.
16837         (pow_test_data): Likewise.
16838         (scalb_test_data): Likewise.
16839         (sin_test_data): Likewise.
16840         (sincos_test_data): Likewise.
16841         (sinh_test_data): Likewise.
16842         (tan_test_data): Likewise.
16843         (tanh_test_data): Likewise.
16844         (tgamma_test_data): Likewise.
16845         (y0_test_data): Likewise.
16846         (y1_test_data): Likewise.
16847         (yn_test_data): Likewise.
16848
16849         [BZ #16167]
16850         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16851         argument being NaN and avoid computations with second argument in
16852         that case.
16853         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16854         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16855         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16856
16857 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16858
16859         * locale/iso-639.def: Add Chitwani Tharu (the).
16860
16861 2013-11-14  Andreas Schwab  <schwab@suse.de>
16862
16863         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16864         word instead of empty string.
16865
16866 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16867
16868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16869         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16871         (__fe_nomask_env): Likewise.
16872
16873 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16874
16875         * benchtests/bench-timing.h: Include time.h.
16876
16877 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16878
16879         [BZ #15997]
16880         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16881         to 3.4.0 for x32.
16882         * sysdeps/unix/sysv/linux/configure: Regenerated.
16883
16884 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16885
16886         [BZ #16151]
16887         * stdlib/strtod_l.c (round_and_return): Do not consider
16888         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16889         exponent one less than half the least subnormal exponent.
16890         * stdlib/test-strtod-round-data: Add more tests.
16891         * stdlib/tst-strtod-round.c (tests): Regenerated.
16892
16893 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16894
16895         [BZ #14143]
16896         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16897         (__fe_mask_env): Likewise.
16898         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16899         libm_hidden_proto and add function prototype.
16900         (__fe_mask_env): Add function prototype.
16901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16902         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16904         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16906         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16907
16908 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16909
16910         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16911         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16912
16913 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16914
16915         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16916         of htab_find_slot().
16917
16918 2013-11-11  David S. Miller  <davem@davemloft.net>
16919
16920         [BZ #16150]
16921         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16922         symbol in the non-vis3 case in static builds.
16923         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16924         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16925         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16926         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16927
16928 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16929
16930         [BZ #387]
16931         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16932         it is empty.
16933
16934 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16935
16936         * benchtests/Makefile: Add bench-strtod.
16937         * benchtests/bench-strtod.c: New file: strtod benchtest
16938
16939 2013-11-11  Andreas Schwab  <schwab@suse.de>
16940
16941         [BZ #16153]
16942         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16943         terminating NUL in key length.
16944
16945 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16946
16947         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16948         Add artificial ODP entry for vDSO symbol for PPC64.
16949         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16950         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16951
16952 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16953
16954         [BZ #15374]
16955         * nss/getent.c (services_keys): Recognize services starting with digit.
16956
16957 2013-11-06  David S. Miller  <davem@davemloft.net>
16958
16959         [BZ #15985]
16960         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16961         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16962
16963 2013-11-06  Will Newton  <will.newton@linaro.org>
16964
16965         * manual/memory.texi (Malloc Examples): Remove register
16966         keyword from examples.
16967
16968 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16969
16970         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16971
16972 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16973
16974         [BZ #6981]
16975         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16976         depending on [__GCC_IEC_559 > 0].
16977         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16978         depending on [__GCC_IEC_559_COMPLEX > 0].
16979
16980 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16981
16982         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16983         to iso-639.def.
16984
16985 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16986
16987         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16988
16989 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16990
16991         [BZ #16112]
16992         * malloc/malloc (malloc_info): Do not handle first bin as
16993         special case.
16994
16995 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16996
16997         * locale/iso-639.def: Add Central Nahuatl (nhn).
16998
16999 2013-11-01  Bruno Haible  <bruno@clisp.org>
17000
17001         [BZ #7003]
17002         * manual/math.texi (BSD Random): Specify range upper bound as
17003         in POSIX.
17004
17005 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
17006
17007         * locale/iso-639.def: Add Meadow Mari (mhr).
17008
17009 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
17010
17011         [BZ #14752], [BZ #15763]
17012         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17013         Validate name.
17014         * rt/tst_shm.c: Add test for escaping directory.
17015
17016 2013-10-31  Andreas Schwab  <schwab@suse.de>
17017
17018         [BZ #15917]
17019         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17020         followed by 'x' as part of digit sequence.
17021         * stdio-common/tst-sscanf.c (double_tests2): New tests.
17022
17023 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17024
17025         [BZ #16037]
17026         * configure.ac: allow GNU Make 4.0 and greater.
17027         * configure: Regenerated.
17028
17029 2013-10-30  Will Newton  <will.newton@linaro.org>
17030
17031         [BZ #16038]
17032         * malloc/hooks.c (memalign_check): Limit alignment to the
17033         maximum representable power of two.
17034         * malloc/malloc.c (__libc_memalign): Likewise.
17035         * malloc/tst-memalign.c (do_test): Add test for very
17036         large alignment values.
17037         * malloc/tst-posix_memalign.c (do_test): Likewise.
17038
17039 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17040
17041         [BZ #11087]
17042         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17043         (munmap_chunk): Likewise.
17044         (mremap_chunk): Likewise.
17045
17046 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
17047
17048         [BZ #15799]
17049         * stdlib/div.c (div): Remove obsolete code.
17050         * stdlib/ldiv.c (ldiv): Likewise.
17051         * stdlib/lldiv.c (lldiv): Likewise.
17052
17053 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17054
17055         [BZ #16071]
17056         * nss/nss_files/files-XXX.c (get_contents_ret): New
17057         enumerator.
17058         (get_contents): New function.
17059         (internal_getent): Use it.  Expand size of LINEBUFLEN.
17060
17061 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
17062
17063         * configure.in: Moved to ...
17064         * configure.ac: ... here. Change reference to configure.in
17065         to configure.ac.
17066         * sysdeps/arm/preconfigure.ac: ... here.
17067         configure.in to configure.ac.
17068         * sysdeps/gnu/configure.in: Moved to ...
17069         * sysdeps/gnu/configure.ac: ... here.
17070         * sysdeps/i386/configure.in: Moved to ...
17071         * sysdeps/i386/configure.ac: ... here.
17072         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17073         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17074         * sysdeps/mach/configure.in: Moved to ...
17075         * sysdeps/mach/configure.ac: ... here.
17076         * sysdeps/mach/hurd/configure.in: Moved to ...
17077         * sysdeps/mach/hurd/configure.ac: ... here.
17078         * sysdeps/powerpc/configure.in: Moved to ...
17079         * sysdeps/powerpc/configure.ac: ... here.
17080         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17081         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17082         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17083         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17084         * sysdeps/s390/s390-32/configure.in: Moved to ...
17085         * sysdeps/s390/s390-32/configure.ac: ... here.
17086         * sysdeps/s390/s390-64/configure.in: Moved to ...
17087         * sysdeps/s390/s390-64/configure.ac: ... here.
17088         * sysdeps/sh/configure.in: Moved to ...
17089         * sysdeps/sh/configure.ac: ... here.
17090         * sysdeps/sparc/configure.in: Moved to ...
17091         * sysdeps/sparc/configure.ac: ... here.
17092         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17093         * sysdeps/unix/sysv/linux/configure.ac: ... here.
17094         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17095         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17096         * sysdeps/x86_64/configure.in: Moved to ...
17097         * sysdeps/x86_64/configure.ac: ... here.
17098         * sysdeps/x86_64/preconfigure.in: Moved to ...
17099         * sysdeps/x86_64/preconfigure.ac: ... here.
17100         * aclocal.m4: Change reference to configure.in to configure.ac.
17101         * config.h.in: Likewise.
17102         * manual/install.texi: Likewise.
17103         * manual/maint.texi: Likewise.
17104         * Makefile: Likewise.
17105         * malloc/Makefile: Likewise.
17106         * nscd/Makefile: Likewise.
17107         * Makeconfig: Change reference to configure.in and
17108         preconfigure.in to configure.ac and preconfigure.ac
17109         respectively.
17110         * INSTALL: Regenerated.
17111         * configure: Likewise.
17112         * sysdeps/gnu/configure: Likewise.
17113         * sysdeps/i386/configure: Likewise.
17114         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17115         * sysdeps/mach/configure: Likewise.
17116         * sysdeps/mach/hurd/configure: Likewise.
17117         * sysdeps/powerpc/configure: Likewise.
17118         * sysdeps/powerpc/powerpc32/configure: Likewise.
17119         * sysdeps/powerpc/powerpc64/configure: Likewise.
17120         * sysdeps/s390/s390-32/configure: Likewise.
17121         * sysdeps/s390/s390-64/configure: Likewise.
17122         * sysdeps/sh/configure: Likewise.
17123         * sysdeps/sparc/configure: Likewise.
17124         * sysdeps/unix/sysv/linux/configure: Likewise.
17125         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17126         * sysdeps/x86_64/configure: Likewise.
17127         * sysdeps/x86_64/preconfigure: Likewise.
17128
17129 2013-10-29  Andreas Schwab  <schwab@suse.de>
17130
17131         * stdio-common/Makefile (tst-swscanf-ENV): Define.
17132
17133 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17134
17135         * benchtests/pow-inputs: Add new inputs.
17136
17137         * benchtests/exp-inputs: Add new inputs.
17138
17139         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17140         conditional check for return value.
17141         (__cos32): Likewise.
17142
17143 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17144
17145         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17146         to provide a boost for large inputs with word alignment.
17147         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17148         implementation based on optimized PPC64 strcpy.
17149         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17150         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17151         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17152         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17153
17154 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17155
17156         [BZ #2801]
17157         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17158
17159 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17160
17161         [BZ #14876]
17162         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17163         * time/tst-strptime.c (day_tests): Add testcase.
17164
17165 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
17166
17167         [BZ #14029]
17168         * manual/pattern.texi: Acknowledge that fnmatch can fail.
17169
17170 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
17171
17172         [BZ #16074]
17173         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17174         MAP_FAILED on error.
17175
17176 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17177
17178         [BZ #16072]
17179         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17180         heap for large requests.
17181
17182 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
17183
17184         [BZ #9954]
17185         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17186         result if the result has no associated interface.
17187         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17188         interface for all 127.X.Y.Z addresses.
17189
17190 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
17191
17192         * locale/iso-639.def: Add Ligurian (lij)
17193
17194 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
17195
17196         [BZ #15825]
17197         * sunrpc/rpc_main.c: Document rpcgen -5.
17198
17199 2013-10-19  Michael Stahl  <mstahl@redhat.com>
17200
17201         * elf/rtld.c (do_preload): Print the reason why preloading failed.
17202
17203 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17204
17205         [BZ #10278]
17206         * posix/glob.c: Match only directories when trailing slash is present.
17207         * posix/tst-gnuglob.c (my_opendir): Do not open files.
17208         (main): Add testcase.
17209
17210 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
17211
17212         [BZ #15670]
17213         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17214
17215 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
17216
17217         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17218         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17219         AUTH_DES and cindex for FIPS 140-2.
17220         (DES Encryption): Add cindex FIPS 46-3.
17221
17222         * locale/locarchive.h (struct locarhandle): Add fname.
17223         * locale/programs/localedef.c (main): Pass ARGV[remaining]
17224         if an optional argument was specified to --list-archive,
17225         otherwise NULL.
17226         * locale/programs/locarchive.c (show_archive_content): Take new
17227         argument fname and pass it via ah.fname to open_archive.
17228         * locale/programs/localedef.h: Update decl.
17229         (open_archive): If AH->fname is non-null, open that file
17230         rather than the default file name, and don't ignore ENOENT.
17231         (create_archive): Set AH.fname to NULL.
17232         (delete_locales_from_archive): Likewise.
17233         (add_locales_to_archive): Likewise.
17234         * locale/programs/locfile.c (write_all_categories): Likewise.
17235
17236 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
17237             Aldy Hernandez  <aldyh@redhat.com>
17238
17239         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17240         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17241         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17242         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17243         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17244         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17245         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17246         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17247         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17248         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17249         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17250         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17251         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17252         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17253         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17254         Likewise.
17255         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17256         Likewise.
17257         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17258         Likewise.
17259         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17260         Likewise.
17261         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17262         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17263         Likewise.
17264         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17265         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17266         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17267         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17268         Likewise.
17269         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17270         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17271         * sysdeps/powerpc/preconfigure: Likewise.
17272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17273         Likewise.
17274         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17275         Replace contents of file by #include of <fenv_libc.h>.
17276         * sysdeps/powerpc/soft-fp/sfp-machine.h
17277         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17278         and <sys/prctl.h>.
17279         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17283         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17284         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17292         Allow copysignl PLT reference to be missing.
17293
17294 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
17295             Joseph Myers  <joseph@codesourcery.com
17296
17297         [BZ #15948]
17298         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17299         single character.
17300         (add_to_tablewc): Assert sequence of wide characters is nonempty.
17301
17302 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17303
17304         * elf/tst-tls-dlinfo.c: Don't include tls.h.
17305         * elf/tst-tls1.c: Likewise.
17306         * elf/tst-tls10.h: Likewise.
17307         * elf/tst-tls14.c: Likewise.
17308         * elf/tst-tls2.c: Likewise.
17309         * elf/tst-tls3.c: Likewise.
17310         * elf/tst-tls4.c: Likewise.
17311         * elf/tst-tls5.c: Likewise.
17312         * elf/tst-tls6.c: Likewise.
17313         * elf/tst-tls7.c: Likewise.
17314         * elf/tst-tls8.c: Likewise.
17315         * elf/tst-tls9.c: Likewise.
17316         * elf/tst-tlsmod1.c: Likewise.
17317         * elf/tst-tlsmod13.c: Likewise.
17318         * elf/tst-tlsmod13a.c: Likewise.
17319         * elf/tst-tlsmod14a.c: Likewise.
17320         * elf/tst-tlsmod16a.c: Likewise.
17321         * elf/tst-tlsmod16b.c: Likewise.
17322         * elf/tst-tlsmod2.c: Likewise.
17323         * elf/tst-tlsmod3.c: Likewise.
17324         * elf/tst-tlsmod4.c: Likewise.
17325         * elf/tst-tlsmod5.c: Likewise.
17326         * elf/tst-tlsmod6.c: Likewise.
17327
17328 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
17329
17330         [BZ #12486]
17331         * malloc/malloc.c: remove checks for statistics.
17332
17333 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17334
17335         [BZ #15277]
17336         * inet/inet_net.c (inet_network): Detect additional invalid strings.
17337         * inet/tst-network.c: Add testcase.
17338
17339 2013-10-17  Andreas Schwab  <schwab@suse.de>
17340
17341         [BZ #15218]
17342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17343         to determine canonical name.
17344
17345 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
17346
17347         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17348         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17349         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17350         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17351         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17352         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17353         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17354         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17355         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17356         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17357         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17358         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17359         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17360         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17361         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17362         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17364         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17365         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17366         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17367         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17368         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17369         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17370         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17371         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17372         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17373         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17374         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17375         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17376         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17377         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17378         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17379         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17381         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17382         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17383         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17384         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17385         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17386         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17387         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17388         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17389         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17390         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17391         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17392         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17393         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17394         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17395         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17396         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17397         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17398         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17399         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17400         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17401         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17402         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17404         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17405
17406 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
17407
17408         [BZ #16041]
17409         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17410         make result into a quiet NaN.
17411
17412 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
17413
17414         * soft-fp/adddf3.c: Fix horizontal whitespace.
17415         * soft-fp/addsf3.c: Likewise.
17416         * soft-fp/addtf3.c: Likewise.
17417         * soft-fp/divdf3.c: Likewise.
17418         * soft-fp/divsf3.c: Likewise.
17419         * soft-fp/divtf3.c: Likewise.
17420         * soft-fp/double.h: Likewise.
17421         * soft-fp/eqdf2.c: Likewise.
17422         * soft-fp/eqsf2.c: Likewise.
17423         * soft-fp/eqtf2.c: Likewise.
17424         * soft-fp/extenddftf2.c: Likewise.
17425         * soft-fp/extended.h: Likewise.
17426         * soft-fp/extendsfdf2.c: Likewise.
17427         * soft-fp/extendsftf2.c: Likewise.
17428         * soft-fp/extendxftf2.c: Likewise.
17429         * soft-fp/fixdfdi.c: Likewise.
17430         * soft-fp/fixdfsi.c: Likewise.
17431         * soft-fp/fixdfti.c: Likewise.
17432         * soft-fp/fixsfdi.c: Likewise.
17433         * soft-fp/fixsfsi.c: Likewise.
17434         * soft-fp/fixsfti.c: Likewise.
17435         * soft-fp/fixtfdi.c: Likewise.
17436         * soft-fp/fixtfsi.c: Likewise.
17437         * soft-fp/fixtfti.c: Likewise.
17438         * soft-fp/fixunsdfdi.c: Likewise.
17439         * soft-fp/fixunsdfsi.c: Likewise.
17440         * soft-fp/fixunsdfti.c: Likewise.
17441         * soft-fp/fixunssfdi.c: Likewise.
17442         * soft-fp/fixunssfsi.c: Likewise.
17443         * soft-fp/fixunssfti.c: Likewise.
17444         * soft-fp/fixunstfdi.c: Likewise.
17445         * soft-fp/fixunstfsi.c: Likewise.
17446         * soft-fp/fixunstfti.c: Likewise.
17447         * soft-fp/floatdidf.c: Likewise.
17448         * soft-fp/floatdisf.c: Likewise.
17449         * soft-fp/floatditf.c: Likewise.
17450         * soft-fp/floatsidf.c: Likewise.
17451         * soft-fp/floatsisf.c: Likewise.
17452         * soft-fp/floatsitf.c: Likewise.
17453         * soft-fp/floattidf.c: Likewise.
17454         * soft-fp/floattisf.c: Likewise.
17455         * soft-fp/floattitf.c: Likewise.
17456         * soft-fp/floatundidf.c: Likewise.
17457         * soft-fp/floatundisf.c: Likewise.
17458         * soft-fp/floatunditf.c: Likewise.
17459         * soft-fp/floatunsidf.c: Likewise.
17460         * soft-fp/floatunsisf.c: Likewise.
17461         * soft-fp/floatunsitf.c: Likewise.
17462         * soft-fp/floatuntidf.c: Likewise.
17463         * soft-fp/floatuntisf.c: Likewise.
17464         * soft-fp/floatuntitf.c: Likewise.
17465         * soft-fp/fmadf4.c: Likewise.
17466         * soft-fp/fmasf4.c: Likewise.
17467         * soft-fp/fmatf4.c: Likewise.
17468         * soft-fp/gedf2.c: Likewise.
17469         * soft-fp/gesf2.c: Likewise.
17470         * soft-fp/getf2.c: Likewise.
17471         * soft-fp/ledf2.c: Likewise.
17472         * soft-fp/lesf2.c: Likewise.
17473         * soft-fp/letf2.c: Likewise.
17474         * soft-fp/muldf3.c: Likewise.
17475         * soft-fp/mulsf3.c: Likewise.
17476         * soft-fp/multf3.c: Likewise.
17477         * soft-fp/negdf2.c: Likewise.
17478         * soft-fp/negsf2.c: Likewise.
17479         * soft-fp/negtf2.c: Likewise.
17480         * soft-fp/op-1.h: Likewise.
17481         * soft-fp/op-2.h: Likewise.
17482         * soft-fp/op-4.h: Likewise.
17483         * soft-fp/op-8.h: Likewise.
17484         * soft-fp/op-common.h: Likewise.
17485         * soft-fp/quad.h: Likewise.
17486         * soft-fp/single.h: Likewise.
17487         * soft-fp/soft-fp.h: Likewise.
17488         * soft-fp/sqrtdf2.c: Likewise.
17489         * soft-fp/sqrtsf2.c: Likewise.
17490         * soft-fp/sqrttf2.c: Likewise.
17491         * soft-fp/subdf3.c: Likewise.
17492         * soft-fp/subsf3.c: Likewise.
17493         * soft-fp/subtf3.c: Likewise.
17494         * soft-fp/truncdfsf2.c: Likewise.
17495         * soft-fp/trunctfdf2.c: Likewise.
17496         * soft-fp/trunctfsf2.c: Likewise.
17497         * soft-fp/trunctfxf2.c: Likewise.
17498         * soft-fp/unorddf2.c: Likewise.
17499         * soft-fp/unordsf2.c: Likewise.
17500         * soft-fp/unordtf2.c: Likewise.
17501
17502 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
17503
17504         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17505         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17506
17507 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
17508
17509         * elf/dl-libc.c: Clear initfini list after freeing.
17510
17511 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
17512
17513         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17514         * soft-fp/addsf3.c: Likewise.
17515         * soft-fp/addtf3.c: Likewise.
17516         * soft-fp/divdf3.c: Likewise.
17517         * soft-fp/divsf3.c: Likewise.
17518         * soft-fp/divtf3.c: Likewise.
17519         * soft-fp/double.h: Likewise.
17520         * soft-fp/eqdf2.c: Likewise.
17521         * soft-fp/eqsf2.c: Likewise.
17522         * soft-fp/eqtf2.c: Likewise.
17523         * soft-fp/extenddftf2.c: Likewise.
17524         * soft-fp/extended.h: Likewise.
17525         * soft-fp/extendsfdf2.c: Likewise.
17526         * soft-fp/extendsftf2.c: Likewise.
17527         * soft-fp/extendxftf2.c: Likewise.
17528         * soft-fp/fixdfdi.c: Likewise.
17529         * soft-fp/fixdfsi.c: Likewise.
17530         * soft-fp/fixdfti.c: Likewise.
17531         * soft-fp/fixsfdi.c: Likewise.
17532         * soft-fp/fixsfsi.c: Likewise.
17533         * soft-fp/fixsfti.c: Likewise.
17534         * soft-fp/fixtfdi.c: Likewise.
17535         * soft-fp/fixtfsi.c: Likewise.
17536         * soft-fp/fixtfti.c: Likewise.
17537         * soft-fp/fixunsdfdi.c: Likewise.
17538         * soft-fp/fixunsdfsi.c: Likewise.
17539         * soft-fp/fixunsdfti.c: Likewise.
17540         * soft-fp/fixunssfdi.c: Likewise.
17541         * soft-fp/fixunssfsi.c: Likewise.
17542         * soft-fp/fixunssfti.c: Likewise.
17543         * soft-fp/fixunstfdi.c: Likewise.
17544         * soft-fp/fixunstfsi.c: Likewise.
17545         * soft-fp/fixunstfti.c: Likewise.
17546         * soft-fp/floatdidf.c: Likewise.
17547         * soft-fp/floatdisf.c: Likewise.
17548         * soft-fp/floatditf.c: Likewise.
17549         * soft-fp/floatsidf.c: Likewise.
17550         * soft-fp/floatsisf.c: Likewise.
17551         * soft-fp/floatsitf.c: Likewise.
17552         * soft-fp/floattidf.c: Likewise.
17553         * soft-fp/floattisf.c: Likewise.
17554         * soft-fp/floattitf.c: Likewise.
17555         * soft-fp/floatundidf.c: Likewise.
17556         * soft-fp/floatundisf.c: Likewise.
17557         * soft-fp/floatunsidf.c: Likewise.
17558         * soft-fp/floatunsisf.c: Likewise.
17559         * soft-fp/floatuntidf.c: Likewise.
17560         * soft-fp/floatuntisf.c: Likewise.
17561         * soft-fp/floatuntitf.c: Likewise.
17562         * soft-fp/fmadf4.c: Likewise.
17563         * soft-fp/fmasf4.c: Likewise.
17564         * soft-fp/fmatf4.c: Likewise.
17565         * soft-fp/gedf2.c: Likewise.
17566         * soft-fp/gesf2.c: Likewise.
17567         * soft-fp/getf2.c: Likewise.
17568         * soft-fp/ledf2.c: Likewise.
17569         * soft-fp/lesf2.c: Likewise.
17570         * soft-fp/letf2.c: Likewise.
17571         * soft-fp/muldf3.c: Likewise.
17572         * soft-fp/mulsf3.c: Likewise.
17573         * soft-fp/multf3.c: Likewise.
17574         * soft-fp/negdf2.c: Likewise.
17575         * soft-fp/negsf2.c: Likewise.
17576         * soft-fp/negtf2.c: Likewise.
17577         * soft-fp/op-1.h: Likewise.
17578         * soft-fp/op-2.h: Likewise.
17579         * soft-fp/op-4.h: Likewise.
17580         * soft-fp/op-8.h: Likewise.
17581         * soft-fp/op-common.h: Likewise.
17582         * soft-fp/quad.h: Likewise.
17583         * soft-fp/single.h: Likewise.
17584         * soft-fp/soft-fp.h: Likewise.
17585         * soft-fp/sqrtdf2.c: Likewise.
17586         * soft-fp/sqrtsf2.c: Likewise.
17587         * soft-fp/sqrttf2.c: Likewise.
17588         * soft-fp/subdf3.c: Likewise.
17589         * soft-fp/subsf3.c: Likewise.
17590         * soft-fp/subtf3.c: Likewise.
17591         * soft-fp/truncdfsf2.c: Likewise.
17592         * soft-fp/trunctfdf2.c: Likewise.
17593         * soft-fp/trunctfsf2.c: Likewise.
17594         * soft-fp/trunctfxf2.c: Likewise.
17595         * soft-fp/unorddf2.c: Likewise.
17596         * soft-fp/unordsf2.c: Likewise.
17597         * soft-fp/unordtf2.c: Likewise.
17598
17599 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
17600
17601         [BZ #15672]
17602         * misc/error.c (error_tail): Fix possible buffer overflow.
17603
17604 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
17605
17606         [BZ #13028]
17607         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17608         address.
17609
17610 2013-10-14  P. J. McDermott  <pj@pehjota.net>
17611
17612         [BZ #832]
17613         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
17614         testing pipefail option.
17615
17616 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17617
17618         * soft-fp/double.h: Indent preprocessor directives inside #if.
17619         * soft-fp/extended.h: Likewise.
17620         * soft-fp/op-2.h: Likewise.
17621         * soft-fp/op-4.h: Likewise.
17622         * soft-fp/op-common.h: Likewise.
17623         * soft-fp/quad.h: Likewise.
17624         * soft-fp/single.h: Likewise.
17625         * soft-fp/soft-fp.h: Likewise.
17626
17627 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
17628
17629         * iconv/iconv_prog.c: Fix typos.
17630         * stdio-common/psiginfo-data.h: Likewise.
17631
17632 2013-10-12   Reuben Thomas <rrt@sc3d.org>
17633
17634         [BZ #15764]
17635         * locale/setlocale.c: Fix typo.
17636
17637 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
17638
17639         [BZ #16036]
17640         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17641         signaling NaN arguments.
17642         * soft-fp/unordsf2.c (__unordsf2): Likewise.
17643         * soft-fp/unordtf2.c (__unordtf2): Likewise.
17644
17645         [BZ #14910]
17646         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17647         unordered operands.
17648         * soft-fp/gesf2.c (__gesf2): Likewise.
17649         * soft-fp/getf2.c (__getf2): Likewise.
17650         * soft-fp/ledf2.c (__ledf2): Likewise.
17651         * soft-fp/lesf2.c (__lesf2): Likewise.
17652         * soft-fp/letf2.c (__letf2): Likewise.
17653
17654         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17655         * soft-fp/eqsf2.c (__eqsf2): Likewise.
17656         * soft-fp/eqtf2.c (__eqtf2): Likewise.
17657         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17658         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17659         * soft-fp/fixdfti.c (__fixdfti): Likewise.
17660         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17661         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17662         * soft-fp/fixsfti.c (__fixsfti): Likewise.
17663         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17664         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17665         * soft-fp/fixtfti.c (__fixtfti): Likewise.
17666         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17667         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17668         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17669         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17670         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17671         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17672         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17673         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17674         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17675         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17676         * soft-fp/floatdisf.c (__floatdisf): Likewise.
17677         * soft-fp/floatsisf.c (__floatsisf): Likewise.
17678         * soft-fp/floattidf.c (__floattidf): Likewise.
17679         * soft-fp/floattisf.c (__floattisf): Likewise.
17680         * soft-fp/floattitf.c (__floattitf): Likewise.
17681         * soft-fp/floatundidf.c (__floatundidf): Likewise.
17682         * soft-fp/floatundisf.c (__floatundisf): Likewise.
17683         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17684         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17685         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17686         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17687         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17688         * soft-fp/gesf2.c (__gesf2): Likewise.
17689         * soft-fp/getf2.c (__getf2): Likewise.
17690         * soft-fp/ledf2.c (__ledf2): Likewise.
17691         * soft-fp/lesf2.c (__lesf2): Likewise.
17692         * soft-fp/letf2.c (__letf2): Likewise.
17693
17694         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17695         Undefine and redefine.
17696         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17697         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17698         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17699         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17700         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17701         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17702         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17703         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17704         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17705         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17706         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17707         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17708         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17709         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17710         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17711
17712         [BZ #16032]
17713         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17714         without decrementing exponent if mantissa >= that for the
17715         denominator, not >.
17716         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17717         denominator, not >.  Decrement exponent in < case instead of
17718         incrementing in >= case.
17719         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17720         without decrementing exponent if mantissa >= that for the
17721         denominator, not >.
17722
17723         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17724         computing saturated result for unsigned overflow.
17725
17726 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17727             Jeff Law  <law@redhat.com>
17728
17729         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17730         (atan2Mp): Add systemtap probe marker.
17731         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17732         (__ieee754_log): Add systemtap probe marker.
17733         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17734         (atanMp): Add systemtap probe marker.
17735         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17736         (tanMp): Add systemtap probe marker.
17737         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17738         (__slowexp): Add systemtap probe marker.
17739         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17740         (__slowpow): Add systemtap probe marker.
17741         * manual/probes.texi: Document probes.
17742
17743 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
17744
17745         [BZ #15362]
17746         * libio/fileops.c (_IO_new_file_write): Return count of bytes
17747         written.
17748         (_IO_new_file_xsputn): Don't return EOF if nothing has been
17749         written.
17750         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17751         written to buffer but not flushed.
17752         * libio/iofwrite_u.c:  Likewise.
17753         * libio/iopadn.c:  Return bytes returned even if EOF was
17754         encountered.
17755         * libio/iowpadn.c:  Likewise.
17756         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17757         if _IO_padn does not write the whole buffer.
17758         [!COMPILE_WPRINTF] (PAD): Likewise.
17759
17760 2013-10-10  David S. Miller  <davem@davemloft.net>
17761
17762         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17763         directory block.
17764
17765 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17766
17767         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
17768         instead of FSF address.
17769         * soft-fp/fixdfti.c: Likewise.
17770         * soft-fp/fixsfti.c: Likewise.
17771         * soft-fp/fixtfti.c: Likewise.
17772         * soft-fp/fixunsdfti.c: Likewise.
17773         * soft-fp/fixunssfti.c: Likewise.
17774         * soft-fp/fixunstfti.c: Likewise.
17775         * soft-fp/floattidf.c: Likewise.
17776         * soft-fp/floattisf.c: Likewise.
17777         * soft-fp/floattitf.c: Likewise.
17778         * soft-fp/floatuntidf.c: Likewise.
17779         * soft-fp/floatuntisf.c: Likewise.
17780         * soft-fp/floatuntitf.c: Likewise.
17781         * soft-fp/trunctfxf2.c: Likewise.
17782
17783         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17784         * soft-fp/fixdfti.c: Likewise.
17785         * soft-fp/fixsfti.c: Likewise.
17786         * soft-fp/fixtfti.c: Likewise.
17787         * soft-fp/fixunsdfti.c: Likewise.
17788         * soft-fp/fixunssfti.c: Likewise.
17789         * soft-fp/fixunstfti.c: Likewise.
17790         * soft-fp/floattidf.c: Likewise.
17791         * soft-fp/floattisf.c: Likewise.
17792         * soft-fp/floattitf.c: Likewise.
17793         * soft-fp/floatuntidf.c: Likewise.
17794         * soft-fp/floatuntisf.c: Likewise.
17795         * soft-fp/floatuntitf.c: Likewise.
17796         * soft-fp/trunctfxf2.c: Likewise.
17797
17798 2013-10-10  David S. Miller  <davem@davemloft.net>
17799
17800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17801
17802 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17803
17804         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17805         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17806         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17807         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17808         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17809         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17810         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17811
17812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17813         for NaNs before doing comparisons on argument.
17814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17815         Likewise.
17816
17817 2013-10-10  Will Newton  <will.newton@linaro.org>
17818
17819         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17820         passed to _int_memalign does not overflow.
17821
17822 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17823
17824         * scripts/bench.pl: Add include-sources directive.
17825         * benchtests/README: Update documentation.
17826
17827 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17828
17829         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17830         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17831         instead of FP_INIT_ROUNDMODE.
17832         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17833         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17834
17835         [BZ #16034]
17836         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17837         copy class of input value.
17838         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17839         not handle exceptions.
17840         * soft-fp/negsf2.c (__negsf2): Likewise.
17841         * soft-fp/negtf2.c (__negtf2): Likewise.
17842         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17843
17844 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17845
17846         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17847         semicolon.  From Linux kernel.
17848
17849 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17850
17851         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17852
17853 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17854
17855         [BZ #156]
17856         * manual/socket.texi: Added statement about buffer
17857         for gethostbyname2_r.
17858
17859 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17860
17861         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17862         Use .p2align directive instead, throughout.
17863         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17864         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17865         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17868         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17869         * sysdeps/x86_64/strchr.S: Likewise.
17870         * sysdeps/x86_64/strrchr.S: Likewise.
17871
17872 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17873
17874         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17875
17876         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17877
17878         * sysdeps/generic/math_private.h (__mpsin1): Remove
17879         declaration.
17880         (__mpcos1): Likewise.
17881         (__mpsin): New argument __range_reduce.
17882         (__mpcos): Likewise.
17883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17884         (slow): Use __mpsin and __mpcos.
17885         (slow1): Likewise.
17886         (slow2): Likewise.
17887         (sloww): Likewise.
17888         (sloww1): Likewise.
17889         (sloww2): Likewise.
17890         (bsloww): Likewise.
17891         (bsloww1): Likewise.
17892         (bsloww2): Likewise.
17893         (cslow2): Likewise.
17894         (csloww): Likewise.
17895         (csloww1): Likewise.
17896         (csloww2): Likewise.
17897         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17898         range_reduce.  Merge in __mpsin1.
17899         (__mpcos): Likewise.
17900         (__mpsin1): Remove.
17901         (__mpcos1): Likewise.
17902
17903 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17904
17905         * locale/loadlocale.c (_nl_intern_locale_data): Use
17906         LOCFILE_ALIGNED_P.
17907         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17908         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17909         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17910         obstack data is appropriately aligned.
17911         (obstack_int32_grow_fast): Likewise.
17912         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17913         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17914         (add_locale_uint32_array): Likewise.
17915
17916 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17917
17918         * benchtests/Makefile: Remove ARGLIST and RET variables.
17919         ($(objpfx)bench-%.c): Pass only function name to the script.
17920         * benchtests/README: Update documentation.
17921         * benchtests/acos-inputs: Add new directives.
17922         * benchtests/acosh-inputs: Likewise.
17923         * benchtests/asin-inputs: Likewise.
17924         * benchtests/asinh-inputs: Likewise.
17925         * benchtests/atan-inputs: Likewise.
17926         * benchtests/atanh-inputs: Likewise.
17927         * benchtests/cos-inputs: Likewise.
17928         * benchtests/cosh-inputs: Likewise.
17929         * benchtests/exp-inputs: Likewise.
17930         * benchtests/log-inputs: Likewise.
17931         * benchtests/pow-inputs: Likewise.
17932         * benchtests/rint-inputs: Likewise.
17933         * benchtests/sin-inputs: Likewise.
17934         * benchtests/sinh-inputs: Likewise.
17935         * benchtests/tan-inputs: Likewise.
17936         * benchtests/tanh-inputs: Likewise.
17937         * scripts/bench.pl: Add support for new directives.
17938
17939 2013-10-07  Alan Modra  <amodra@gmail.com>
17940
17941         * README: Fix careless merge.
17942
17943 2013-10-05  Alan Modra  <amodra@gmail.com>
17944
17945         * NEWS: Mention powerpc64le support and bugs fixed.
17946         * README: Both big-endian and little-endian powerpc64 supported.
17947
17948 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17949
17950         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17951         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17952         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17953         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17954
17955 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17956
17957         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17958         match prototype.
17959
17960 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17961
17962         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17963         Move -mhard-float appending from
17964         ports/sysdeps/powerpc/powerpc32/Makefile.
17965         [$(with-fp) = yes] (ASFLAGS): Likewise.
17966         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17967         * sysdeps/powerpc/nofpu: Move directory from
17968         ports/sysdeps/powerpc/nofpu.
17969         * sysdeps/powerpc/soft-fp: Move directory from
17970         ports/sysdeps/powerpc/soft-fp.
17971         * sysdeps/powerpc/powerpc32/405: Move directory from
17972         ports/sysdeps/powerpc/powerpc32/405.
17973         * sysdeps/powerpc/powerpc32/440: Move directory from
17974         ports/sysdeps/powerpc/powerpc32/440.
17975         * sysdeps/powerpc/powerpc32/464: Move directory from
17976         ports/sysdeps/powerpc/powerpc32/464.
17977         * sysdeps/powerpc/powerpc32/476: Move directory from
17978         ports/sysdeps/powerpc/powerpc32/476.
17979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17980         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17982         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17984         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17989         * README: Update for powerpc-*-linux-gnu software floating point
17990         support in libc.
17991
17992         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17993         case to powerpc/powerpc32*.
17994         * sysdeps/unix/sysv/linux/configure: Regenerated.
17995
17996         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17997         (_FPU_MASK_OM): Define as 0x04.
17998         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17999         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18000         0x00c10080.
18001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18002         0x0000003c.
18003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18004
18005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18006         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18007         getcontext_e500.
18008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18009         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18010         setcontext_e500.
18011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18012         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18013         and setcontext_e500.
18014
18015 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
18016
18017         * locale/iso-3166.def: Update iso-1366.def and related occurrences
18018
18019 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18020
18021         * manual/threads.texi (Default Thread Attributes): Fix typo.
18022
18023 2013-10-04  Will Newton  <will.newton@linaro.org>
18024
18025         * malloc/Makefile: Add tst-memalign.
18026         * malloc/tst-memalign.c: New file.
18027
18028         * malloc/tst-posix_memalign.c: Add comments.
18029         (do_test): Add comments and call free on all potentially
18030         allocated pointers. Add space after cast.
18031
18032         * malloc/tst-pvalloc.c: Add comments.
18033         (do_test): Add comments and call free on all potentially
18034         allocated pointers. Remove duplicate check for NULL pointer.
18035         Add space after cast.
18036
18037         * malloc/tst-valloc.c: Add comments.
18038         (do_test): Add comments and call free on all potentially
18039         allocated pointers. Remove duplicate check for NULL pointer.
18040         Add space after cast.
18041
18042 2013-10-04  Alan Modra  <amodra@gmail.com>
18043
18044         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18045         Use stdint types in rather than __attribute__((mode())).
18046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18047
18048 2013-10-04  Alan Modra  <amodra@gmail.com>
18049
18050         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18051         Correct handling of unaligned relocs for little-endian.
18052         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18053
18054 2013-10-04  Alan Modra  <amodra@gmail.com>
18055
18056         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18057         * configure: Regenerate.
18058         * nptl/shlib-versions: Powerpc*le starts at 2.18.
18059         * shlib-versions: Likewise.
18060
18061 2013-10-04  Alan Modra  <amodra@gmail.com>
18062
18063         * string/tester.c (test_memrchr): Increment reported test cycle.
18064
18065 2013-10-04  Alan Modra  <amodra@gmail.com>
18066
18067         * string/test-memcpy.c (do_one_test): When reporting errors, print
18068         string address and don't overrun end of string.
18069
18070 2013-10-04  Alan Modra  <amodra@gmail.com>
18071
18072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18073         insrdi.  Make better use of reg selection to speed exit slightly.
18074         Schedule entry path a little better.  Remove useless "are we done"
18075         checks on entry to main loop.  Handle wrapping around zero address.
18076         Correct main loop count.  Handle single left-over word from main
18077         loop inline rather than by using loop_small.  Remove extra word
18078         case in loop_small caused by wrong loop count.  Add little-endian
18079         support.
18080         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18081         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
18082         cache hint.
18083         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18084         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18085         support.  Avoid rlwimi.
18086         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18087
18088 2013-10-04  Alan Modra  <amodra@gmail.com>
18089
18090         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18091         insrdi.  Formatting.
18092         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18093         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18094         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18095         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18096         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18097         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18098
18099 2013-10-04  Alan Modra  <amodra@gmail.com>
18100
18101         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18102         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18103         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18104         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18105         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18106         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18107         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18108         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18109         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
18110         use of regs.  Use power7 mtocrf.  Tidy function tails.
18111
18112 2013-10-04  Alan Modra  <amodra@gmail.com>
18113
18114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18115         Formatting.  Consistently use rXXX register defines or rN defines.
18116         Use early exit labels that avoid restoring unused non-volatile regs.
18117         Make cr field use more consistent with rWORDn compares.  Rename
18118         regs used as shift registers for unaligned loop, using rN defines
18119         for short lifetime/multiple use regs.
18120         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18121         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
18122         addi 1,1,64 to pop stack frame.  Simplify return value code.
18123         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18124
18125 2013-10-04  Alan Modra  <amodra@gmail.com>
18126
18127         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18128         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
18129         rather than rlwimi.
18130         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18131         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18132         little-endian support.  Correct typos.
18133         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
18134         rather than rlwimi.
18135         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
18136         in loop and entry code to keep "and." results.
18137         (strchr): Add little-endian support.  Comment.  Move cntlzd
18138         earlier in tail.
18139         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18140
18141 2013-10-04  Alan Modra  <amodra@gmail.com>
18142
18143         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18144         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18145         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18146         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18147
18148 2013-10-04  Alan Modra  <amodra@gmail.com>
18149
18150         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18151         (rTMP): Define as r11.
18152         (strcmp): Add little-endian support.  Optimise tail.
18153         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18154         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18155         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18156         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18157         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18158         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18160
18161 2013-10-04  Alan Modra  <amodra@gmail.com>
18162
18163         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18164         little-endian support.  Remove unnecessary "are we done" tests.
18165         Handle "s" wrapping around zero and extremely large "size".
18166         Correct main loop count.  Handle single left-over word from main
18167         loop inline rather than by using small_loop.  Correct comments.
18168         Delete "zero" tail, use "end_max" instead.
18169         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18170
18171 2013-10-04  Alan Modra  <amodra@gmail.com>
18172
18173         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18174         support.  Don't branch over align.
18175         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18176         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18177         support.  Rearrange tmp reg use to suit.  Comment.
18178         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18179
18180 2013-10-04  Alan Modra  <amodra@gmail.com>
18181
18182         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18183
18184 2013-10-04  Alan Modra  <amodra@gmail.com>
18185
18186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18187         conditional form of branch and link when obtaining pc.
18188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18189
18190 2013-10-04  Alan Modra  <amodra@gmail.com>
18191
18192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18193         HIWORD/LOWORD.
18194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18196
18197 2013-10-04  Alan Modra  <amodra@gmail.com>
18198
18199         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18200         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18201         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18202         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18203         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18204         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18205         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18206         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18207         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18208         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18209
18210 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18211             Alistair Popple <alistair@ozlabs.au.ibm.com>
18212             Alan Modra <amodra@gmail.com>
18213
18214         [BZ #15723]
18215         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18216         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18217         _dl_hwcap access for little-endian.
18218         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
18219         destroy vmx regs when saving unaligned.
18220         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18221         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
18222         destroy vmx regs when saving unaligned.
18223
18224 2013-10-04  Alan Modra  <amodra@gmail.com>
18225
18226         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18227         Don't use a union to pack hi/low value.
18228
18229 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18230
18231         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18232         for little-endian.
18233         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18234         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18235         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18236         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18237         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18238
18239 2013-10-04  Alan Modra  <amodra@gmail.com>
18240
18241         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18242         constants to usual value for .cst8 section, and remove redundant
18243         high address load.
18244         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18245         constant for 0x1p52.  Load little-endian words of double from
18246         correct stack offsets.
18247
18248 2013-10-04  Alan Modra  <amodra@gmail.com>
18249
18250         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18251         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18252         words of double from correct stack offsets.
18253         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18254         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18255         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18256         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18257         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18258         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18259         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18260         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18261         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18263         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18264         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18265         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18266         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18267         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18268         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18269         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18270
18271 2013-10-04  Alan Modra  <amodra@gmail.com>
18272
18273         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18274         64-bit int/double union.
18275         (_FPU_SETCW): Likewise.
18276         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18277         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18278
18279 2013-10-04  Alan Modra  <amodra@gmail.com>
18280
18281         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18282         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18283
18284 2013-10-04  Alan Modra  <amodra@gmail.com>
18285
18286         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18287         use vector int constants.
18288         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18289
18290 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18291
18292         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18293         array with long long.
18294         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18295         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18296         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18297         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18298         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18299         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18300         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18301         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18302         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18303         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18304         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18305         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18306         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18307
18308 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
18309
18310         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18311         (__signbit): Likewise.  Correct for little-endian.
18312         (__signbitl): Call __signbit.
18313         (lrint): Correct for little-endian.
18314         (lrintf): Call lrint.
18315
18316 2013-10-04  Alan Modra  <amodra@gmail.com>
18317
18318         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18319         union 32-bit int array member with 64-bit int array.
18320         (t515, tm256): Double rather than long double.
18321         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18322
18323 2013-10-04  Alan Modra  <amodra@gmail.com>
18324
18325         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18326         Delete.
18327         (IEEE854_LONG_DOUBLE_BIAS): Delete.
18328         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18329         version of math_ldbl.h.
18330
18331 2013-10-04  Alan Modra  <amodra@gmail.com>
18332
18333         [BZ #15734], [BZ #15735]
18334         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18335         all uses of ieee875 long double macros and unions.  Simplify test
18336         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
18337         ldbl_extract_mantissa value for ix,iy exponents.  Properly
18338         normalize after ldbl_extract_mantissa, and don't add hidden bit
18339         already handled.  Don't treat low word of ieee854 mantissa like
18340         low word of IBM long double and mask off bit when testing for
18341         zero.
18342         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18343         all uses of ieee875 long double macros and unions.  Simplify tests
18344         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
18345         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
18346         two1022, instead use their values.  Recognise that tests for large
18347         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18348         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18349         Rewrite all uses of ieee875 long double macros and unions.  Simplify
18350         test for 0.0L and nan.  Correct negation.
18351         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18352         ieee875 long double macros and unions.  Correct output for large
18353         magnitude x.  Correct absolute value calculation.
18354         (__erfcl): Likewise.
18355         * math/libm-test.inc: Add tests for errors discovered in IBM long
18356         double versions of fmodl, remainderl, erfl and erfcl.
18357
18358 2013-10-04  Alan Modra  <amodra@gmail.com>
18359
18360         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18361         all uses of ieee854 long double macros and unions.  Simplify tests
18362         for long doubles that are fully specified by the high double.
18363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18364         Likewise.
18365         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18366         Remove dead code too.
18367         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18368         (__ieee754_ynl): Likewise.
18369         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18370         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18372         Remove dead code too.
18373         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18374         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18375         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18376         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18377         Simplify.
18378         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18379         Simplify.
18380         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18381         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18382         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18383         Comment on variable precision.
18384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18385         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18386         Likewise.
18387         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18388         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18389         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18390         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18391         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18392
18393 2013-10-04  Alan Modra  <amodra@gmail.com>
18394
18395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18396         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18397         all uses of ieee854 long double macros and unions.
18398         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18399         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18400         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18401         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18402         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18403         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18404         Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18411         Simplify sign and nan test too.
18412         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18413         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18414         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18416         Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18419         Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18426
18427 2013-10-04  Alan Modra  <amodra@gmail.com>
18428
18429         * stdio-common/printf_size.c (__printf_size): Don't use
18430         union ieee854_long_double in fpnum union.
18431         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
18432         signbit macro to retrieve sign from long double.
18433         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18434         retrieve sign from long double.
18435         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18436         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18437         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18438         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18439         * math/test-misc.c (main): Don't use union ieee854_long_double.
18440
18441 2013-10-04  Alan Modra  <amodra@gmail.com>
18442
18443         [BZ #15680]
18444         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18445         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18446         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18447         calculation.  Remove unnecessary test for denormal exponent.
18448         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18449         Correct handling of denormals.  Avoid undefined shift behaviour.
18450         Correct normalisation of low mantissa when low double is denormal.
18451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18452         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
18453         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18454         Correct normalisation of low mantissa.  Test for overflow of high
18455         mantissa and normalise.
18456         (ldbl_nearbyint): Use more readable constant for two52.
18457         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18458         (__mpn_construct_long_double): Fix test for overflow of high
18459         mantissa and correct normalisation.  Avoid undefined shift.
18460
18461 2013-10-04  Alan Modra  <amodra@gmail.com>
18462
18463         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18464         (union ibm_extended_long_double): Define as an array of ieee754_double.
18465         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18466         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18467         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18468         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18471         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18472         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18475         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18476
18477 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
18478
18479         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18480         page size instead of calling getpagesize.
18481
18482         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18483         (LOCFILE_ALIGN_MASK): Likewise.
18484         (LOCFILE_ALIGN_UP): Likewise.
18485         (LOCFILE_ALIGNED_P): Likewise.
18486         * locale/programs/ld-collate.c (collate_output): Use the new
18487         macros instead of __alignof__ (int32_t).
18488         * locale/weight.h (findidx): Likewise.
18489
18490 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
18491
18492         [BZ #431]
18493         * manual/string.texi: Fix strncat and wcsncat.
18494
18495 2013-10-03  Brooks Moses  <bmoses@google.com>
18496
18497         [BZ #15915]
18498         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18499         * Makerules: ...here, and adjust associated comments.
18500
18501 2013-10-02  Will Newton  <will.newton@linaro.org>
18502
18503         * malloc/Makefile: Add tst-pvalloc.
18504         * malloc/tst-pvalloc.c: New file.
18505
18506 2013-10-02  Will Newton  <will.newton@linaro.org>
18507
18508         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18509         improve test coverage.
18510
18511 2013-10-02  Will Newton  <will.newton@linaro.org>
18512
18513         * malloc/Makefile: Add tst-posix_memalign.
18514         * malloc/tst-posix_memalign.c: New file.
18515
18516 2013-10-01  Eric Blake  <eblake@redhat.com>
18517
18518         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18519         Use __THROWNL rather than __THROW on static functions.
18520
18521 2013-09-30  Petr Machata  <pmachata@redhat.com>
18522
18523         * elf/elf.h (R_AARCH64_ABS16): New macro.
18524         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18525         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18526         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18527         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18528         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18529         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18530         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18531         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18532         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18533         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18534         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18535         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18536         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18537         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18538         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18539         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18540         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18541         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18542         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18543         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18544         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18545         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18546         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18547         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18548         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18549         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18550         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18551         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18552         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18553         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18554         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18555         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18556         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18557         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18558         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18559         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18560         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18561         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18562         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18563         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18564         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18565         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18566         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18567         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18568         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18569         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18570         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18571         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18572         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18573         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18574         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18575         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18576         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18577         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18578         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18579         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18580         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18581         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18582         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18583         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18584         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18585         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18586         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18587         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18588         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18589         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18590         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18591         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18592         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18593         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18594         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18595         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18596         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18597         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18598         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18599         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18600         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18601         (R_AARCH64_TLSDESC_LDR): Likewise.
18602         (R_AARCH64_TLSDESC_ADD): Likewise.
18603         (R_AARCH64_TLSDESC_CALL): Likewise.
18604
18605 2013-09-30  Andreas Schwab  <schwab@suse.de>
18606
18607         [BZ #15048]
18608         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18609         the nss database lookup.
18610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18612
18613 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
18614
18615         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18616
18617 2013-09-28  P. J. McDermott  <pj@pehjota.net>
18618
18619         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18620         ${Bash-specific parameter/pattern/string} parameter expansion.
18621         * sysdeps/unix/make-syscalls.sh: Likewise.
18622
18623 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18624
18625         * sysdeps/sh/stackguard-macros.h: New file.
18626
18627 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
18628
18629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18631         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18632         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18633         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18634         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18635
18636 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18637
18638         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18639         Fix thread ID register.
18640
18641 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
18642
18643         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18644         [POSIX || UNIX98]: Require rather than permitting all symbols from
18645         <time.h>.
18646         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18647         element of struct sched_param.
18648         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18649         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18650         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18651         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18652         constant.
18653
18654 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
18655
18656         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18657         argument calculation.
18658
18659 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18660
18661         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18662         Expect macro.
18663         [POSIX] (pthread_attr_t): Do not require type.
18664         [POSIX] (pthread_cond_t): Likewise.
18665         [POSIX] (pthread_condattr_t): Likewise.
18666         [POSIX] (pthread_key_t): Likewise.
18667         [POSIX] (pthread_mutex_t): Likewise.
18668         [POSIX] (pthread_mutexattr_t): Likewise.
18669         [POSIX] (pthread_once_t): Likewise.
18670         [POSIX] (pthread_t): Likewise.
18671         [POSIX-based standards] (pthread_atfork): Expect function.
18672
18673 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
18674             Richard Sandiford  <richard@codesourcery.com>
18675
18676         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18677         (swap_endianness_p): New extern variable.
18678         (set_big_endian): New inline function.
18679         (maybe_swap_uint32): Likewise.
18680         (maybe_swap_uint32_array): Likewise.
18681         (maybe_swap_uint32_obstack): Likewise.
18682         * locale/programs/locfile.c: Include <stdbool.h>.
18683         (swap_endianness_p): New variable.
18684         (add_locale_uint32): Call maybe_swap_uint32.
18685         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18686         (write_locale_data): Call maybe_swap_uint32_array.
18687         * locale/programs/ld-collate.c (obstack_int32_grow): Call
18688         maybe_swap_uint32.
18689         (obstack_int32_grow_fast): Likewise.
18690         (output_weightwc): Call maybe_swap_uint32_obstack.
18691         (collate_output): Likewise.
18692         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18693         (OPT_LITTLE_ENDIAN): Likewise.
18694         (options): Add --little-endian and --big-endian options.
18695         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18696         * locale/programs/locarchive.c: Include "locfile.h".
18697         (GET): New macro.
18698         (SET): Likewise.
18699         (INC): Likewise.
18700         (create_archive): Use the new macros to access fields of
18701         structures directly mapped from or written to locale archives.
18702         (oldlocrecentcmp): Likewise.
18703         (enlarge_archive): Likewise.
18704         (insert_name): Likewise.
18705         (add_alias): Likewise.
18706         (add_locale): Likewise.
18707         (delete_locales_from_archive): Likewise.
18708         (show_archive_content): Likewise.
18709         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
18710         locale data.
18711
18712 2013-09-24  Roland McGrath  <roland@hack.frob.com>
18713
18714         * manual/freemanuals.texi: Updated from (newly) canonical copy at
18715         http://www.gnu.org/doc/freemanuals.texi.
18716         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18717
18718 2013-09-24  Will Newton  <will.newton@linaro.org>
18719
18720         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18721         macro.
18722
18723 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
18724
18725         * locale/hashval.h (compute_hashval): Interpret bytes of key as
18726         unsigned char.
18727
18728 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
18729
18730         * manual/threads.texi (POSIX Threads): Fix a typo.
18731
18732 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18733
18734         [BZ #14547]
18735         * string/tst-strcoll-overflow.c: New test case.
18736         * string/Makefile (xtests): Add tst-strcoll-overflow.
18737         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18738         cache if string sizes may cause integer overflow.
18739
18740         [BZ #14547]
18741         * string/strcoll_l.c (coll_seq): New members rule, idx,
18742         save_idx and back_us.
18743         (get_next_seq_nocache): New function.
18744         (do_compare_nocache): New function.
18745         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18746         when malloc fails.
18747
18748 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
18749
18750         [BZ #15754]
18751         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18752         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18753         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18754
18755         [BZ #15754]
18756         * elf/Makefile (tests): Add tst-ptrguard1.
18757         (tests-static): Add tst-ptrguard1-static.
18758         (tst-ptrguard1-ARGS): Define.
18759         (tst-ptrguard1-static-ARGS): Define.
18760         * elf/tst-ptrguard1.c: New file.
18761         * elf/tst-ptrguard1-static.c: New file.
18762         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18763         * sysdeps/i386/stackguard-macros.h: Likewise.
18764         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18765         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18766         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18767         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18768         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18769         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18770
18771 2013-09-23  Hector Marco  <hecmargi@upv.es>
18772             Ismael Ripoll  <iripoll@disca.upv.es>
18773             Carlos O'Donell  <carlos@redhat.com>
18774
18775         [BZ #15754]
18776         * sysdeps/generic/stackguard-macros.h: Define
18777         __pointer_chk_guard_local and POINTER_CHK_GUARD.
18778         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18779         Define __pointer_chk_guard_local.
18780         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18781         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18782
18783 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18784
18785         [BZ #15859]
18786         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18787
18788 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18789
18790         * include/string.h (__ffs): Declare as hidden.
18791         * string/ffs.c (__ffs): Define as hidden.
18792         * sysdeps/i386/ffs.c (__ffs): Likewise.
18793         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18794         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18795         * sysdeps/s390/ffs.c (__ffs): Likewise.
18796         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18797
18798 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18799
18800         * NEWS: Mention malloc probes.
18801
18802         * malloc/arena.c (new_heap): New memory_heap_new probe.
18803         (grow_heap): New memory_heap_more probe.
18804         (shrink_heap): New memory_heap_less probe.
18805         (heap_trim): New memory_heap_free probe.
18806         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18807         (systrim): New memory_sbrk_less probe.
18808         * manual/probes.texi: Document them.
18809
18810         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18811         * manual/probes.texi: Document it.
18812
18813         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18814         (__libc_realloc): Add memory_realloc_retry probe.
18815         (__libc_memalign): Add memory_memalign_retry probe.
18816         (__libc_valloc): Add memory_valloc_retry probe.
18817         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18818         (__libc_calloc): Add memory_calloc_retry probe.
18819         * manual/probes.texi: Document them.
18820
18821         * malloc/arena.c (get_free_list): Add probe
18822         memory_arena_reuse_free_list.
18823         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18824         and memory_arena_reuse.
18825         (arena_get2) [!PER_THREAD]: Likewise.
18826         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18827         memory_arena_reuse_realloc.
18828         * manual/probes.texi: Document them.
18829
18830         * malloc/malloc.c (__libc_free): Add
18831         memory_mallopt_free_dyn_thresholds probe.
18832         (__libc_mallopt): Add multiple memory_mallopt probes.
18833         * manual/probes.texi: Document them.
18834
18835         * malloc/malloc.c: Include stap-probe.h.
18836         (__libc_mallopt): Add memory_mallopt probe.
18837         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18838         * manual/probes.texi: New.
18839         * manual/Makefile (chapters): Add probes.
18840         * manual/threads.texi: Set next node.
18841
18842 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18843
18844         [BZ #15963, #13985]
18845         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18846         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18847         Add `Chinese' to `nan' entry name.
18848
18849 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18850
18851         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18852         (POLYNOMIAL): Likewise.
18853         (TAYLOR_SINCOS): Likewise.
18854         (TAYLOR_SLOW): Likewise.
18855         (__sin): Use TAYLOR_SINCOS.
18856         (__cos): Likewise.
18857         (slow): Use TAYLOR_SLOW.
18858         (sloww): Likewise.
18859         (bsloww): Likewise.
18860         (csloww): Likewise.
18861
18862 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18863
18864         * stdlib/strtod_l.c: Fix buffer overrun.
18865
18866 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18867
18868         * benchtests/Makefile (bench): Add sincos.
18869         * benchtests/bench-sincos.c: New file.
18870
18871         * math/libm-test.inc (cos_test_data): New test inputs.
18872         (sin_test_data): Likewise.
18873
18874         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18875         macro.
18876         (__sin): Use it.
18877         (__cos): Likewise.
18878         (slow1): Likewise.
18879         (slow2): Likewise.
18880         (sloww1): Likewise.
18881         (sloww2): Likewise.
18882         (bsloww1): Likewise.
18883         (bsloww2): Likewise.
18884         (cslow2): Likewise.
18885         (csloww1): Likewise.
18886         (csloww2): Likewise.
18887
18888         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18889         function.
18890         (__sin): Use it.
18891         (__cos): Likewise.
18892
18893         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18894         gotos.
18895         (__cos): Likewise.
18896
18897 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18898
18899         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18900         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18901         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18902         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18903         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18904         * elf/cache.c (print_entry): Handle the new cache flags.
18905
18906 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18907             Aldy Hernandez  <aldyh@redhat.com>
18908
18909         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18910         Change condition to [_SOFT_FLOAT].
18911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18915         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18923         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18926         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18927         declaration.
18928
18929 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18930
18931         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18932         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18933         (__longjmp): Use LOAD_GP to load saved GPRs.
18934         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18935         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18936         (__sigsetjmp): Use SAVE_GP to save GPRs.
18937
18938         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18939         Do not append -msoft-float.
18940         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18941
18942 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18943
18944         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18945
18946 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18947
18948         [BZ #15966]
18949         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18950         (_FPU_GETCW): Use initial "__" on variable and field names but not
18951         on macro parameter name.
18952         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18953         parentheses around reference to macro parameter.
18954
18955 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18956
18957         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18958         prototype.
18959         (ctype_startup): Use uint32_t in cast and sizeof for
18960         ctype->charnames.
18961
18962 2013-09-11  Jia Liu  <proljc@gmail.com>
18963
18964         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18965         __daddr_t_defined.
18966         [__FreeBSD__]: Likewise.
18967
18968 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18969
18970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18971         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18972         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18973         (strchr): Remove __strchr_sse42 ifunc selection.
18974         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18975         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18976
18977 2013-09-11  Will Newton  <will.newton@linaro.org>
18978
18979         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18980         parameter to RES. Remove hardcoded 1000 value.
18981         * benchtests/bench-skeleton.c (main): Pass RES parameter
18982         to TIMING_INIT and multiply result by 1000.
18983
18984 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18985
18986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18987
18988 2013-09-11  Andreas Schwab  <schwab@suse.de>
18989
18990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18991         if not defined.
18992         (O_TMPFILE) [__USE_GNU]: Define.
18993         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18994         Define.
18995
18996 2013-09-11  Will Newton  <will.newton@linaro.org>
18997
18998         [BZ #15857]
18999         * malloc/malloc.c (__libc_memalign): Check the value of bytes
19000         does not overflow.
19001
19002 2013-09-11  Will Newton  <will.newton@linaro.org>
19003
19004         [BZ #15856]
19005         * malloc/malloc.c (__libc_valloc): Check the value of bytes
19006         does not overflow.
19007
19008 2013-09-11  Will Newton  <will.newton@linaro.org>
19009
19010         [BZ #15855]
19011         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19012         does not overflow.
19013
19014 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
19015
19016         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19017         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19018         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19019         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19020         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19021
19022 2013-09-10  Allan McRae  <allan@archlinux.org>
19023
19024         [BZ #15748]
19025         * manual/arith.texi (Parsing of Floats): Clarify
19026         cross-reference.
19027
19028         [BZ #15849]
19029         * manual/install.texi (Running make install): Mention
19030         --enable-pt-chown.
19031         * INSTALL: Regenerated.
19032
19033 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
19034
19035         * csu/init-first.c (_init): Remove the !SHARED condition around
19036         FPU control word initialization.
19037         * elf/dl-support.c (_dl_fpu_control): New variable.
19038         (_dl_aux_init) <AT_FPUCW>: Initialize it.
19039         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19040         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19041         * math/test-fpucw-static.c: New file.
19042         * math/test-fpucw-ieee.c: New file.
19043         * math/test-fpucw-ieee-static.c: New file.
19044         * math/Makefile (tests): Add `test-fpucw-ieee' and
19045         `$(tests-static)'.
19046         (tests-static): New variable.
19047         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19048         dependency to...
19049         [($(build-shared),yes)]
19050         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19051         ... this.
19052         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19053         New dependency.
19054
19055 2013-09-09  Allan McRae  <allan@archlinux.org>
19056
19057         [BZ #15939]
19058         * manual/string.texi (Collation Functions): Fix typo in
19059         strcoll example.
19060         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19061
19062         [BZ #15893]
19063         * stdlib/isomac.c (get_null_defines): Fix memory leak.
19064
19065         [BZ #15892]
19066         * libio/memstream.c (open_memstream): Fix memory leak.
19067         * libio/wmemstream.c (open_wmemstream): Likewise.
19068
19069         [BZ #15895]
19070         * nscd/netgroupcache.c: Fix nesting of ifdefs.
19071
19072 2013-09-09  Will Newton  <will.newton@linaro.org>
19073
19074         * malloc/Makefile: Add tst-realloc to tests.
19075         * malloc/tst-realloc.c: New file.
19076
19077 2013-09-09  Allan McRae  <allan@archlinux.org>
19078
19079         [BZ #15844]
19080         * COPYING: Update from GNU website to fix FSF address.
19081         * COPYING.LIB: Likewise.
19082
19083 2013-09-06  David S. Miller  <davem@davemloft.net>
19084
19085         * po/zh_TW.po: Update Chinese (traditional) translation from
19086         translation project.
19087
19088 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
19089             Joseph Myers  <joseph@codesourcery.com>
19090
19091         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19092         "localeinfo.h".
19093         (obstack_chunk_alloc): New macro.
19094         (obstack_chunk_free): Likewise.
19095         (record_offset): New function.
19096         (init_locale_data): Likewise.
19097         (align_locale_data): Likewise.
19098         (add_locale_empty): Likewise.
19099         (add_locale_raw_data): Likewise.
19100         (add_locale_raw_obstack): Likewise.
19101         (add_locale_string): Likewise.
19102         (add_locale_wstring): Likewise.
19103         (add_locale_uint32): Likewise.
19104         (add_locale_uint32_array): Likewise.
19105         (add_locale_char): Likewise.
19106         (start_locale_structure): Likewise.
19107         (end_locale_structure): Likewise.
19108         (start_locale_prelude): Likewise.
19109         (end_locale_prelude): Likewise.
19110         (write_locale_data): Take locale_file structure rather than an
19111         iovec.
19112         * locale/programs/locfile.h: Include "obstack.h".
19113         (struct locale_file): Change to store locale file contents instead
19114         of header.
19115         (init_locale_data): New prototype.
19116         (align_locale_data): Likewise.
19117         (add_locale_empty): Likewise.
19118         (add_locale_raw_data): Likewise.
19119         (add_locale_raw_obstack): Likewise.
19120         (add_locale_string): Likewise.
19121         (add_locale_wstring): Likewise.
19122         (add_locale_uint32): Likewise.
19123         (add_locale_uint32_array): Likewise.
19124         (add_locale_char): Likewise.
19125         (start_locale_structure): Likewise.
19126         (end_locale_structure): Likewise.
19127         (start_locale_prelude): Likewise.
19128         (end_locale_prelude): Likewise.
19129         (write_locale_data): Update prototype.
19130         * locale/programs/3level.h (struct TABLE): Remove result field.
19131         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19132         Use new locale_file interface.
19133         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19134         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19135         * locale/programs/ld-address.c (address_output): Use new
19136         locale_file interface.
19137         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19138         NO_ADD_LOCALE.
19139         (collate_finish): Don't call collseq_table_finalize.
19140         (collate_output): Use new locale_file interface.
19141         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19142         in file.
19143         (NO_FINALIZE): Change to NO_ADD_LOCALE.
19144         (TABLE): Move defines earlier in file.
19145         (ELEMENT): Likewise.
19146         (DEFAULT): Likewise.
19147         (wctrans_table_add): Move macro and inline function earlier in
19148         file.
19149         (struct wctype_table): Move type earlier in file.
19150         (add_locale_wctype_table): New static prototype.
19151         (struct locale_ctype_t): Use logical types instead of struct iovec
19152         pointers for members.
19153         (ctype_output): Use new locale_file interface.
19154         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
19155         new locale_file interface.
19156         (allocate_arrays): Update for use of new locale_file interface.
19157         * locale/programs/ld-identification.c (identification_output): Use
19158         new locale_file interface.
19159         * locale/programs/ld-measurement.c (measurement_output): Likewise.
19160         * locale/programs/ld-messages.c (messages_output): Likewise.
19161         * locale/programs/ld-monetary.c (monetary_output): Likewise.
19162         * locale/programs/ld-name.c (name_output): Likewise.
19163         * locale/programs/ld-numeric.c (numeric_output): Likewise.
19164         * locale/programs/ld-paper.c (paper_output): Likewise.
19165         * locale/programs/ld-telephone.c (telephone_output): Likewise.
19166         * locale/programs/ld-time.c (time_output): Likewise.
19167
19168 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19169
19170         * benchtests/Makefile: Add memrchr benchmark.
19171         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19172         benchmark as memrchr.
19173         * benchtests/bench-memrchr-ifunc.c: New file.
19174         * benchtests/bench-memrchr.c: New file.
19175
19176 2013-09-06   Will Newton  <will.newton@linaro.org>
19177
19178         * benchtests/Makefile (string-bench): Add memcpy.
19179
19180 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
19181             Cong Wang  <amwang@redhat.com>
19182
19183         [BZ #15850]
19184         * sysdeps/unix/sysv/linux/bits/in.h
19185         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19186         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19187         before __USE_KERNEL_IPV6_DEFS uses.
19188         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19189         IPPROTO_BEETPH.
19190         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19191         sockaddr_in6, or ipv6_mreq.
19192
19193 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19194
19195         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19196         memory access for final bytes in some large inputs.
19197         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19198
19199 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19200
19201         * string/test-memrchr.c: New file.
19202         * string/test-memrchr-ifunc.c: New file.
19203         * string/Makefile: Add new memrchr testcase.
19204
19205 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
19206
19207         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19208         fanotify_init returns EPERM.
19209
19210 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19211
19212         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19213         errors.
19214         (top level): Treat second token from macro or constant entries for
19215         allowed headers as allowed.
19216         * include/complex.h: Condition internal declarations on
19217         [!_ISOMAC].
19218         * include/fenv.h: Condition include of <stdbool.h> and internal
19219         declarations on [!_ISOMAC].
19220
19221 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
19222
19223         [BZ #15923]
19224         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19225
19226 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
19227
19228         * configure.in (--enable-versioning): Remove configure option.
19229         (libc_cv_asm_symver_directive): Remove configure test.
19230         (libc_cv_ld_version_script_option): Likewise.
19231         (VERSIONING): Remove variable and AC_SUBST.
19232         (DO_VERSIONING): Remove AC_DEFINE.
19233         * configure: Regenerated.
19234         * config.h.in (DO_VERSIONING): Remove macro.
19235         * Makerules [$(versioning) = yes]: Change conditionals to
19236         [$(build-shared) = yes].
19237         * config.make.in (versioning): Remove variable.
19238         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19239         [$(build-shared) = yes].
19240         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19241         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19242         * elf/Makefile [$(versioning) = yes]: Change conditionals to
19243         [$(build-shared) = yes].
19244         * extra-lib.mk [$(versioning) = yes]: Likewise.
19245         * hurd/Makefile [$(versioning) = yes]: Likewise.
19246         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19247         [SHARED].
19248         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19249         [SHARED].
19250         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19251         [SHARED && !NO_HIDDEN].
19252         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19253         [SHARED].
19254         [SHARED && DO_VERSIONING]: Likewise..
19255         * libio/Makefile [$(versioning) = yes]: Change conditionals to
19256         [$(build-shared) = yes].
19257         * manual/install.texi (--disable-versioning): Remove
19258         documentation.
19259         * INSTALL: Regenerated.
19260         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19261         to [SHARED].
19262         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19263         [$(build-shared) = yes].
19264         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19265         * sysdeps/i386/i686/multiarch/strstr-c.c
19266         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19267         [SHARED && !NO_HIDDEN].
19268         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19269         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19270         * sysdeps/powerpc/powerpc32/dl-machine.c
19271         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19272         * sysdeps/powerpc/powerpc32/sysdep.h
19273         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19274         to [SHARED && PIC && !NO_HIDDEN].
19275         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19276         conditional to [SHARED].
19277
19278 2013-09-04   Will Newton  <will.newton@linaro.org>
19279
19280         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19281         * benchtests/bench-string.h: Include bench-timing.h instead
19282         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19283         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19284         call to HP_TIMING_DIFF_INIT.
19285         * benchtests/bench-memccpy.c: Use bench-timing.h macros
19286         instead of hp-timing.h macros.
19287         * benchtests/bench-memchr.c: Likewise.
19288         * benchtests/bench-memcmp.c: Likewise.
19289         * benchtests/bench-memcpy.c: Likewise.
19290         * benchtests/bench-memmem.c: Likewise.
19291         * benchtests/bench-memmove.c: Likewise.
19292         * benchtests/bench-memset.c: Likewise.
19293         * benchtests/bench-rawmemchr.c: Likewise.
19294         * benchtests/bench-strcasecmp.c: Likewise.
19295         * benchtests/bench-strcasestr.c: Likewise.
19296         * benchtests/bench-strcat.c: Likewise.
19297         * benchtests/bench-strchr.c: Likewise.
19298         * benchtests/bench-strcmp.c: Likewise.
19299         * benchtests/bench-strcpy.c: Likewise.
19300         * benchtests/bench-strcpy_chk.c: Likewise.
19301         * benchtests/bench-strlen.c: Likewise.
19302         * benchtests/bench-strncasecmp.c: Likewise.
19303         * benchtests/bench-strncat.c: Likewise.
19304         * benchtests/bench-strncmp.c: Likewise.
19305         * benchtests/bench-strncpy.c: Likewise.
19306         * benchtests/bench-strnlen.c: Likewise.
19307         * benchtests/bench-strpbrk.c: Likewise.
19308         * benchtests/bench-strrchr.c: Likewise.
19309         * benchtests/bench-strspn.c: Likewise.
19310         * benchtests/bench-strstr.c: Likewise.
19311
19312 2013-09-04  Will Newton  <will.newton@linaro.org>
19313
19314         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19315
19316 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
19317
19318         [BZ #15427]
19319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19320         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19321         * math/libm-test.inc (lgamma_test_data): Add more tests.
19322         * sysdeps/i386/fpu/libm-test-ulps: Update.
19323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324
19325 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
19326
19327         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19329         Add ifunc.
19330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19331         Add strcmp-sse2-unaligned
19332         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19333
19334 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19335
19336         * Versions.def (libc): Add GLIBC_2.19.
19337
19338 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
19339
19340         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19341         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19342
19343 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
19344
19345         [BZ #14155]
19346         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19347         intermediate calculations in recurrence.
19348         (__ieee754_ynf): Likewise.
19349         * math/libm-test.inc (jn_test_data): Do not allow spurious
19350         underflow exception.  Add more tests.
19351         (yn_test_data): Add more tests.
19352         * sysdeps/i386/fpu/libm-test-ulps: Update.
19353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19354
19355 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
19356
19357         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19358
19359 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19360
19361         * csu/init-first.c: Fix then/than typos.
19362         * locale/programs/ld-collate.c: Likewise.
19363         * locale/programs/linereader.h: Likewise.
19364         * manual/charset.texi: Likewise.
19365         * manual/filesys.texi: Likewise.
19366         * manual/stdio.texi: Likewise.
19367         * manual/string.texi: Likewise.
19368         * stdlib/fmtmsg.c: Likewise.
19369         * sysdeps/i386/stpncpy.S: Likewise.
19370         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19371         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19372         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19373         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19374
19375 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
19376
19377         * elf/dl-open.c: Fix typos.
19378         * iconvdata/gbbig5.c: Likewise.
19379         * iconvdata/iso-2022-jp.c: Likewise.
19380         * iconv/gconv_int.h: Likewise.
19381         * iconv/loop.c: Likewise.
19382         * nis/rpcsvc/nis.h: Likewise.
19383         * resolv/ns_name.c: Likewise.
19384         * stdio-common/vfscanf.c: Likewise.
19385         * streams/stropts.h: Likewise.
19386         * sunrpc/rpc_thread.c: Likewise.
19387         * sysdeps/i386/strpbrk.S: Likewise.
19388         * sysdeps/ieee754/k_standard.c: Likewise.
19389         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19391         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19392         * sysdeps/mach/hurd/profil.c: Likewise.
19393         * sysdeps/s390/dl-procinfo.h: Likewise.
19394         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19395         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19396         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19397         * sysdeps/x86_64/dl-trampoline.S: Likewise.
19398         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19399
19400 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
19401
19402         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19404
19405 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
19406
19407         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19408         aix specific files.
19409         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19410         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19411         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19412         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19413         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19414         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19415         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19416         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19417
19418 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19419             Roland McGrath  <roland@hack.frob.com>
19420
19421         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19422         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19423
19424 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19425
19426         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19427         __executable_start symbol instead of _start.
19428
19429 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
19430
19431         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19432         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19433         Move macros to...
19434         * sysdeps/gnu/ldsodefs.h: ... this new file.
19435
19436         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19437         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19438         instead of ELFOSABI_LINUX.
19439
19440         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19441         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19442         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19443         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19444         Likewise.
19445         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19446         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19447         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19448         Likewise.
19449         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19450         (ibm_extended_long_double): Add ieee_nan member.
19451         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19452         (do_test): New function.
19453
19454         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19455         TEST_TRUNC.
19456         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19457         functions, renamed from truncdfsf_test, trunctfsf_test,
19458         trunctfdf_test.
19459         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19460         functions.
19461         (do_test): Run all these.
19462
19463 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
19464
19465         * argp/argp-help.c: Fix typos.
19466         * argp/argp-parse.c: Likewise.
19467         * debug/backtracesyms.c: Likewise.
19468         * elf/elf.h: Likewise.
19469         * malloc/malloc.c: Likewise.
19470         * nis/nis_print.c: Likewise.
19471         * resolv/res_comp.c: Likewise.
19472         * stdlib/stdlib.h: Likewise.
19473         * sunrpc/clnt_tcp.c: Likewise.
19474         * sunrpc/clnt_udp.c: Likewise.
19475         * sunrpc/clnt_unix.c: Likewise.
19476         * sysdeps/unix/bsd/ptsname.c: Likewise.
19477         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19478         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19480         Likewise.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19482         Likewise.
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19484         Likewise.
19485         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19486
19487 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19488
19489         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19491
19492 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
19493
19494         [BZ #15897]
19495         * dlfcn/Makefile (tests): Add bug-dl-leaf.
19496         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19497         ($(objpfx)bug-dl-leaf): New rule.
19498         ($(objpfx)bug-dl-leaf.so): Likewise.
19499         ($(objpfx)bug-dl-leaf.out): Likewise.
19500         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19501         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19502         * dlfcn/bug-dl-leaf.c: New test.
19503         * dlfcn/bug-dl-leaf-lib.c: Likewise.
19504         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19505         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19506         (dlclose): Likewise.
19507         (dlmopen): Likewise.
19508
19509 2013-08-27  Roland McGrath  <roland@hack.frob.com>
19510
19511         * include/netdb.h [!_ISOMAC]:
19512         Don't include <tls.h>.
19513         (h_errno, __libc_h_errno): Move declaration and macros out of
19514         [_LIBC_REENTRANT].
19515
19516         * include/resolv.h [_RESOLV_H_]:
19517         Don't include <tls.h>.
19518         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19519         * resolv/res_libc.c: Don't include <tls.h>.
19520         (_res): Use __attribute__ ((nocommon)) in place of
19521         __attribute__ ((section (".bss"))).
19522
19523         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19524         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19525
19526         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19527
19528         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19529         only under [SIOCGIFCONF && SIOCGIFNETMASK].
19530
19531         * resolv/res_mkquery.c: Include <sys/time.h>.
19532
19533         * inet/ifreq.c: Moved to ...
19534         * sysdeps/unix/ifreq.c: ... here.
19535         * inet/ifreq.c: New file, true stub version.
19536
19537         * socket/sa_len.c: New file.
19538         * socket/Makefile (aux): Add it.
19539         * sysdeps/unix/sysv/linux/Makefile
19540         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19541         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19542         and #include <socket/sa_len.c>.
19543         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19544         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19545
19546         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19547         * bits/socket.h: ... here.
19548
19549         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19550         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19551         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19552
19553 2013-08-27  Andreas Schwab  <schwab@suse.de>
19554
19555         [BZ #15736]
19556         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19557         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19558         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19559         * string/test-strcasecmp.c (test_main): Run tests in several
19560         locales.
19561         * string/test-strncasecmp.c (test_main): Likewise.
19562
19563         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19564         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19565         to __strcasecmp_nonascii and __strncasecmp_nonascii.
19566         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19567         (__strncasecmp_ssse3) [PIC]: Likewise.
19568
19569 2013-08-26  Roland McGrath  <roland@hack.frob.com>
19570
19571         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19572
19573         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19574         instead of explicitly declaring xdecrypt.
19575         * nis/nss_nis/nis-publickey.c: Likewise.
19576
19577 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19578
19579         [BZ #15890]
19580         * nscd/aicache.c: Include res_hconf.h.
19581         (addhstaiX): Initialize res_hconf.
19582
19583 2013-08-26  Andreas Schwab  <schwab@suse.de>
19584
19585         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19586         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19587
19588 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19589
19590         * nscd/aicache.c (addhstaiX): Fix indentation.
19591
19592 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
19593
19594         * configure.ac: Quote $build_pt_chown test.
19595         * configure: Regenerated.
19596
19597 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
19598
19599         [BZ #15532]
19600         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19601         * math/s_cexpf.c (__cexpf): Likewise.
19602         * math/s_cexpl.c (__cexpl): Likewise.
19603         * math/libm-test.inc (cexp_test_data): Correct expected return
19604         value for NaN + i0.  Add another test.
19605
19606 2013-08-22  David S. Miller  <davem@davemloft.net>
19607
19608         * po/ca.po: Update Catalan translation from translation project.
19609         * po/uk.po: Add Ukrainian translations from translation project.
19610
19611 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
19612
19613         [BZ #15797]
19614         * math/s_fdim.c (__fdim): Check for infinite arguments if result
19615         is infinite, not alongside NaN test.
19616         * math/s_fdimf.c (__fdimf): Likewise.
19617         * math/s_fdiml.c (__fdiml): Likewise.
19618         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
19619         errno is unchanged.
19620
19621 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
19622
19623         * argp/argp-help.c: Fix typos.
19624         * crypt/speeds.c: Likewise.
19625         * csu/check_fds.c: Likewise.
19626         * elf/dl-load.c: Likewise.
19627         * elf/dl-open.c: Likewise.
19628         * elf/reldep3.c: Likewise.
19629         * elf/reldep.c: Likewise.
19630         * elf/sprof.c: Likewise.
19631         * iconv/iconv_charmap.c: Likewise.
19632         * iconv/skeleton.c: Likewise.
19633         * iconv/strtab.c: Likewise.
19634         * io/lockf64.c: Likewise.
19635         * libio/libioP.h: Likewise.
19636         * resolv/gai_notify.c: Likewise.
19637         * resolv/ns_name.c: Likewise.
19638         * resolv/ns_samedomain.c: Likewise.
19639         * resolv/res_send.c: Likewise.
19640         * stdlib/random.c: Likewise.
19641         * sunrpc/rpc/xdr.h: Likewise.
19642         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19644         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19645         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19646         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19647         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19648         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19649         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19650         * sysdeps/mach/hurd/check_fds.c: Likewise.
19651         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19652         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19653         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19655         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19656         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19657         * sysdeps/pthread/aio_notify.c: Likewise.
19658         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19659         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19660         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19662         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19663
19664 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19665
19666         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19667         version if bit_Slow_SSE4_2 is set.
19668         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19669         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19670
19671 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19672
19673         [BZ #15867]
19674         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19675         trampoline stack frame information.
19676         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19677         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19678         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19679         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19680         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19681         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19682         (_libc_vdso_platform_setup): Initialize the signal trampolines.
19683         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19684         sa_flags value.
19685         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19686         interrupting a syscall and set with option SA_SIGINFO.
19687
19688 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19689
19690         [BZ #15531]
19691         * math/s_cproj.c (__cproj): Only return an infinity if one part of
19692         argument is infinite.
19693         * math/s_cprojf.c (__cprojf): Likewise.
19694         * math/s_cprojl.c (__cprojl): Likewise.
19695         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19696         * math/libm-test.inc (cproj_test_data): Add more tests.
19697
19698         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19699
19700         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19701         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19702         size.  Use __ffs to determine corresponding shift.
19703
19704 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
19705             Roland McGrath  <roland@hack.frob.com>
19706
19707         * Makefile (INSTALL): Remove trailing blank lines from output of
19708         makeinfo.
19709
19710 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19711
19712         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19713         Align 32 bit compat elf_greg to 8 bytes.
19714
19715 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
19716
19717         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19718
19719 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19720
19721         * string/strcoll_l.c (coll_seq): New structure.
19722         (get_next_seq_cached): New function.
19723         (get_next_seq): New function.
19724         (do_compare): New function.
19725         (STRCOLL): Use GNU style definition.  Simplify implementation
19726         by using get_next_seq, get_next_seq_cached and do_compare.
19727
19728 2013-08-16  Florian Weimer  <fweimer@redhat.com>
19729
19730         [BZ #14699]
19731         CVE-2013-4237
19732         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19733         member.
19734         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19735         member.
19736         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19737         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19738         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
19739         conditional.
19740         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19741         GETDENTS_64BIT_ALIGNED.
19742         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19743         * manual/filesys.texi (Reading/Closing Directory): Document
19744         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
19745         strongly.
19746         * manual/conf.texi (Limits for Files): Add portability note to
19747         NAME_MAX, PATH_MAX.
19748         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19749
19750 2013-08-13  Andreas Schwab  <schwab@suse.de>
19751
19752         [BZ #15749]
19753         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19754         of fabs.
19755         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19756         LDBL_MAX_EXP >= 16384]: Add tests for it.
19757
19758 2013-08-12  David S. Miller  <davem@davemloft.net>
19759
19760         * version.h (RELEASE): Set to "development".
19761         (VERSION): Set to "2.18.90".
19762         * NEWS: Add 2.19 section.
19763
19764 2013-08-03  David S. Miller  <davem@davemloft.net>
19765
19766         * po/ko.po: Update Korean translation from translation project.
19767
19768 2013-08-01  David S. Miller  <davem@davemloft.net>
19769
19770         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
19771         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19772         Bilka.
19773
19774 2013-07-30  David S. Miller  <davem@davemloft.net>
19775
19776         * po/fr.po: Update French translation from translation project.
19777
19778 2013-07-28  David S. Miller  <davem@davemloft.net>
19779
19780         * po/cs.po: Update Czech translation from translation project.
19781
19782         * po/sv.po: Update Swedish translation from translation project.
19783
19784 2013-07-27  David S. Miller  <davem@davemloft.net>
19785
19786         * po/eo.po: Update Esperanto translation from translation project.
19787
19788         * po/vi.po: Update Vietnamese translation from translation project.
19789
19790         * po/de.po: Update German translation from translation project.
19791
19792 2013-07-26  David S. Miller  <davem@davemloft.net>
19793
19794         * po/bg.po: Update Bulgarian translation from translation project.
19795
19796         * po/nl.po: Update Dutch translation from translation project.
19797         * po/pl.po: Update Polish translation from translation project.
19798         * po/ru.po: Update Russian translation from translation project.
19799
19800 2013-07-24  David S. Miller  <davem@davemloft.net>
19801
19802         * po/libc.pot: Update.
19803
19804 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19805
19806         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19807         variable page size.
19808         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19809         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19810         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19811
19812 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19813
19814         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19815
19816 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19817             Andreas Schwab  <schwab@suse.de>
19818             Roland McGrath  <roland@hack.frob.com>
19819             Joseph Myers  <joseph@codesourcery.com>
19820             Carlos O'Donell  <carlos@redhat.com>
19821
19822         [BZ #15755]
19823         * config.h.in: Define HAVE_PT_CHOWN.
19824         * config.make.in (build-pt-chown): New variable.
19825         * configure.in (--enable-pt_chown): New configure option.
19826         * configure: Regenerate.
19827         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19828         build-pt-chown is enabled.
19829         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19830         pt_chown to fix pty ownership.
19831         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19832         CLOSE_ALL_FDS.
19833         * manual/install.texi (Configuring and compiling): Mention
19834         --enable-pt_chown. Add @findex for grantpt.
19835         * INSTALL: Regenerate.
19836
19837 2013-07-20  David S. Miller  <davem@davemloft.net>
19838
19839         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19840         difference between 32-bit and 64-bit.
19841
19842 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19843
19844         [BZ #15711]
19845         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19846         Avoid system header dependency with -ffreestanding.
19847         ($(objpfx)bits/syscall%d): Likewise.
19848
19849 2013-07-13  David S. Miller  <davem@davemloft.net>
19850
19851         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19852         underflows from atanl/atan2l due to bug 15319.
19853         (casinh_test_data): Likewise.
19854
19855 2013-07-07  David S. Miller  <davem@davemloft.net>
19856
19857         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19858
19859 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19860
19861         * sysdeps/i386/fpu/libm-test-ulps: Update.
19862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19863
19864 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19865
19866         * configure.in (--enable-lock-elision): Fix message text.
19867         * INSTALL: Regenerate.
19868         * configure: Regenerate.
19869
19870 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19871
19872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19873
19874 2013-07-03  Andreas Jaeger  <aj@suse.de>
19875
19876         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19877         define.
19878         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19879         (ptrace_peeksiginfo_args): Add.
19880         (__ptrace_peeksiginfo_flags): Add.
19881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19882         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19883         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19884
19885 2013-07-03  Allan McRae  <allan@archlinux.org>
19886
19887         * sysdeps/i386/fpu/libm-test-ulps: Update.
19888
19889 2013-07-02  David S. Miller  <davem@davemloft.net>
19890
19891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19892
19893 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19894
19895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19896
19897 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19898
19899         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19901
19902 2013-07-02  Andi Kleen <ak@linux.intel.com>
19903
19904         * config.h.in (ENABLE_LOCK_ELISION): Add.
19905         * configure.in (--enable-lock-elision): Add option.
19906         * manual/install.texi: Document --enable lock elision.
19907         * configure: Regenerate
19908         * INSTALL: Regenerate.
19909
19910 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19911
19912         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19913         SSE4.2 strcasecmp for libc.a.
19914         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19915
19916 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19917
19918         [BZ #13304]
19919         * soft-fp/op-common.h (_FP_FMA): New macro.
19920         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19921         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19922         (_FP_MUL_MEAT_1_imm): ... here.
19923         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19924         (_FP_MUL_MEAT_1_wide): ... here.
19925         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19926         (_FP_MUL_MEAT_1_hard): ... here.
19927         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19928         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19929         (_FP_MUL_MEAT_2_wide): ... here.
19930         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19931         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19932         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19933         (_FP_MUL_MEAT_2_gmp): ... here.
19934         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19935         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19936         (_FP_MUL_MEAT_4_wide): ... here.
19937         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19938         (_FP_MUL_MEAT_4_gmp): ... here.
19939         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19940         (_FP_WFRACBITS_DW_S): Likewise.
19941         (_FP_WFRACXBITS_DW_S): Likewise.
19942         (_FP_HIGHBIT_DW_S): Likewise.
19943         (FP_FMA_S): Likewise.
19944         (_FP_FRAC_HIGH_DW_S): Likewise.
19945         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19946         (_FP_WFRACBITS_DW_D): Likewise.
19947         (_FP_WFRACXBITS_DW_D): Likewise.
19948         (_FP_HIGHBIT_DW_D): Likewise.
19949         (FP_FMA_D): Likewise.
19950         (_FP_FRAC_HIGH_DW_D): Likewise.
19951         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19952         (_FP_WFRACBITS_DW_E): Likewise.
19953         (_FP_WFRACXBITS_DW_E): Likewise.
19954         (_FP_HIGHBIT_DW_E): Likewise.
19955         (FP_FMA_E): Likewise.
19956         (_FP_FRAC_HIGH_DW_E): Likewise.
19957         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19958         (_FP_WFRACBITS_DW_Q): Likewise.
19959         (_FP_WFRACXBITS_DW_Q): Likewise.
19960         (_FP_HIGHBIT_DW_Q): Likewise.
19961         (FP_FMA_Q): Likewise.
19962         (_FP_FRAC_HIGH_DW_Q): Likewise.
19963         * soft-fp/fmasf4.c: New file.
19964         * soft-fp/fmadf4.c: Likewise.
19965         * soft-fp/fmatf4.c: Likewise.
19966
19967 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19968
19969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19970         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19971         Silvermont.
19972         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19973         macro.
19974         (index_Slow_SSE4_2): Likewise.
19975         (index_Prefer_PMINUB_for_stringop): Likewise.
19976         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19977         bit_Slow_SSE4_2 is set.
19978         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19979         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19980
19981 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19982
19983         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19984         rtld_global._dl_hwcap2.
19985         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19986         POWER8.
19987         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19988         POWER8 feature descriptions defined in _dl_hwcap2.
19989         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19990         string handling for POWER8 feature bits.
19991         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19992         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19993         _dl_powerpc_cap_flags.
19994         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19995         * sysdeps/powerpc/rtld-global-offsets.sym
19996         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19997         _dl_hwcap2 in the rtld_global_ro structure.
19998
19999 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20000
20001         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20002         hardware capabilities in support of AT_HWCAP2.
20003         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20004         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20005         GLRO(dl_hwcap2).
20006         (_dl_show_auxv): Add support for calling _dl_procinfo to display
20007         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
20008         explicitly the unknown a_type display mechanism is used.
20009         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20010         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20011         struct member.
20012         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20013         to macro prototype for AT_HWCAP2 support.
20014         * sysdeps/i386/dl-procinfo.h: Likewise.
20015         * sysdeps/s390/dl-procinfo.h: Likewise.
20016         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20017         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20018         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
20019         return -1 for unknown a_type display fallback.
20020         * sysdeps/sparc/dl-procinfo.h: Likewise.
20021         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20022         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20023
20024 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
20025
20026         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20027         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20028
20029 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
20030
20031         [BZ #12492]
20032         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20033         mprotect making __stack_prot writable.
20034
20035 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
20036             Joseph Myers  <joseph@codesourcery.com>
20037
20038         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20039         as being properly aligned.
20040
20041 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
20042
20043         * dlfcn/modstatic5.c: New file.
20044         * dlfcn/tststatic5.c: New file.
20045         * dlfcn/Makefile (tests): Add tststatic5.
20046         (tests-static): Likewise.
20047         (modules-names): Add modstatic5.
20048         (tststatic5-ENV): New variable.
20049         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20050
20051         [BZ #15022]
20052         * elf/dl-support.c (_dl_main_map): New variable.
20053         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20054         (_dl_nns, _dl_load_adds): Set to 1.
20055         (_dl_initial_searchlist): Refer to _dl_main_map.
20056         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20057         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20058         call to _dl_get_origin.
20059         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20060         around call_map.
20061         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20062         * dlfcn/modstatic3.c: New file.
20063         * dlfcn/tststatic3.c: New file.
20064         * dlfcn/tststatic4.c: New file.
20065         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20066         (tests-static): Likewise.
20067         (modules-names): Add modstatic3.
20068         (tststatic3-ENV, tststatic4-ENV): New variables.
20069         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20070         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20071
20072 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
20073
20074         * configure.in (CC): Require GCC version 4.4 or later.
20075         * configure: Regenerated.
20076         * manual/install.texi (Tools for Compilation): Update GCC version
20077         requirement.
20078         * INSTALL: Regenerated.
20079
20080 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20081
20082         [BZ #15674]
20083         * string/test-memcmp.c (check2): New.
20084         (main): Call check2.
20085
20086         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20087
20088 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
20089
20090         [BZ #15022]
20091         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20092         over to...
20093         (dl_open_worker) [!SHARED]: ... here.
20094
20095 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20096
20097         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20098
20099 2013-06-25  Richard Henderson  <rth@redhat.com>
20100
20101         * locale/programs/locarchive.c: Include <libc-internal.h>
20102
20103 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
20104
20105         * manual/texinfo.tex: Update to version 2013-06-21.17, with
20106         trailing whitespace removed.
20107
20108 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20109
20110         [BZ #10283]
20111         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20112         * locale/programs/locarchive.c: Include libc-mmap.h.
20113         (prepare_address_space): Take two new outputs (the mmap base and len).
20114         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
20115         values.
20116         (create_archive): Declare new mmap base and len values for
20117         prepare_address_space, and store the result in ah.
20118         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20119         (enlarge_archive): If ah->mmap_base is not NULL, use that and
20120         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20121         Declare new mmap base and len values for
20122         prepare_address_space, and store the result in new_ah.
20123         (open_archive): Declare new mmap base and len values for
20124         prepare_address_space, and store the result in ah.
20125         (close_archive): If ah->mmap_base is not NULL, use that and
20126         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20127         * sysdeps/generic/libc-mmap.h: New file.
20128
20129 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
20130
20131         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20132         (ALIGN_UP): Likewise.
20133         (PTR_ALIGN_DOWN): Likewise.
20134         (PTR_ALIGN_UP): Likewise.
20135
20136 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20137
20138         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20139         entry mapped to PPC_PLATFORM_POWER8.
20140         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20141         POWER8.
20142         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20143         (_dl_string_platform): Add case for exporting platform position for
20144         POWER8.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20146         search path to sysdeps/powerpc/powerpc32/power8 directory.
20147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20148         search path to sysdeps/powerpc/powerpc64/power8 directory.
20149         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20150         power7 directories.
20151         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20152         power7 directories.
20153
20154 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20155
20156         * INSTALL: Regenerate.
20157
20158         * nscd/connections.c (nscd_init): Fix comment.
20159
20160 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
20161
20162         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20163
20164         [BZ #15667]
20165         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20166         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20167
20168 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20169
20170         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20171         DL_DST_REQ_STATIC.
20172         (DL_DST_REQ_STATIC): Remove macro.
20173
20174 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
20175
20176         [BZ #7006]
20177         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20178         with a shift of 0 bits.
20179
20180 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
20181
20182         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20183         $(tststatic-ENV).
20184
20185 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20186
20187         [BZ #15655]
20188         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20189
20190 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20191
20192         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20193         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20194         accepts -fno-tree-loop-distribute-patterns.
20195         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20196         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20197         recursive call.
20198         * string/memset.c (memset): Likewise.
20199         * string/test-memmove.c (simple_memmove): Disable loop transformation
20200         to library calls.
20201         * string/test-memset.c (simple_memset): Likewise.
20202         * benchtests/bench-memmove.c (simple_memmove): Likewise.
20203         * benchtests/bench-memset.c (simple_memset): Likewise.
20204         * configure: Regenerated.
20205
20206 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
20207
20208         * math/test-misc.c (main): Ignore fesetround failure when failures
20209         of subsequent rounding tests would be ignored.
20210
20211         [BZ #15654]
20212         * math/fedisblxcpt.c (fedisableexcept): Return 0.
20213         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20214         * math/fegetenv.c (__fegetenv): Return 0.
20215         * math/fegetexcept.c (fegetexcept): Return 0.
20216         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20217         FE_TONEAREST.
20218         * math/feholdexcpt.c (feholdexcept): Return 0.
20219         * math/fesetenv.c (__fesetenv): Return 0.
20220         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20221         argument FE_TONEAREST.
20222         * math/feupdateenv.c (__feupdateenv): Return 0.
20223         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20224
20225 2013-06-18  Roland McGrath  <roland@hack.frob.com>
20226
20227         * elf/rtld-Rules (rtld-compile-command.S): New variable.
20228         (rtld-compile-command.s, rtld-compile-command.c): New variables.
20229         ($(objpfx)rtld-%.os rules): Use them.
20230
20231 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20232
20233         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20234         fields.
20235
20236 2013-06-17  Roland McGrath  <roland@hack.frob.com>
20237
20238         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20239         length of target pattern, then descending length of dependency pattern.
20240         * configure.in (AWK): Require gawk 3.1.2 or newer.
20241         * manual/install.texi (Tools for Compilation): Say that we do.
20242         * configure: Regenerated.
20243
20244         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20245         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20246         * scripts/sysd-rules.awk: ... this new script.
20247         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20248         than a glob-style pattern.
20249
20250 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
20251
20252         * math/test-misc.c (main): Do not treat incorrectly rounded
20253         conversions as failure unless ROUNDING_TESTS passes.
20254
20255 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
20256
20257         [BZ #15631]
20258         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20259         restore exception state around main square root computation, then
20260         check for inexactness explicitly.
20261
20262         * math/libm-test.inc (fma_test_data): Add another test.
20263
20264 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20265
20266         * manual/threads.texi (Non-POSIX Extensions): New document
20267         node.  Document pthread_getattr_default_np and
20268         pthread_setattr_default_np.
20269
20270         * Versions.def (libpthread): Add GLIBC_2.18.
20271         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20275         Likewise.
20276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20277         Likewise.
20278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20279         Likewise.
20280         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20281         Likewise.
20282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20283         Likewise.
20284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20285         Likewise.
20286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20287         Likewise.
20288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20289         Likewise.
20290
20291 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20292
20293         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20294         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20295
20296 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20297             H.J. Lu  <hjl.tools@gmail.com>
20298
20299         [BZ #15627]
20300         * sysdeps/x86_64/rtld-memset.c: Remove file.
20301         * sysdeps/x86_64/rtld-memset.S: New file.
20302
20303 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
20304
20305         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20306         (test_in_one_mode): Take arguments for whether the rounding mode
20307         is supported for each floating-point type.
20308         (do_test): Pass new arguments to test_in_one_mode using
20309         ROUNDING_TESTS.
20310
20311 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20312
20313         * posix/tst-waitid.c (do_test): Distinguish different instances of
20314         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
20315         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20316         before entering the kernel for waitpid.
20317
20318 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20319
20320         * NEWS: Fix note on clock function precision.  Text by Roland
20321         McGrath.
20322
20323 2013-06-13  Roland McGrath  <roland@hack.frob.com>
20324
20325         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20326         it into place only when and if the sanity check passes.
20327
20328 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
20329
20330         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20331         output for whether conversion result is exact.  Take argument
20332         indicating whether type is IBM long double.
20333         (round_for_all): Change need_exact field to ibm_ld.
20334         * stdlib/tst-strtod-round.c (struct exactness): New type.
20335         (struct test): Change bool ld_ok field to struct exactness exact.
20336         (TEST): Update all definitions for change to field.
20337         (tests): Regenerate array contents.
20338         (test_in_one_mode): Take pointer to new field instead of old ld_ok
20339         field value.  Check for IBM long double here.
20340         (do_test): Update calls to test_in_one_mode.
20341
20342 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20343
20344         [BZ #12515]
20345         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20346         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20347
20348 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20349
20350         [BZ #15605]
20351         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20352         generated by the compiler on loop optimizations.
20353         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20354         general definitions.
20355
20356 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
20357
20358         * math/bug-nextafter.c: Include <math-tests.h>.
20359         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20360         the relevant type.
20361         * math/bug-nexttoward.c: Include <math-tests.h>.
20362         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20363         the relevant type.
20364         * math/test-misc.c: Include <math-tests.h>.
20365         (main): Only test for exceptions if EXCEPTION_TESTS is true for
20366         the relevant type.
20367
20368 2013-06-12  Andreas Jaeger  <aj@suse.de>
20369
20370         * po/ia.po: Update Interlingua translation from translation
20371         project.
20372
20373 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20374
20375         * include/fenv.h: Include stdbool.h.
20376         (struct rm_ctx): New structure.
20377         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20378         Define macro.
20379         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20380         (SET_RESTORE_ROUNDF): Likewise.
20381         (SET_RESTORE_ROUNDL): Likewise.
20382         (SET_RESTORE_ROUND_NOEX): Likewise.
20383         (SET_RESTORE_ROUND_NOEXF): Likewise.
20384         (SET_RESTORE_ROUND_NOEXL): Likewise.
20385         (SET_RESTORE_ROUND_53BIT): Likewise.
20386         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20387         (libc_feresetround_noexf_ctx): Likewise.
20388         (libc_feresetround_noexl_ctx): Likewise.
20389         (libc_feholdsetround_53bit_ctx): Likewise.
20390         (libc_feresetround_53bit_ctx): Likewise.
20391         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20392         (libc_feholdexcept_setround_sse_ctx): New function.
20393         (libc_fesetenv_sse_ctx): Likewise.
20394         (libc_feupdateenv_sse_ctx): Likewise.
20395         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20396         (libc_feholdexcept_setround_387_ctx): Likewise.
20397         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20398         (libc_feholdsetround_387_prec_ctx): Likewise.
20399         (libc_feholdsetround_387_ctx): Likewise.
20400         (libc_feholdsetround_387_53bit_ctx): Likewise.
20401         (libc_feholdsetround_sse_ctx): Likewise.
20402         (libc_feresetround_sse_ctx): Likewise.
20403         (libc_feresetround_387_ctx): Likewise.
20404         (libc_feupdateenv_387_ctx): Likewise.
20405         (libc_feholdexcept_setroundf_ctx): Define macro.
20406         (libc_fesetenvf_ctx): Likewise.
20407         (libc_feupdateenvf_ctx): Likewise.
20408         (libc_feholdsetroundf_ctx): Likewise.
20409         (libc_feresetroundf_ctx): Likewise.
20410         (libc_feholdexcept_setround_ctx): Likewise.
20411         (libc_fesetenv_ctx): Likewise.
20412         (libc_feupdateenv_ctx): Likewise.
20413         (libc_feholdsetround_ctx): Likewise.
20414         (libc_feresetround_ctx): Likewise.
20415         (libc_feholdexcept_setroundl_ctx): Likewise.
20416         (libc_feupdateenvl_ctx): Likewise.
20417         (libc_feholdsetroundl_ctx): Likewise.
20418         (libc_feresetroundl_ctx): Likewise.
20419         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20420         (libc_feresetround_53bit_ctx): Likewise.
20421
20422 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20423
20424         * locale/iso-639.def: Convert to UTF-8.
20425
20426 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
20427
20428         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20429         (EXCEPTION_TESTS_double): Likewise.
20430         (EXCEPTION_TESTS_long_double): Likewise.
20431         (EXCEPTION_TESTS): Likewise.
20432         * math/libm-test.inc (test_exceptions): Only test exceptions if
20433         EXCEPTION_TESTS (FLOAT).
20434
20435 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20436
20437         * benchtests/Makefile (string-bench): Add strcpy_chk and
20438         stpcpy_chk.
20439         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20440         * benchtests/bench-stpcpy_chk.c: New file.
20441         * benchtests/bench-strcpy_chk-ifunc.c: New file.
20442         * benchtests/bench-strcpy_chk.c: New file.
20443         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20444         code.
20445         (do_test): Likewise.
20446
20447 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20448
20449         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20450         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20451         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20452         with tabs where appropriate.
20453         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20454         dl-procinfo.h.
20455         [PPC_PLATFORM_PPC440]: Likewise.
20456         [PPC_PLATFORM_PPC464]: Likewise.
20457         [PPC_PLATFORM_PPC476]: Likewise.
20458         (_dl_string_platform): Add support for detecting ppc405, ppc440,
20459         ppc464, and ppc476 platform strings merging from ports/
20460         dl-procinfo.h.
20461
20462 2013-06-11  Andreas Schwab  <schwab@suse.de>
20463
20464         [BZ #14991]
20465         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20466         (from_ucs4_idx): Regenerate.
20467         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20468         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20469         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20470         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20471         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20472         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20473         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20474         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20475         from FROM_LOOP and TO_LOOP specific macros.
20476         (BODY): Handle combining characters.
20477         * iconvdata/BIG5HKSCS.irreversible: Update.
20478         * iconvdata/BIG5HKSCS.precomposed: New file.
20479         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20480         characters.
20481         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20482
20483 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20484
20485         * include/sys/time.h: Fix indentation and add copyright header.
20486
20487         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20488         (do_test): Likewise.
20489         * string/test-memchr.c (do_one_test): Likewise.
20490         (do_test): Likewise.
20491         * string/test-memcmp.c (do_one_test): Likewise.
20492         (do_test): Likewise.
20493         * string/test-memcpy.c (do_one_test): Likewise.
20494         (do_test): Likewise.
20495         * string/test-memmem.c (do_one_test): Likewise.
20496         (do_test): Likewise.
20497         (do_random_tests): Likewise.
20498         * string/test-memmove.c (do_one_test): Likewise.
20499         (do_test): Likewise.
20500         * string/test-memset.c (do_one_test): Likewise.
20501         (do_test): Likewise.
20502         * string/test-rawmemchr.c (do_one_test): Likewise.
20503         (do_test): Likewise.
20504         * string/test-strcasecmp.c (do_one_test): Likewise.
20505         (do_test): Likewise.
20506         * string/test-strcasestr.c (do_one_test): Likewise.
20507         (do_test): Likewise.
20508         * string/test-strcat.c (do_one_test): Likewise.
20509         (do_test): Likewise.
20510         * string/test-strchr.c (do_one_test): Likewise.
20511         (do_test): Likewise.
20512         * string/test-strcmp.c (do_one_test): Likewise.
20513         (do_test): Likewise.
20514         * string/test-strcpy.c (do_one_test): Likewise.
20515         (do_test): Likewise.
20516         * string/test-string.h: Likewise.
20517         (test_init): Likewise.
20518         * string/test-strlen.c (do_one_test): Likewise.
20519         (do_test): Likewise.
20520         * string/test-strncasecmp.c (do_one_test): Likewise.
20521         (do_test): Likewise.
20522         * string/test-strncat.c (do_one_test): Likewise.
20523         (do_test): Likewise.
20524         * string/test-strncmp.c (do_one_test): Likewise.
20525         (do_test_limit): Likewise.
20526         (do_test): Likewise.
20527         * string/test-strncpy.c (do_one_test): Likewise.
20528         (do_test): Likewise.
20529         * string/test-strnlen.c (do_one_test): Likewise.
20530         (do_test): Likewise.
20531         * string/test-strpbrk.c (do_one_test): Likewise.
20532         (do_test): Likewise.
20533         * string/test-strrchr.c (do_one_test): Likewise.
20534         (do_test): Likewise.
20535         * string/test-strspn.c (do_one_test): Likewise.
20536         (do_test): Likewise.
20537         * string/test-strstr.c (do_one_test): Likewise.
20538         (do_test): Likewise.
20539
20540         * benchtests/Makefile (string-bench): Add string benchmarks.
20541         * benchtests/bench-bcopy-ifunc.c: New file.
20542         * benchtests/bench-bcopy.c: New file.
20543         * benchtests/bench-bzero-ifunc.c: New file.
20544         * benchtests/bench-bzero.c: New file.
20545         * benchtests/bench-memccpy-ifunc.c: New file.
20546         * benchtests/bench-memccpy.c: New file.
20547         * benchtests/bench-memchr-ifunc.c: New file.
20548         * benchtests/bench-memchr.c: New file.
20549         * benchtests/bench-memcmp-ifunc.c: New file.
20550         * benchtests/bench-memcmp.c: New file.
20551         * benchtests/bench-memmem-ifunc.c: New file.
20552         * benchtests/bench-memmem.c: New file.
20553         * benchtests/bench-memmove-ifunc.c: New file.
20554         * benchtests/bench-memmove.c: New file.
20555         * benchtests/bench-mempcpy-ifunc.c: New file.
20556         * benchtests/bench-mempcpy.c: New file.
20557         * benchtests/bench-memset-ifunc.c: New file.
20558         * benchtests/bench-memset.c: New file.
20559         * benchtests/bench-rawmemchr-ifunc.c: New file.
20560         * benchtests/bench-rawmemchr.c: New file.
20561         * benchtests/bench-stpcpy-ifunc.c: New file.
20562         * benchtests/bench-stpcpy.c: New file.
20563         * benchtests/bench-stpncpy-ifunc.c: New file.
20564         * benchtests/bench-stpncpy.c: New file.
20565         * benchtests/bench-strcasecmp-ifunc.c: New file.
20566         * benchtests/bench-strcasecmp.c: New file.
20567         * benchtests/bench-strcasestr-ifunc.c: New file.
20568         * benchtests/bench-strcasestr.c: New file.
20569         * benchtests/bench-strcat-ifunc.c: New file.
20570         * benchtests/bench-strcat.c: New file.
20571         * benchtests/bench-strchr-ifunc.c: New file.
20572         * benchtests/bench-strchr.c: New file.
20573         * benchtests/bench-strchrnul-ifunc.c: New file.
20574         * benchtests/bench-strchrnul.c: New file.
20575         * benchtests/bench-strcmp-ifunc.c: New file.
20576         * benchtests/bench-strcmp.c: New file.
20577         * benchtests/bench-strcpy-ifunc.c: New file.
20578         * benchtests/bench-strcpy.c: New file.
20579         * benchtests/bench-strcspn-ifunc.c: New file.
20580         * benchtests/bench-strcspn.c: New file.
20581         * benchtests/bench-strlen-ifunc.c: New file.
20582         * benchtests/bench-strlen.c: New file.
20583         * benchtests/bench-strncasecmp-ifunc.c: New file.
20584         * benchtests/bench-strncasecmp.c: New file.
20585         * benchtests/bench-strncat-ifunc.c: New file.
20586         * benchtests/bench-strncat.c: New file.
20587         * benchtests/bench-strncmp-ifunc.c: New file.
20588         * benchtests/bench-strncmp.c: New file.
20589         * benchtests/bench-strncpy-ifunc.c: New file.
20590         * benchtests/bench-strncpy.c: New file.
20591         * benchtests/bench-strnlen-ifunc.c: New file.
20592         * benchtests/bench-strnlen.c: New file.
20593         * benchtests/bench-strpbrk-ifunc.c: New file.
20594         * benchtests/bench-strpbrk.c: New file.
20595         * benchtests/bench-strrchr-ifunc.c: New file.
20596         * benchtests/bench-strrchr.c: New file.
20597         * benchtests/bench-strspn-ifunc.c: New file.
20598         * benchtests/bench-strspn.c: New file.
20599         * benchtests/bench-strstr-ifunc.c: New file.
20600         * benchtests/bench-strstr.c: New file.
20601
20602         * benchtests/Makefile: Disable parallel execution of targets.
20603         (string-bench): Add memcpy.
20604         (benchset): New variable to store a list of benchmark sets.
20605         (bench-func): Renamed from bench.
20606         (bench-set): New target.
20607         (bench): Depend on bench-func and bench-set.
20608         * benchtests/README: Add section on benchmark sets.
20609         * benchtests/bench-memcpy-ifunc.c: New file.
20610         * benchtests/bench-memcpy.c: New file.
20611         * benchtests/bench-string.h: New file.
20612
20613 2013-06-11  Andreas Schwab  <schwab@suse.de>
20614
20615         [BZ #15577]
20616         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20617         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20618         values in the triple.
20619         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20620         terminator in the group key.
20621
20622 2013-06-11  Andreas Jaeger  <aj@suse.de>
20623
20624         * po/zh_TW.po: Update Chinese (traditional) translation from
20625         translation project.
20626
20627 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20628
20629         * include/time.h (__clock_gettime): Add libc_hidden_proto.
20630         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20631         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
20632         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20633         (clock_getcpuclockid): Likewise.
20634         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20635         Add weak_alias and libc_hidden_def.
20636         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20637         * rt/clock_gettime.c (clock_gettime): Rename to
20638         __clock_gettime.  Add weak_alias and libc_hidden_def.
20639         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20640         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20641         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
20642         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20643         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20644         Likewise.
20645         * rt/clock_settime.c (clock_settime): Rename to
20646         __clock_settime.  Add weak_alias and libc_hidden_def.
20647         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20648
20649 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
20650
20651         * mach/err_boot.sub: Remove trailing whitespace.
20652         * mach/err_ipc.sub: Likewise.
20653         * mach/err_mach.sub: Likewise.
20654
20655         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20656         (ROUNDING_TESTS_double): Likewise.
20657         (ROUNDING_TESTS_long_double): Likewise.
20658         (ROUNDING_TESTS): Likewise.
20659         * math/libm-test.inc: Include <math-tests.h>.
20660         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20661         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20662         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20663         (IF_ROUND_INIT_FE_UPWARD): Likewise.
20664
20665 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20666
20667         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20668         of assigning.
20669
20670 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
20671
20672         * sysdeps/gnu/errlist.awk: Do not generate space at end of
20673         otherwise empty TRANS lines.
20674         * sysdeps/gnu/errlist.c: Regenerated.
20675
20676         * catgets/gencat.c (error_print): Use (void) in function
20677         definition.
20678         * crypt/crypt_util.c (__init_des): Likewise.
20679         * crypt/speeds.c (Stop): Likewise.
20680         (main): Likewise.
20681         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20682         * inet/ruserpass.c (token): Likewise.
20683         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20684         * intl/localealias.c (extend_alias_table): Likewise.
20685         * intl/plural-exp.c (init_germanic_plural): Likewise.
20686         * libio/fcloseall.c (__fcloseall): Likewise.
20687         * libio/genops.c (_IO_flush_all): Likewise.
20688         (_IO_flush_all_linebuffered): Likewise.
20689         (_IO_cleanup): Likewise.
20690         (_IO_iter_begin): Likewise.
20691         (_IO_iter_end): Likewise.
20692         (_IO_list_lock): Likewise.
20693         (_IO_list_unlock): Likewise.
20694         (_IO_list_resetlock): Likewise.
20695         * libio/getchar.c (getchar): Likewise.
20696         * libio/getchar_u.c (getchar_unlocked): Likewise.
20697         * libio/getwchar.c (getwchar): Likewise.
20698         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20699         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20700         * login/getpt.c (__getpt): Likewise.
20701         * login/tst-utmp.c (main): Likewise.
20702         * malloc/hooks.c (__malloc_check_init): Likewise.
20703         * malloc/malloc.c (__malloc_stats): Likewise.
20704         * malloc/mtrace.c (tr_break): Likewise.
20705         (mtrace): Likewise.
20706         (muntrace): Likewise.
20707         * misc/fstab.c (endfsent): Likewise.
20708         * misc/getclktck.c (__getclktck): Likewise.
20709         * misc/getdtsz.c (__getdtablesize): Likewise.
20710         * misc/gethostid.c (gethostid): Likewise.
20711         * misc/getpagesize.c (__getpagesize): Likewise.
20712         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20713         (__get_nprocs): Likewise.
20714         (__get_phys_pages): Likewise.
20715         (__get_avphys_pages): Likewise.
20716         * misc/getttyent.c (getttyent): Likewise.
20717         (setttyent): Likewise.
20718         (endttyent): Likewise.
20719         * misc/getusershell.c (getusershell): Likewise.
20720         (endusershell): Likewise.
20721         (setusershell): Likewise.
20722         (initshells): Likewise.
20723         * misc/hsearch.c (__hdestroy): Likewise.
20724         * misc/sync.c (sync): Likewise.
20725         * misc/syslog.c (closelog_internal): Likewise.
20726         (closelog): Likewise.
20727         * misc/ttyslot.c (ttyslot): Likewise.
20728         * misc/vhangup.c (vhangup): Likewise.
20729         * posix/fork.c (__fork): Likewise.
20730         * posix/getegid.c (__getegid): Likewise.
20731         * posix/geteuid.c (__geteuid): Likewise.
20732         * posix/getgid.c (__getgid): Likewise.
20733         * posix/getpid.c (__getpid): Likewise.
20734         * posix/getppid.c (__getppid): Likewise.
20735         * posix/getuid.c (__getuid): Likewise.
20736         * posix/pause.c (pause): Likewise.
20737         * posix/setpgrp.c (setpgrp): Likewise.
20738         * posix/setsid.c (__setsid): Likewise.
20739         * posix/test-vfork.c (noop): Likewise.
20740         * resolv/gethnamaddr.c (_endhtent): Likewise.
20741         (_gethtent): Likewise.
20742         (ht_endhostent): Likewise.
20743         (gethostent): Likewise.
20744         (dns_service): Likewise.
20745         * stdlib/drand48.c (drand48): Likewise.
20746         * stdlib/lrand48.c (lrand48): Likewise.
20747         * stdlib/mrand48.c (mrand48): Likewise.
20748         * stdlib/rand.c (rand): Likewise.
20749         * stdlib/random.c (__random): Likewise.
20750         * stdlib/setenv.c (clearenv): Likewise.
20751         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20752         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20753         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20754         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20755         (__get_nprocs): Likewise.
20756         (__get_phys_pages): Likewise.
20757         (__get_avphys_pages): Likewise.
20758         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20759         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20760         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20761         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20762         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20763         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20764         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20765         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20766         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20767         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20768         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20769         * sysdeps/mach/hurd/sync.c (sync): Likewise.
20770         * sysdeps/posix/clock.c (clock): Likewise.
20771         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20772         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20773         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20774         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20775         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20776         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20777         (__get_nprocs_conf): Likewise.
20778         (__get_phys_pages): Likewise.
20779         (__get_avphys_pages): Likewise.
20780         * time/clock.c (clock): Likewise.
20781         * time/tzset.c (__tzname_max): Likewise.
20782
20783 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20784
20785         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20786         (__bswap_32): Do not use "register".
20787         * crypt/crypt.c (_ufc_doit_r): Likewise.
20788         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20789         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20790         * gmon/gmon.c (__monstartup): Likewise.
20791         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20792         * hurd/hurdmalloc.c (more_memory): Likewise.
20793         (malloc): Likewise.
20794         (free): Likewise.
20795         (realloc): Likewise.
20796         (malloc_fork_prepare): Likewise.
20797         (malloc_fork_parent): Likewise.
20798         (malloc_fork_child): Likewise.
20799         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20800         (_svcauth_des): Likewise.
20801         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20802         * inet/inet_net.c (inet_network): Likewise.
20803         * inet/inet_netof.c (inet_netof): Likewise.
20804         * inet/rcmd.c (__validuser2_sa): Likewise.
20805         * io/fts.c (fts_open): Likewise.
20806         (fts_load): Likewise.
20807         (fts_close): Likewise.
20808         (fts_read): Likewise.
20809         (fts_children): Likewise.
20810         (fts_build): Likewise.
20811         (fts_stat): Likewise.
20812         (fts_sort): Likewise.
20813         (fts_alloc): Likewise.
20814         (fts_lfree): Likewise.
20815         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20816         (_IO_file_xsgetn): Likewise.
20817         (_IO_file_xsgetn_mmap): Likewise.
20818         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20819         (_IO_cookie_write): Likewise.
20820         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20821         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20822         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20823         * malloc/obstack.c (_obstack_begin): Likewise.
20824         (_obstack_begin_1): Likewise.
20825         (_obstack_newchunk): Likewise.
20826         (_obstack_allocated_p): Likewise.
20827         (obstack_free): Likewise.
20828         (_obstack_memory_used): Likewise.
20829         * misc/getttyent.c (getttynam): Likewise.
20830         (getttyent): Likewise.
20831         (skip): Likewise.
20832         (value): Likewise.
20833         * misc/getusershell.c (initshells): Likewise.
20834         * misc/syslog.c (__vsyslog_chk): Likewise.
20835         * misc/ttyslot.c (ttyslot): Likewise.
20836         * nis/nis_hash.c (__nis_hash): Likewise.
20837         * posix/fnmatch_loop.c (FCT): Likewise.
20838         * posix/getconf.c (print_all): Likewise.
20839         (main): Likewise.
20840         * posix/getopt.c (exchange): Likewise.
20841         * posix/glob.c (globfree): Likewise.
20842         (prefix_array): Likewise.
20843         (__glob_pattern_type): Likewise.
20844         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20845         (NS_GET32): Likewise.
20846         (NS_PUT16): Likewise.
20847         (NS_PUT32): Likewise.
20848         * resolv/gethnamaddr.c (getanswer): Likewise.
20849         (gethostbyname2): Likewise.
20850         (gethostbyaddr): Likewise.
20851         (_gethtent): Likewise.
20852         (_gethtbyname2): Likewise.
20853         (_gethtbyaddr): Likewise.
20854         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20855         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20856         * resolv/res_init.c (__res_vinit): Likewise.
20857         (net_mask): Likewise.
20858         * resolv/res_mkquery.c (outchar): Likewise.
20859         (PRINT): Likewise.
20860         * stdio-common/printf_fp.c (outchar): Likewise.
20861         (PRINT): Likewise.
20862         * stdio-common/printf_fphex.c (outchar): Likewise.
20863         (PRINT): Likewise.
20864         * stdio-common/printf_size.c (outchar): Likewise.
20865         (PRINT): Likewise.
20866         * stdio-common/test_rdwr.c (main): Likewise.
20867         * stdio-common/tfformat.c (matches): Likewise.
20868         * stdio-common/vfprintf.c (outchar): Likewise.
20869         (printf_unknown): Likewise.
20870         (buffered_vfprintf): Likewise.
20871         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20872         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20873         (ReadFile): Likewise.
20874         * stdlib/qsort.c (SWAP): Likewise.
20875         (_quicksort): Likewise.
20876         * stdlib/setenv.c (__add_to_environ): Likewise.
20877         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20878         * stdlib/strtol_l.c (__strtol_l): Likewise.
20879         * stdlib/tst-strtod.c (main): Likewise.
20880         * stdlib/tst-strtol.c (main): Likewise.
20881         * stdlib/tst-strtoll.c (main): Likewise.
20882         * string/bits/string2.h (__strcmp_cc): Likewise.
20883         (__strcmp_cg): Likewise.
20884         (__strcspn_c1): Likewise.
20885         (__strcspn_c2): Likewise.
20886         (__strcspn_c3): Likewise.
20887         (__strspn_c1): Likewise.
20888         (__strspn_c2): Likewise.
20889         (__strspn_c3): Likewise.
20890         (__strsep_1c): Likewise.
20891         (__strsep_2c): Likewise.
20892         (__strsep_3c): Likewise.
20893         * string/memccpy.c (__memccpy): Likewise.
20894         * string/stpcpy.c (__stpcpy): Likewise.
20895         * string/strcmp.c (strcmp): Likewise.
20896         * string/strrchr.c (strrchr): Likewise.
20897         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20898         Likewise.
20899         * sysdeps/mach/hurd/getcwd.c
20900         (_hurd_canonicalize_directory_name_internal): Likewise.
20901         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20902         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20903         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20904         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20905         Likewise, in both definitions.
20906         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20907         definitions.
20908         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20909         64] (__bswap_64): Likewise.
20910         * time/test_time.c (main): Likewise.
20911         * time/tzfile.c (__tzfile_read): Likewise.
20912         (__tzfile_compute): Likewise.
20913         * time/tzset.c (__tzset_parse_tz): Likewise.
20914         (tzset_internal): Likewise.
20915         (compute_change): Likewise.
20916         * wcsmbs/wcscat.c (__wcscat): Likewise.
20917         * wcsmbs/wcschr.c (wcschr): Likewise.
20918         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20919         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20920         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20921         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20922         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20923         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20924         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20925         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20926         * wcsmbs/wmemset.c (wmemset): Likewise.
20927
20928 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20929
20930         * scripts/config.guess: Update to version 2013-05-16.
20931         * scripts/config.sub: Update to version 2013-04-24.
20932         * scripts/install-sh: Update to version 2011-11-20.07.
20933         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20934         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20935
20936 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20937
20938         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20939         * elf/sln.c: Likewise.
20940         * hurd/hurd/ioctl.h: Likewise.
20941         * hurd/hurdmalloc.c: Likewise.
20942         * hurd/xattr.c: Likewise.
20943         * include/shlib-compat.h: Likewise.
20944         * inet/ruserpass.c: Likewise.
20945         * libio/iofgets_u.c: Likewise.
20946         * libio/iofgetws_u.c: Likewise.
20947         * locale/programs/ld-identification.c: Likewise.
20948         * locale/programs/ld-time.c: Likewise.
20949         * mach/msg-destroy.c: Likewise.
20950         * nss/nss_files/files-netgrp.c: Likewise.
20951         * resolv/res_data.c: Likewise.
20952         * soft-fp/op-1.h: Likewise.
20953         * soft-fp/op-2.h: Likewise.
20954         * soft-fp/op-4.h: Likewise.
20955         * soft-fp/op-common.h: Likewise.
20956         * stdio-common/printf_fphex.c: Likewise.
20957         * stdlib/strtod_l.c: Likewise.
20958         * sunrpc/rpc/clnt.h: Likewise.
20959         * sysdeps/generic/framestate.c: Likewise.
20960         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20961         * sysdeps/i386/bsd-setjmp.S: Likewise.
20962         * sysdeps/i386/__longjmp.S: Likewise.
20963         * sysdeps/i386/setjmp.S: Likewise.
20964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20965         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20967         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20969         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20971         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20972         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20973         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20974         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20975         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20976         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20977         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20978         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20979         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20980         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20981         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20982         * sysdeps/ieee754/support.c: Likewise.
20983         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20984         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20985         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20986         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20987         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20988         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20989         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20990         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20991         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20992         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20993         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20994         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20995         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20996         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20997         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20998         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20999         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21001
21002 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
21003
21004         * posix/transbug.c: Remove executable mode.
21005
21006 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
21007
21008         * crypt/speeds.c: Remove trailing whitespace.
21009         * dlfcn/default.c: Likewise.
21010         * elf/ifuncdep2.c: Likewise.
21011         * elf/ifuncmain1.c: Likewise.
21012         * elf/ifuncmain1vis.c: Likewise.
21013         * elf/testobj.h: Likewise.
21014         * elf/tst-stackguard1.c: Likewise.
21015         * gmon/sys/gmon.h: Likewise.
21016         * hurd/hurdmsg.c: Likewise.
21017         * hurd/new-fd.c: Likewise.
21018         * hurd/ports-get.c: Likewise.
21019         * iconvdata/ibm1008_420.c: Likewise.
21020         * inet/tst-getni1.c: Likewise.
21021         * inet/tst-getni2.c: Likewise.
21022         * libio/ioungetc.c: Likewise.
21023         * libio/wfiledoalloc.c: Likewise.
21024         * manual/libm-err-tab.pl: Likewise.
21025         * math/w_dremf.c: Likewise.
21026         * misc/ftruncate.c: Likewise.
21027         * posix/bug-glob2.c: Likewise.
21028         * posix/tst-pcre.c: Likewise.
21029         * posix/wait4.c: Likewise.
21030         * resolv/README: Likewise.
21031         * resolv/res_debug.h: Likewise.
21032         * resolv/tst-inet_ntop.c: Likewise.
21033         * setjmp/bug269-setjmp.c: Likewise.
21034         * soft-fp/extended.h: Likewise.
21035         * soft-fp/op-1.h: Likewise.
21036         * soft-fp/op-2.h: Likewise.
21037         * soft-fp/op-4.h: Likewise.
21038         * soft-fp/op-8.h: Likewise.
21039         * soft-fp/testit.c: Likewise.
21040         * stdio-common/bug16.c: Likewise.
21041         * stdlib/random.c: Likewise.
21042         * sunrpc/rpcsvc/rquota.x: Likewise.
21043         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21044         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21045         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21046         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21047         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21048         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21049         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21050         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21051         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21052         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21053         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21054         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21055         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21056         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21057         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21058         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21059         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21061         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21062         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21064         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21065         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21067         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21068         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21071         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21072         * sysdeps/ieee754/s_lib_version.c: Likewise.
21073         * sysdeps/mach/hurd/check_fds.c: Likewise.
21074         * sysdeps/mach/hurd/getsockname.c: Likewise.
21075         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21076         * sysdeps/mach/hurd/recvfrom.c: Likewise.
21077         * sysdeps/powerpc/bits/link.h: Likewise.
21078         * sysdeps/powerpc/dl-procinfo.c: Likewise.
21079         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21080         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21081         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21082         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21083         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21084         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21085         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21086         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21087         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21088         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21089         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21090         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21091         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21092         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21093         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21094         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21095         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21096         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21097         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21098         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21099         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21100         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21101         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21102         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21103         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21104         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21105         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21106         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21107         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21108         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21109         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21110         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21111         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21112         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21113         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21114         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21115         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21116         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21117         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21118         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21119         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21120         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21121         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21122         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21123         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21124         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21125         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21126         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21127         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21128         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21130         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21131         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21132         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21133         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21134         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21135         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21136         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21137         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21138         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21139         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21140         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21141         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21142         * sysdeps/powerpc/sysdep.h: Likewise.
21143         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21144         * sysdeps/s390/s390-64/sub_n.S: Likewise.
21145         * sysdeps/sh/dl-trampoline.S: Likewise.
21146         * sysdeps/sh/memset.S: Likewise.
21147         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21148         * sysdeps/sh/strlen.S: Likewise.
21149         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21150         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21151         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21152         * sysdeps/sparc/sparc32/rem.S: Likewise.
21153         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21154         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21155         * sysdeps/sparc/sparc32/strchr.S: Likewise.
21156         * sysdeps/sparc/sparc32/udiv.S: Likewise.
21157         * sysdeps/sparc/sparc32/urem.S: Likewise.
21158         * sysdeps/sparc/sparc64/add_n.S: Likewise.
21159         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21160         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21161         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21162         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21163         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21164         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21165         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21166         * sysdeps/unix/bsd/times.c: Likewise.
21167         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21168         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21172         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21173         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21174         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21175         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21176         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21177         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21178         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21179         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21180         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21181         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21182         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21183         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21184         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21185         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21186         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21187         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21188         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21189         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21190         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21191         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21192         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21193         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21194         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21195         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21196         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21197         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21198         * sysdeps/x86_64/strcspn.S: Likewise.
21199
21200 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21201
21202         * locale/C-translit.h: Revert #include <stdint.h> because this is a
21203         generated file.  Regenerate properly from gen-translit.pl.
21204         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
21205         locale/C-translit.h.
21206
21207 2013-06-05  Andreas Schwab  <schwab@suse.de>
21208
21209         [BZ #15100]
21210         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21211         week as 6 instead of -1.
21212         * time/tst-strptime.c (day_tests): Add test case.
21213
21214 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21215
21216         * sysdeps/generic/math_private.h
21217         (libc_feholdexcept_setround_53bit): Replace with
21218         libc_feholdsetround_53bit.
21219         (libc_feupdateenv_53bit): Replace with
21220         libc_feresetround_53bit.
21221         (SET_RESTORE_ROUND_53BIT): Adjust.
21222
21223 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21224
21225         * string/test-strchrnul.c: Add copyright header.
21226
21227         * posix/tst-getaddrinfo4.c: Increase test timeout.
21228
21229 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
21230
21231         [BZ #15536]
21232         * math/libm-test.inc (MAX_EXP): Remove
21233         (MIN_EXP): Define.
21234         (ulp): Use MIN_EXP - MANT_DIG.
21235         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21236
21237 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
21238
21239         * po/be.po: Revert last change.
21240         * po/zh_CN.po: Likewise.
21241         * po/header.pot: Likewise.
21242
21243 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
21244
21245         * Makefile ($(common-objpfx)linkobj/libc.so): Define
21246         link-libc-deps to empty as target-specific variable.
21247         * Makerules (link-libc-args): New variable.
21248         (libc-for-link): Likewise.
21249         (link-libc-deps): Likewise.
21250         (lib%.so): Depend on $(link-libc-deps).  Link with
21251         $(link-libc-args).
21252         (build-module): Link with $(link-libc-args).
21253         (build-module-asneeded): Likewise.
21254         (build-module-helper-objlist): Filter out $(link-libc-deps) from
21255         list of objects.
21256         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21257         target-specific variable.
21258         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21259         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21260         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21261         libc.
21262         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21263         libc and ld.so.
21264         ($(objpfx)libpcprofile.so): Likewise.
21265         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21266         libc_nonshared.a.
21267         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21268         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21269         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21270         $(link-libc-deps).
21271         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21272         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21273         * login/Makefile ($(objpfx)libutil.so): Likewise.
21274         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21275         * math/Makefile ($(objpfx)libm.so): Likewise.
21276         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21277         $(objpfx)libnsl.so): Define libc-for-link as target-specific
21278         variable instead of depending directly on libc.
21279         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21280         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21281         $(link-libc-deps).
21282         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21283         libc.
21284         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21285         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21286         ($(objpfx)libanl.so): Likewise.
21287         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21288         ld.so.
21289         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21290         $(link-libc-deps).
21291         * sysdeps/i386/fpu/Makefile: Remove file.
21292         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21293         ($(objpfx)libm.so): Remove dependency on ld.so.
21294
21295 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
21296
21297         [BZ # 15553]
21298         * nis/yp_xdr.c (XDRMAXNAME): Define.
21299         (XDRMAXRECORD): Define.
21300         (xdr_domainname): Use XDRMAXNAME.
21301         (xdr_mapname): Likewise.
21302         (xdr_peername): Likewise.
21303         (xdr_keydat): Use XDRMAXRECORD.
21304         (xdr_valdat): Likewise.
21305
21306 2013-05-30  Jeff Law  <law@redhat.com>
21307
21308         [BZ #14256]
21309         * manual/errno.texi (ESTALE): Update to account for more than
21310         just NFS file systems.
21311         * sysdeps/gnu/errlist.c: Regenerated.
21312
21313 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21314
21315         [BZ #15465]
21316         * elf/Makefile (tests): Add tst-null-argv.
21317         (modules-names):  Add tst-null-argv-lib.
21318         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21319         (tst-null-argv-ENV): Set environment for tst-null-argv.
21320         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21321         (RTLD_PROGNAME): New macro.
21322         * elf/tst-null-argv.c: New test case.
21323         * elf/tst-null-argv-lib.c: Library for test case.
21324         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21325         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21326         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21327         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21328         * elf/dl-init.c (call_init): Likewise.
21329         (_dl_init): Likewise.
21330         * elf/dl-load.c (print_search_path): Likewise.
21331         (_dl_map_object): Likewise.
21332         * elf/dl-lookup.c (do_lookup_x): Likewise.
21333         (add_dependency): Likewise.
21334         (_dl_lookup_symbol_x): Likewise.
21335         (_dl_debug_bindings): Likewise.
21336         * elf/dl-open.c (_dl_show_scope): Likewise.
21337         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21338         * elf/dl-version.c (match_symbol): Likewise.
21339         (_dl_check_map_versions): Likewise.
21340         * elf/rtld.c (dl_main): Likewise.
21341         (print_unresolved): Use RTLD_PROGNAME.
21342         (print_missing_version): Likewise.
21343         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21344         (elf_machine_rela): Likewise.
21345         * sysdeps/powerpc/powerpc32/dl-machine.c
21346         (__process_machine_rela): Likewise.
21347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21348         Likewise.
21349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21350         Likewise.
21351         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21352         Likewise.
21353         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21354         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21355         Likewise.
21356         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21357         Likewise.
21358         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21359
21360 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
21361
21362         * po/be.po: Add descriptive title.
21363         * po/zh_CN.po: Likewise.
21364         * po/header.pot: Likewise.
21365
21366 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
21367
21368         * locale/programs/locarchive.c (create_archive): Inlucde fname in
21369         error message.
21370         (enlarge_archive): Likewise.
21371
21372 2013-05-28  Ben North  <ben@redfrontdoor.org>
21373
21374         * manual/arith.texi (frexp): It is the magnitude of the return
21375         value which lies in [0.5, 1), not the return value itself.
21376
21377 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21378
21379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21380
21381 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
21382
21383         * stdio-common/bug26.c (main): Correct fscanf template.
21384
21385         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21386         declare _dl_skip_args.
21387
21388         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21389         Don't declare.
21390
21391         * manual/platform.texi: Add missing @end deftypefun.
21392
21393 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21394
21395         [BZ #15529]
21396         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21397         bit of mantissa of 2^16382.
21398         * math/libm-test.inc (hypot_test_data): Add more tests.
21399
21400         * math/libm-test.inc: Add drem and pow10 to list of tested
21401         functions.
21402         (pow10_test): New function.
21403         (drem_test): Likewise.
21404         (drem_test_tonearest): Likewise.
21405         (drem_test_towardzero): Likewise.
21406         (drem_test_downward): Likewise.
21407         (drem_test_upward): Likewise.
21408         (main): Call the new functions.
21409
21410         * math/libm-test.inc (finite_test_data): Remove.
21411         (finite_test): Run tests from isfinite_test_data.
21412         (gamma_test_data): Remove.
21413         (gamma_test): Run tests from lgamma_test_data.
21414         * sysdeps/i386/fpu/libm-test-ulps: Update.
21415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416
21417 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21418
21419         * manual/platform.texi: Add PowerPC PPR function set documentation.
21420         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21421         implementation.
21422
21423 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
21424
21425         * math/libm-test.inc (MAX_EXP): Define.
21426         (ULPDIFF): Define.
21427         (ulp): New function.
21428         (check_float_internal): Use ULPDIFF.
21429         (cpow_test): Disable failing test.
21430         (check_ulp): Test ulp() implemetnation.
21431         (main): Call check_ulp before starting tests.
21432
21433 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
21434
21435         * math/gen-libm-test.pl (generate_testfile): Do not handle
21436         START_DATA and END_DATA.
21437         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21438         END_DATA.
21439         (acos_tonearest_test_data): Likewise.
21440         (acos_towardzero_test_data): Likewise.
21441         (acos_downward_test_data): Likewise.
21442         (acos_upward_test_data): Likewise.
21443         (acosh_test_data): Likewise.
21444         (asin_test_data): Likewise.
21445         (asin_tonearest_test_data): Likewise.
21446         (asin_towardzero_test_data): Likewise.
21447         (asin_downward_test_data): Likewise.
21448         (asin_upward_test_data): Likewise.
21449         (asinh_test_data): Likewise.
21450         (atan_test_data): Likewise.
21451         (atanh_test_data): Likewise.
21452         (atan2_test_data): Likewise.
21453         (cabs_test_data): Likewise.
21454         (cacos_test_data): Likewise.
21455         (cacosh_test_data): Likewise.
21456         (carg_test_data): Likewise.
21457         (casin_test_data): Likewise.
21458         (casinh_test_data): Likewise.
21459         (catan_test_data): Likewise.
21460         (catanh_test_data): Likewise.
21461         (cbrt_test_data): Likewise.
21462         (ccos_test_data): Likewise.
21463         (ccosh_test_data): Likewise.
21464         (ceil_test_data): Likewise.
21465         (cexp_test_data): Likewise.
21466         (cimag_test_data): Likewise.
21467         (clog_test_data): Likewise.
21468         (clog10_test_data): Likewise.
21469         (conj_test_data): Likewise.
21470         (copysign_test_data): Likewise.
21471         (cos_test_data): Likewise.
21472         (cos_tonearest_test_data): Likewise.
21473         (cos_towardzero_test_data): Likewise.
21474         (cos_downward_test_data): Likewise.
21475         (cos_upward_test_data): Likewise.
21476         (cosh_test_data): Likewise.
21477         (cosh_tonearest_test_data): Likewise.
21478         (cosh_towardzero_test_data): Likewise.
21479         (cosh_downward_test_data): Likewise.
21480         (cosh_upward_test_data): Likewise.
21481         (cpow_test_data): Likewise.
21482         (cproj_test_data): Likewise.
21483         (creal_test_data): Likewise.
21484         (csin_test_data): Likewise.
21485         (csinh_test_data): Likewise.
21486         (csqrt_test_data): Likewise.
21487         (ctan_test_data): Likewise.
21488         (ctan_tonearest_test_data): Likewise.
21489         (ctan_towardzero_test_data): Likewise.
21490         (ctan_downward_test_data): Likewise.
21491         (ctan_upward_test_data): Likewise.
21492         (ctanh_test_data): Likewise.
21493         (ctanh_tonearest_test_data): Likewise.
21494         (ctanh_towardzero_test_data): Likewise.
21495         (ctanh_downward_test_data): Likewise.
21496         (ctanh_upward_test_data): Likewise.
21497         (erf_test_data): Likewise.
21498         (erfc_test_data): Likewise.
21499         (exp_test_data): Likewise.
21500         (exp_tonearest_test_data): Likewise.
21501         (exp_towardzero_test_data): Likewise.
21502         (exp_downward_test_data): Likewise.
21503         (exp_upward_test_data): Likewise.
21504         (exp10_test_data): Likewise.
21505         (exp2_test_data): Likewise.
21506         (expm1_test_data): Likewise.
21507         (fabs_test_data): Likewise.
21508         (fdim_test_data): Likewise.
21509         (finite_test_data): Likewise.
21510         (floor_test_data): Likewise.
21511         (fma_test_data): Likewise.
21512         (fma_towardzero_test_data): Likewise.
21513         (fma_downward_test_data): Likewise.
21514         (fma_upward_test_data): Likewise.
21515         (fmax_test_data): Likewise.
21516         (fmin_test_data): Likewise.
21517         (fmod_test_data): Likewise.
21518         (fpclassify_test_data): Likewise.
21519         (frexp_test_data): Likewise.
21520         (gamma_test_data): Likewise.
21521         (hypot_test_data): Likewise.
21522         (ilogb_test_data): Likewise.
21523         (isfinite_test_data): Likewise.
21524         (isgreater_test_data): Likewise.
21525         (isgreaterequal_test_data): Likewise.
21526         (isinf_test_data): Likewise.
21527         (isless_test_data): Likewise.
21528         (islessequal_test_data): Likewise.
21529         (islessgreater_test_data): Likewise.
21530         (isnan_test_data): Likewise.
21531         (isnormal_test_data): Likewise.
21532         (issignaling_test_data): Likewise.
21533         (isunordered_test_data): Likewise.
21534         (j0_test_data): Likewise.
21535         (j1_test_data): Likewise.
21536         (jn_test_data): Likewise.
21537         (ldexp_test_data): Likewise.
21538         (lgamma_test_data): Likewise.
21539         (lrint_test_data): Likewise.
21540         (lrint_tonearest_test_data): Likewise.
21541         (lrint_towardzero_test_data): Likewise.
21542         (lrint_downward_test_data): Likewise.
21543         (lrint_upward_test_data): Likewise.
21544         (llrint_test_data): Likewise.
21545         (llrint_tonearest_test_data): Likewise.
21546         (llrint_towardzero_test_data): Likewise.
21547         (llrint_downward_test_data): Likewise.
21548         (llrint_upward_test_data): Likewise.
21549         (log_test_data): Likewise.
21550         (log10_test_data): Likewise.
21551         (log1p_test_data): Likewise.
21552         (log2_test_data): Likewise.
21553         (logb_test_data): Likewise.
21554         (logb_downward_test_data): Likewise.
21555         (lround_test_data): Likewise.
21556         (llround_test_data): Likewise.
21557         (modf_test_data): Likewise.
21558         (nearbyint_test_data): Likewise.
21559         (nextafter_test_data): Likewise.
21560         (nexttoward_test_data): Likewise.
21561         (pow_test_data): Likewise.
21562         (pow_tonearest_test_data): Likewise.
21563         (pow_towardzero_test_data): Likewise.
21564         (pow_downward_test_data): Likewise.
21565         (pow_upward_test_data): Likewise.
21566         (remainder_test_data): Likewise.
21567         (remainder_tonearest_test_data): Likewise.
21568         (remainder_towardzero_test_data): Likewise.
21569         (remainder_downward_test_data): Likewise.
21570         (remainder_upward_test_data): Likewise.
21571         (remquo_test_data): Likewise.
21572         (rint_test_data): Likewise.
21573         (rint_tonearest_test_data): Likewise.
21574         (rint_towardzero_test_data): Likewise.
21575         (rint_downward_test_data): Likewise.
21576         (rint_upward_test_data): Likewise.
21577         (round_test_data): Likewise.
21578         (scalb_test_data): Likewise.
21579         (scalbn_test_data): Likewise.
21580         (scalbln_test_data): Likewise.
21581         (signbit_test_data): Likewise.
21582         (sin_test_data): Likewise.
21583         (sin_tonearest_test_data): Likewise.
21584         (sin_towardzero_test_data): Likewise.
21585         (sin_downward_test_data): Likewise.
21586         (sin_upward_test_data): Likewise.
21587         (sincos_test_data): Likewise.
21588         (sinh_test_data): Likewise.
21589         (sinh_tonearest_test_data): Likewise.
21590         (sinh_towardzero_test_data): Likewise.
21591         (sinh_downward_test_data): Likewise.
21592         (sinh_upward_test_data): Likewise.
21593         (sqrt_test_data): Likewise.
21594         (tan_test_data): Likewise.
21595         (tan_tonearest_test_data): Likewise.
21596         (tan_towardzero_test_data): Likewise.
21597         (tan_downward_test_data): Likewise.
21598         (tan_upward_test_data): Likewise.
21599         (tanh_test_data): Likewise.
21600         (tgamma_test_data): Likewise.
21601         (trunc_test_data): Likewise.
21602         (y0_test_data): Likewise.
21603         (y1_test_data): Likewise.
21604         (yn_test_data): Likewise.
21605         (significand_test_data): Likewise.
21606
21607         * math/gen-libm-test.pl (@functions): Remove variable.
21608         (generate_testfile): Don't handle START and END lines.
21609         * math/libm-test.inc (START): New macro.
21610         (END): Likewise.
21611         (END_COMPLEX): Likewise.
21612         (acos_test): Use END macro without arguments.
21613         (acos_test_tonearest): Likewise.
21614         (acos_test_towardzero): Likewise.
21615         (acos_test_downward): Likewise.
21616         (acos_test_upward): Likewise.
21617         (acosh_test): Likewise.
21618         (asin_test): Likewise.
21619         (asin_test_tonearest): Likewise.
21620         (asin_test_towardzero): Likewise.
21621         (asin_test_downward): Likewise.
21622         (asin_test_upward): Likewise.
21623         (asinh_test): Likewise.
21624         (atan_test): Likewise.
21625         (atanh_test): Likewise.
21626         (atan2_test): Likewise.
21627         (cabs_test): Likewise.
21628         (cacos_test): Use END_COMPLEX macro without arguments.
21629         (cacosh_test): Likewise.
21630         (carg_test): Use END macro without arguments.
21631         (casin_test): Use END_COMPLEX macro without arguments.
21632         (casinh_test): Likewise.
21633         (catan_test): Likewise.
21634         (catanh_test): Likewise.
21635         (cbrt_test): Use END macro without arguments.
21636         (ccos_test): Use END_COMPLEX macro without arguments.
21637         (ccosh_test): Likewise.
21638         (ceil_test): Use END macro without arguments.
21639         (cexp_test): Use END_COMPLEX macro without arguments.
21640         (cimag_test): Use END macro without arguments.
21641         (clog_test): Use END_COMPLEX macro without arguments.
21642         (clog10_test): Likewise.
21643         (conj_test): Likewise.
21644         (copysign_test): Use END macro without arguments.
21645         (cos_test): Likewise.
21646         (cos_test_tonearest): Likewise.
21647         (cos_test_towardzero): Likewise.
21648         (cos_test_downward): Likewise.
21649         (cos_test_upward): Likewise.
21650         (cosh_test): Likewise.
21651         (cosh_test_tonearest): Likewise.
21652         (cosh_test_towardzero): Likewise.
21653         (cosh_test_downward): Likewise.
21654         (cosh_test_upward): Likewise.
21655         (cpow_test): Use END_COMPLEX macro without arguments.
21656         (cproj_test): Likewise.
21657         (creal_test): Use END macro without arguments.
21658         (csin_test): Use END_COMPLEX macro without arguments.
21659         (csinh_test): Likewise.
21660         (csqrt_test): Likewise.
21661         (ctan_test): Likewise.
21662         (ctan_test_tonearest): Likewise.
21663         (ctan_test_towardzero): Likewise.
21664         (ctan_test_downward): Likewise.
21665         (ctan_test_upward): Likewise.
21666         (ctanh_test): Likewise.
21667         (ctanh_test_tonearest): Likewise.
21668         (ctanh_test_towardzero): Likewise.
21669         (ctanh_test_downward): Likewise.
21670         (ctanh_test_upward): Likewise.
21671         (erf_test): Use END macro without arguments.
21672         (erfc_test): Likewise.
21673         (exp_test): Likewise.
21674         (exp_test_tonearest): Likewise.
21675         (exp_test_towardzero): Likewise.
21676         (exp_test_downward): Likewise.
21677         (exp_test_upward): Likewise.
21678         (exp10_test): Likewise.
21679         (exp2_test): Likewise.
21680         (expm1_test): Likewise.
21681         (fabs_test): Likewise.
21682         (fdim_test): Likewise.
21683         (finite_test): Likewise.
21684         (floor_test): Likewise.
21685         (fma_test): Likewise.
21686         (fma_test_towardzero): Likewise.
21687         (fma_test_downward): Likewise.
21688         (fma_test_upward): Likewise.
21689         (fmax_test): Likewise.
21690         (fmin_test): Likewise.
21691         (fmod_test): Likewise.
21692         (fpclassify_test): Likewise.
21693         (frexp_test): Likewise.
21694         (gamma_test): Likewise.
21695         (hypot_test): Likewise.
21696         (ilogb_test): Likewise.
21697         (isfinite_test): Likewise.
21698         (isgreater_test): Likewise.
21699         (isgreaterequal_test): Likewise.
21700         (isinf_test): Likewise.
21701         (isless_test): Likewise.
21702         (islessequal_test): Likewise.
21703         (islessgreater_test): Likewise.
21704         (isnan_test): Likewise.
21705         (isnormal_test): Likewise.
21706         (issignaling_test): Likewise.
21707         (isunordered_test): Likewise.
21708         (j0_test): Likewise.
21709         (j1_test): Likewise.
21710         (jn_test): Likewise.
21711         (ldexp_test): Likewise.
21712         (lgamma_test): Likewise.
21713         (lrint_test): Likewise.
21714         (lrint_test_tonearest): Likewise.
21715         (lrint_test_towardzero): Likewise.
21716         (lrint_test_downward): Likewise.
21717         (lrint_test_upward): Likewise.
21718         (llrint_test): Likewise.
21719         (llrint_test_tonearest): Likewise.
21720         (llrint_test_towardzero): Likewise.
21721         (llrint_test_downward): Likewise.
21722         (llrint_test_upward): Likewise.
21723         (log_test): Likewise.
21724         (log10_test): Likewise.
21725         (log1p_test): Likewise.
21726         (log2_test): Likewise.
21727         (logb_test): Likewise.
21728         (logb_test_downward): Likewise.
21729         (lround_test): Likewise.
21730         (llround_test): Likewise.
21731         (modf_test): Likewise.
21732         (nearbyint_test): Likewise.
21733         (nextafter_test): Likewise.
21734         (nexttoward_test): Likewise.
21735         (pow_test): Likewise.
21736         (pow_test_tonearest): Likewise.
21737         (pow_test_towardzero): Likewise.
21738         (pow_test_downward): Likewise.
21739         (pow_test_upward): Likewise.
21740         (remainder_test): Likewise.
21741         (remainder_test_tonearest): Likewise.
21742         (remainder_test_towardzero): Likewise.
21743         (remainder_test_downward): Likewise.
21744         (remainder_test_upward): Likewise.
21745         (remquo_test): Likewise.
21746         (rint_test): Likewise.
21747         (rint_test_tonearest): Likewise.
21748         (rint_test_towardzero): Likewise.
21749         (rint_test_downward): Likewise.
21750         (rint_test_upward): Likewise.
21751         (round_test): Likewise.
21752         (scalb_test): Likewise.
21753         (scalbn_test): Likewise.
21754         (scalbln_test): Likewise.
21755         (signbit_test): Likewise.
21756         (sin_test): Likewise.
21757         (sin_test_tonearest): Likewise.
21758         (sin_test_towardzero): Likewise.
21759         (sin_test_downward): Likewise.
21760         (sin_test_upward): Likewise.
21761         (sincos_test): Likewise.
21762         (sinh_test): Likewise.
21763         (sinh_test_tonearest): Likewise.
21764         (sinh_test_towardzero): Likewise.
21765         (sinh_test_downward): Likewise.
21766         (sinh_test_upward): Likewise.
21767         (sqrt_test): Likewise.
21768         (tan_test): Likewise.
21769         (tan_test_tonearest): Likewise.
21770         (tan_test_towardzero): Likewise.
21771         (tan_test_downward): Likewise.
21772         (tan_test_upward): Likewise.
21773         (tanh_test): Likewise.
21774         (tgamma_test): Likewise.
21775         (trunc_test): Likewise.
21776         (y0_test): Likewise.
21777         (y1_test): Likewise.
21778         (yn_test): Likewise.
21779         (significand_test): Likewise.
21780
21781 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21782
21783         [BZ #15381]
21784         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21785
21786 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21787
21788         [BZ #14894]
21789         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21790         __ppc_mdoio and __ppc_mdoom.
21791         * manual/platform.texi: Document new functions __ppc_yield,
21792         __ppc_mdoio and __ppc_mdoom.
21793
21794 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21795
21796         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21797         (main): Mention "tls" pseudo-hwcap is legacy.
21798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21799
21800 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21801
21802         * math/gen-libm-test.pl (parse_args): Output only string of
21803         arguments as text for test name, not full call or descriptions of
21804         tests for extra outputs.
21805         (generate_testfile): Do not pass function name to parse_args.
21806         Generate this_func variable from START.
21807         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21808         field to arg_str.
21809         (struct test_ff_f_data): Likewise.
21810         (test_ff_f_data_nexttoward): Likewise.
21811         (struct test_fi_f_data): Likewise.
21812         (struct test_fl_f_data): Likewise.
21813         (struct test_if_f_data): Likewise.
21814         (struct test_fff_f_data): Likewise.
21815         (struct test_c_f_data): Likewise.
21816         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21817         (struct test_fF_f1_data): Likewise.
21818         (struct test_ffI_f1_data): Likewise.
21819         (struct test_c_c_data): Rename test_name field to arg_str.
21820         (struct test_cc_c_data): Likewise.
21821         (struct test_f_i_data): Likewise.
21822         (struct test_ff_i_data): Likewise.
21823         (struct test_f_l_data): Likewise.
21824         (struct test_f_L_data): Likewise.
21825         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21826         and extra2_name.
21827         (COMMON_TEST_SETUP): New macro.
21828         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21829         (COMMON_TEST_CLEANUP): Likewise.
21830         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21831         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21832         macros.
21833         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21834         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21835         macros.
21836         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21837         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21838         cleanup macros.
21839         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21840         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21841         macros.
21842         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21843         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21844         macros.
21845         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21846         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21847         cleanup macros.
21848         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21849         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21850         cleanup macros.
21851         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21852         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21853         cleanup macros.
21854         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21855         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21856         macros.
21857         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21858         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21859         macros.
21860         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21861         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21862         macros.
21863         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21864         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21865         cleanup macros.
21866         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21867         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21868         cleanup macros.
21869         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21870         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21871         macros.
21872         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21873         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21874         cleanup macros.
21875         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21876         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21877         macros.
21878         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21879         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21880         macros.
21881         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21882         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21883         cleanup macros.
21884         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21885
21886 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21887
21888         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21889         to _sifields.sigfault.
21890         (si_addr_lsb): Define new macro.
21891         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21892         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21893         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21894
21895 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21896
21897         [BZ #15441]
21898         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21899         returns -1.
21900         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21901         null return -1.
21902         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21903         loading the domain.
21904
21905 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21906
21907         * math/gen-libm-test.pl (parse_args): Do not include expected
21908         result in test name.
21909         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21910         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21911         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21912         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21913         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21915
21916 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21917
21918         * benchtests/Makefile: Sort function entries.
21919
21920         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21921         tanh, asinh, acosh, atanh.
21922         * benchtests/acos-inputs: New file.
21923         * benchtests/acosh-inputs: New file.
21924         * benchtests/asin-inputs: New file.
21925         * benchtests/asinh-inputs: New file.
21926         * benchtests/atanh-inputs: New file.
21927         * benchtests/cosh-inputs: New file.
21928         * benchtests/log-inputs: New file.
21929         * benchtests/sinh-inputs: New file.
21930         * benchtests/tanh-inputs: New file.
21931
21932 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21933
21934         [BZ #15339]
21935         * posix/tst-getaddrinfo4.c: New test.
21936         * posix/Makefile (tests): Add it.
21937
21938 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21939
21940         [BZ #15339]
21941         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21942         when no services were used.
21943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21944         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21945
21946 2013-05-21  Andreas Schwab  <schwab@suse.de>
21947
21948         [BZ #15014]
21949         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21950         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21951         successful.
21952         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21953         redundant variable declarations and reallocation of buffer when
21954         parsing as IPv6 address.  Always set NSS status when called from
21955         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21956         buffer too small.  Correct computation of needed size.
21957         * nss/Makefile (tests): Add test-digits-dots.
21958         * nss/test-digits-dots.c: New test.
21959
21960 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21961
21962         * benchtests/Makefile: Remove instructions for adding
21963         benchmark tests.
21964         * benchtests/README: New file to explain how to execute and
21965         enhance the benchmark tests.
21966
21967 2013-05-21  Andreas Schwab  <schwab@suse.de>
21968
21969         [BZ #15493]
21970         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21971         * setjmp/tst-sigsetjmp.c: New test.
21972
21973 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21974
21975         * sysdeps/x86_64/memset.S (memset): New implementation.
21976         (__bzero): Likewise.
21977         (__memset_tail): New function.
21978
21979 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21980
21981         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21982         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21983         __memcpy_sse2_unaligned ifunc selection.
21984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21985         Add memcpy-sse2-unaligned.S.
21986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21987         Add: __memcpy_sse2_unaligned.
21988
21989 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21990
21991         [BZ #15490]
21992         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21993         math_force_eval before restoring floating-point envrionment.
21994         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21995         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21996         Likewise.
21997         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21998         <math_private.h>.
21999         (__nearbyintl): Use math_force_eval before restoring
22000         floating-point environment.
22001         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22002
22003         * math/gen-libm-test.pl (special_functions): Remove.
22004         (parse_args): Don't handle TEST_extra.  Handle functions with no
22005         return value.
22006         * math/libm-test.inc (struct test_sincos_data): Replace with
22007         struct test_fFF_11_data.
22008         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22009         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22010         (sincos_test_data): Change element type to struct
22011         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
22012         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22013         RUN_TEST_LOOP_sincos.
22014         * math/README.libm-test: Don't mention special handling of
22015         individual functions.
22016         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22018         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22019         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22020         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22022
22023         * math/gen-libm-test.pl (get_variable): Remove function.
22024         (parse_args): Don't show pointer parameters to call in test
22025         names.  Use "extra output N" in test names for extra outputs
22026         rather than naming variables.
22027
22028 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
22029
22030         [BZ #15488]
22031         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22032         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22033         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22034         double tests.
22035         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22036         disable.
22037         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22038         check_long_double.
22039
22040         * math/gen-libm-test.pl (@tests): Remove variable.
22041         ($count): Likewise.
22042         (new_test): Remove function.
22043         (show_exceptions): New function.
22044         (special_functions): Use show_exceptions instead of new_test.
22045         (parse_args): Likewise.
22046         (generate_testfile): Pass only function name in generated call to
22047         print_max_error or print_complex_max_error.
22048         (get_ulps): Do not handle complex tests specially.
22049         (output_test): Rename to ...
22050         (get_all_ulps_for_test): ... this.  Return a string rather than
22051         printing to a file.  Require ulps to be present.
22052         (output_ulps): Generate arrays rather than #defines.
22053         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22054         (struct ulp_data): New type.
22055         (BUILD_COMPLEX_ULP): Remove macro.
22056         (compare_ulp_data): New function.
22057         (find_ulps): Likewise.
22058         (find_test_ulps): Likewise.
22059         (find_function_ulps): Likewise.
22060         (find_complex_function_ulps): Likewise.
22061         (print_max_error): Determine allowed ulps using
22062         find_function_ulps.
22063         (print_complex_max_error): Determine allowed ulps using
22064         find_complex_function_ulps.
22065         (check_float_internal): Determine max ulps using find_test_ulps.
22066         (check_float): Do not take max_ulp parameter.  Update call to
22067         check_float_internal.
22068         (check_complex): Likewise.
22069         (check_int): Do not take max_ulp parameter.
22070         (check_long): Likewise.
22071         (check_bool): Likewise.
22072         (check_longlong): Likewise.
22073         (struct test_f_f_data): Remove max_ulp field.
22074         (struct test_ff_f_data): Likewise.
22075         (struct test_ff_f_data_nexttoward): Likewise.
22076         (struct test_fi_f_data): Likewise.
22077         (struct test_fl_f_data): Likewise.
22078         (struct test_if_f_data): Likewise.
22079         (struct test_fff_f_data): Likewise.
22080         (struct test_c_f_data): Likewise.
22081         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22082         (struct test_fF_f1_data): Likewise.
22083         (struct test_ffI_f1_data): Likewise.
22084         (struct test_c_c_data): Remove max_ulp field.
22085         (struct test_cc_c_data): Likewise.
22086         (struct test_f_i_data): Likewise.
22087         (struct test_ff_i_data): Likewise.
22088         (struct test_f_l_data): Likewise.
22089         (struct test_f_L_data): Likewise.
22090         (struct test_sincos_data): Likewise.
22091         (RUN_TEST_f_f): Do not handle ulps.
22092         (RUN_TEST_LOOP_f_f): Likewise.
22093         (RUN_TEST_2_f): Likewise.
22094         (RUN_TEST_LOOP_2_f): Likewise.
22095         (RUN_TEST_fff_f): Likewise.
22096         (RUN_TEST_LOOP_fff_f): Likewise.
22097         (RUN_TEST_c_f): Likewise.
22098         (RUN_TEST_LOOP_c_f): Likewise.
22099         (RUN_TEST_f_f1): Likewise.
22100         (RUN_TEST_LOOP_f_f1): Likewise.
22101         (RUN_TEST_fF_f1): Likewise.
22102         (RUN_TEST_LOOP_fF_f1): Likewise.
22103         (RUN_TEST_fI_f1): Likewise.
22104         (RUN_TEST_LOOP_fI_f1): Likewise.
22105         (RUN_TEST_ffI_f1): Likewise.
22106         (RUN_TEST_LOOP_ffI_f1): Likewise.
22107         (RUN_TEST_c_c): Likewise.
22108         (RUN_TEST_LOOP_c_c): Likewise.
22109         (RUN_TEST_cc_c): Likewise.
22110         (RUN_TEST_LOOP_cc_c): Likewise.
22111         (RUN_TEST_f_i): Likewise.
22112         (RUN_TEST_LOOP_f_i): Likewise.
22113         (RUN_TEST_f_i_tg): Likewise.
22114         (RUN_TEST_LOOP_f_i_tg): Likewise.
22115         (RUN_TEST_ff_i_tg): Likewise.
22116         (RUN_TEST_LOOP_ff_i_tg): Likewise.
22117         (RUN_TEST_f_b): Likewise.
22118         (RUN_TEST_LOOP_f_b): Likewise.
22119         (RUN_TEST_f_b_tg): Likewise.
22120         (RUN_TEST_LOOP_f_b_tg): Likewise.
22121         (RUN_TEST_f_l): Likewise.
22122         (RUN_TEST_LOOP_f_l): Likewise.
22123         (RUN_TEST_f_L): Likewise.
22124         (RUN_TEST_LOOP_f_L): Likewise.
22125         (RUN_TEST_sincos): Likewise.
22126         (RUN_TEST_LOOP_sincos): Likewise.
22127
22128 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
22129
22130         [BZ #15480]
22131         [BZ #15485]
22132         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22133         main case of finite arguments, set rounding mode to FE_TONEAREST
22134         and discard exceptions.
22135         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22136         exceptions.
22137         (remainder_tonearest_test_data): New variable.
22138         (remainder_test_tonearest): New function.
22139         (remainder_towardzero_test_data): New variable.
22140         (remainder_test_towardzero): New function.
22141         (remainder_downward_test_data): New variable.
22142         (remainder_test_downward): New function.
22143         (remainder_upward_test_data): New variable.
22144         (remainder_test_upward): New function.
22145         (main): Call the new test functions.
22146
22147         * math/libm-test.inc (struct test_f_f1_data): Remove field
22148         extra_init.
22149         (struct test_fF_f1_data): Likewise.
22150         (struct test_ffI_f1_data): Likewise.
22151         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
22152         based on value of EXTRA_EXPECTED.
22153         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22154         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
22155         EXTRA_VAR based on value of EXTRA_EXPECTED.
22156         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22157         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
22158         EXTRA_VAR based on value of EXTRA_EXPECTED.
22159         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22160         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
22161         EXTRA_VAR based on value of EXTRA_EXPECTED.
22162         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22163         * math/gen-libm-test.pl (parse_args): Don't output initializers
22164         for extra output values.
22165
22166         * math/libm-test.inc (check_int): Expect result to be exactly
22167         equal to expected value and do not handle ulps.
22168         (check_long): Likewise.
22169         (check_longlong): Likewise.
22170
22171         * math/libm-test.inc (ceil_test_data): Test for "inexact"
22172         exceptions.
22173         (cimag_test_data): Likewise.
22174         (conj_test_data): Likewise.
22175         (copysign_test_data): Likewise.
22176         (cproj_test_data): Likewise.
22177         (creal_test_data): Likewise.
22178         (fabs_test_data): Likewise.
22179         (fdim_test_data): Likewise.
22180         (finite_test_data): Likewise.
22181         (floor_test_data): Likewise.
22182         (fmax_test_data): Likewise.
22183         (fmin_test_data): Likewise.
22184         (fmod_test_data): Likewise.
22185         (fpclassify_test_data): Likewise.
22186         (frexp_test_data): Likewise.
22187         (ilogb_test_data): Likewise.
22188         (isfinite_test_data): Likewise.
22189         (isgreater_test_data): Likewise.
22190         (isgreaterequal_test_data): Likewise.
22191         (isinf_test_data): Likewise.
22192         (isless_test_data): Likewise.
22193         (islessequal_test_data): Likewise.
22194         (islessgreater_test_data): Likewise.
22195         (isnan_test_data): Likewise.
22196         (isnormal_test_data): Likewise.
22197         (issignaling_test_data): Likewise.
22198         (isunordered_test_data): Likewise.
22199         (ldexp_test_data): Likewise.
22200         (lrint_test_data): Likewise.
22201         (lrint_test_data) [TEST_FLOAT]: Disable one test.
22202         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22203         (lrint_tonearest_test_data): Test for "inexact" exceptions.
22204         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22205         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22206         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22207         test input.
22208         (lrint_towardzero_test_data): Test for "inexact" exceptions.
22209         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22210         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22211         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22212         that test input.
22213         (lrint_downward_test_data): Test for "inexact" exceptions.
22214         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22215         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22216         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22217         test input.
22218         (lrint_upward_test_data): Test for "inexact" exceptions.
22219         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22220         test input.
22221         (llrint_test_data): Test for "inexact" exceptions.
22222         (llrint_test_data) [TEST_FLOAT]: Disable one test.
22223         (llrint_tonearest_test_data): Test for "inexact" exceptions.
22224         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22225         (llrint_towardzero_test_data): Test for "inexact" exceptions.
22226         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22227         (llrint_downward_test_data): Test for "inexact" exceptions.
22228         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22229         (llrint_upward_test_data): Test for "inexact" exceptions.
22230         (logb_test_data): Likewise.
22231         (logb_downward_test_data): Likewise.
22232         (nextafter_test_data): Likewise.
22233         (nexttoward_test_data): Likewise.
22234         (remainder_test_data): Likewise.
22235         (remquo_test_data): Likewise.
22236         (scalbn_test_data): Likewise.
22237         (scalbln_test_data): Likewise.
22238         (signbit_test_data): Likewise.
22239         (sqrt_test_data): Likewise.
22240         (significand_test_data): Likewise.
22241
22242 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22243
22244         [BZ #15424]
22245         * benchtests/bench-modf.c (struct args): Mark arg0 as
22246         volatile.
22247         * scripts/bench.pl: Mark members of struct args as volatile.
22248
22249 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22250
22251         [BZ # 15497]
22252         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22253         negative infinity on POWER6 or lower.
22254         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22255
22256 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
22257
22258         [BZ #15442]
22259         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22260         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22261         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22262         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22263         (_FP_SETQNAN): New macro.
22264         (_FP_SETQNAN_SEMIRAW): Likewise.
22265         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22266         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22267         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22268         (FP_EXTEND): Use _FP_FRAC_SNANP.
22269         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22270         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22271         into account.
22272         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22273         New macro.
22274         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22275         Likewise.
22276
22277 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22278
22279         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22280         with DIVIDE_BY_ZERO_EXCEPTION.
22281         (gamma_test_data): Likewise.
22282         (lgamma_test_data): Likewise.
22283         (log_test_data): Likewise.
22284         (log10_test_data): Likewise.
22285         (log2_test_data): Likewise.
22286         (tgamma_test_data): Likewise.
22287
22288         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22289         (acos_test_tonearest): Likewise.
22290         (acos_test_towardzero): Likewise.
22291         (acos_test_downward): Likewise.
22292         (acos_test_upward): Likewise.
22293         (acosh_test): Likewise.
22294         (asin_test): Likewise.
22295         (asin_test_tonearest): Likewise.
22296         (asin_test_towardzero): Likewise.
22297         (asin_test_downward): Likewise.
22298         (asin_test_upward): Likewise.
22299         (asinh_test): Likewise.
22300         (atan_test): Likewise.
22301         (atanh_test): Likewise.
22302         (atan2_test): Likewise.
22303         (cabs_test): Likewise.
22304         (cacos_test): Likewise.
22305         (cacosh_test): Likewise.
22306         (casin_test): Likewise.
22307         (casinh_test): Likewise.
22308         (catan_test): Likewise.
22309         (catanh_test): Likewise.
22310         (cbrt_test): Likewise.
22311         (ccos_test): Likewise.
22312         (ccosh_test): Likewise.
22313         (cexp_test): Likewise.
22314         (clog_test): Likewise.
22315         (clog10_test): Likewise.
22316         (cos_test): Likewise.
22317         (cos_test_tonearest): Likewise.
22318         (cos_test_towardzero): Likewise.
22319         (cos_test_downward): Likewise.
22320         (cos_test_upward): Likewise.
22321         (cosh_test): Likewise.
22322         (cosh_test_tonearest): Likewise.
22323         (cosh_test_towardzero): Likewise.
22324         (cosh_test_downward): Likewise.
22325         (cosh_test_upward): Likewise.
22326         (cpow_test): Likewise.
22327         (csin_test): Likewise.
22328         (csinh_test): Likewise.
22329         (csqrt_test): Likewise.
22330         (ctan_test): Likewise.
22331         (ctan_test_tonearest): Likewise.
22332         (ctan_test_towardzero): Likewise.
22333         (ctan_test_downward): Likewise.
22334         (ctan_test_upward): Likewise.
22335         (ctanh_test): Likewise.
22336         (ctanh_test_tonearest): Likewise.
22337         (ctanh_test_towardzero): Likewise.
22338         (ctanh_test_downward): Likewise.
22339         (ctanh_test_upward): Likewise.
22340         (erf_test): Likewise.
22341         (erfc_test): Likewise.
22342         (exp_test): Likewise.
22343         (exp_test_tonearest): Likewise.
22344         (exp_test_towardzero): Likewise.
22345         (exp_test_downward): Likewise.
22346         (exp_test_upward): Likewise.
22347         (exp10_test): Likewise.
22348         (exp2_test): Likewise.
22349         (expm1_test): Likewise.
22350         (fmod_test): Likewise.
22351         (gamma_test): Likewise.
22352         (hypot_test): Likewise.
22353         (j0_test): Likewise.
22354         (j1_test): Likewise.
22355         (jn_test): Likewise.
22356         (lgamma_test): Likewise.
22357         (log_test): Likewise.
22358         (log10_test): Likewise.
22359         (log1p_test): Likewise.
22360         (log2_test): Likewise.
22361         (logb_test_downward): Likewise.
22362         (pow_test): Likewise.
22363         (pow_test_tonearest): Likewise.
22364         (pow_test_towardzero): Likewise.
22365         (pow_test_downward): Likewise.
22366         (pow_test_upward): Likewise.
22367         (remainder_test): Likewise.
22368         (remquo_test): Likewise.
22369         (sin_test): Likewise.
22370         (sin_test_tonearest): Likewise.
22371         (sin_test_towardzero): Likewise.
22372         (sin_test_downward): Likewise.
22373         (sin_test_upward): Likewise.
22374         (sincos_test): Likewise.
22375         (sinh_test): Likewise.
22376         (sinh_test_tonearest): Likewise.
22377         (sinh_test_towardzero): Likewise.
22378         (sinh_test_downward): Likewise.
22379         (sinh_test_upward): Likewise.
22380         (sqrt_test): Likewise.
22381         (tan_test): Likewise.
22382         (tan_test_tonearest): Likewise.
22383         (tan_test_towardzero): Likewise.
22384         (tan_test_downward): Likewise.
22385         (tan_test_upward): Likewise.
22386         (tanh_test): Likewise.
22387         (tgamma_test): Likewise.
22388         (y0_test): Likewise.
22389         (y1_test): Likewise.
22390         (yn_test): Likewise.
22391
22392         * math/gen-libm-test.pl (adjust_arg): Remove function.
22393         (special_function): Remove argument $in_func.  Only handle
22394         generating output for tables of tests, not inside functions.
22395         (parse_args): Likewise.
22396         (generate_testfile): Remove variable $in_func.  Update call to
22397         parse_args.
22398         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22399         (MINUS_ZERO_INIT): Rename macro to minus_zero.
22400         (PLUS_INFTY_INIT): Rename macro to plus_infty.
22401         (MINUS_INFTY_INIT): Rename macro to minus_infty.
22402         (QNAN_VALUE_INIT): Rename macro to qnan_value.
22403         (MAX_VALUE_INIT): Rename macro to max_value.
22404         (MIN_VALUE_INIT): Rename macro to min_value.
22405         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22406         (plus_zero): Remove variable.
22407         (minus_zero): Likewise.
22408         (plus_infty): Likewise.
22409         (minus_infty): Likewise.
22410         (qnan_value): Likewise.
22411         (max_value): Likewise.
22412         (min_value): Likewise.
22413         (min_subnorm_value): Likewise.
22414
22415 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22416
22417         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22418         uint64_t or uint32_t usage.
22419         * crypt/sha256-block.c: Likewise.
22420         * crypt/sha256-crypt.c: Likewise.
22421         * crypt/sha256.c: Likewise.
22422         * crypt/sha512-block.c: Likewise.
22423         * crypt/sha512-crypt.c: Likewise.
22424         * crypt/sha512.c: Likewise.
22425         * debug/backtrace-tst.c: Likewise.
22426         * debug/pcprofiledump.c: Likewise.
22427         * elf/cache.c: Likewise.
22428         * elf/dl-cache.c: Likewise.
22429         * elf/dl-misc.c: Likewise.
22430         * elf/dl-profile.c: Likewise.
22431         * elf/dl-support.c: Likewise.
22432         * elf/ldconfig.c: Likewise.
22433         * elf/sprof.c: Likewise.
22434         * iconv/dummy-repertoire.c: Likewise.
22435         * iconv/iconv_charmap.c: Likewise.
22436         * iconv/skeleton.c: Likewise.
22437         * iconvdata/8bit-generic.c: Likewise.
22438         * iconvdata/cp737.h: Likewise.
22439         * iconvdata/cp775.h: Likewise.
22440         * iconvdata/ibm1008.h: Likewise.
22441         * iconvdata/ibm1025.h: Likewise.
22442         * iconvdata/ibm1046.h: Likewise.
22443         * iconvdata/ibm1097.h: Likewise.
22444         * iconvdata/ibm1112.h: Likewise.
22445         * iconvdata/ibm1122.h: Likewise.
22446         * iconvdata/ibm1123.h: Likewise.
22447         * iconvdata/ibm1124.h: Likewise.
22448         * iconvdata/ibm1129.h: Likewise.
22449         * iconvdata/ibm1130.h: Likewise.
22450         * iconvdata/ibm1132.h: Likewise.
22451         * iconvdata/ibm1133.h: Likewise.
22452         * iconvdata/ibm1137.h: Likewise.
22453         * iconvdata/ibm1140.h: Likewise.
22454         * iconvdata/ibm1141.h: Likewise.
22455         * iconvdata/ibm1142.h: Likewise.
22456         * iconvdata/ibm1143.h: Likewise.
22457         * iconvdata/ibm1144.h: Likewise.
22458         * iconvdata/ibm1145.h: Likewise.
22459         * iconvdata/ibm1146.h: Likewise.
22460         * iconvdata/ibm1147.h: Likewise.
22461         * iconvdata/ibm1148.h: Likewise.
22462         * iconvdata/ibm1149.h: Likewise.
22463         * iconvdata/ibm1153.h: Likewise.
22464         * iconvdata/ibm1154.h: Likewise.
22465         * iconvdata/ibm1155.h: Likewise.
22466         * iconvdata/ibm1156.h: Likewise.
22467         * iconvdata/ibm1157.h: Likewise.
22468         * iconvdata/ibm1158.h: Likewise.
22469         * iconvdata/ibm1160.h: Likewise.
22470         * iconvdata/ibm1161.h: Likewise.
22471         * iconvdata/ibm1162.h: Likewise.
22472         * iconvdata/ibm1163.h: Likewise.
22473         * iconvdata/ibm1164.h: Likewise.
22474         * iconvdata/ibm1166.h: Likewise.
22475         * iconvdata/ibm1167.h: Likewise.
22476         * iconvdata/ibm12712.h: Likewise.
22477         * iconvdata/ibm1390.h: Likewise.
22478         * iconvdata/ibm1399.h: Likewise.
22479         * iconvdata/ibm16804.h: Likewise.
22480         * iconvdata/ibm4517.h: Likewise.
22481         * iconvdata/ibm4899.h: Likewise.
22482         * iconvdata/ibm4909.h: Likewise.
22483         * iconvdata/ibm4971.h: Likewise.
22484         * iconvdata/ibm5347.h: Likewise.
22485         * iconvdata/ibm803.h: Likewise.
22486         * iconvdata/ibm856.h: Likewise.
22487         * iconvdata/ibm901.h: Likewise.
22488         * iconvdata/ibm902.h: Likewise.
22489         * iconvdata/ibm9030.h: Likewise.
22490         * iconvdata/ibm9066.h: Likewise.
22491         * iconvdata/ibm921.h: Likewise.
22492         * iconvdata/ibm922.h: Likewise.
22493         * iconvdata/ibm9448.h: Likewise.
22494         * iconvdata/isiri-3342.h: Likewise.
22495         * iconvdata/jis0201.h: Likewise.
22496         * include/link.h: Likewise.
22497         * include/netdb.h: Likewise.
22498         * inet/check_native.c: Likewise.
22499         * inet/check_pf.c: Likewise.
22500         * inet/getipv4sourcefilter.c: Likewise.
22501         * inet/getnameinfo.c: Likewise.
22502         * inet/getsourcefilter.c: Likewise.
22503         * inet/htonl.c: Likewise.
22504         * inet/setipv4sourcefilter.c: Likewise.
22505         * inet/setsourcefilter.c: Likewise.
22506         * inet/test-inet6_opt.c: Likewise.
22507         * inet/tst-network.c: Likewise.
22508         * locale/C-collate.c: Likewise.
22509         * locale/C-ctype.c: Likewise.
22510         * locale/C-time.c: Likewise.
22511         * locale/C-translit.h: Likewise.
22512         * locale/loadarchive.c: Likewise.
22513         * locale/programs/3level.h: Likewise.
22514         * locale/programs/charmap.c: Likewise.
22515         * locale/programs/charmap.h: Likewise.
22516         * locale/programs/ld-address.c: Likewise.
22517         * locale/programs/ld-collate.c: Likewise.
22518         * locale/programs/ld-ctype.c: Likewise.
22519         * locale/programs/ld-identification.c: Likewise.
22520         * locale/programs/ld-measurement.c: Likewise.
22521         * locale/programs/ld-messages.c: Likewise.
22522         * locale/programs/ld-monetary.c: Likewise.
22523         * locale/programs/ld-name.c: Likewise.
22524         * locale/programs/ld-numeric.c: Likewise.
22525         * locale/programs/ld-paper.c: Likewise.
22526         * locale/programs/ld-telephone.c: Likewise.
22527         * locale/programs/ld-time.c: Likewise.
22528         * locale/programs/linereader.c: Likewise.
22529         * locale/programs/locale.c: Likewise.
22530         * locale/programs/locarchive.c: Likewise.
22531         * locale/programs/locfile.h: Likewise.
22532         * locale/programs/repertoire.c: Likewise.
22533         * locale/programs/simple-hash.c: Likewise.
22534         * locale/programs/simple-hash.h: Likewise.
22535         * malloc/memusage.c: Likewise.
22536         * malloc/memusagestat.c: Likewise.
22537         * nis/nis_defaults.c: Likewise.
22538         * nis/nis_hash.c: Likewise.
22539         * nis/nis_print.c: Likewise.
22540         * nis/nis_xdr.c: Likewise.
22541         * nscd/connections.c: Likewise.
22542         * nscd/hstcache.c: Likewise.
22543         * nscd/nscd_gethst_r.c: Likewise.
22544         * nscd/nscd_getserv_r.c: Likewise.
22545         * nscd/nscd_helper.c: Likewise.
22546         * nscd/servicescache.c: Likewise.
22547         * nss/makedb.c: Likewise.
22548         * nss/nss_db/db-XXX.c: Likewise.
22549         * nss/nss_db/db-initgroups.c: Likewise.
22550         * nss/nss_db/db-netgrp.c: Likewise.
22551         * nss/nss_files/files-network.c: Likewise.
22552         * nss/nss_files/files-parse.c: Likewise.
22553         * posix/bug-regex5.c: Likewise.
22554         * posix/fnmatch_loop.c: Likewise.
22555         * posix/regcomp.c: Likewise.
22556         * posix/regexec.c: Likewise.
22557         * posix/tst-rfc3484-2.c: Likewise.
22558         * posix/tst-rfc3484-3.c: Likewise.
22559         * posix/tst-rfc3484.c: Likewise.
22560         * resolv/nss_dns/dns-canon.c: Likewise.
22561         * resolv/nss_dns/dns-network.c: Likewise.
22562         * resolv/res_init.c: Likewise.
22563         * resolv/res_mkquery.c: Likewise.
22564         * resolv/tst-aton.c: Likewise.
22565         * stdlib/cxa_atexit.c: Likewise.
22566         * stdlib/cxa_finalize.c: Likewise.
22567         * stdlib/gen-fpioconst.c: Likewise.
22568         * stdlib/strtol_l.c: Likewise.
22569         * string/tst-endian.c: Likewise.
22570         * sunrpc/auth_des.c: Likewise.
22571         * sunrpc/clnt_udp.c: Likewise.
22572         * sunrpc/rtime.c: Likewise.
22573         * sunrpc/svcauth_des.c: Likewise.
22574         * sunrpc/xdr.c: Likewise.
22575         * sunrpc/xdr_intXX_t.c: Likewise.
22576         * sunrpc/xdr_rec.c: Likewise.
22577         * sysdeps/generic/ldconfig.h: Likewise.
22578         * sysdeps/generic/ldsodefs.h: Likewise.
22579         * sysdeps/generic/memusage.h: Likewise.
22580         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22581         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22582         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22583         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22584         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22585         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22586         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22587         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22588         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22590         * sysdeps/posix/getaddrinfo.c: Likewise.
22591         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22592         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22593         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22594         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22595         * sysdeps/powerpc/test-gettimebase.c: Likewise.
22596         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22597         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22598         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22599         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22600         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22601         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22602         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22603         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22604         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22605         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22606         * sysdeps/x86_64/dl-tls.h: Likewise.
22607         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22608         * time/alt_digit.c: Likewise.
22609         * time/era.c: Likewise.
22610         * wcsmbs/tst-c16c32-1.c: Likewise.
22611
22612 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22613
22614         * math/libm-test.inc (struct test_sincos_data): New type.
22615         (RUN_TEST_LOOP_sincos): New macro.
22616         (sincos_test_data): New variable.
22617         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22618
22619 2013-05-16  Richard Henderson  <rth@redhat.com>
22620
22621         * math/atest-exp2.c (LIMB64): New macro.
22622         (CONSTSZ): New macro.
22623         (mp_exp1, mp_exp_m1, mp_log2): New variables.
22624         (hexdig): Move ...
22625         (print_mpn_fp): ... to function scope.
22626         (read_mpn_hex): Remove.
22627         (get_log2): Remove.
22628         (exp2_mpn): Use mp_log2.
22629         (main): Use mp_exp1.
22630
22631 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
22632
22633         * math/libm-test.inc: Remove comment about not testing "inexact"
22634         exceptions.
22635         (INEXACT_EXCEPTION): New macro.
22636         (NO_INEXACT_EXCEPTION): Likewise.
22637         (INVALID_EXCEPTION_OK): Update value.
22638         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22639         (OVERFLOW_EXCEPTION_OK): Likewise.
22640         (UNDERFLOW_EXCEPTION_OK): Likewise.
22641         (IGNORE_ZERO_INF_SIGN): Likewise.
22642         (ERRNO_UNCHANGED): Likewise.
22643         (ERRNO_EDOM): Likewise.
22644         (ERRNO_ERANGE): Likewise.
22645         (test_exceptions): Handle testing "inexact" exceptions.
22646         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22647         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22648         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22649         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22650         INEXACT_EXCEPTION.
22651         (rint_towardzero_test_data): Likewise.
22652         (rint_downward_test_data): Likewise.
22653         (rint_upward_test_data): Likewise.
22654
22655         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22656         with OVERFLOW_EXCEPTION.
22657         (exp10_test_data): Likewise.
22658         (exp2_test_data): Likewise.
22659         (expm1_test_data): Likewise.
22660         (lgamma_test_data): Likewise.
22661         (pow_test_data): Likewise.
22662         (tgamma_test_data): Likewise.
22663         (yn_test_data): Remove duplicate test of overflow.
22664
22665         * math/libm-test.inc (struct test_cc_c_data): New type.
22666         (RUN_TEST_LOOP_cc_c): New macro.
22667         (cpow_test_data): New variable.
22668         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22669
22670         * math/libm-test.inc (struct test_f_L_data): New type.
22671         (RUN_TEST_LOOP_f_L): New macro.
22672         (llrint_test_data): New variable.
22673         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22674         (llrint_tonearest_test_data): New variable.
22675         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22676         (llrint_towardzero_test_data): New variable.
22677         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22678         (llrint_downward_test_data): New variable.
22679         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22680         (llrint_upward_test_data): New variable.
22681         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22682         (llround_test_data): New variable.
22683         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22684
22685 2013-05-13  Peter Collingbourne  <pcc@google.com>
22686
22687         * math/atest-exp2.c (get_log2): Remove const attribute.
22688
22689 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22690
22691         * math/libm-test.inc (struct test_f_l_data): New type.
22692         (RUN_TEST_LOOP_f_l): New macro.
22693         (lrint_test_data): New variable.
22694         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22695         (lrint_tonearest_test_data): New variable.
22696         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22697         (lrint_towardzero_test_data): New variable.
22698         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22699         (lrint_downward_test_data): New variable.
22700         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22701         (lrint_upward_test_data): New variable.
22702         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22703         (lround_test_data): New variable.
22704         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22705
22706 2013-05-15  Peter Collingbourne  <pcc@google.com>
22707
22708         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22709         (EXTRACT_WORDS64) Use where appropriate.
22710         (INSERT_WORDS64) Likewise.
22711
22712         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22713         constraints with x constraints.
22714         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22715
22716         * malloc/obstack.c (_obstack_compat): Add initializer.
22717
22718 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
22719
22720         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22721         si_trapno and add si_addr_lsb to _sifields.sigfault.
22722         (si_trapno): Remove macro.
22723         (si_addr_lsb): Define new macro.
22724         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22725
22726 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
22727
22728         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22729         instead of TEST_f_l.
22730         (llrint_test_tonearest): Likewise.
22731         (llrint_test_towardzero): Likewise.
22732         (llrint_test_downward): Likewise.
22733         (llrint_test_upward): Likewise.
22734         (llround_test): Likewise.
22735
22736         * math/libm-test.inc (struct test_f_i_data): Add comment.
22737         (RUN_TEST_LOOP_f_b): New macro.
22738         (RUN_TEST_LOOP_f_b_tg): Likewise.
22739         (finite_test_data): New variable.
22740         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22741         (isfinite_test_data): New variable.
22742         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22743         (isinf_test_data): New variable.
22744         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22745         (isnan_test_data): New variable.
22746         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22747         (isnormal_test_data): New variable.
22748         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22749         (issignaling_test_data): New variable.
22750         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22751         (signbit_test_data): New variable.
22752         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22753
22754         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22755         with INVALID_EXCEPTION.
22756         (acosh_test_data): Likewise.
22757         (asin_test_data): Likewise.
22758         (atanh_test_data): Likewise.
22759         (fmod_test_data): Likewise.
22760         (log_test_data): Likewise.
22761         (log10_test_data): Likewise.
22762         (log2_test_data): Likewise.
22763         (pow_test_data): Likewise.
22764         (sqrt_test_data): Likewise.
22765         (y0_test_data): Likewise.
22766         (y1_test_data): Likewise.
22767         (yn_test_data): Likewise.
22768
22769         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22770         function contents.
22771
22772         * math/libm-test.inc (struct test_ff_i_data): New type.
22773         (RUN_TEST_LOOP_ff_i_tg): New macro.
22774         (isgreater_test_data): New variable.
22775         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22776         (isgreaterequal_test_data): New variable.
22777         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22778         (isless_test_data): New variable.
22779         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22780         (islessequal_test_data): New variable.
22781         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22782         (islessgreater_test_data): New variable.
22783         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22784         (isunordered_test_data): New variable.
22785         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22786
22787 2013-05-14  David S. Miller  <davem@davemloft.net>
22788
22789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22790
22791 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22792
22793         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22794
22795         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22796         extra_test to int.
22797         (struct test_f_i_data): Change type of max_ulp to int.
22798
22799         * math/libm-test.inc (test_ffI_f1_data): New type.
22800         (RUN_TEST_LOOP_ffI_f1): New macro.
22801         (remquo_test_data): New variable.
22802         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22803
22804         * setjmp/tst-setjmp-fp.c: New file.
22805         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22806         (link-libm): New variable.
22807         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22808
22809         * math/libm-test.inc (struct test_f_i_data): New type.
22810         (RUN_TEST_LOOP_f_i): New macro.
22811         (RUN_TEST_LOOP_f_i_tg): Likewise.
22812         (fpclassify_test_data): New variable.
22813         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22814         (ilogb_test_data): New variable.
22815         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22816
22817         * math/libm-test.inc (scalbln_test): Correct function name in END
22818         call.
22819
22820         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22821         (RUN_TEST_LOOP_fI_f1): New macro.
22822         (frexp_test_data): New variable.
22823         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22824
22825         * math/libm-test.inc (struct test_fF_f1_data): New type.
22826         (RUN_TEST_LOOP_fF_f1): New macro.
22827         (modf_test_data): New variable.
22828         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22829
22830         * math/libm-test.inc (struct test_f_f1_data): New type.
22831         (RUN_TEST_LOOP_f_f1): New macro.
22832         (gamma_test_data): New variable.
22833         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22834         (lgamma_test_data): New variable.
22835         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22836
22837 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22838
22839         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22840         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22841         (main): Comment "tls" pseudo-hwcap.
22842
22843 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22844
22845         * math/libm-test.inc (struct test_fl_f_data): New type.
22846         (RUN_TEST_LOOP_fl_f): New variable.
22847         (scalbln_test_data): New variable.
22848         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22849
22850         * math/libm-test.inc (struct test_fi_f_data): New type.
22851         (RUN_TEST_LOOP_fi_f): New macro.
22852         (ldexp_test_data): New variable.
22853         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22854         (scalbn_test_data): New variable.
22855         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22856
22857         * math/libm-test.inc (struct test_c_f_data): New type.
22858         (RUN_TEST_LOOP_c_f): New macro.
22859         (cabs_test_data): New variable.
22860         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22861         (carg_test_data): New variable.
22862         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22863         (cimag_test_data): New variable.
22864         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22865         (creal_test_data): New variable.
22866         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22867
22868         * math/libm-test.inc (struct test_if_f_data): New type.
22869         (RUN_TEST_LOOP_if_f): New macro.
22870         (jn_test_data): New variable.
22871         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22872         (yn_test_data): New variable.
22873         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22874
22875         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22876
22877 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22878
22879         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22880         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22881
22882 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22883
22884         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22885         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22886         (bench-deps): Add bench-timing.h.
22887         * benchtests-bench-skeleton.c: Include bench-timing.h.
22888         (main): Use TIMING_* macros instead of clock_gettime.
22889         * benchtests/bench-timing.h: New file.
22890
22891         [BZ #14582]
22892         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22893         Renamed from _LIB_VERSION.
22894         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22895
22896 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22897
22898         * math/libm-test.inc (struct test_fff_f_data): New type.
22899         (RUN_TEST_LOOP_fff_f): New macro.
22900         (fma_test_data): New variable.
22901         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22902         (fma_towardzero_test_data): New variable.
22903         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22904         (fma_downward_test_data): New variable.
22905         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22906         (fma_upward_test_data): New variable.
22907         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22908
22909         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22910         (struct test_c_c_data): New type.
22911         (RUN_TEST_LOOP_c_c): New macro.
22912         (cacos_test_data): New variable.
22913         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22914         (cacosh_test_data): New variable.
22915         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22916         (casin_test_data): New variable.
22917         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22918         (casinh_test_data): New variable.
22919         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22920         (catan_test_data): New variable.
22921         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22922         (catanh_test_data): New variable.
22923         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22924         (ccos_test_data): New variable.
22925         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22926         (ccosh_test_data): New variable.
22927         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22928         (cexp_test_data): New variable.
22929         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22930         (clog_test_data): New variable.
22931         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22932         (clog10_test_data): New variable.
22933         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22934         (conj_test_data): New variable.
22935         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22936         (cproj_test_data): New variable.
22937         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22938         (csin_test_data): New variable.
22939         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22940         (csinh_test_data): New variable.
22941         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22942         (csqrt_test_data): New variable.
22943         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22944         (ctan_test_data): New variable.
22945         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22946         (ctan_tonearest_test_data): New variable.
22947         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22948         (ctan_towardzero_test_data): New variable.
22949         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22950         (ctan_downward_test_data): New variable.
22951         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22952         (ctan_upward_test_data): New variable.
22953         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22954         (ctanh_test_data): New variable.
22955         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22956         (ctanh_tonearest_test_data): New variable.
22957         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22958         (ctanh_towardzero_test_data): New variable.
22959         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22960         (ctanh_downward_test_data): New variable.
22961         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22962         (ctanh_upward_test_data): New variable.
22963         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22964         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22965         of BUILD_COMPLEX.
22966
22967         * math/libm-test.inc (struct test_ff_f_data): New type.
22968         (struct test_ff_f_data_nexttoward): Likewise.
22969         (RUN_TEST_LOOP_2_f): New macro.
22970         (RUN_TEST_LOOP_ff_f): Likewise.
22971         (atan2_test_data): New variable.
22972         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22973         (copysign_test_data): New variable.
22974         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22975         (fdim_test_data): New variable.
22976         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22977         (fmax_test_data): New variable.
22978         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22979         (fmin_test_data): New variable.
22980         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22981         (fmod_test_data): New variable.
22982         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22983         (hypot_test_data): New variable.
22984         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22985         (nextafter_test_data): New variable.
22986         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22987         (nexttoward_test_data): New variable.
22988         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22989         (pow_test_data): New variable.
22990         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22991         (pow_tonearest_test_data): New variable.
22992         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22993         (pow_towardzero_test_data): New variable.
22994         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22995         (pow_downward_test_data): New variable.
22996         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22997         (pow_upward_test_data): New variable.
22998         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22999         (remainder_test_data): New variable.
23000         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23001         (scalb_test_data): New variable.
23002         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23003         * sysdeps/i386/fpu/libm-test-ulps: Update.
23004
23005 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
23006
23007         * math/libm-test.inc (fma_test): Use max_value instead of local
23008         variable fltmax.
23009         (nextafter_test): Likewise.
23010
23011         * math/libm-test.inc (acos_towardzero_test_data): New variable.
23012         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23013         (acos_downward_test_data): New variable.
23014         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23015         (acos_upward_test_data): New variable.
23016         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23017         (acosh_test_data): New variable.
23018         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23019         (asin_test_data): New variable.
23020         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23021         (asin_tonearest_test_data): New variable.
23022         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23023         (asin_towardzero_test_data): New variable.
23024         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23025         (asin_downward_test_data): New variable.
23026         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23027         (asin_upward_test_data): New variable.
23028         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23029         (asinh_test_data): New variable.
23030         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23031         (atan_test_data): New variable.
23032         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23033         (atanh_test_data): New variable.
23034         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23035         (cbrt_test_data): New variable.
23036         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23037         (ceil_test_data): New variable.
23038         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23039         (cos_test_data): New variable.
23040         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23041         (cos_tonearest_test_data): New variable.
23042         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23043         (cos_towardzero_test_data): New variable.
23044         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23045         (cos_downward_test_data): New variable.
23046         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23047         (cos_upward_test_data): New variable.
23048         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23049         (cosh_test_data): New variable.
23050         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23051         (cosh_tonearest_test_data): New variable.
23052         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23053         (cosh_towardzero_test_data): New variable.
23054         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23055         (cosh_downward_test_data): New variable.
23056         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23057         (cosh_upward_test_data): New variable.
23058         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23059         (erf_test_data): New variable.
23060         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23061         (erfc_test_data): New variable.
23062         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23063         (exp_test_data): New variable.
23064         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23065         (exp_tonearest_test_data): New variable.
23066         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23067         (exp_towardzero_test_data): New variable.
23068         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23069         (exp_downward_test_data): New variable.
23070         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23071         (exp_upward_test_data): New variable.
23072         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23073         (exp10_test_data): New variable.
23074         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23075         (exp2_test_data): New variable.
23076         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23077         (expm1_test_data): New variable.
23078         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23079         (fabs_test_data): New variable.
23080         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23081         (floor_test_data): New variable.
23082         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23083         (j0_test_data): New variable.
23084         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23085         (j1_test_data): New variable.
23086         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23087         (log_test_data): New variable.
23088         (log_test): Run tests with RUN_TEST_LOOP_f_f.
23089         (log10_test_data): New variable.
23090         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23091         (log1p_test_data): New variable.
23092         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23093         (log2_test_data): New variable.
23094         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23095         (logb_test_data): New variable.
23096         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23097         (logb_downward_test_data): New variable.
23098         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23099         (nearbyint_test_data): New variable.
23100         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23101         (rint_test_data): New variable.
23102         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23103         (rint_tonearest_test_data): New variable.
23104         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23105         (rint_towardzero_test_data): New variable.
23106         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23107         (rint_downward_test_data): New variable.
23108         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23109         (rint_upward_test_data): New variable.
23110         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23111         (round_test_data): New variable.
23112         (round_test): Run tests with RUN_TEST_LOOP_f_f.
23113         (sin_test_data): New variable.
23114         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23115         (sin_tonearest_test_data): New variable.
23116         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23117         (sin_towardzero_test_data): New variable.
23118         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23119         (sin_downward_test_data): New variable.
23120         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23121         (sin_upward_test_data): New variable.
23122         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23123         (sinh_test_data): New variable.
23124         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23125         (sinh_tonearest_test_data): New variable.
23126         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23127         (sinh_towardzero_test_data): New variable.
23128         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23129         (sinh_downward_test_data): New variable.
23130         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23131         (sinh_upward_test_data): New variable.
23132         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23133         (sqrt_test_data): New variable.
23134         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23135         (tan_test_data): New variable.
23136         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23137         (tan_tonearest_test_data): New variable.
23138         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23139         (tan_towardzero_test_data): New variable.
23140         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23141         (tan_downward_test_data): New variable.
23142         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23143         (tan_upward_test_data): New variable.
23144         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23145         (tanh_test_data): New variable.
23146         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23147         (tgamma_test_data): New variable.
23148         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23149         (trunc_test_data): New variable.
23150         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23151         (y0_test_data): New variable.
23152         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23153         (y1_test_data): New variable.
23154         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23155         (significand_test_data): New variable.
23156         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23157
23158 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
23159
23160         [BZ #12387]
23161         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23162
23163 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23164
23165         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23166
23167 2013-05-10  Andreas Jaeger  <aj@suse.de>
23168
23169         [BZ #15448]
23170         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23171         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23172
23173 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23174
23175         * math/gen-libm-test.pl (adjust_arg): New function.
23176         (special_functions): Handle generating output in both functions
23177         and arrays.
23178         (parse_args): Likewise.
23179         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
23180         $in_func argument to parse_args.
23181         * math/libm-test.inc (struct test_f_f_data): New type.
23182         (IF_ROUND_INIT_): New macro.
23183         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23184         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23185         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23186         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23187         (ROUND_RESTORE_): Likewise.
23188         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23189         (ROUND_RESTORE_FE_TONEAREST): Likewise.
23190         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23191         (ROUND_RESTORE_FE_UPWARD): Likewise.
23192         (RUN_TEST_LOOP_f_f): New macro.
23193         (acos_test_data): New variable.
23194         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23195         (acos_tonearest_test_data): New variable.
23196         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23197
23198 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23199
23200         * benchtests/bench-skeleton.c (startup): Fix coding style.
23201
23202 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
23203
23204         [BZ #6809]
23205         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23206         negative infinity argument.
23207         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23208         negative infinity argument.
23209         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23210         negative infinity argument.
23211         * math/libm-test.inc (tgamma_test): Expect errno to be set for
23212         domain errors.
23213
23214 2013-05-10  Florian Weimer  <fweimer@redhat.com>
23215
23216         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23217         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23218         * iconv/iconv_prog.c (main): Likewise.
23219         * locale/programs/charmap-dir.c (charmap_readdir)
23220         (fopen_uncompressed): Likewise.
23221         * locale/programs/locfile.c (siblings_uncached)
23222         (write_locale_data): Use lstat64 instead of lstat.
23223         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23224         stat.
23225
23226 2013-05-10  Andreas Jaeger  <aj@suse.de>
23227
23228         [BZ #15395]
23229         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23230         localization.
23231         Include <locale.h>.
23232
23233 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
23234
23235         * elf/dl-close.c (_dl_close_worker): Add comments.
23236
23237 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
23238
23239         [BZ #15359]
23240         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23241         high part of pi/2.
23242         (__ieee754_rem_pio2l): Update comments.
23243
23244         [BZ #15429]
23245         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23246         high part of pi/2.
23247         (__ieee754_rem_pio2l): Update comments.
23248
23249         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23250         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23251
23252         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23253         M_PI_4l.
23254
23255         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23256         (M_PI_34_LOG10El): Likewise.
23257         (M_PI2_LOG10El): Likewise.
23258         (M_PI4_LOG10El): Likewise.
23259         (M_PI_LOG10El): Likewise.
23260
23261 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23262
23263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23264
23265 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
23266
23267         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23268         (MINUS_ZERO_INIT): Likewise.
23269         (PLUS_INFTY_INIT): Likewise.
23270         (MINUS_INFTY_INIT): Likewise.
23271         (QNAN_VALUE_INIT): Likewise.
23272         (MAX_VALUE_INIT): Likewise.
23273         (MIN_VALUE_INIT): Likewise.
23274         (MIN_SUBNORM_VALUE_INIT): Likewise.
23275         (plus_zero): Initialize with PLUS_ZERO_INIT.
23276         (minus_zero): Initialize with MINUS_ZERO_INIT.
23277         (plus_infty): Initialize with PLUS_INFTY_INIT.
23278         (minus_infty): Initialize with MINUS_INFTY_INIT.
23279         (qnan_value): Initialize with QNAN_VALUE_INIT.
23280         (max_value): Initialize with MAX_VALUE_INIT.
23281         (min_value): Initialize with MIN_VALUE_INIT.
23282         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23283
23284         * math/libm-test.inc (RUN_TEST_if_f): New macro.
23285         (jn_test): Use TEST_if_f instead of TEST_ff_f.
23286         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23287         (yn_test): Use TEST_if_f instead of TEST_ff_f.
23288
23289         * math/libm-test.inc (RUN_TEST_f_f): New macro.
23290         (RUN_TEST_2_f): Likewise.
23291         (RUN_TEST_ff_f): Likewise.
23292         (RUN_TEST_fi_f): Likewise.
23293         (RUN_TEST_fl_f): Likewise.
23294         (RUN_TEST_fff_f): Likewise.
23295         (RUN_TEST_c_f): Likewise.
23296         (RUN_TEST_f_f1): Likewise.
23297         (RUN_TEST_fF_f1): Likewise.
23298         (RUN_TEST_fI_f1): Likewise.
23299         (RUN_TEST_ffI_f1): Likewise.
23300         (RUN_TEST_c_c): Likewise.
23301         (RUN_TEST_cc_c): Likewise.
23302         (RUN_TEST_f_i): Likewise.
23303         (RUN_TEST_f_i_tg): Likewise.
23304         (RUN_TEST_ff_i_tg): Likewise.
23305         (RUN_TEST_f_b): Likewise.
23306         (RUN_TEST_f_b_tg): Likewise.
23307         (RUN_TEST_f_l): Likewise.
23308         (RUN_TEST_f_L): Likewise.
23309         (RUN_TEST_sincos): Likewise.
23310         * math/gen-libm-test.pl (new_test): Take new argument to indicate
23311         whether to show exceptions.  Do not include ");\n" in return
23312         value.
23313         (special_functions): Output call to RUN_TEST_sincos instead of
23314         check_float calls.  Update calls to new_test.
23315         (parse_args): Output call to single RUN_TEST_* macro instead of
23316         check_* calls and other assignments.  Update calls to new_test.
23317
23318         [BZ #2546]
23319         [BZ #2560]
23320         [BZ #5159]
23321         [BZ #15426]
23322         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23323         input to result for tgamma overflow.
23324         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23325         (gamma_coeff): New variable.
23326         (NCOEFF): New macro.
23327         (gamma_positive): New function.
23328         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23329         underflow here.  Use gamma_positive instead of exp (lgamma) for
23330         other arguments.
23331         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23332         (gamma_coeff): New variable.
23333         (NCOEFF): New macro.
23334         (gammaf_positive): New function.
23335         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23336         underflow here.  Use gamma_positive instead of exp (lgamma) for
23337         other arguments.
23338         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23339         (gamma_coeff): New variable.
23340         (NCOEFF): New macro.
23341         (gammal_positive): New function.
23342         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23343         underflow here.  Use gamma_positive instead of exp (lgamma) for
23344         other arguments.
23345         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23346         (gamma_coeff): New variable.
23347         (NCOEFF): New macro.
23348         (gammal_positive): New function.
23349         (__ieee754_gammal_r): Handle positive infinity, overflow and
23350         underflow here.  Handle NaN the same as positive infinity.  Remove
23351         check x < 0xffffffff for negative integers.  Use gamma_positive
23352         instead of exp (lgamma) for other arguments.
23353         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23354         (gamma_coeff): New variable.
23355         (NCOEFF): New macro.
23356         (gammal_positive): New function.
23357         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23358         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23359         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23360         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23361         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23362         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23363         * sysdeps/generic/math_private.h (__gamma_productf): New
23364         prototype.
23365         (__gamma_product): Likewise.
23366         (__gamma_productl): Likewise.
23367         * math/Makefile (libm-calls): Add gamma_product.
23368         * math/libm-test.inc (tgamma_test): Add more tests.
23369         * sysdeps/i386/fpu/libm-test-ulps: Update.
23370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23371
23372 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
23373
23374         * benchtests/bench-skeleton.c (main): Preheat CPU.
23375
23376 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
23377
23378         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23379
23380 2013-05-07  Roland McGrath  <roland@hack.frob.com>
23381
23382         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23383         and _dl_skip_args_internal.
23384
23385 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
23386
23387         * manual/message.texi (Message Translation): Talk about users.
23388         Message to key mapping impacts design.
23389
23390 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23391
23392         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23393
23394         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23395
23396         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23397         * sysdeps/wordsize-64/glob64.c: ... here.
23398
23399         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23400         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23401         New macros.
23402
23403         * debug/getlogin_r_chk.c: Moved to ...
23404         * login/getlogin_r_chk.c: ... here.
23405         * debug/Makefile (routines): Move getlogin_r_chk to ...
23406         * login/Makefile (routines): ... here.
23407         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23408         * login/Versions (libc: GLIBC_2.4): ... here.
23409
23410         * io/poll.c (__poll): Renamed from poll.
23411         Add libc_hidden_def.
23412         (poll): Define as weak alias.
23413
23414         * debug/ptsname_r_chk.c: Moved to ...
23415         * login/ptsname_r_chk.c: ... here.
23416         * debug/Makefile (routines): Move ptsname_r_chk to ...
23417         * login/Makefile (routines): ... here.
23418         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23419         * login/Versions (libc: GLIBC_2.4): ... here.
23420
23421         * posix/getlogin.c: Moved to ...
23422         * login/getlogin.c: ... here.
23423         * posix/getlogin_r.c: Moved to ...
23424         * login/getlogin_r.c: ... here.
23425         * posix/getlogin_r.c: Moved to ...
23426         * login/getlogin_r.c: ... here.
23427         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23428         * login/Makefile (routines): ... here.
23429         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23430         * login/Versions (libc: GLIBC_2.0): ... here.
23431
23432         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23433         (setrlimit): Define as weak alias.
23434
23435         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23436         Call __ names for open, ftruncate, and close.
23437         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23438         (truncate): Define as weak alias.
23439
23440 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
23441
23442         * math/gen-libm-test.pl (parse_args): Initialize x before each
23443         test of frexp, modf and remquo.
23444
23445         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23446         test signgam value.
23447
23448 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23449
23450         [BZ #15418]
23451         [BZ #15419]
23452         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23453         internal tests.
23454         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23455
23456 2013-05-06  Roland McGrath  <roland@hack.frob.com>
23457
23458         * elf/dl-writev.h: New file.
23459         * elf/dl-misc.c: Include it.
23460         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23461         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23462
23463 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
23464
23465         * math/libm-test.inc (noXFails): Remove variable.
23466         (noXPasses): Likewise.
23467         (BUILD_COMPLEX_INT): Remove macro.
23468         (print_screen): Remove xfail argument.
23469         (print_screen_max_error): Likewise.
23470         (update_stats): Likewise.
23471         (print_max_error): Likewise.  Update calls to other affected
23472         functions.
23473         (print_complex_max_error): Likewise.
23474         (test_single_exception): Update calls to print_screen.
23475         (test_single_errno): Likewise.
23476         (check_float_internal): Remove xfail argument.  Update calls to
23477         other affected functions.
23478         (check_float): Likewise.
23479         (check_complex): Likewise.
23480         (check_int): Likewise.
23481         (check_long): Likewise.
23482         (check_bool): Likewise.
23483         (check_longlong): Likewise.
23484         (main): Don't print noXFails and noXPasses.
23485         * math/gen-libm-test.pl (top level): Don't mention expected
23486         failure handling in comment.
23487         (new_test): Don't handle expected failures.
23488         (parse_args): Don't mention expected failure handling in comment.
23489         (generate_testfile): Don't handle expected failures.
23490         (parse_ulps): Likewise.
23491         (print_ulps_file): Likewise.
23492         (get_failure): Remove function.
23493         (output_test): Don't handle expected failures.
23494         * make/README.libm-test: Don't mention expected failure handling.
23495
23496         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
23497         (minus_zero): Likewise.
23498         (plus_infty): Likewise.
23499         (minus_infty): Likewise.
23500         (qnan_value): Likewise.
23501         (max_value): Likewise.
23502         (min_value): Likewise.
23503         (min_subnorm_value): Likewise.
23504         (initialize): Do not initialize those variables dynamically.
23505
23506 2013-05-03  Roland McGrath  <roland@hack.frob.com>
23507
23508         * io/open.c (__open_2): Moved to ...
23509         * io/open_2.c: ... this new file.
23510         * io/open64.c (__open64_2): Moved to ...
23511         * io/open64_2.c: ... this new file.
23512         * io/openat.c (__openat_2): Moved to ...
23513         * io/openat_2.c: ... this new file.
23514         * io/openat64.c (__openat64_2): Moved to ...
23515         * io/openat64_2.c: ... this new file.
23516         * io/Makefile (routines): Add them.
23517         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23518         * sysdeps/unix/sysv/linux/open_2.c: File removed.
23519         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23520         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23521         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23522         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23523         (__openat64): Add hidden_ver.
23524         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23525         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23526
23527         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23528         Separately conditionalize setting of GLRO(dl_sysinfo) so
23529         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23530         as well, but the actual setting is only under [NEED_DL_SYSINFO].
23531
23532 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23533
23534         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23536         definition.
23537         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23538         * sysdeps/unix/sysv/linux/powerpc/init-first.c
23539         (_libc_vdso_platform_setup): Add __vdso_time initialization.
23540         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23541         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23542
23543 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
23544
23545         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23546         test signgam value.
23547
23548         * math/libm-test.inc (hypot_test): Do not use
23549         IGNORE_ZERO_INF_SIGN.
23550
23551 2013-05-03  Andreas Jaeger  <aj@suse.de>
23552
23553         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23554         Linux 3.9.
23555         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23556         (PF_MAX): Adjust for VSOCK change.
23557
23558 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23559
23560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23561
23562 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
23563
23564         [BZ #15264]
23565         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23566         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23567         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23568
23569 2013-05-02  David S. Miller  <davem@davemloft.net>
23570
23571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23572
23573 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
23574
23575         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23576
23577 2013-05-01  Roland McGrath  <roland@hack.frob.com>
23578
23579         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23580
23581 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
23582
23583         [BZ #14952]
23584         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23585         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23586         Use __attribute__ ((__gnu_inline__)).
23587         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23588         Don't use __attribute__ ((__gnu_inline__)).
23589
23590 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
23591
23592         [BZ #15423]
23593         * math/s_catan.c (__catan): Handle small real or imaginary part of
23594         input specially to avoid spurious underflow.
23595         * math/s_catanf.c (__catanf): Likewise.
23596         * math/s_catanh.c (__catanh): Likewise.
23597         * math/s_catanhf.c (__catanhf): Likewise.
23598         * math/s_catanhl.c (__catanhl): Likewise.
23599         * math/s_catanl.c (__catanl): Likewise.
23600         * math/libm-test.inc (catan_test): Add more tests.
23601         (catanh_test): Likewise.
23602         * sysdeps/i386/fpu/libm-test-ulps: Update.
23603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23604
23605 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23606
23607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23608
23609 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
23610
23611         [BZ #15416]
23612         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23613         accurately for denominator in atan2.
23614         * math/s_catanf.c (__catanf): Likewise.
23615         * math/s_catanh.c (__catanh): Likewise.
23616         * math/s_catanhf.c (__catanhf): Likewise.
23617         * math/s_catanhl.c (__catanhl): Likewise.
23618         * math/s_catanl.c (__catanl): Likewise.
23619         * math/libm-test.inc (catan_test): Add more tests.
23620         (catanh_test): Likewise.
23621         * sysdeps/i386/fpu/libm-test-ulps: Update.
23622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623
23624 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23625
23626         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23627
23628         * benchtests/Makefile (bench): Remove slow benchmarks.
23629         * benchtests/atan-inputs: Add slow benchmark inputs.
23630         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23631         (BENCH_FUNC): Accept variant offset.
23632         (VARIANT): Define.
23633         * benchtests/bench-skeleton.c (main): Run benchmark for each
23634         variant.
23635         * benchtests/cos-inputs: Add slow benchmark inputs.
23636         * benchtests/exp-inputs: Likewise.
23637         * benchtests/pow-inputs: Likewise.
23638         * benchtests/sin-inputs: Likewise.
23639         * benchtests/slowatan-inputs: Remove.
23640         * benchtests/slowatan.c: Remove.
23641         * benchtests/slowcos-inputs: Remove.
23642         * benchtests/slowcos.c: Remove.
23643         * benchtests/slowexp-inputs: Remove.
23644         * benchtests/slowexp.c: Remove.
23645         * benchtests/slowpow-inputs: Remove.
23646         * benchtests/slowpow.c: Remove.
23647         * benchtests/slowsin-inputs: Remove.
23648         * benchtests/slowsin.c: Remove.
23649         * benchtests/slowtan-inputs: Remove.
23650         * benchtests/slowtan.c: Remove.
23651         * benchtests/tan-inputs: Add slow benchmark inputs.
23652         * scripts/bench.pl: Parse comments and directives.
23653
23654         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
23655         in CPPFLAGS.
23656         ($(objpfx)bench-%.c): Remove *-ITER.
23657         * benchtests/bench-modf.c: Remove definition of ITER.
23658         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23659         (main): Loop for DURATION seconds instead of fixed number of
23660         iterations.
23661         * scripts/bench.pl: Don't expect iterations in parameters.
23662
23663 2013-04-29  Roland McGrath  <roland@hack.frob.com>
23664
23665         * io/fchdir.c (__fchdir): Renamed from fchdir.
23666         (fchdir): Define as weak alias.
23667
23668 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23669
23670         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23671         (ERRNO_EDOM): Likewise.
23672         (ERRNO_ERANGE): Likewise.
23673         (noErrnoTests): New variable.
23674         (init_max_error): Set errno to 0.
23675         (test_single_errno): New function.
23676         (test_errno): Likewise.
23677         (check_float_internal): Call test_errno.  Set errno to 0.
23678         (check_complex): Refer to errno tests in comment.
23679         (check_int): Call test_errno.  Set errno to 0.
23680         (check_long): Likewise.
23681         (check_bool): Likewise.
23682         (check_longlong): Likewise.
23683         (cos_test): Use ERRNO_* flags for errno tests instead of
23684         check_int.
23685         (expm1_test): Likewise.
23686         (fmod_test): Likewise.
23687         (ilogb_test): Likewise.
23688         (lgamma_test): Likewise.
23689         (pow_test): Likewise.
23690         (remainder_test): Likewise.
23691         (sin_test): Likewise.
23692         (tan_test): Likewise.
23693         (yn_test): Likewise.
23694         (initialize): Set errno to 0.
23695         (main): Print number of errno tests.
23696         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23697
23698 2013-04-29  Andreas Jaeger  <aj@suse.de>
23699
23700         [BZ #15084]
23701         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23702         and RES_USEVC.
23703
23704         [BZ #15085]
23705         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23706         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23707         unimplemented.
23708
23709         [BZ #15380]
23710         * stdlib/random.c (__initstate): Return NULL if
23711         __initstate fails.
23712
23713         [BZ #15086]
23714         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23715         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23716         RES_SNGLKUPREOP.
23717
23718 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23719
23720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23721
23722 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
23723
23724         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23725         of individual tests.
23726         (casin_test): Likewise.
23727         (casinh_test): Likewise.
23728
23729 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
23730
23731         [BZ #15409]
23732         * math/s_catan.c (__catan): Handle arguments with large real or
23733         imaginary part separately without squaring.
23734         * math/s_catanf.c (__catanf): Likewise.
23735         * math/s_catanh.c (__catanh): Likewise.
23736         * math/s_catanhf.c (__catanhf): Likewise.
23737         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23738         and redefine.
23739         (__catanhl): Handle arguments with large real or imaginary part
23740         separately without squaring.
23741         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23742         and redefine.
23743         (__catanl): Handle arguments with large real or imaginary part
23744         separately without squaring.
23745         * math/libm-test.inc (catan_test): Add more tests.
23746         (catanh_test): Likewise.
23747         * sysdeps/i386/fpu/libm-test-ulps: Update.
23748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23749
23750 2013-04-27  Andreas Jaeger  <aj@suse.de>
23751
23752         [BZ #15007]
23753         * stdlib/stdlib.h: Update guards for qecvt.
23754         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23755         <stdlib.h>.
23756
23757 2013-04-27  Allan McRae  <allan@archlinux.org>
23758
23759         * sysdeps/i386/fpu/libm-test-ulps: Update.
23760
23761 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
23762
23763         [BZ #15406]
23764         * math/s_catan.c: Include <float.h>.
23765         (__catan): Ensure underflow exception occurs for underflowed
23766         result.
23767         * math/s_catanf.c: Include <float.h>.
23768         (__catanf): Ensure underflow exception occurs for underflowed
23769         result.
23770         * math/s_catanh.c: Include <float.h>.
23771         (__catanh): Ensure underflow exception occurs for underflowed
23772         result.
23773         * math/s_catanhf.c: Include <float.h>.
23774         (__catanhf): Ensure underflow exception occurs for underflowed
23775         result.
23776         * math/s_catanhl.c: Include <float.h>.
23777         (__catanhl): Ensure underflow exception occurs for underflowed
23778         result.
23779         * math/s_catanl.c: Include <float.h>.
23780         (__catanl): Ensure underflow exception occurs for underflowed
23781         result.
23782         * math/libm-test.inc (catan_test): Add more tests.
23783         (catanh_test): Likewise.
23784
23785         [BZ #15405]
23786         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23787         underflowed result.
23788         * math/s_ccoshf.c (__ccoshf): Likewise.
23789         * math/s_ccoshl.c (__ccoshl): Likewise.
23790         * math/s_csin.c (__csin): Likewise.
23791         * math/s_csinf.c (__csinf): Likewise.
23792         * math/s_csinh.c (__csinh): Likewise.
23793         * math/s_csinhf.c (__csinhf): Likewise.
23794         * math/s_csinhl.c (__csinhl): Likewise.
23795         * math/s_csinl.c (__csinl): Likewise.
23796         * math/libm-test.inc (ccos_test): Add more tests.
23797         (ccosh_test): Likewise.
23798         (csin_test): Likewise.
23799         (csinh_test): Likewise.
23800
23801 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23802
23803         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23804         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23805         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23806         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23807         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23808         powerpc/power5+/fpu folders.
23809         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23810
23811
23812 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23813
23814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23815
23816 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23817
23818         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23819         additions to variable.
23820         [$(config-machine) = x86_64] (modules-names): Likewise.
23821         ($(objpfx)tst-audit3): Remove dependency.
23822         ($(objpfx)tst-audit3.out): Likewise.
23823         ($(objpfx)tst-audit4): Likewise.
23824         ($(objpfx)tst-audit4.out): Likewise.
23825         ($(objpfx)tst-audit5): Likewise.
23826         ($(objpfx)tst-audit5.out): Likewise.
23827         ($(objpfx)tst-audit6): Likewise.
23828         ($(objpfx)tst-audit6.out): Likewise.
23829         ($(objpfx)tst-audit7): Likewise.
23830         ($(objpfx)tst-audit7.out): Likewise.
23831         (tst-audit3-ENV): Remove variable.
23832         (tst-audit4-ENV): Likewise.
23833         (tst-audit5-ENV): Likewise.
23834         (tst-audit6-ENV): Likewise.
23835         (tst-audit7-ENV): Likewise.
23836         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23837         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23838         addition to variable.
23839         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23840         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23841         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23842         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23844         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23845         tst-audit3, tst-audit4 and tst-audit5.
23846         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23847         tst-audit6 and tst-audit7.
23848         [$(subdir) = elf] (modules-names): Add audit modules for those
23849         tests.
23850         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23851         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23852         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23853         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23854         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23855         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23856         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23857         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23858         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23859         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23860         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23861         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23862         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23863         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23864         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23865         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23866         Likewise.
23867         [$(subdir) = elf && $(config-cflags-avx) = yes]
23868         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23869         [$(subdir) = elf && $(config-cflags-avx) = yes]
23870         (CFLAGS-tst-auditmod4a.c): Likewise.
23871         [$(subdir) = elf && $(config-cflags-avx) = yes]
23872         (CFLAGS-tst-auditmod4b.c): Likewise.
23873         [$(subdir) = elf && $(config-cflags-avx) = yes]
23874         (CFLAGS-tst-auditmod6b.c): Likewise.
23875         [$(subdir) = elf && $(config-cflags-avx) = yes]
23876         (CFLAGS-tst-auditmod6c.c): Likewise.
23877         [$(subdir) = elf && $(config-cflags-avx) = yes]
23878         (CFLAGS-tst-auditmod7b.c): Likewise.
23879         * elf/tst-audit3.c: Move to ...
23880         * sysdeps/x86_64/tst-audit3.c: ... here.
23881         * elf/tst-audit4.c: Move to ...
23882         * sysdeps/x86_64/tst-audit4.c: ... here.
23883         * elf/tst-audit5.c: Move to ...
23884         * sysdeps/x86_64/tst-audit5.c: ... here.
23885         * elf/tst-audit6.c: Move to ...
23886         * sysdeps/x86_64/tst-audit6.c: ... here.
23887         * elf/tst-audit7.c: Move to ...
23888         * sysdeps/x86_64/tst-audit7.c: ... here.
23889         * elf/tst-auditmod3a.c: Move to ...
23890         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23891         * elf/tst-auditmod3b.c: Move to ...
23892         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23893         * elf/tst-auditmod4a.c: Move to ...
23894         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23895         * elf/tst-auditmod4b.c: Move to ...
23896         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23897         * elf/tst-auditmod5a.c: Move to ...
23898         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23899         * elf/tst-auditmod5b.c: Move to ...
23900         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23901         * elf/tst-auditmod6a.c: Move to ...
23902         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23903         * elf/tst-auditmod6b.c: Move to ...
23904         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23905         * elf/tst-auditmod6c.c: Move to ...
23906         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23907         * elf/tst-auditmod7a.c: Move to ...
23908         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23909         * elf/tst-auditmod7b.c: Move to ...
23910         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23911
23912 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23913
23914         [BZ #15366]
23915         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23916         define unconditionally.
23917         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23918         define unconditionally.
23919         (INT8_C, INT16_C, etc.): Likewise.
23920
23921 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23922
23923         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23924         __ehdr_start with hidden visibility.
23925
23926         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23927
23928 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23929
23930         * math/libm-test.inc (cos_test): Use accurate hex constants.
23931         (sincost_test): Likewise.
23932
23933 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23934
23935         * math/libm-test.inc (catan_test): Add more tests.
23936         (catanh_test): Likewise.
23937
23938         * math/s_catanf.c (__catanf): Use suffixed floating-point
23939         constants.
23940         * math/s_catanhf.c (__catanhf): Likewise.
23941         * math/s_catanhl.c (__catanhl): Likewise.
23942         * math/s_catanl.c (__catanl): Likewise.
23943
23944         [BZ #15394]
23945         * math/s_catan.c (__catan): Calculate imaginary part of result
23946         with log1p not log unless computing log of number close to 0.
23947         * math/s_catanf.c (__catanf): Likewise.
23948         * math/s_catanl.c (__catanl): Likewise.
23949         * math/s_catanh.c (__catanh): Calculate real part of result with
23950         log1p not log unless computing log of number close to 0.
23951         * math/s_catanhf.c (__catanhf): Likewise.
23952         * math/s_catanhl.c (__catanhl): Likewise.
23953         * math/libm-test.inc (catan_test): Add more tests.
23954         (catanh_test): Likewise.
23955         * sysdeps/i386/fpu/libm-test-ulps: Update.
23956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23957
23958 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23959
23960         * benchtests/Makefile: Mention files in which fast and slow
23961         paths of math functions are implemented.
23962
23963 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23964
23965         * sysdeps/posix/timespec_get.c: New file.
23966
23967 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23968
23969         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23970         POWER.
23971         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23972         for POWER.
23973         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23974         powerpc/power5/fpu folders.
23975         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23976         * benchtests/Makefile: Add modf testcase.
23977         * benchtests/bench-modf.c: New file: Benchmark test for mo
23978
23979 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23980
23981         [BZ #14888]
23982         * time/Makefile (tests): Add tst-strptime-whitespace.
23983         * time/strptime_l.c (get_number): Use ISSPACE.
23984         (__strptime_internal): Likewise.
23985         * time/tst-strptime-whitespace.c: New test case.
23986
23987 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23988
23989         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23990         member.
23991         (_nss_files_init): Set it here.
23992
23993 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23994
23995         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23996         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23997         unsigned.
23998
23999 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
24000
24001         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24002
24003 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24004
24005         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24006         size just once.
24007
24008 2013-04-21  David S. Miller  <davem@davemloft.net>
24009
24010         * po/ru.po: Update Russion translation from translation project.
24011
24012 2013-04-17  Adam Conrad  <adconrad@0c3.net>
24013
24014         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24015         and setfsgid.
24016
24017 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
24018
24019         * configure.in: Remove i386 configure warning. Remove i386 case.
24020         * configure: Regenerate.
24021         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24022         Add example to error message.
24023         * sysdeps/i386/configure: Regenerate.
24024
24025 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24026
24027         * benchtests/Makefile (bench): Add cos, tan, slowcos and
24028         slowtan.
24029         * benchtests/cos-inputs: New file.
24030         * benchtests/slowcos-inputs: New file.
24031         * benchtests/slowcos.c: New file.
24032         * benchtests/slowtan-inputs: New file.
24033         * benchtests/slowtan.c: New file.
24034         * benchtests/tan-inputs: New file.
24035
24036 2013-04-16  Roland McGrath  <roland@hack.frob.com>
24037
24038         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24039         considered kosher.
24040
24041 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24042
24043         * benchtests/Makefile: Include cppflags-iterator.mk to add
24044         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24045
24046         * Makefile.in (bench-clean): New target.
24047         * benchtests/Makefile (bench-clean): Likewise.
24048
24049 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
24050
24051         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24052
24053 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
24054
24055         * stdio-common/tstdiomisc.c: Fix coding-style violation.
24056
24057 2013-04-15  Andreas Schwab  <schwab@suse.de>
24058
24059         * nscd/grpcache.c (cache_addgr): Properly check for short write.
24060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24061         * nscd/pwdcache.c (cache_addpw): Likewise.
24062         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
24063         more than recsize.
24064
24065 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24066
24067         * benchtests/Makefile (bench): Write all output to
24068         bench-out.tmp together.
24069
24070 2013-04-15  Andreas Schwab  <schwab@suse.de>
24071
24072         * nscd/nscd.c (main): Don't fork again after closing files.
24073
24074 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24075
24076         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24077
24078         * benchtests/Rules (bench-deps): Collect dependencies into a
24079         single variable.  Add Makefile to dependencies.
24080         ($(objpfx)bench-%.c): Depend on bench-deps.
24081
24082 2013-04-12  Roland McGrath  <roland@hack.frob.com>
24083             Xavier Roche  <roche+kml2@exalead.com>
24084
24085         [BZ #15361]
24086         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24087         just that it's a file descriptor.
24088         * manual/llio.texi (Synchronizing AIO Operations): Update description
24089         for EBADF error from aio_fsync.
24090
24091 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24092
24093         * Rules (bench): Move target definition...
24094         * benchtests/Makefile: ... here.
24095
24096 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
24097
24098         * math/libm-test.inc (cos_test): Fix PI/2 test.
24099         (sincos_test): Likewise.
24100         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24101         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24102
24103 2013-04-11  Andreas Schwab  <schwab@suse.de>
24104
24105         [BZ #13988]
24106         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24107         accept exponent character only when digits were seen.
24108         * stdio-common/Makefile (tests): Add bug26.
24109         * stdio-common/bug26.c: New file.
24110
24111         [BZ #14293]
24112         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24113         non-freeable.
24114
24115 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24116
24117         * Makeconfig (rtld-prefix): Define built linker prefix.
24118         * Rules (run-bench): Use it.
24119         * math/Makefile (run-regen-ulps): Likewise.
24120
24121         * Rules (bench): Remove eval.
24122
24123 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24124             Roland McGrath  <roland@hack.frob.com>
24125             Ondrej Bilka  <neleai@seznam.cz>
24126
24127         [BZ #15346]
24128         * time/getdate.c: Include ctype.h and alloca.h.
24129         (__getdate_r): Trim leading and trailing spaces of input.
24130         * time/tst-getdate.c (tests): Add tests with leading and
24131         trailing spaces.
24132
24133 2013-04-08  Roland McGrath  <roland@hack.frob.com>
24134
24135         [BZ #14280]
24136         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24137         when computing value.
24138
24139 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24140
24141         * math/README.libm-test (How can I generate "libm-test-ulps"?):
24142         Use testrun.sh to run libm tests.
24143
24144         [BZ #15309]
24145         * elf/dl-open.c (dl_open_worker): memset all of seen array.
24146
24147 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
24148
24149         [BZ #15264]
24150         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24151
24152 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24153
24154         * Makefile.in (regen-ulps): New target.
24155         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24156         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24157         [ifneq (no,$(PERL)] (regen-ulps): New target.
24158         [ifeq (no,$(PERL)] (regen-ulps): New target.
24159         * math/libm-test.inc (ulps_file_name): Define.
24160         (output_dir): New variable.
24161         (options): Add "output-dir" option.
24162         (parse_opt): Handle 'o' case.
24163         (main): If output_dir is non-NULL use it as a prefix
24164         otherwise use "".
24165         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24166
24167 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24168
24169         [BZ #10060, #10062]
24170         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24171         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24172         fail configure if __sync_val_compare_and_swap is not inlined.
24173         * sysdeps/i386/configure: Regenerate.
24174         * configure.in: Build for i686 when configured for i386.
24175         * configure: Regenerate.
24176         * README: Remove i386 reference.
24177
24178 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
24179
24180         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24181         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24182
24183 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
24184
24185         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24186         (lmsnanval): New variables.
24187         (F): Add conversion tests.
24188         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24189         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24190
24191         * stdio-common/tstdiomisc.c (F): Properly collect individual
24192         tests' results.
24193
24194         [BZ #14686, #15336]
24195         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24196         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24197         Instead, use input NaN values or generate a qNaN by arithmetic
24198         operation.  Also fix bugs to comply with the standard.
24199         * math/libm-test.inc (remainder_test): Add more tests.
24200
24201         [BZ #15335, #15342]
24202         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24204         input NaN values or generate a qNaN by arithmetic operation.
24205
24206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24207         unreachable code.
24208
24209         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24210         definitions.
24211
24212 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
24213
24214         [BZ #14478]
24215         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24216         underflowed result.
24217         * math/s_cexpf.c (__cexpf): Likewise.
24218         * math/s_cexpl.c (__cexpl): Likewise.
24219         * math/libm-test.inc (cexp_test): Add more tests.
24220
24221 2013-04-03  Andreas Schwab  <schwab@suse.de>
24222
24223         [BZ #15330]
24224         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24225         order arrays from heap if bigger than alloca cutoff.
24226
24227 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
24228
24229         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24230         (SNAN_TESTS_double): Refer to GCC PR56831.
24231         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24232         GCC PR56828.
24233
24234 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24235
24236         * Rules (bench): Move bench.out after the run is complete.
24237
24238         * Rules (bench): Echo currently running benchmark.
24239
24240         * benchtests/Makefile (bench): Add atan and slowatan.
24241         * benchtests/atan-inputs: New file.
24242         * benchtests/slowatan-inputs: New file.
24243         * benchtests/slowatan.c: New file.
24244
24245         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24246         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24247         its value.
24248
24249         [BZ #15305]
24250         * sysdeps/unix/sysv/linux/kernel-features.h
24251         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24252         __ASSUME_XFS_RESTRICTED_CHOWN.
24253         * sysdeps/unix/sysv/linux/pathconf.c
24254         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24255         Save and restore errno.
24256
24257 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
24258
24259         [BZ #15327]
24260         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24261         arguments using __kernel_casinh.
24262         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24263         arguments using __kernel_casinhf.
24264         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24265         arguments using __kernel_casinhl.
24266         * math/libm-test.inc (cacosh_test): Add more tests.
24267         * sysdeps/i386/fpu/libm-test-ulps: Update.
24268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24269
24270 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24271
24272         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24273         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24274
24275         * bench/Makefile (bench): Add sin and slowsin.
24276         * benchtests/sin-inputs: New file.
24277         * benchtests/slowsin-inputs: New file.
24278         * benchtests/slowsin.c: New file.
24279
24280         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24281         (bench): Add slowexp and slowpow.
24282         (exp-ITER): Increase iterations.
24283         (pow-ITER): Likewise.
24284         * benchtests/exp-inputs: Change input.
24285         * benchtests/pow-inputs: Likewise.
24286         * benchtests/slowexp-inputs: New file.
24287         * benchtests/slowexp.c: New file.
24288         * benchtests/slowpow-inputs: New file.
24289         * benchtests/slowpow.c: New file.
24290
24291 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24292
24293         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24294         instructions.
24295         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24296         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24297         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24298         * benchtests/Makefile: Add rint benchtest.
24299         * benchtests/rint-inputs: Input for rint benchtest.
24300
24301 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
24302
24303         * Versions.def (libm): Add GLIBC_2.18.
24304         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24305         hidden libm prototypes.
24306         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24307         * math/Makefile (libm-calls): Add s_issignaling.
24308         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24309         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
24310         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24311         declaration.
24312         * math/math.h [__USE_GNU] (issignaling): New macro.
24313         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24314         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24315         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24316         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24317         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24318         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24319         * manual/arith.texi (issignaling): New section.
24320         * manual/libm-err-tab.pl (@all_functions): Update comment.
24321         * math/gen-libm-test.pl (parse_args): Apply special handling for
24322         issignaling.
24323         * math/libm-test.inc (print_float, issignaling_test): New
24324         functions.
24325         (check_float_internal): Add issignaling checks.
24326         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24327         default definition.
24328         * sysdeps/powerpc/math-tests.h: New file.
24329         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24330         tests.
24331         * math/test-snan.c (TEST_FUNC): Likewise.
24332
24333 2013-03-30  David S. Miller  <davem@davemloft.net>
24334
24335         * po/de.po: Update from translation team.
24336
24337 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
24338
24339         [BZ #10357]
24340         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24341         imaginary part less than 1.0 and real part less than 0.5
24342         specially.
24343         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24344         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24345         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24346         (cacos_test): Add more tests.
24347         (casin_test): Likewise.
24348         (casinh_test): Likewise.
24349         * sysdeps/i386/fpu/libm-test-ulps: Update.
24350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24351
24352 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24353
24354         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24355         ONE with its value.
24356
24357         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24358         (__pow_mp): Replace ONE and MONE with their values.
24359         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24361         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24362         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24363         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24364         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24365
24366         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24367
24368         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24369         (__pow_mp): Replace ZERO and MZERO with their values.
24370         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24371         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24374         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24375         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24376         (__sqr): Likewise.
24377
24378         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24379
24380         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24381
24382 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24383
24384         * include/stdlib.h [!SHARED] (__call_tls_dtors):
24385         Declare with __attribute__ ((weak)).
24386         * stdlib/exit.c (__libc_atexit) [!SHARED]:
24387         Call __call_tls_dtors only if it's not NULL.
24388
24389 2013-03-28  Roland McGrath  <roland@hack.frob.com>
24390
24391         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24392         didn't do it already, then set _dl_phdr and _dl_phnum based on the
24393         magic __ehdr_start linker symbol if it's defined.
24394         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24395         them up here if it was already done.
24396
24397         * elf/dl-support.c (_dl_phdr): Make pointer to const.
24398         (_dl_aux_init): Use const in cast when setting it.
24399         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24400         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24401         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24402
24403         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24404         Declare them here.
24405         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24406         * csu/libc-tls.c: Nor here.
24407         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24408
24409         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24410         (__libc_message): Never call vsyslog.
24411
24412 2013-03-28  Alan Modra  <amodra@gmail.com>
24413
24414         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24415         Define as empty.
24416         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24417         Likewise.
24418
24419 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420
24421         [BZ #15214]
24422         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24423         underflow.
24424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24425
24426 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24427
24428         [BZ #15304]
24429         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24430         Don't add gid passed as argument.
24431
24432         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24433
24434 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
24435
24436         [BZ #15307]
24437         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24438         imaginary part between 1.0 and 1.5 and real part less than 0.5
24439         specially.
24440         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24441         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24442         * math/libm-test.inc (cacos_test): Add more tests.
24443         (casin_test): Likewise.
24444         (casinh_test): Likewise.
24445         * sysdeps/i386/fpu/libm-test-ulps: Update.
24446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24447
24448 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24449
24450         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24451         constants.
24452         (norm): Likewise.
24453         (denorm): Likewise.
24454         (__dbl_mp): Likewise.
24455         (add_magnitudes): Likewise.
24456         (sub_magnitudes): Likewise.
24457         (__add): Likewise.
24458         (__sub): Likewise.
24459         (__mul): Likewise.
24460         (__sqr): Likewise.
24461         (__inv): Likewise.
24462         (__dvd): Likewise.
24463
24464         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24465         commented code.
24466         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24467         (__dubcos): Likewise.
24468         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24469         (__ieee754_acos): Likewise.
24470         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24471         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24472         (__exp1): Likewise.
24473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24475         (log1): Likewise.
24476         (my_log2): Likewise.
24477         (checkint): Likewise.
24478         * sysdeps/ieee754/dbl-64/e_remainder.c
24479         (__ieee754_remainder): Likewise.
24480         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24481         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24482         (bsloww): Likewise.
24483         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24484
24485         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24486         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24487         MANTISSA_STORE_T to store computations on mantissa.  Use
24488         macros for rounding and division.
24489         (denorm): Likewise.
24490         (__dbl_mp): Likewise.
24491         (add_magnitudes): Likewise.
24492         (sub_magnitudes): Likewise.
24493         (__mul): Likewise.
24494         (__sqr): Likewise.
24495         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24496         powers of two in terms of TWOPOW macro.
24497         (mp_no): Make type of mantissa as MANTISSA_T.
24498         [!RADIXI]: Define RADIXI.
24499         [!TWO52]: Define TWO52.
24500         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24501
24502 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24503
24504         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24505         llroundl symbol when building for PPC32.
24506
24507 2013-03-24  Mark H Weaver  <mhw@netris.org>
24508
24509         * manual/arith.texi (Normalization Functions): Fix prototypes for
24510         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24511
24512 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24513
24514         [BZ #13889]
24515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24516         high value to check if expl overflow.
24517         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24518         to check for underflow and overflow.
24519         * math/libm-test.inc: Add exp test.
24520
24521 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
24522
24523         [BZ #11120]
24524         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24525         with NOT_IN_libc.
24526
24527 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24528
24529         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24530         symbol.
24531
24532 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
24533
24534         * math/gen-libm-test.pl (parse_args, special_functions): Properly
24535         wrap blocks consisting of several statements.
24536
24537         * sysdeps/generic/math-tests.h: New file.
24538         * sysdeps/i386/fpu/math-tests.h: Likewise.
24539         * math/test-snan.c: Include it.
24540         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24541
24542 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24543
24544         [BZ #15285]
24545         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24546         (__ieee754_j0l): Do not improve calculations using cos of twice
24547         input for inputs above LDBL_MAX / 2.0L.
24548         (__ieee754_y0l): Likewise.
24549         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24550         (__ieee754_j1l): Do not improve calculations using cos of twice
24551         input for inputs above LDBL_MAX / 2.0L.
24552         (__ieee754_y1l): Likewise.
24553         * math/libm-test.inc (j0_test): Add another test.
24554         (j1_test): Likewise.
24555         (y0_test): Likewise.
24556         (y1_test): Likewise.
24557         * sysdeps/i386/fpu/libm-test-ulps: Update.
24558
24559 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24560
24561         * Rules ($(objpfx)bench-%.c): Include code from a C source
24562         file.
24563
24564 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
24565
24566         [BZ #15287]
24567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
24568         imaginary part 1.0 and real part less than 0.5 specially.
24569         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24570         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24571         * math/libm-test.inc (cacos_test): Add more tests.
24572         (casin_test): Likewise.
24573         (casinh_test): Likewise.
24574         * sysdeps/i386/fpu/libm-test-ulps: Update.
24575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24576
24577 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24578
24579         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24580         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24581
24582 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
24583
24584         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24585         * config.make.in (config-cflags-sse4): Remove variable.
24586         (config-cflags-avx): Likewise.
24587         (config-cflags-sse2avx): Likewise.
24588         (config-cflags-novzeroupper): Likewise.
24589         (config-asflags-i686): Likewise.
24590         (have-mfma4): Likewise.
24591         (have-as-vis3): Likewise.
24592         (MIG): Likewise.
24593         * configure.in (MIG): Do not AC_SUBST.
24594         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24595         (libc_cv_cc_sse4): Do not AC_SUBST.
24596         (libc_cv_cc_avx): Likewise.
24597         (libc_cv_cc_sse2avx): Likewise.
24598         (libc_cv_cc_novzeroupper): Likewise.
24599         (libc_cv_cc_fma4): Likewise.
24600         (libc_cv_as_i686): Likewise.
24601         (libc_cv_sparc_as_vis3): Likewise.
24602         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24603         LIBC_CONFIG_VAR.
24604         (config-asflags-i686): Likewise.
24605         (config-cflags-avx): Likewise.
24606         (config-cflags-sse2avx): Likewise.
24607         (have-mfma4): Likewise.
24608         (config-cflags-novzeroupper): Likewise.
24609         * sysdeps/mach/configure.in (MIG): Likewise.
24610         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24611         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24612         LIBC_CONFIG_VAR.
24613         (config-cflags-avx): Likewise.
24614         (config-cflags-sse2avx): Likewise.
24615         (have-mfma4): Likewise.
24616         (config-cflags-novzeroupper): Likewise.
24617         * configure: Regenerated.
24618         * sysdeps/i386/configure: Likewise.
24619         * sysdeps/mach/configure: Likewise.
24620         * sysdeps/sparc/configure: Likewise.
24621         * sysdeps/x86_64/configure: Likewise.
24622
24623 2013-03-20  Roland McGrath  <roland@hack.frob.com>
24624
24625         [BZ #14812]
24626         * locale/programs/localedef.c (options): Put N_ translation marker
24627         on argument names, not just descriptions.
24628
24629 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24630
24631         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24632
24633 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
24634
24635         [BZ #14176]
24636         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24637
24638 2013-03-19  Roland McGrath  <roland@hack.frob.com>
24639
24640         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24641         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24642         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24643         [!BEFORE_ABORT] (before_abort): New function.
24644         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24645         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24646         (writev_for_fatal): New function.
24647         (WRITEV_FOR_FATAL): New macro; call that.
24648         (backtrace_and_maps): New function.
24649         (BEFORE_ABORT): New macro; call that.
24650         (struct str_list): Type removed.
24651         (__libc_message, __libc_fatal): Functions removed.
24652         Include <sysdeps/posix/libc_fatal.c> instead.
24653
24654 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
24655
24656         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24657         constants.
24658         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24659         double constants.
24660
24661 2013-03-19  Andreas Schwab  <schwab@suse.de>
24662
24663         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24664         * sysdeps/gnu/configure: Regenerate.
24665
24666         * configure.in: Substitute libc_cv_rtlddir.
24667         * configure: Regenerate.
24668         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24669         * Makeconfig (rtlddir, inst_rtlddir): New variables.
24670         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24671         * elf/Makefile (install-others, CFLAGS-interp.c)
24672         (ldso_install, common-ldd-rewrite): Likewise.
24673         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24674         $(inst_slibdir)/$(rtld-installed-name).
24675         * scripts/rellns-sh: Add -p option.
24676         * Makerules (make-shlib-link): Use rellns-sh to get relative name
24677         for source.
24678
24679 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24680
24681         * manual/nptl.texi: Renamed to ...
24682         * manual/threads.texi: ... this.
24683         * manual/Makefile (chapters): Update.
24684
24685 2013-03-18  Roland McGrath  <roland@hack.frob.com>
24686
24687         [BZ #14812]
24688         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24689         on argument names, not just descriptions.
24690         * malloc/memusagestat.c (options): Likewise.
24691         * nss/getent.c (options): Likewise.
24692
24693 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
24694
24695         [BZ #14812]
24696         * iconv/iconv_prog.c (options): Put N_ translation marker
24697         on argument names, not just descriptions.
24698         * iconv/iconvconfig.c (options): Likewise.
24699
24700 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
24701
24702         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24703         implementation which is faster on all x86_64 architectures.
24704         Tested on AMD, Intel Nehalem, SNB, IVB.
24705         * sysdeps/x86_64/strnlen.S: Likewise.
24706
24707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24708         Remove all multiarch strlen and strnlen versions.
24709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24710         Remove strlen and strnlen related parts.
24711
24712         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24713         Inline strlen part.
24714         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24715
24716         * sysdeps/x86_64/multiarch/strlen.S: Remove.
24717         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24718         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24719         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24720         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24721         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24722
24723 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
24724
24725         * manual/memory.texi (Malloc Tunable Parameters):
24726         Sort parameters alphabetically. Add comments for missing entries.
24727
24728 2013-03-17  David S. Miller  <davem@davemloft.net>
24729
24730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24731
24732 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
24733
24734         [BZ #15283]
24735         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24736         for arguments at most half maximum finite value.
24737         * math/libm-test.inc (j0_test): Add more tests.
24738         (j1_test): Likewise.
24739         (y0_test): Likewise.
24740         (y1_test): Likewise.
24741         * sysdeps/i386/fpu/libm-test-ulps: Update.
24742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
24744         [BZ #14155]
24745         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24746         1 / x and functions P and Q for arguments above 0x1p256L.
24747         (__ieee754_y0l): Likewise.
24748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24749         (__ieee754_y1l): Likewise.
24750         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24751         (j1_test): Likewise.
24752         (y0_test): Likewise.
24753         (y1_test): Likewise.
24754
24755 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
24756
24757         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24758         variable.
24759
24760 2013-03-15  Roland McGrath  <roland@hack.frob.com>
24761
24762         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24763         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24764         zero since it's initialized to EXEC_PAGESIZE.
24765
24766         * sysdeps/unix/sysv/linux/ldsodefs.h
24767         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24768         * sysdeps/generic/ldsodefs.h: ... here.
24769
24770 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
24771
24772         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24773
24774         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24775         math/test-snan.c.
24776         * math/test-snan.c: Renamed from
24777         sysdeps/powerpc/fpu/test-powerpc-snan.c.
24778         * math/Makefile (tests): Add test-snan.
24779         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24780         test-powerpc-snan.
24781
24782         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24783         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24784         functions.
24785         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24786         __builtin_nan family of functions.
24787         * math/libm-test.inc (initialize): Initialize qnan_value with
24788         __builtin_nan family of functions.
24789         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24790         Remove variables.
24791         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24792         Remove functions.
24793         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24794         storage class.  Initialize qNaN_var and sNaN_var with
24795         __builtin_nan and __builtin_nans families of functions,
24796         respectively.
24797
24798         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24799         (sqrt_test): Remove duplicate test with qNaN input.
24800         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24801         (round_test, signbit_test, significand_test): Note missing +/-Inf
24802         as well as qNaN tests.
24803
24804         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24805         qNaN_var.  Fix a few strings, too.
24806         * math/libm-test.inc (nan_value): Rename to qnan_value.
24807         * math/gen-libm-test.pl (%beautify): Adjust to that.
24808         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24809         * math/test-misc.c (main): Likewise.
24810         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24811         to __qnan_bytes, and __qnan_union, respectively.
24812         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24813         Likewise.
24814         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24815         and lqnanval, respectively.
24816         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24817         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24818         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24819         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24820
24821         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24822         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24823         doubles.
24824
24825         * math/test-misc.c (main): Fix copy'n'pastos.
24826         * misc/tst-efgcvt.c (special): Likewise.
24827
24828         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24829         Remove declarations.
24830
24831 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24832
24833         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24834         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24835         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24836         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24837
24838 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24839
24840         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24841         macro to return vdso values correctly in IFUNC implementations.
24842         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24843         Optimization by using IFUNC.
24844
24845 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24846             Richard Henderson  <rth@redhat.com>
24847             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24848
24849         * Makefile.in (bench): New target.
24850         * NEWS: Mention the benchmark framework.
24851         * Rules (bench): Likewise.
24852         (binaries-bench): Generate binaries for functions to
24853         benchmark.
24854         * benchtests/Makefile: New makefile for benchmark tests.
24855         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24856         programs.
24857         * benchtests/exp-inputs: New input file for EXP function.
24858         * benchtests/pow-inputs: New input file for POW function.
24859         * scripts/bench.pl: New script to generate source files for
24860         benchmark programs.
24861
24862 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24863
24864         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24865         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24866         computations on mantissa.  Use macros for rounding and
24867         division.
24868         (denorm): Likewise.
24869         (__dbl_mp): Likewise.
24870         (add_magnitudes): Likewise.
24871         (sub_magnitudes): Likewise.
24872         (__mul): Likewise.
24873         (__sqr): Likewise.
24874         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24875         powers of two in terms of TWOPOW macro.
24876         (mp_no): Make type of mantissa as MANTISSA_T.
24877         [!RADIXI]: Define RADIXI.
24878         [!TWO52]: Define TWO52.
24879         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24880
24881         * manual/nptl.texi (cindex): Modify threads to pthreads.
24882
24883 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24884
24885         * sysdeps/x86_64/preconfigure: Regenerated.
24886
24887 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24888
24889         [BZ #14155]
24890         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24891         0x1p28 and above.
24892         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24893         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24894         0x1p28 and above.
24895         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24896         * math/libm-test.inc (j0_test): Do not allow one spurious
24897         underflow exception.
24898         (y1_test): Likewise.
24899
24900 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24901
24902         * manual/Makefile (chapters): Add nptl.
24903         * manual/debug.texi (Debugging Support): Add link to Threads
24904         chapter.
24905         * manual/nptl.texi: New file.
24906
24907         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24908
24909 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24910
24911         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24912         for non-NULL pointer before the memory validity test. Pointed
24913         out by Holger Brunck <holger.brunck@keymile.com>.
24914
24915 2013-03-13  Andreas Schwab  <schwab@suse.de>
24916
24917         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24918         instead of .os.
24919
24920 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24921
24922         * timezone/zic.c: Update from tzcode 2013b.
24923
24924 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24925
24926         * manual/install.texi (Configuring and compiling):
24927         Mention i686 and i586.
24928         * INSTALL: Regenerate.
24929
24930 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24931
24932         * sysdeps/init_array/elf-init.c: New file.
24933         * csu/elf-init.c
24934         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24935         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24936
24937         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24938         __gmon_start__ as global, but as static with a .preinit_array pointer.
24939         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24940         * sysdeps/init_array/crti.S: New file, empty except for comments.
24941         * sysdeps/init_array/crtn.S: Likewise.
24942
24943 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24944
24945         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24946         definining bcopy.
24947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24948         Remove Prefer_SSE_for_memop.
24949         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24950         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24951         HAS_PREFER_SSE_FOR_MEMOP.
24952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24953         memset-x86-64.
24954         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24955         Remove bzero, memset ifunc support.
24956         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24957         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24958         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24959         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24960
24961 2013-03-11  Andreas Schwab  <schwab@suse.de>
24962
24963         [BZ #15234]
24964         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24965         by SHLIB_COMPAT.
24966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24967         (GLIBC_2.16): Remove pthread_atfork.
24968
24969 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24970
24971         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24972         (ptestcases.h): Likewise.
24973
24974 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24975
24976         * Makeconfig ($(common-objpfx)config.status): Depend on
24977         sysdeps/*/preconfigure{,.in} too.
24978
24979 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24980
24981         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24982         (__free_hook): Use void * instead of __malloc_ptr_t.
24983         (__malloc_hook): Likewise.
24984         (__realloc_hook): Likewise.
24985         (__memalign_hook): Likewise.
24986         (__after_morecore_hook): Likewise.
24987         * malloc/arena.c (save_malloc_hook): Likewise.
24988         (save_free_hook): Likewise.
24989         * malloc/hooks.c (malloc_hook_ini): Likewise.
24990         (realloc_hook_ini): Likewise.
24991         (memalign_hook_ini): Likewise.
24992         * malloc/malloc.c (malloc_hook_ini): Likewise.
24993         (realloc_hook_ini): Likewise.
24994         (memalign_hook_ini): Likewise.
24995         (__free_hook): Likewise.
24996         (__malloc_hook): Likewise.
24997         (__realloc_hook): Likewise.
24998         (__memalign_hook): Likewise.
24999         (__libc_malloc): Likewise.
25000         (__libc_free): Likewise.
25001         (__libc_realloc): Likewise.
25002         (__libc_memalign): Likewise.
25003         (__libc_valloc): Likewise.
25004         (__libc_pvalloc): Likewise.
25005         (__libc_calloc): Likewise.
25006         (__posix_memalign): Likewise.
25007         * malloc/morecore.c (__sbrk): Likewise.
25008         (__default_morecore): Likewise.
25009
25010         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25011
25012         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25013         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25014         __malloc_ptrdiff_t.
25015
25016         * malloc/malloc.h (__malloc_size_t): Remove macro.
25017         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25018         __malloc_size_t.
25019         (old_memalign_hook): Likewise.
25020         (old_realloc_hook): Likewise.
25021         (struct hdr): Likewise.
25022         (flood): Likewise.
25023         (mallochook): Likewise.
25024         (memalignhook): Likewise.
25025         (reallochook): Likewise.
25026         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25027         (tr_old_realloc_hook): Likewise.
25028         (tr_old_memalign_hook): Likewise.
25029         (tr_mallochook): Likewise.
25030         (tr_reallochook): Likewise.
25031         (tr_memalignhook): Likewise.
25032
25033 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25034
25035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25036         default_ldbl_pack and using as default implementation.
25037         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25038         implementation.
25039         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25040         redundant definition.
25041         (ldbl_insert_mantissa): Likewise.
25042         (ldbl_canonicalize): Likewise.
25043         (ldbl_nearbyint): Likewise.
25044         (ldbl_pack): Rename to ldbl_pack_ppc.
25045         (ldbl_unpack): Rename to ldbl_unpack_ppc.
25046         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25047         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25048
25049 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25050
25051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25052         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25053         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25054         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25055         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25056         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25057         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25058         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25059
25060 2013-03-07  Andreas Jaeger  <aj@suse.de>
25061
25062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25063         bits/mman-linux.h.
25064
25065 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25066
25067         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25068         Include mpa.h and declare __MPEXP.
25069         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25070         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25071         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25072         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25073         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25074         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25075         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25076
25077         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25078         (__slowpow): Use long double EXPL and LOGL functions to
25079         compute POW.
25080         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25081         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25082         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25083         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25084         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25085         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25086
25087         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25088         intermediate variable to calculate exponent.
25089         (__sqr): Likewise.
25090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25091         Likewise.
25092         (__sqr): Likewise.
25093
25094         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25095         [!NO__SQR]: Define __sqr.
25096         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25097         and NO__SQR.  Remove all code except __mul and __sqr.  Include
25098         sysdeps/ieee754/dbl-64/mpa.c.
25099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25100
25101         [BZ #12723]
25102         * posix/Makefile (tests): Add tst-pathconf.
25103         * posix/tst-pathconf.c: New test case.
25104         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25105         _PC_PIPE_BUF.
25106         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25107
25108 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
25109
25110         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25111
25112 2013-03-06  Andreas Jaeger  <aj@suse.de>
25113
25114         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25115         definition via __MAP_ANONYMOUS.
25116
25117         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25118         it's not part of Linux headers.
25119
25120         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25121         (MAP_HUGE_MASK): Define.
25122
25123         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25124         Define.
25125         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25126         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25127         Define.
25128         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25129         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25130         Define.
25131         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25132         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25133         Define.
25134         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25135
25136         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25137         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25138         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25139         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25140         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25141         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25142
25143         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25144         Handle f2fs.
25145
25146         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25147         Handle f2fs and efivarfs.
25148
25149         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25150         f2fs.
25151
25152         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25153         (EFIVARFS_MAGIC): Add.
25154         (F2FS_LINK_MAX): Add.
25155
25156 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25157
25158         * stdio-common/vfprintf.c: Replace __builtin_expect with
25159         __glibc_unlikely.
25160
25161 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
25162
25163         [BZ #13550]
25164         * sysdeps/generic/bp-sym.h: Remove file.
25165         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25166         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25167         <bp-sym.h> and <bp-asm.h>.
25168         (__longjmp): Don't use BP_SYM.
25169         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25170         and <bp-asm.h>.
25171         (memcpy): Don't use BP_SYM.
25172         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25173         <bp-sym.h> and <bp-asm.h>.
25174         (memcpy): Don't use BP_SYM.
25175         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25176         <bp-asm.h>.
25177         (memcpy): Don't use BP_SYM.
25178         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25179         <bp-asm.h>.
25180         (memset): Don't use BP_SYM.
25181         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25182         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25183         (__bzero): Don't use BP_SYM.
25184         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25185         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25186         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25187         <bp-sym.h> and <bp-asm.h>.
25188         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25189         pointers.
25190         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25191         <bp-sym.h> and <bp-asm.h>.
25192         (memcpy): Don't use BP_SYM.
25193         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25194         <bp-sym.h> and <bp-asm.h>.
25195         (memset): Don't use BP_SYM.
25196         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25197         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25198         (__bzero): Don't use BP_SYM.
25199         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25200         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25201         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25202         <bp-sym.h> and <bp-asm.h>.
25203         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25204         pointers.
25205         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25206         <bp-sym.h> and <bp-asm.h>.
25207         (memcpy): Don't use BP_SYM.
25208         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25209         <bp-sym.h> and <bp-asm.h>.
25210         (memset): Don't use BP_SYM.
25211         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25212         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25213         (__bzero): Don't use BP_SYM.
25214         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25215         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25216         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25217         <bp-sym.h> and <bp-asm.h>.
25218         (__memchr): Don't use BP_SYM.
25219         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25220         <bp-sym.h> and <bp-asm.h>.
25221         (memcmp): Don't use BP_SYM.  Remove comment about bounded
25222         pointers.
25223         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25224         <bp-sym.h> and <bp-asm.h>.
25225         (memcpy): Don't use BP_SYM.
25226         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25227         <bp-sym.h> and <bp-asm.h>.
25228         (__mempcpy): Don't use BP_SYM.
25229         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25230         <bp-sym.h> and <bp-asm.h>.
25231         (__memrchr): Don't use BP_SYM.
25232         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25233         <bp-sym.h> and <bp-asm.h>.
25234         (memset): Don't use BP_SYM.
25235         (__bzero): Likewise.
25236         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25237         <bp-sym.h> and <bp-asm.h>.
25238         (__rawmemchr): Don't use BP_SYM.
25239         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25240         <bp-sym.h> and <bp-asm.h>.
25241         (__STRCMP): Don't use BP_SYM.
25242         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25243         <bp-sym.h> and <bp-asm.h>.
25244         (strchr): Don't use BP_SYM.
25245         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25246         <bp-sym.h> and <bp-asm.h>.
25247         (__strchrnul): Don't use BP_SYM.
25248         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25249         <bp-sym.h> and <bp-asm.h>.
25250         (strlen): Don't use BP_SYM.
25251         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25252         <bp-sym.h> and <bp-asm.h>.
25253         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25254         pointers.
25255         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25256         <bp-sym.h> and <bp-asm.h>.
25257         (__strnlen): Don't use BP_SYM.
25258         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25259         <bp-sym.h> and <bp-asm.h>.
25260         (__GI__setjmp): Don't use BP_SYM.
25261         (_setjmp): Likewise.
25262         (__sigsetjmp): Likewise.
25263         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25264         (L(start_addresses)): Don't use BP_SYM.
25265         (_start): Likewise.
25266         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25267         <bp-asm.h>.
25268         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25269         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25270         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25271         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25272         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25273         <bp-asm.h>.
25274         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25275         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
25276         about bounded pointers.
25277         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25278         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25279         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25280         <bp-asm.h>.
25281         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25282         about bounded pointers.  Remove GKM FIXME comments.
25283         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25284         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25285         <bp-asm.h>.
25286         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25287         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
25288         Remove GKM FIXME comments.
25289         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25290         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25291         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25292         <bp-asm.h>.
25293         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
25294         about bounded pointers.  Remove GKM FIXME comment.
25295         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25296         and <bp-asm.h>.
25297         (strncmp): Don't use BP_SYM.  Remove comment about bounded
25298         pointers.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25300         <bp-sym.h> and <bp-asm.h>.
25301         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25303         <bp-sym.h> and <bp-asm.h>.
25304         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25305         comment.
25306
25307 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25308
25309         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25310         call free(NULL).
25311
25312 2013-03-05  David S. Miller  <davem@davemloft.net>
25313
25314         * po/es.po: Update from translation team.
25315
25316 2013-03-05  Andreas Jaeger  <aj@suse.de>
25317
25318         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25319         <bits/mman-linux.h>.
25320         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25321         is fine.
25322         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25323         <bits/mman-linux.h> to end of file.
25324         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25325         is fine.
25326         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25327         <bits/mman-linux.h> to end of file.
25328         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25329         is fine.
25330         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25331         <bits/mman-linux.h> to end of file.
25332
25333         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25334         (MCL_CURRENT, MCL_FUTURE): Define here.
25335
25336 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25337
25338         [BZ #15232]
25339         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25340         attribute_hidden.
25341         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25342
25343 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25344
25345         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25346         fourth parameter needed for rt_sigprocmask syscall.
25347         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25348         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25349         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25350         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25351         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25352         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25353
25354 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
25355
25356         [BZ #13550]
25357         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25358         comment about bounded pointers.
25359         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25360         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25361
25362 2013-03-04  Andreas Jaeger  <aj@suse.de>
25363
25364         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25365         common definitions.
25366
25367         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25368         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25369         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25370         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25371         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25372         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25373
25374 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25375
25376         [BZ #15055]
25377         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25378         __ieee754_sqrl instead of __sqrl.
25379
25380 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
25381
25382         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25383         * sysdeps/powerpc/fpu_control.h: ... here.
25384         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25385         * sysdeps/powerpc/bits/fenvinline.h: ... here.
25386         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25387         * sysdeps/powerpc/bits/mathinline.h: ... here.
25388
25389 2013-03-01  Roland McGrath  <roland@hack.frob.com>
25390
25391         * elf/dl-hwcaps.c (_dl_important_hwcaps):
25392         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25393         to just [NEED_DL_SYSINFO_DSO].
25394         * elf/dl-support.c: Likewise.
25395         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25396         * elf/rtld.c (dl_main): Likewise.
25397         * elf/setup-vdso.h (setup_vdso): Likewise.
25398         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25399         * sysdeps/unix/sysv/linux/dl-sysdep.c
25400         (_dl_discover_osversion): Likewise.
25401
25402 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
25403
25404         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25405         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25406
25407 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408
25409         * NEWS: Mention libm performance improvements and non-x86 PI
25410         futex support.
25411
25412         * csu/libc-start.c (__pthread_initialize_minimal): Change
25413         function arguments.
25414         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25415
25416 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
25417
25418         [BZ #13550]
25419         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25420         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25421         <bp-sym.h> and <bp-asm.h>.
25422         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25423         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25424         and <bp-asm.h>.
25425         (memcpy): Don't use BP_SYM.
25426         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25427         <bp-asm.h>.
25428         (__mpn_add_n): Don't use BP_SYM.
25429         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25430         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25431         and <bp-asm.h>.
25432         (__mpn_addmul_1): Don't use BP_SYM.
25433         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25434         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25435         <bp-sym.h>.
25436         (_setjmp): Don't use BP_SYM.
25437         (__novmx_setjmp): Likewise.
25438         (__GI__setjmp): Likewise.
25439         (__vmx_setjmp): Likewise.
25440         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25441         <bp-sym.h>.
25442         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25443         (__bzero): Don't use BP_SYM.
25444         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25445         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25446         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25447         <bp-sym.h> and <bp-asm.h>.
25448         (memcpy): Don't use BP_SYM.
25449         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25450         <bp-sym.h> and <bp-asm.h>.
25451         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25452         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25453         <bp-sym.h> and <bp-asm.h>.
25454         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25455         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25456         <bp-asm.h>.
25457         (__mpn_lshift): Don't use BP_SYM.
25458         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25459         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25460         <bp-asm.h>.
25461         (memset): Don't use BP_SYM.
25462         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25463         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25464         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25465         <bp-asm.h>.
25466         (__mpn_mul_1): Don't use BP_SYM.
25467         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25469         <bp-sym.h> and <bp-asm.h>.
25470         (memcmp): Don't use BP_SYM.
25471         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25472         <bp-sym.h> and <bp-asm.h>.
25473         (memcpy): Don't use BP_SYM.
25474         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25475         <bp-sym.h> and <bp-asm.h>.
25476         (memset): Don't use BP_SYM.
25477         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25478         <bp-sym.h> and <bp-asm.h>.
25479         (strncmp): Don't use BP_SYM.
25480         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25481         <bp-sym.h> and <bp-asm.h>.
25482         (memcpy): Don't use BP_SYM.
25483         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25484         <bp-sym.h> and <bp-asm.h>.
25485         (memset): Don't use BP_SYM.
25486         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25487         <bp-sym.h> and <bp-asm.h>.
25488         (__memchr): Don't use BP_SYM.
25489         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25490         <bp-sym.h> and <bp-asm.h>.
25491         (memcmp): Don't use BP_SYM.
25492         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25493         <bp-sym.h> and <bp-asm.h>.
25494         (memcpy): Don't use BP_SYM.
25495         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25496         <bp-sym.h> and <bp-asm.h>.
25497         (__mempcpy): Don't use BP_SYM.
25498         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25499         <bp-sym.h> and <bp-asm.h>.
25500         (__memrchr): Don't use BP_SYM.
25501         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25502         <bp-sym.h> and <bp-asm.h>.
25503         (memset): Don't use BP_SYM.
25504         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25505         <bp-sym.h> and <bp-asm.h>.
25506         (__rawmemchr): Don't use BP_SYM.
25507         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25508         <bp-sym.h> and <bp-asm.h>.
25509         (__STRCMP): Don't use BP_SYM.
25510         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25511         <bp-sym.h> and <bp-asm.h>.
25512         (strchr): Don't use BP_SYM.
25513         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25514         <bp-sym.h> and <bp-asm.h>.
25515         (__strchrnul): Don't use BP_SYM.
25516         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25517         <bp-sym.h> and <bp-asm.h>.
25518         (strlen): Don't use BP_SYM.
25519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25520         <bp-sym.h> and <bp-asm.h>.
25521         (strncmp): Don't use BP_SYM.
25522         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25523         <bp-sym.h> and <bp-asm.h>.
25524         (__strnlen): Don't use BP_SYM.
25525         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25526         <bp-asm.h>.
25527         (__mpn_rshift): Don't use BP_SYM.
25528         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25529         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25530         <bp-sym.h> and <bp-asm.h>.
25531         (__sigsetjmp): Don't use BP_SYM.
25532         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25533         (L(start_addresses)): Don't use BP_SYM.
25534         (_start): Likewise.
25535         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25536         <bp-asm.h>.
25537         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25538         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25539         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25540         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25541         <bp-asm.h>.
25542         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25543         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25544         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25545         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25546         <bp-asm.h>.
25547         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25548         comments.
25549         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25550         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25551         <bp-asm.h>.
25552         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
25553         FIXME comments.
25554         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25555         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25556         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25557         <bp-asm.h>.
25558         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
25559         comment.
25560         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25561         and <bp-asm.h>.
25562         (strncmp): Don't use BP_SYM,
25563         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25564         <bp-asm.h>.
25565         (__mpn_sub_n): Don't use BP_SYM.
25566         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25567         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25568         and <bp-asm.h>.
25569         (__mpn_submul_1): Don't use BP_SYM.
25570         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25572         <bp-sym.h> and <bp-asm.h>.
25573         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25575         <bp-sym.h> and <bp-asm.h>.
25576         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
25577         comment.
25578
25579 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25580
25581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25582         Use ZK to minimize writes to Z.
25583         (sub_magnitudes): Simplify code a bit.
25584         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25585         Use ZK to minimize writes to Z.
25586         (sub_magnitudes): Simplify code a bit.
25587
25588 2013-02-27  Roland McGrath  <roland@hack.frob.com>
25589
25590         * csu/gmon-start.c: Add special exception to license text.
25591
25592 2013-02-27  Richard Henderson  <rth@redhat.com>
25593
25594         * scripts/config.guess: Update from config.git.
25595         * scripts/config.sub: Likewise.
25596
25597 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25598
25599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25600
25601         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25602
25603         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25604
25605         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25606
25607         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25608
25609 2013-02-26  Roland McGrath  <roland@hack.frob.com>
25610
25611         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25612         [$(build-shared = yes].
25613
25614 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25615
25616         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25617         (__mul): Reduce iterations for calculating mantissa.
25618
25619         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25620         MPTWO.
25621         (__mpranred): Likewise.
25622
25623         [BZ #15160]
25624         * malloc/memusagestat.c (main): Draw graphs for heap and stack
25625         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25626
25627 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
25628
25629         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25630         Define __attribute__.
25631
25632 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25633
25634         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25635         unused.
25636         * posix/regex_internal.h (__attribute): Remove.
25637         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25638         (re_string_context_at): Likewise.
25639         (bitset_not): Use __attribute__ and mark function as possibly
25640         unused.
25641         (bitset_merge): Likewise.
25642         (bitset_mask): Likewise.
25643         (re_string_char_size_at): Likewise.
25644         (re_string_wchar_at): Likewise.
25645         (re_string_elem_size_at): Likewise.
25646
25647 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25648
25649         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25650         code.
25651         (cc32): Likewise.
25652
25653         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25654         (__acr): Likewise.
25655         (__cpy): Likewise.
25656         (norm): Likewise.
25657         (denorm): Likewise.
25658         (__dbl_mp): Likewise.
25659         (add_magnitudes): Likewise.
25660         (sub_magnitudes): Likewise.
25661         (__mul): Likewise.
25662         (__inv): Likewise.
25663
25664         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25665         style.
25666
25667         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25668         style.
25669
25670         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25671         code.
25672
25673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25674         up changes with default code.
25675         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25676         Likewise.
25677
25678 2013-02-24  Allan McRae  <allan@archlinux.org>
25679
25680         * manual/socket.texi (The Internet Namespace): Order menu items
25681         to match that in the file.
25682
25683         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25684         node listing of the info page menu.
25685
25686 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
25687
25688         [BZ #13550]
25689         * sysdeps/i386/bp-asm.h: Remove file.
25690         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25691         (PARMS): Do not use macros from bp-asm.h.
25692         (S1): Likewise.
25693         (S2): Likewise.
25694         (SIZE): Likewise.
25695         (__mpn_add_n): Do not use BP_SYM
25696         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25697         "bp-asm.h".
25698         (PARMS): Do not use macros from bp-asm.h.
25699         (S1): Likewise.
25700         (SIZE): Likewise.
25701         (__mpn_addmul_1): Do not use BP_SYM
25702         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25703         "bp-asm.h".
25704         (PARMS): Do not use macros from bp-asm.h.
25705         (SIGMSK): Likewise.
25706         (_setjmp): Likewise.  Do not use BP_SYM.
25707         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25708         "bp-asm.h".
25709         (PARMS): Do not use macros from bp-asm.h.
25710         (SIGMSK): Likewise.
25711         (setjmp): Likewise.  Do not use BP_SYM.
25712         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25713         "bp-asm.h".
25714         (PARMS): Do not use macros from bp-asm.h.
25715         (__frexp): Do not use BP_SYM.
25716         (frexp): Likewise.
25717         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25718         "bp-asm.h".
25719         (PARMS): Do not use macros from bp-asm.h.
25720         (__frexpf): Do not use BP_SYM.
25721         (frexpf): Likewise.
25722         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25723         "bp-asm.h".
25724         (PARMS): Do not use macros from bp-asm.h.
25725         (__frexpl): Do not use BP_SYM.
25726         (frexpl): Likewise.
25727         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25728         "bp-asm.h".
25729         (PARMS): Do not use macros from bp-asm.h.
25730         (__remquo): Do not use BP_SYM.
25731         (remquo): Likewise.
25732         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25733         "bp-asm.h".
25734         (PARMS): Do not use macros from bp-asm.h.
25735         (__remquof): Do not use BP_SYM.
25736         (remquof): Likewise.
25737         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25738         "bp-asm.h".
25739         (PARMS): Do not use macros from bp-asm.h.
25740         (__remquol): Do not use BP_SYM.
25741         (remquol): Likewise.
25742         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25743         "bp-asm.h".
25744         (PARMS): Do not use macros from bp-asm.h.
25745         (DEST): Likewise.
25746         (SRC): Likewise.
25747         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
25748         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25749         "bp-asm.h".
25750         (PARMS): Do not use macros from bp-asm.h.
25751         (strlen): Do not use BP_SYM.
25752         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25753         "bp-asm.h".
25754         (PARMS): Do not use macros from bp-asm.h.
25755         (S1): Likewise.
25756         (S2): Likewise.
25757         (SIZE): Likewise.
25758         (__mpn_add_n): Do not use BP_SYM.
25759         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25760         "bp-asm.h".
25761         (PARMS): Do not use macros from bp-asm.h.
25762         (S1): Likewise.
25763         (SIZE): Likewise.
25764         (__mpn_addmul_1): Do not use BP_SYM.
25765         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25766         weak_alias.
25767         (bzero): Likewise.
25768         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25769         "bp-asm.h".
25770         (PARMS): Do not use macros from bp-asm.h.
25771         (S): Likewise.
25772         (SIZE): Likewise.
25773         (__mpn_lshift): Do not use BP_SYM.
25774         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25775         "bp-asm.h".
25776         (PARMS): Do not use macros from bp-asm.h.
25777         (DEST): Likewise.
25778         (SRC): Likewise.
25779         (LEN): Likewise.
25780         (memcpy): Likewise.  Do not use BP_SYM.
25781         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25782         libc_hidden_def and weak_alias.
25783         (mempcpy): Do not use BP_SYM in weak_alias.
25784         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25785         "bp-asm.h".
25786         (PARMS): Do not use macros from bp-asm.h.
25787         (DEST): Likewise.
25788         (LEN): Likewise.
25789         [!BZERO_P] (CHR): Likewise.
25790         (memset): Likewise.  Do not use BP_SYM.
25791         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25792         "bp-asm.h".
25793         (PARMS): Do not use macros from bp-asm.h.
25794         (S1): Likewise.
25795         (SIZE): Likewise.
25796         (__mpn_mul_1): Do not use BP_SYM.
25797         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25798         "bp-asm.h".
25799         (PARMS): Do not use macros from bp-asm.h.
25800         (S): Likewise.
25801         (SIZE): Likewise.
25802         (__mpn_rshift): Do not use BP_SYM.
25803         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25804         "bp-asm.h".
25805         (PARMS): Do not use macros from bp-asm.h.
25806         (STR): Likewise.
25807         (CHR): Likewise.
25808         (strchr): Likewise.  Do not use BP_SYM.
25809         (index): Do not use BP_SYM in weak_alias.
25810         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25811         "bp-asm.h".
25812         (PARMS): Do not use macros from bp-asm.h.
25813         (DEST): Likewise.
25814         (SRC): Likewise.
25815         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25816         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25817         "bp-asm.h".
25818         (PARMS): Do not use macros from bp-asm.h.
25819         (strlen): Do not use BP_SYM.
25820         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25821         "bp-asm.h".
25822         (PARMS): Do not use macros from bp-asm.h.
25823         (S1): Likewise.
25824         (S2): Likewise.
25825         (SIZE): Likewise.
25826         (__mpn_sub_n): Do not use BP_SYM.
25827         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25828         "bp-asm.h".
25829         (PARMS): Do not use macros from bp-asm.h.
25830         (S1): Likewise.
25831         (SIZE): Likewise.
25832         (__mpn_submul_1): Do not use BP_SYM.
25833         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25834         "bp-asm.h".
25835         (PARMS): Do not use macros from bp-asm.h.
25836         (S1): Likewise.
25837         (S2): Likewise.
25838         (SIZE): Likewise.
25839         (__mpn_add_n): Do not use BP_SYM.
25840         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25841         weak_alias.
25842         (bzero): Likewise.
25843         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25844         "bp-asm.h".
25845         (PARMS): Do not use macros from bp-asm.h.
25846         (BLK2): Likewise.
25847         (LEN): Likewise.
25848         (memcmp): Do not use BP_SYM.
25849         (bcmp): Do not use BP_SYM in weak_alias.
25850         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25851         "bp-asm.h".
25852         (PARMS): Do not use macros from bp-asm.h.
25853         (DEST): Likewise.
25854         (SRC): Likewise.
25855         (LEN): Likewise.
25856         (memcpy): Likewise.  Do not use BP_SYM.
25857         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25858         "bp-asm.h".
25859         (PARMS): Do not use macros from bp-asm.h.
25860         (DEST): Likewise.
25861         (SRC): Likewise.
25862         (LEN): Likewise.
25863         (memmove): Likewise.  Do not use BP_SYM.
25864         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25865         "bp-asm.h".
25866         (PARMS): Do not use macros from bp-asm.h.
25867         (DEST): Likewise.
25868         (SRC): Likewise.
25869         (LEN): Likewise.
25870         (__mempcpy): Likewise.  Do not use BP_SYM.
25871         (mempcpy): Do not use BP_SYM in weak_alias.
25872         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25873         "bp-asm.h".
25874         (PARMS): Do not use macros from bp-asm.h.
25875         (DEST): Likewise.
25876         (LEN): Likewise.
25877         [!BZERO_P] (CHR): Likewise.
25878         (memset): Likewise.  Do not use BP_SYM.
25879         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25880         "bp-asm.h".
25881         (PARMS): Do not use macros from bp-asm.h.
25882         (STR2): Likewise.
25883         (strcmp): Do not use BP_SYM.
25884         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25885         "bp-asm.h".
25886         (PARMS): Do not use macros from bp-asm.h.
25887         (STR): Likewise.
25888         (DELIM): Likewise.
25889         [USE_AS_STRTOK_R] (SAVE): Likewise.
25890         (FUNCTION): Likewise.  Do not use BP_SYM.
25891         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25892         aliases.
25893         (strtok_r): Likewise.
25894         (__GI___strtok_r): Likewise.
25895         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25896         (PARMS): Do not use macros from bp-asm.h.
25897         (S): Likewise.
25898         (SIZE): Likewise.
25899         (__mpn_lshift): Do not use BP_SYM.
25900         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25901         (PARMS): Do not use macros from bp-asm.h.
25902         (STR): Likewise.
25903         (CHR): Likewise.
25904         (__memchr): Do not use BP_SYM.
25905         (memchr): Do not use BP_SYM in weak_alias.
25906         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25907         (PARMS): Do not use macros from bp-asm.h.
25908         (BLK2): Likewise.
25909         (LEN): Likewise.
25910         (memcmp): Do not use BP_SYM.
25911         (bcmp): Do not use BP_SYM in weak_alias.
25912         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25913         (PARMS): Do not use macros from bp-asm.h.
25914         (S1): Likewise.
25915         (SIZE): Likewise.
25916         (__mpn_mul_1): Do not use BP_SYM.
25917         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25918         "bp-asm.h".
25919         (PARMS): Do not use macros from bp-asm.h.
25920         (STR): Likewise.
25921         (CHR): Likewise.
25922         (__rawmemchr): Do not use BP_SYM.
25923         (rawmemchr): Do not use BP_SYM in weak_alias.
25924         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25925         (PARMS): Do not use macros from bp-asm.h.
25926         (S): Likewise.
25927         (SIZE): Likewise.
25928         (__mpn_rshift): Do not use BP_SYM.
25929         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25930         (PARMS): Do not use macros from bp-asm.h.
25931         (SIGMSK): Likewise.
25932         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25933         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25934         (_start): Do not use BP_SYM.
25935         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25936         (PARMS): Do not use macros from bp-asm.h.
25937         (DEST): Likewise.
25938         (SRC): Likewise.
25939         (__stpcpy): Likewise.  Do not use BP_SYM.
25940         (stpcpy): Do not use BP_SYM in weak_alias.
25941         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25942         "bp-asm.h".
25943         (PARMS): Do not use macros from bp-asm.h.
25944         (DEST): Likewise.
25945         (SRC): Likewise.
25946         (LEN): Likewise.
25947         (__stpncpy): Likewise.  Do not use BP_SYM.
25948         (stpncpy): Do not use BP_SYM in weak_alias.
25949         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25950         (PARMS): Do not use macros from bp-asm.h.
25951         (STR): Likewise.
25952         (CHR): Likewise.
25953         (strchr): Likewise.  Do not use BP_SYM.
25954         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25955         "bp-asm.h".
25956         (PARMS): Do not use macros from bp-asm.h.
25957         (STR): Likewise.
25958         (CHR): Likewise.
25959         (__strchrnul): Likewise.  Do not use BP_SYM.
25960         (strchrnul): Do not use BP_SYM in weak_alias.
25961         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25962         "bp-asm.h".
25963         (PARMS): Do not use macros from bp-asm.h.
25964         (STOP): Likewise.
25965         (strcspn): Do not use BP_SYM.
25966         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25967         "bp-asm.h".
25968         (PARMS): Do not use macros from bp-asm.h.
25969         (STR): Likewise.
25970         (STOP): Likewise.
25971         (strpbrk): Likewise.  Do not use BP_SYM.
25972         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25973         "bp-asm.h".
25974         (PARMS): Do not use macros from bp-asm.h.
25975         (STR): Likewise.
25976         (CHR): Likewise.
25977         (strrchr): Likewise.  Do not use BP_SYM.
25978         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25979         (PARMS): Do not use macros from bp-asm.h.
25980         (SKIP): Likewise.
25981         (strspn): Do not use BP_SYM.
25982         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25983         (PARMS): Do not use macros from bp-asm.h.
25984         (STR): Likewise.
25985         (DELIM): Likewise.
25986         (SAVE): Likewise.
25987         (FUNCTION): Likewise.  Do not use BP_SYM.
25988         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25989         aliases.
25990         (strtok_r): Likewise.
25991         (__GI___strtok_r): Likewise.
25992         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25993         (PARMS): Do not use macros from bp-asm.h.
25994         (S1): Likewise.
25995         (S2): Likewise.
25996         (SIZE): Likewise.
25997         (__mpn_sub_n): Do not use BP_SYM.
25998         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25999         "bp-asm.h".
26000         (PARMS): Do not use macros from bp-asm.h.
26001         (S1): Likewise.
26002         (SIZE): Likewise.
26003         (__mpn_submul_1): Do not use BP_SYM.
26004         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26005         <bp-sym.h>.
26006         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26007         and <bp-asm.h>.
26008         (PARMS): Do not use macros from bp-asm.h.
26009         (FLAGS): Likewise.
26010         (PTID): Likewise.
26011         (TLS): Likewise.
26012         (CTID): Likewise.
26013         (__clone): Do not use BP_SYM.
26014         (clone): Do not use BP_SYM in weak_alias.
26015         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26016         and <bp-asm.h>.
26017         (PARMS): Do not use macros from bp-asm.h.
26018         (LEN): Likewise.
26019         (__mmap64): Do not use BP_SYM.
26020         (mmap64): Do not use BP_SYM in weak_alias.
26021         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26022         <bp-sym.h> and <bp-asm.h>.
26023         (PARMS): Do not use macros from bp-asm.h.
26024         (__posix_fadvise64_l64): Do not use BP_SYM.
26025         * sysdeps/unix/sysv/linux/i386/semtimedop.S
26026         (PARMS): Do not use macros from bp-asm.h.
26027         (NSOPS): Likewise.
26028         (semtimedop): Do not use BP_SYM.
26029         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26030         and <bp-asm.h>.
26031
26032 2013-02-21  Allan McRae  <allan@archlinux.org>
26033
26034         * manual/message.texi (Charset conversion in gettext):
26035         Move @end statement to beginning of line.
26036
26037 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26038
26039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26040         static.
26041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26042         Likewise.
26043
26044         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26045         (denorm): Likewise.
26046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26048
26049 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26050
26051         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26052         tail-call to the resolved function if pltexit isn't needed.
26053
26054 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055
26056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26057         or Y being zero as being unlikely.
26058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26059         Likewise.
26060
26061 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
26062
26063         * manual/nss.texi (System Databases and Name Service Switch):
26064         Remove frobnicate @pxref.
26065
26066 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26067
26068         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26069         __attribute__ ((unused)) to __attribute__ ((__unused__)).
26070
26071 2013-02-20  Petr Machata  <pmachata@redhat.com>
26072
26073         * elf/elf.h (R_ARM_TARGET1): New macro.
26074         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26075         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26076         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26077         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26078         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26079         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26080         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26081         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26082         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26083         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26084         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26085         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26086         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26087         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26088         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26089         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26090         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26091         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26092         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26093         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26094         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26095         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26096         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26097         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26098         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26099         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26100         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26101         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26102         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26103         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26104         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26105         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26106         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26107         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26108         (R_ARM_THM_GOT_BREL12): Likewise.
26109         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26110         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26111         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26112         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26113         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26114         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26115         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26116         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26117         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26118
26119 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
26120
26121         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26122         __attribute_used__ to __attribute__ ((unused)).
26123
26124 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26125
26126         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26127         powerpc mpa.c.
26128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26129         comment formatting.
26130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26131
26132 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
26133
26134         [BZ #13550]
26135         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26136         Remove macro.
26137         (ENTER): Remove both macro definitions.
26138         (LEAVE): Likewise.
26139         (CHECK_BOUNDS_LOW): Likewise.
26140         (CHECK_BOUNDS_HIGH): Likewise.
26141         (CHECK_BOUNDS_BOTH): Likewise.
26142         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26143         (RETURN_BOUNDED_POINTER): Likewise.
26144         (RETURN_NULL_BOUNDED_POINTER): Likewise.
26145         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26146         (POP_ERRNO_LOCATION_RETURN): Likewise.
26147         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26148         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26149         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26150         macros.
26151         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26152         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26153         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26154         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26155         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26156         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26157         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26158         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26159         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26160         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26161         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26162         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26163         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26164         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26165         removed macros.
26166         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26167         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26168         macros.
26169         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26170         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26171         * sysdeps/i386/i586/memset.S (memset): Likewise.
26172         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26173         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26174         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26175         macros.
26176         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26177         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26178         Change uses of L(2) to L(out).
26179         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26180         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26181         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26182         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26183         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26184         removed macros.
26185         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26186         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26187         macros.
26188         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26189         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26190         (RETURN): Do not use macro LEAVE.
26191         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26192         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26193         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26194         * sysdeps/i386/i686/memset.S (memset): Likewise.
26195         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26196         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26197         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26198         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26199         Likewise.
26200         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26201         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
26202         L(1_2) and L(1_3) into L(1).
26203         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26204         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26205         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26206         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26207         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26208         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26209         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26210         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26211         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26212         macros.
26213         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26214         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26215         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26216         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26217         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26218         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26219         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26220         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26221         * sysdeps/i386/strcspn.S (strcspn): Likewise.
26222         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26223         * sysdeps/i386/strrchr.S (strrchr): Likewise.
26224         * sysdeps/i386/strspn.S (strspn): Likewise.
26225         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26226         conditional code.
26227         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26228         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26229         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26230         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
26231         L(1_3) into L(1_1).
26232         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26233         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26234         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26235         macros.
26236         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26237
26238 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
26239
26240         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26241         macro.
26242
26243 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26244
26245         * math/atest-exp.c (exp_mpn): Remove ROUND.
26246         * math/atest-exp2.c (exp_mpn): Likewise.
26247         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26248
26249         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26250         * stdlib/tst-tls-atexit-lib.c: Likewise.
26251         * stdlib/tst-tls-atexit.c: Likewise.
26252
26253 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26254
26255         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26256         and __attribute_alloc_size__.
26257
26258 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26259
26260         * include/programs/xmalloc.h: Change __attribute_alloc_size to
26261         __attribute_alloc_size__.
26262         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26263         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26264
26265 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
26266
26267         * include/programs/xmalloc.h: New file.
26268         * catgets/gencat.c: Include it.
26269         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26270         * elf/pldd.c: Likewise.
26271         * iconv/iconv_charmap.c: Likewise.
26272         * iconv/iconvconfig.c: Likewise.
26273         * iconv/strtab.c: Likewise.
26274         * locale/programs/locale.c: Likewise.
26275         * locale/programs/localedef.h: Likewise.
26276         * locale/programs/simple-hash.c: Likewise.
26277         * nscd/nscd.h: Likewise.
26278         * nss/makedb.c: Likewise.
26279         * sysdeps/generic/ldconfig.h: Likewise.
26280
26281 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26282
26283         * Versions.def: Add GLIBC_2.18.
26284         * include/link.h (struct link_map): New member l_tls_dtor_count.
26285         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26286         (__call_tls_dtors): Likewise.
26287         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26288         __cxa_thread_atexit_impl.
26289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26290         Likewise.
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26292         Likewise.
26293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26294         Likewise.
26295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26296         Likewise.
26297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26299         Likewise.
26300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26301         Likewise.
26302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26304         Likewise.
26305         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26306         (tests): Add test case tst-tls-atexit.
26307         (modules-names): Add shared library for tst-tls-atexit.
26308         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26309         (GLIBC_PRIVATE): Add __call_tls_dtors.
26310         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26311         for libstdc++.
26312         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26313         * stdlib/tst-tls-atexit.c: New test case.
26314         * stdlib/tst-tls-atexit-lib.c: New test case.
26315
26316         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26317
26318         * elf/Versions (ld): Add _dl_find_dso_for_object.
26319         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26320         * elf/dl-open.c (_dl_find_dso_for_object): New function.
26321         (dl_open_worker): Use _dl_find_dso_for_object.
26322         * elf/dl-sym.c (do_sym): Likewise.
26323         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26324
26325 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26326
26327         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26328         Syntactic changes only.
26329         (_dl_runtime_profile): Do a tail-call to the resolved function.
26330
26331 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
26332
26333         [BZ #13550]
26334         * sysdeps/x86_64/bp-asm.h: Remove file.
26335         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26336         <bp-sym.h> and <bp-asm.h>.
26337         (__clone): Do not use BP_SYM.
26338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26339         <bp-sym.h> and <bp-asm.h>.
26340         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26341         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26342         "bp-asm.h".
26343         (_setjmp): Do not use BP_SYM.
26344         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26345         "bp-asm.h".
26346         (setjmp): Do not use BP_SYM.
26347         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26348         libc_hidden_def.
26349         (mempcpy): Do not use BP_SYM in weak_alias.
26350         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26351         "bp-asm.h".
26352         (strchr): Do not use BP_SYM.
26353         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26354         "bp-asm.h".
26355         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26356         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26357         (_start): Do not use BP_SYM.
26358         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26359         "bp-asm.h".
26360         (strcat): Do not use BP_SYM.
26361         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26362         "bp-asm.h".
26363         (STRCMP): Do not use BP_SYM.
26364         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26365         "bp-asm.h".
26366         (STRCPY): Do not use BP_SYM.
26367         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26368         "bp-asm.h".
26369         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26370         "bp-asm.h".
26371         (FUNCTION): Do not use BP_SYM.
26372         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26373         weak_alias.
26374         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26375
26376 2013-02-17  Andreas Jaeger  <aj@suse.de>
26377
26378         * time/Versions: Sort entries.
26379         * string/Versions: Likewise.
26380         * resolv/Versions: Likewise.
26381         * posix/Versions: Likewise.
26382         * iconv/Versions: Likewise.
26383         * elf/Versions: Likewise.
26384         * wcsmbs/Versions: Likewise.
26385
26386 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26387
26388         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26389         loop termination condition.
26390
26391         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26392         variable to calculate EZ.
26393         (__sqr): Likewise.
26394
26395         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26396         the lower precision input.
26397
26398 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
26399
26400         [BZ #13550]
26401         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26402         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26403         (run-via-rtld-prefix): Do not handle %-bp tests.
26404         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26405         (all-object-suffixes): Remove .ob.
26406         (bppfx): Remove variable.
26407         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26408         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26409         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26410         [$(build-bounded) = yes] (libtype.ob): Likewise.
26411         * Makerules (elide-routines.ob): Remove variable.
26412         (do-tests-clean): Do not handle *-bp.out.
26413         (common-mostlyclean): Do not handle *-bp and *-bp.out.
26414         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26415         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26416         (tests): Do not include $(tests-bp.out).
26417         (xtests): Do not include $(xtests-bp.out).
26418         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26419         [$(build-bounded) = yes] ($(addprefix
26420         $(objpfx),$(binaries-bounded))): Remove rule.
26421         ($(objpfx)%-bp.out): Remove rule.
26422         * config.make.in (build-bounded): Remove variable.
26423         * crypt/Makefile [$(build-bounded) = yes]
26424         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26425         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26426         append to variable.
26427         [$(build-bounded) = yes] (install-lib): Likewise.
26428         [$(build-bounded) = yes] (generated): Likewise.
26429         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26430         Remove rule.
26431         * intl/Makefile [$(build-bounded) = yes]
26432         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26433         * math/Makefile [$(build-bounded) = yes]
26434         ($(tests:%=$(objpfx)%-bp): Likewise.
26435         * misc/Makefile [$(build-bounded) = yes]
26436         ($(objpfx)tst-tsearch-bp): Likewise.
26437         * nptl/Makeconfig (bounded-thread-library): Remove variable.
26438         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26439         Remove dependency.
26440         * string/Makefile (o-objects.ob): Remove variable.
26441         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26442         (CFLAGS-.ob): Remove variable.
26443         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26444         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26445         both definitions of variable.
26446         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26447         (ASFLAGS-.ob): Remove variable.
26448
26449 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
26450
26451         [BZ #13550]
26452         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26453         Remove __BOUNDED_POINTERS__ from condition.
26454         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26455         * string/bits/string2.h [!__NO_STRING_INLINES &&
26456         !__BOUNDED_POINTERS__]: Likewise.
26457         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26458         Likewise.
26459         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26460         Remove conditional code.
26461         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26462         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26463         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26464         condition.
26465
26466         [BZ #13550]
26467         * csu/libc-start.c: Do not include <bp-sym.h>.
26468         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26469         * elf/dl-open.c: Do not include <bp-sym.h>.
26470         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26471         * math/fegetenv.c: Do not include <bp-sym.h>.
26472         (fegetenv): Do not use BP_SYM in versioned symbols.
26473         * nptl/sysdeps/pthread/bits/libc-lockP.h
26474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26475         <bp-sym.h>.
26476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26477         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26479         (__pthread_mutex_destroy): Likewise.
26480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26481         (__pthread_mutex_lock): Likewise.
26482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26483         (__pthread_mutex_trylock): Likewise.
26484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26485         (__pthread_mutex_unlock): Likewise.
26486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26487         (__pthread_mutexattr_init): Likewise.
26488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26489         (__pthread_mutexattr_destroy): Likewise.
26490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26491         (__pthread_mutexattr_settype): Likewise.
26492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26493         (__pthread_rwlock_init): Likewise.
26494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26495         (__pthread_rwlock_destroy): Likewise.
26496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26497         (__pthread_rwlock_rdlock): Likewise.
26498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26499         (__pthread_rwlock_tryrdlock): Likewise.
26500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26501         (__pthread_rwlock_wrlock): Likewise.
26502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26503         (__pthread_rwlock_trywrlock): Likewise.
26504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26505         (__pthread_rwlock_unlock): Likewise.
26506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26507         (__pthread_key_create): Likewise.
26508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26509         (__pthread_setspecific): Likewise.
26510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26511         (__pthread_getspecific): Likewise.
26512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26513         Likewise.
26514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26515         (_pthread_cleanup_push_defer): Likewise.
26516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26517         (_pthread_cleanup_pop_restore): Likewise.
26518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26519         (pthread_setcancelstate): Likewise.
26520         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26521         <bp-sym.h>.
26522         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26523         (memchr): Do not use BP_SYM in weak_alias.
26524         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26525         (fegetenv): Do not use BP_SYM in versioned symbols.
26526         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26527         (fesetenv): Do not use BP_SYM in versioned symbols.
26528         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26529         (feupdateenv): Do not use BP_SYM in versioned symbols.
26530         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26531         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26532         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26533         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26534         (open64): Do not use BP_SYM in weak_alias.
26535         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26536         (fegetenv): Do not use BP_SYM in versioned symbols.
26537         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26538         (fesetenv): Do not use BP_SYM in versioned symbols.
26539         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26540         (feupdateenv): Do not use BP_SYM in versioned symbols.
26541         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26542         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26543         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26544         (feraiseexcept): Do not use BP_SYM in versioned symbols.
26545         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26546         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26547         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26548         <bp-sym.h>.
26549         (__libc_start_main): Do not use BP_SYM.
26550
26551 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26552
26553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26554         redundant return line.
26555         (norm): Likewise.
26556         (denorm): Likewise.
26557         (dbl_mp): Likewise.
26558         (sub_magnitudes): Likewise.
26559         (__add): Likewise.
26560         (__sub): Likewise.
26561         (__mul): Likewise.
26562         (__inv): Likewise.
26563         (__dvd): Likewise.
26564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26565         (norm): Likewise.
26566         (denorm): Likewise.
26567         (dbl_mp): Likewise.
26568         (sub_magnitudes): Likewise.
26569         (__add): Likewise.
26570         (__sub): Likewise.
26571         (__mul): Likewise.
26572         (__inv): Likewise.
26573         (__dvd): Likewise.
26574
26575         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26576         instead of __mul.
26577         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26578         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26579         (cc32): Likewise.
26580
26581         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26582         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26584         of __mul for squares.
26585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26586         function
26587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26588         Likewise.
26589         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26590         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26591
26592 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
26593
26594         [BZ #13550]
26595         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26596         code.
26597         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26598         prototype or function definition.  Rename ubp_* variables and
26599         parameters.  Remove argv definitions conditional on
26600         [__BOUNDED_POINTERS__].
26601         * debug/backtrace.c (__backtrace): Do not use __unbounded.
26602         * elf/dl-runtime.c (_dl_fixup): Likewise.
26603         * include/set-hooks.h (RUN_HOOK): Likewise.
26604         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26605         definition.
26606         * string/strcpy.c (strcpy): Do not use __unbounded.
26607         * sysdeps/generic/frame.h (struct layout): Likewise.
26608         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26609         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26610         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26611         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26612         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26613         (__backtrace): Likewise.
26614         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26615         use __ptrvalue.
26616         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26617         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26618         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26619         Likewise.
26620         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26621         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26622         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26623         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26624         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26625         Do not use __unbounded.
26626         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26627         Rename __unboundedrlimits parameter to rlimits in prototype.
26628         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26629         Do not use __unbounded.
26630         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26631         not use __ptrvalue.
26632         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26633         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26634         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26635         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26636         __ptrvalue or __unbounded.
26637         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26638         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26639         use __unbounded.
26640         (__new_msgctl): Do not use __ptrvalue.
26641         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26642         __unbounded.
26643         (__libc_msgrcv): Do not use __ptrvalue.
26644         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26645         startup_info): Do not use __unbounded.
26646         (__libc_start_main): Likewise.  Rename ubp_* variables and
26647         parameters.  Remove argv definitions conditional on
26648         [__BOUNDED_POINTERS__].
26649         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26650         __ptrvalue.
26651         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26652         use __unbounded.
26653         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26654         or __ptrvalue.
26655         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26656         use __unbounded.
26657         (__new_shmctl): Do not use __ptrvalue.
26658         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26659         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26660         Likewise.
26661         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26662         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26663         (__libc_sigaction): Likewise.
26664         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26665         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26668
26669 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
26670
26671         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26672
26673         * string/mempcpy.c: Implement by calling memcpy.
26674
26675 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26676
26677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26678
26679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26680         evaluation.
26681
26682         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26683         values in the mantissa.
26684
26685         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26686         minimize writes to Z.
26687         (sub_magnitudes): Simplify code a bit.
26688
26689 2013-02-12  Roland McGrath  <roland@hack.frob.com>
26690
26691         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26692         from the message.  The linker prefixes all warnings with that already.
26693
26694 2013-02-12  Andreas Schwab  <schwab@suse.de>
26695
26696         [BZ #15078]
26697         * posix/regexec.c (extend_buffers): Add parameter min_len.
26698         (check_matching): Pass minimum needed length.
26699         (clean_state_log_if_needed): Likewise.
26700         (get_subexp): Likewise.
26701         * posix/Makefile (tests): Add bug-regex34.
26702         (bug-regex34-ENV): Define.
26703         * posix/bug-regex34.c: New file.
26704
26705         [BZ #11561]
26706         * posix/regcomp.c (parse_bracket_exp): When looking up collating
26707         elements compare against the byte sequence of it, not its name.
26708         * posix/Makefile (tests): Add bug-regex35.
26709         (bug-regex35-ENV): Define.
26710         * posix/bug-regex35.c: New file.
26711
26712 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26713
26714         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
26715         comment.
26716         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26717         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26718         (CHECK_EOL): Add undef.
26719
26720 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
26721
26722         * bits/stdlib-bsearch.h: New file.
26723         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26724         * stdlib/stdlib.h: Likewise.
26725
26726 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26727
26728         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26729         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26730         declaration.
26731         * manual/search.texi (Array Search Function): Add missing const in
26732         lfind prototype.
26733         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26734         declaration to use rlim_t.
26735         (Basic Scheduling Functions): Remove erroneous const from
26736         sched_getparam prototype.  Remove erroneous * from
26737         sched_get_priority_max and sched_get_priority_min prototypes.
26738         (Resource Usage): Fix summary @comment on vtimes to refer to
26739         sys/vtimes.h rather than vtimes.h.
26740         Add missing *s in vtimes prototype.
26741         (Limits on Resources): Fix ulimit prototype to return long int.
26742         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26743         prototypes to use long int rather than double.
26744         (BSD Random): Fix initstate and setstate to use char *, not void *.
26745         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26746         prototype to make second argument 'struct aiocb64 *const[]'.
26747         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26748         (Status of AIO Operations): Remove erroneous const in aio_return and
26749         aio_return64 prototypes.
26750         (Synchronizing I/O): Fix sync prototype to return void.
26751         * manual/startup.texi (Suboptions): Remove an erroneous const in
26752         getsubopt prototype.
26753         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26754         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26755         use size_t rather than int.
26756         (Scanning All Users): Likewise for getpwent_r.
26757         (Setting Groups): Add missing const to setgroups prototype.
26758         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26759         * manual/socket.texi (Host Names): Fix gethostbyaddr and
26760         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26761         'const void *' rather than 'const char *'.
26762         (Host Address Functions): Likewise for inet_ntop.
26763         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26764         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26765         ssize_t for return value.
26766         (Sending Data): Likewise for send, sendto, sendmsg.
26767         (Socket Option Functions): Add a missing const in setsockopt prototype.
26768         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26769         use wchar_t for the argument.
26770         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26771         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26772         take no arguments.
26773         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26774         double/float/long double for second argument.
26775         Fix return types of significand, significandf, significandl.
26776         * manual/filesys.texi (Setting Permissions): Use mode_t for second
26777         argument in fchmod prototype.
26778         (File Owner): Use uid_t and gid_t in fchown prototype.
26779         (File Times): Add const to utimes, futimes, and lutimes prototypes.
26780         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26781         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26782         use 'const struct dirent **' as argument types to CMP function pointer
26783         argument.
26784         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26785         (File Times): Fix summary magic @comment for struct utimbuf and utime
26786         to refer to utime.h, not time.h.
26787         * manual/string.texi (Argz Functions): Add missing const in
26788         argz_extract and argz_next prototypes.
26789         (Finding Tokens in a String): Likewise for basename.
26790         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26791         (Copying and Concatenation): Fix typo in wmemmove prototype.
26792         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26793         (Signal Stack): Remove erroneous const in sigstack prototype.
26794         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26795         prototype.
26796         (Simple Calendar Time): Likewise for stime.
26797         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26798         prototype.
26799         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26800         say sys/sysctl.h instead.
26801         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26802         and vsyslog prototypes.
26803
26804 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26805
26806         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26807         Remove.
26808
26809 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26810
26811         * misc/sys/mman.h: Fix typo in mremap comment.
26812
26813 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26814
26815         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26816         the '\0' terminator.
26817
26818 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26819
26820         [BZ #13550]
26821         * debug/segfault.c: Don't include <bp-checks.h>.
26822         * sysdeps/generic/bp-checks.h: Remove file.
26823         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26824         (__GETDENTS): Don't use CHECK_N.
26825         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26826         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26827         (__getgroups): Don't use CHECK_N.
26828         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26829         (setgroups): Don't use CHECK_N.
26830         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26831         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26832         (__libc_msgrcv): Don't use CHECK_N.
26833         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26834         (__libc_msgsnd): Don't use CHECK_N.
26835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26836         <bp-checks.h>.
26837         (__libc_pread): Don't use CHECK_N.
26838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26839         include <bp-checks.h>.
26840         (__libc_pread64): Don't use CHECK_N.
26841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26842         include <bp-checks.h>.
26843         (__libc_pwrite): Don't use CHECK_N.
26844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26845         include <bp-checks.h>.
26846         (__libc_pwrite64): Don't use CHECK_N.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26848         <bp-checks.h>.
26849         (__libc_pread): Don't use CHECK_N.
26850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26851         include <bp-checks.h>.
26852         (__libc_pread64): Don't use CHECK_N.
26853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26854         include <bp-checks.h>.
26855         (__libc_pwrite): Don't use CHECK_N.
26856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26857         include <bp-checks.h>.
26858         (__libc_pwrite64): Don't use CHECK_N.
26859         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26860         (do_pread): Don't use CHECK_N.
26861         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26862         (do_pread64): Don't use CHECK_N.
26863         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26864         (do_pwrite): Don't use CHECK_N.
26865         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26866         (do_pwrite64): Don't use CHECK_N.
26867         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26868         (__libc_readv): Don't use CHECK_N.
26869         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26870         (semop): Don't use CHECK_N.
26871         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26872         <bp-checks.h>.
26873         (semtimedop): Don't use CHECK_N.
26874         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26875         (__libc_pread): Don't use CHECK_N.
26876         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26877         <bp-checks.h>.
26878         (__libc_pread64): Don't use CHECK_N.
26879         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26880         <bp-checks.h>.
26881         (__libc_pwrite): Don't use CHECK_N.
26882         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26883         <bp-checks.h>.
26884         (__libc_pwrite64): Don't use CHECK_N.
26885         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26886         <bp-checks.h>.
26887         (__libc_msgrcv): Don't use CHECK_N.
26888         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26889         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26890         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26891         (__libc_writev): Don't use CHECK_N.
26892
26893 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26894
26895         * string/strcpy.c: Removed unused variable.
26896
26897         * Makeconfig (+sysdep-includes): Define with := rather than =.
26898         Use an existing include/ subdir of each sysdeps dir before it.
26899
26900 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26901
26902         * nscd/connection.c (register_traced_file): Comment function.
26903         [HAVE_INOTIFY] (union __inev): Define.
26904         [HAVE_INOTIFY] (inotify_check_files): New function.
26905         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26906         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26907         clear_db_cache.
26908         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26909
26910 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26911
26912         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26913         loaded if not already and that a failure is permanent.
26914
26915 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26916
26917         [BZ #15006]
26918         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26919         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26920
26921 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26922
26923         [BZ #13550]
26924         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26925         (CHECK_1_NULL_OK): Likewise.
26926         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26927         (__fxstat): Do not use CHECK_1.
26928         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26929         <bp-checks.h>.
26930         (___fxstat64): Do not use CHECK_1.
26931         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26932         <bp-checks.h>.
26933         (__fxstatat): Do not use CHECK_1.
26934         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26935         <bp-checks.h>.
26936         (__fxstatat64): Do not use CHECK_1.
26937         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26938         <bp-checks.h>.
26939         (__fxstat): Do not use CHECK_1.
26940         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26941         <bp-checks.h>.
26942         (__fxstatat): Do not use CHECK_1.
26943         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26944         <bp-checks.h>.
26945         (__getresgid): Do not use CHECK_1.
26946         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26947         <bp-checks.h>.
26948         (__getresuid): Do not use CHECK_1.
26949         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26950         <bp-checks.h>.
26951         (__lxstat): Do not use CHECK_1.
26952         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26953         <bp-checks.h>.
26954         (__old_msgctl): Do not use CHECK_1.
26955         (__new_msgctl): Likewise.
26956         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26957         <bp-checks.h>.
26958         (__new_setrlimit): Do not use CHECK_1.
26959         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26960         <bp-checks.h>.
26961         (__old_shmctl): Do not use CHECK_1.
26962         (__new_shmctl): Likewise.
26963         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26964         <bp-checks.h>.
26965         (__xstat): Do not use CHECK_1.
26966         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26967         (__lxstat): Do not use CHECK_1.
26968         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26969         <bp-checks.h>.
26970         (___lxstat64): Do not use CHECK_1.
26971         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26972         (__old_msgctl): Do not use CHECK_1.
26973         (__new_msgctl): Likewise.
26974         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26975         <bp-checks.h>.
26976         (__gettimeofday): Do not use CHECK_1.
26977         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26978         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26979         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26980         <bp-checks.h>.
26981         (__gettimeofday): Do not use CHECK_1.
26982         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26983         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26984         (__new_shmctl): Do not use CHECK_1.
26985         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26986         <bp-checks.h>.
26987         (do_sigtimedwait): Do not use CHECK_1.
26988         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26989         <bp-checks.h>.
26990         (do_sigwaitinfo): Do not use CHECK_1.
26991         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26992         <bp-checks.h>.
26993         (msgctl): Do not use CHECK_1.
26994         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26995         <bp-checks.h>.
26996         (shmctl): Do not use CHECK_1.
26997         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26998         (ustat): Do not use CHECK_1.
26999         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27000         <bp-checks.h>.
27001         (__fxstat): Do not use CHECK_1.
27002         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27003         <bp-checks.h>.
27004         (__fxstatat): Do not use CHECK_1.
27005         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27006         <bp-checks.h>.
27007         (__lxstat): Do not use CHECK_1.
27008         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27009         <bp-checks.h>.
27010         (__xstat): Do not use CHECK_1.
27011         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27012         (__xstat): Do not use CHECK_1.
27013         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27014         (___xstat64): Do not use CHECK_1.
27015
27016         [BZ #13550]
27017         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27018         definitions.
27019         (CHECK_BOUNDS_HIGH): Likewise.
27020         * string/strcpy.c: Do not include <bp-checks.h>.
27021         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27022
27023 2013-02-07  Roland McGrath  <roland@hack.frob.com>
27024
27025         * nscd/nscd-client.h (__nscd_drop_map_ref):
27026         Add __attribute__ ((unused)).
27027         * nis/nss-nisplus.h (niserr2nss): Likewise.
27028
27029         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27030         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27031
27032         * csu/libc-tls.c (init_static_tls, init_slotinfo):
27033         Remove inline keyword.
27034         * include/rounding-mode.h (round_away): Likewise.
27035         * libio/wfileops.c (adjust_wide_data): Likewise.
27036         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27037         (__m128i_strloadu_tolower): Likewise.
27038         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27039         (__m128i_strloadu_tolower): Likewise.
27040         * time/mktime.c (ydhms_diff): Likewise.
27041         * locale/elem-hash.h (elem_hash): Likewise.
27042         * locale/setlocale.c (setdata): Likewise.
27043         * posix/regex_internal.h (re_string_char_size_at): Likewise.
27044         (re_string_wchar_at): Likewise.
27045         (bitset_not, bitset_merge, bitset_mask): Likewise.
27046         [!(__GNUC__ > 3)] (inline): Remove macro.
27047         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27048         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27049         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27050         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27051         * string/memcmp.c (memcmp_bytes): Likewise.
27052         * locale/programs/locarchive.c (compute_hashval): Likewise.
27053         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27054         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27055         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27056         * nss/getent.c (print_rpc, print_protocols): Likewise.
27057         (print_passwd, print_group, print_aliases): Likewise.
27058         * nis/nss-nisplus.h (niserr2nss): Likewise.
27059         * nscd/connections.c (restart_p): Likewise.
27060         Change return type to bool.
27061
27062 2013-02-05  Roland McGrath  <roland@hack.frob.com>
27063
27064         * Makeconfig (all-Depend-files): Add existing
27065         $(sorted-subdirs:=/Depend) files.
27066         (all-subdirs): Remove nss.
27067         * sysdeps/unix/inet/Subdirs: Add it here instead.
27068         * hesiod/Depend: New file.
27069
27070         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27071         instead of calling alloca.
27072
27073         * io/lseek.c (__lseek): Rename to __libc_lseek.
27074         Define __lseek as an alias.
27075
27076         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27077
27078 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
27079
27080         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27081         else clause and remove check for non-standard endianness.
27082
27083 2013-02-04  David S. Miller  <davem@davemloft.net>
27084
27085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27086
27087 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
27088
27089         [BZ #13550]
27090         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27091         (__ubp_memchr): Remove prototype.
27092         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27093         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27094         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27095         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27096         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27097         Remove alias.
27098         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27099         (__ubp_memchr): Likewise.
27100         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27101         (__ubp_memchr): Likewise.
27102         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27103         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27104         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27105         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27106         CHECK_STRING.
27107         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27108         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27109         (__getcwd): Do not use CHECK_STRING.
27110         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27111         <bp-checks.h>.
27112         (__real_chown): Do not use CHECK_STRING.
27113         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27114         <bp-checks.h>.
27115         (fchownat): Do not use CHECK_STRING.
27116         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27117         CHECK_STRING.
27118         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27119         <bp-checks.h>.
27120         (__lchown): Do not use CHECK_STRING.
27121         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27122         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27123         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27124         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27126         include <bp-checks.h>.
27127         (truncate64): Do not use CHECK_STRING.
27128         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27129         <bp-checks.h>.
27130         (__real_chown): Do not use CHECK_STRING.
27131         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27132         <bp-checks.h>.
27133         (__lchown): Do not use CHECK_STRING.
27134         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27135         <bp-checks.h>.
27136         (__chown): Do not use CHECK_STRING.
27137         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27138         <bp-checks.h>.
27139         (truncate64): Do not use CHECK_STRING.
27140         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27141         Likewise.
27142         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27143         (__xmknod): Do not use CHECK_STRING.
27144         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27145         <bp-checks.h>.
27146         (__xmknodat): Do not use CHECK_STRING.
27147         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27148         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27149
27150 2013-02-04  Andreas Schwab  <schwab@suse.de>
27151
27152         [BZ #14142]
27153         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27154         * include/netdb.h: Likewise for h_errno.
27155         * elf/tst-stackguard1.c: Include <tls.h>.
27156
27157 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
27158
27159         * elf/link.h (struct link_map): Extend the l_addr comment.
27160         * include/link.h (struct link_map): Likewise.
27161
27162 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
27163
27164         [BZ #13550]
27165         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27166         (BOUNDED_1): Remove macro.
27167         * debug/backtrace.c: Don't include <bp-checks.h>.
27168         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27169         (__backtrace): Likewise.
27170         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27171         <bp-checks.h>.
27172         (__backtrace): Don't use BOUNDED_1.
27173         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27174         <bp-checks.h>.
27175         (__backtrace): Don't use BOUNDED_1.
27176         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27177         (__backtrace): Don't use BOUNDED_1.
27178         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27179         (shmat): Don't use BOUNDED_N.
27180
27181 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
27182
27183         [BZ #13550]
27184         * sysdeps/generic/bp-start.h: Remove file.
27185         * csu/libc-start.c: Don't include <bp-start.h>.
27186         (LIBC_START_MAIN): Set up __environ directly instead of using
27187         INIT_ARGV_and_ENVIRON.
27188         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27189         <bp-start.h>.
27190
27191         [BZ #13550]
27192         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27193         definitions.
27194         (CHECK_FCNTL): Likewise.
27195         (CHECK_N_PAGES): Likewise.
27196
27197         [BZ #13550]
27198         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27199         definitions.
27200         (CHECK_SIGSET_NULL_OK): Likewise.
27201         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27202         <bp-checks.h>.
27203         (sigpending): Don't use CHECK_SIGSET.
27204         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27205         <bp-checks.h>.
27206         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27207         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27208         <bp-checks.h>.
27209         (do_sigsuspend): Don't use CHECK_SIGSET.
27210         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27211         use CHECK_SIGSET.
27212         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27213         (do_sigwait): Don't use CHECK_SIGSET.
27214         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27215         use CHECK_SIGSET.
27216         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27217         include <bp-checks.h>.
27218         (sigpending): Don't use CHECK_SIGSET.
27219         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27220         include <bp-checks.h>.
27221         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27222         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27223         <bp-checks.h>.
27224         (sigpending): Don't use CHECK_SIGSET.
27225         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27226         <bp-checks.h>.
27227         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27228
27229         [BZ #13550]
27230         * sysdeps/generic/bp-semctl.h: Remove file.
27231         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27232         <bp-checks.h> and <bp-semctl.h>.
27233         (__old_semctl): Don't use CHECK_SEMCTL.
27234         (__new_semctl): Likewise.
27235         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27236         and <bp-semctl.h>.
27237         (__old_semctl): Don't use CHECK_SEMCTL.
27238         (__new_semctl): Likewise.
27239         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27240         <bp-checks.h> and <bp-semctl.h>.
27241         (__old_semctl): Don't use CHECK_SEMCTL.
27242         (__new_semctl): Likewise.
27243         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27244         <bp-checks.h> and <bp-semctl.h>.
27245         (semctl): Don't use CHECK_SEMCTL.
27246
27247         [BZ #13550]
27248         * Makerules (elide-bp-thunks): Remove variable.
27249         (elide-routines.oS): Don't use $(elide-bp-thunks).
27250         (elide-routines.os): Likewise.
27251         (elide-routines.o): Likewise.
27252         (elide-routines.op): Likewise.
27253         (elide-routines.og): Likewise.
27254         (objects): Don't use $(bp-thunks).
27255         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27256         include.
27257         (common-generated): Do not add s-proto-bp.d.
27258         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27259         (int): Likewise.
27260         (typ): Likewise.
27261         Do not generate makefile rules for bounded-pointer thunks.
27262         * sysdeps/generic/bp-thunks.h: Remove file.
27263         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27264         * sysdeps/unix/s-proto-bp.S: Likewise.
27265
27266         [BZ #15062]
27267         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27268         parts of result separately when argument is not close to line from
27269         -i to i and one part of argument is small.
27270         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27271         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27272         * math/libm-test.inc (cacos_test): Add more tests.
27273         (casin_test): Likewise.
27274         (casinh_test): Likewise.
27275         * sysdeps/i386/fpu/libm-test-ulps: Update.
27276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27277
27278 2013-01-31  David S. Miller  <davem@davemloft.net>
27279
27280         * po/de.po: Update from translation team.
27281
27282 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
27283
27284         * time/tzfile.c: Include stdint.h for SIZE_MAX.
27285
27286 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
27287
27288         * configure.in (_AC_PROG_CC_C89): New definition.
27289         * configure: Regenerate.
27290
27291         * configure.in (AC_PROG_CPP): New definition.
27292         * configure: Regenerate.
27293
27294 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27295
27296         * debug/tst-backtrace.h: New file.
27297         * debug/tst-backtrace2.c: Include tst-backtrace.h.
27298         (ret): Remove variable.
27299         (x): Likewise.
27300         (FAIL): Remove macro.
27301         (NO_INLINE): Likewise.
27302         (fn1): Use match function instead of strstr.
27303         * debug/tst-backtrace3.c: Include tst-backtrace.h.
27304         (ret): Remove variable.
27305         (x): Likewise.
27306         (FAIL): Remove macro.
27307         (NO_INLINE): Likewise.
27308         (fn): Use match function instead of strstr.
27309         * debug/tst-backtrace4.c: Include tst-backtrace.h.
27310         (ret): Remove variable.
27311         (x): Likewise.
27312         (FAIL): Remove macro.
27313         (NO_INLINE): Likewise.
27314         (handle_signal): Use match function instead of strstr.
27315         * debug/tst-backtrace5.c: Include tst-backtrace.h.
27316         (ret): Remove variable.
27317         (x): Likewise.
27318         (FAIL): Remove macro.
27319         (NO_INLINE): Likewise.
27320         (handle_signal): Use match function instead of strstr.
27321
27322 2013-01-23  Roland McGrath  <roland@hack.frob.com>
27323
27324         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27325
27326 2013-01-23  David S. Miller  <davem@davemloft.net>
27327
27328         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27329         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27330         argument of CAS if possible.
27331         * sysdeps/sparc/sparc64/bits/atomic.h
27332         (__arch_compare_and_exchange_val_32_acq): Likewise.
27333         (__arch_compare_and_exchange_val_64_acq): Likewise.
27334
27335 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
27336
27337         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27338         * sysdeps/posix/ulimit.c: ... this.
27339         Include <limits.h>.
27340         * sysdeps/unix/bsd/ulimit.c: Remove file.
27341
27342 2013-01-23  Adam Conrad  <adconrad@0c3.net>
27343
27344         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27345         (LDFLAGS-tst-array5): Likewise.
27346
27347 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
27348
27349         [BZ #15036]
27350         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27351         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27352         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27353         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27354
27355 2013-01-21  David S. Miller  <davem@davemloft.net>
27356
27357         * sysdeps/sparc/backtrace.c: New file.
27358         * sysdeps/sparc/sparc32/backtrace.h: New file.
27359         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27360         * sysdeps/sparc/sparc64/backtrace.h: New file.
27361         * sysdeps/sparc/sparc64/backtrace.c: Delete.
27362         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27363         -funwind-tables.
27364
27365 2013-01-21  Andreas Schwab  <schwab@suse.de>
27366
27367         [BZ #15020]
27368         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27369         closed its stdout.
27370
27371 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
27372
27373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27374         "mpa2.h".
27375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27376
27377 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
27378             Mark Mitchell  <mark@codesourcery.com>
27379             Tom de Vries  <tom@codesourcery.com>
27380             Paul Pluzhnikov  <ppluzhnikov@google.com>
27381
27382         * debug/tst-backtrace2.c: New file.
27383         * debug/tst-backtrace3.c: Likewise.
27384         * debug/tst-backtrace4.c: Likewise.
27385         * debug/tst-backtrace5.c: Likewise.
27386         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27387         (CFLAGS-tst-backtrace3.c): Likewise.
27388         (CFLAGS-tst-backtrace4.c): Likewise.
27389         (CFLAGS-tst-backtrace5.c): Likewise.
27390         (LDFLAGS-tst-backtrace2): Likewise.
27391         (LDFLAGS-tst-backtrace3): Likewise.
27392         (LDFLAGS-tst-backtrace4): Likewise.
27393         (LDFLAGS-tst-backtrace5): Likewise.
27394         (tests): Add new tests tst-backtrace2, tst-backtrace3,
27395         tst-backtrace4 and tst-backtrace5.
27396
27397 2013-01-18  Anton Blanchard  <anton@samba.org>
27398             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27399
27400         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27401         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27402         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27403         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27405         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27406         "+r" and remove output regs list as redundant.  Add explicit inline
27407         asm to specify register of return val to work around compiler codegen
27408         bug.  Remove (int) cast on return value.  Add return type parameter to
27409         use in macro so that this macro does not truncate return value for
27410         64-bit values.
27411         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27412         pass to INTERNAL_VSYSCALL_NCS.
27413         (INLINE_VSYSCALL): Add 'long int' as return type to
27414         INTERNAL_VSYSCALL_NCS macro invocation.
27415         (INTERNAL_VSYSCALL): Add 'long int' as return type to
27416         INTERNAL_VSYSCALL_NCS macro invocation.
27417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27418
27419 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420
27421         [BZ #14496]
27422         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27423         Fix application of SIMD FP exception mask.
27424
27425         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27426         mp_no from a power of two.
27427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27428         __mpexp_twomm1.  Use __pow_mp.
27429
27430         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27431         multiplication.
27432
27433 2013-01-17  David S. Miller  <davem@davemloft.net>
27434
27435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27436
27437 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27438
27439         [BZ #15023]
27440         * include/complex.h: Condition contents on [!_COMPLEX_H].
27441         (__kernel_casinhf): New prototype.
27442         (__kernel_casinh): Likewise.
27443         (__kernel_casinhl): Likewise.
27444         * math/Makefile (libm_calls): Add k_casinh.
27445         * math/k_casinh.c: New file.
27446         * math/k_casinhf.c: Likewise.
27447         * math/k_casinhl.c: Likewise.
27448         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27449         finite nonzero arguments.
27450         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27451         finite nonzero arguments.
27452         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27453         finite nonzero arguments.
27454         * math/s_casinh.c: Do not include <float.h>.
27455         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27456         * math/s_casinhf.c: Do not include <float.h>.
27457         (__casinhf): Move code for finite nonzero arguments to
27458         k_casinhf.c.
27459         * math/s_casinhl.c: Do not include <float.h>.
27460         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27461         redefine.
27462         (__casinhl): Move code for finite nonzero arguments to
27463         k_casinhl.c.
27464         * math/libm-test.inc (cacos_test): Add more tests.
27465         * sysdeps/i386/fpu/libm-test-ulps: Update.
27466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27467
27468 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
27469
27470         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27471         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27472         [!HAVE_MREMAP]: Remove [defined linux] case.
27473         * malloc/arena.c: Do not include <malloc-sysdep.h>.
27474
27475 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27476
27477         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27478
27479 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
27480
27481         * elf/elf.h (R_386_SIZE32): New relocation.
27482         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27483         R_386_SIZE32.
27484         (elf_machine_rela): Likewise.
27485         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27486         R_X86_64_SIZE64 and R_X86_64_SIZE32.
27487
27488 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
27489
27490         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27491         (FP_FAST_FMA): Do not define.
27492         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27493         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27494         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27495         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27496         !_SOFT_FLOAT]: Likewise.
27497         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27498         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27499         value.
27500         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27501         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27503         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27504         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27505         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27506         file.
27507
27508 2013-01-16  Andreas Schwab  <schwab@suse.de>
27509
27510         [BZ #14327]
27511         * include/stdlib.h (__mktemp): Add declaration.
27512         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27513         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27514
27515 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27516
27517         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27518         definitions.
27519         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27520         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27521         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27522         definitions here.
27523         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27524         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27525         definitions.
27526         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27527         and ONE.
27528         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27529         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27530         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27531         definitions.
27532         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27533         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27534         definitions.
27535         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27536
27537         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27538
27539 2013-01-15  David S. Miller  <davem@davemloft.net>
27540
27541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27542         trunc{,f} to libm-sysdep_routes.
27543         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27545         file.
27546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27548         file.
27549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27550         file.
27551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27553         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27554         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27555         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27556         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27557         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27558         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27559
27560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27561         nearbyint{,f} to libm-sysdep_routes.
27562         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27564         New file.
27565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27566         file.
27567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27568         New file.
27569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27570         file.
27571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27573         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27574         file.
27575         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27576         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27577         file.
27578         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27579         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27580         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27581
27582         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27583         libc_feholdexcept and libc_fesetenv.
27584
27585 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
27586
27587         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27588
27589 2013-01-14  David S. Miller  <davem@davemloft.net>
27590
27591         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27592         (SPARC_ASM_VIS2_IFUNC): Likewise.
27593         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27595         use of 'siam' instruction.
27596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27597         Likewise.
27598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27599         Likewise.
27600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27601         Likewise.
27602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27604         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27607         file.
27608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27609         file.
27610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27611         file.
27612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27613         file.
27614         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27615         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27619         new VIS2 routines.
27620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27623         Likewise.
27624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27629         routines to libm-sysdep_routines.
27630         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27631
27632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27633         fdim/fdimf to libm-sysdep_routines.
27634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27635         file.
27636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27638         file.
27639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27642         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27643         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27644         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27645         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27646
27647 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27648
27649         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27650         to optimize copies.
27651
27652         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27655
27656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27657         local variable MPTWO.
27658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27659         Likewise.
27660
27661 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27662
27663         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27664         GLOB_NOESCAPE.
27665
27666 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27667
27668         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27669
27670 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
27671
27672         * manual/pattern.texi (glob_t): Document gl_flags.
27673         (glob64_t): Likewise.
27674
27675 2013-01-11  David S. Miller  <davem@davemloft.net>
27676
27677         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27678         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27679         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
27680         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27681         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27682         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27683         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27684         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27685         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27686         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27687         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27688         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27689         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27690
27691         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27692         sparc V9 rather than using V8 code.
27693         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27694         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27695
27696         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27697         Move to...
27698         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27699         Here.
27700
27701 2013-01-11  Roland McGrath  <roland@hack.frob.com>
27702
27703         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27704         not in the main loop.
27705         * configure: Regenerated.
27706
27707 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
27708
27709         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27710         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27711         to just #else.
27712         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
27713         [!__GLIBC_HAVE_LONG_LONG] case.
27714         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27715         condition to just #else.
27716         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27717         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27718         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27719         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27720         unconditional.
27721         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27722         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27723         #elif condition to just #else.
27724         * sysdeps/unix/sysv/linux/sys/sysmacros.h
27725         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27726         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27727         #elif condition to just #else.
27728
27729 2013-01-11  Steve Ellcey  <sellcey@mips.com>
27730
27731         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27732         (EF_MIPS_ARCH_64): Fix value.
27733         (EF_MIPS_ARCH_32R2): New.
27734         (EF_MIPS_ARCH_64R2): New.
27735
27736 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
27737
27738         * Makeconfig (+link-pie-before-libc): New.
27739         (+link-pie-after-libc): Likewise.
27740         (+link-pie-tests): Likewise.
27741         (+link-pie): Rewritten.
27742         (link-before-libc): Remove $(config-LDFLAGS).
27743         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27744         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27745         (config-LDFLAGS): Renamed to ...
27746         (rtld-LDFLAGS): This.
27747         (rtld-tests-LDFLAGS): New macro.
27748         (link-libc-rpath-link): Likewise.
27749         (link-libc-tests-rpath-link): Likewise.
27750         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27751         (link-libc): Prepand $(link-libc-rpath-link).
27752         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27753         (test-program-prefix): New macro.
27754         (test-via-rtld-prefix): Likewise.
27755         (test-program-cmd): Likewise.
27756         (host-test-program-cmd): Likewise.
27757         * Makefile ($(common-objpfx)testrun.sh): Replace
27758         $(run-program-prefix) with $(test-program-prefix).
27759         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27760         $(rtld-LDFLAGS).
27761         ($(common-objpfx)shlib.lds): Likewise.
27762         (build-module-helper): Likewise.
27763         ($(common-objpfx)format.lds): Likewise.
27764         * Rules (binaries-pie-tests): New.
27765         (binaries-pie-notests): Likewise.
27766         (binaries-pie): Rewritten.
27767         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27768         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27769         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27770         (make-test-out): Replace $(host-built-program-cmd) with
27771         $(host-test-program-cmd).
27772         * config.make.in (build-hardcoded-path-in-tests): New variable.
27773         * configure.in (--enable-hardcoded-path-in-tests): New configure
27774         option.
27775         (hardcoded_path_in_tests): New AC_SUBST.
27776         * configure: Regenerated.
27777         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27778         $(built-program-cmd) with $(test-program-cmd).
27779         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27780         (test_program_cmd): This.
27781         * elf/Makefile ($(objpfx)order.out): Run test with
27782         $(test-program-prefix).
27783         ($(objpfx)order2.out): Likewise.
27784         ($(objpfx)tst-initorder.out): Likewise.
27785         ($(objpfx)tst-initorder2.out): Likewise.
27786         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27787         $(test-program-cmd).
27788         ($(objpfx)tst-array1-static.out): Likewise.
27789         ($(objpfx)tst-array2.out): Likewise.
27790         ($(objpfx)tst-array3.out): Likewise.
27791         ($(objpfx)tst-array4.out): Likewise.
27792         ($(objpfx)tst-array5.out): Likewise.
27793         ($(objpfx)tst-array5-static.out): Likewise.
27794         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27795         $(test-program-cmd).
27796         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27797         $(run-program-prefix) with $(test-program-prefix).
27798         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27799         (test_program_prefix): This.
27800         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27801         $(run-program-prefix) with $(test-program-prefix).
27802         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27803         (test_program_prefix): This.
27804         * iconvdata/tst-tables.sh: Likewise.
27805         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27806         $(run-program-prefix) with $(test-program-prefix).
27807         ($(objpfx)tst-translit.out): Likewise.
27808         ($(objpfx)tst-gettext2.out): Likewise.
27809         ($(objpfx)tst-gettext4.out): Likewise.
27810         ($(objpfx)tst-gettext6.out): Likewise.
27811         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27812         (test_program_prefix): This.
27813         * intl/tst-gettext2.sh: Likewise.
27814         * intl/tst-gettext4.sh  Likewise.
27815         * intl/tst-gettext6.sh: Likewise.
27816         * intl/tst-translit.sh: Likewise.
27817         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27818         with $(test-program-cmd).
27819         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27820         $(run-program-prefix) with $(test-program-prefix).
27821         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27822         (test_program_prefix): This.
27823         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27824         $(run-program-prefix) with $(test-program-prefix).
27825         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27826         (test_program_prefix): This.
27827         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27828         * posix/Makefile ($(objpfx)globtest.out): Replace
27829         $(run-via-rtld-prefix) and $(test-wrapper) with
27830         $(test-program-prefix) and $(test-via-rtld-prefix).
27831         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27832         $(test-program-prefix).
27833         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27834         $(host-test-program-cmd).
27835         (tst-spawn-ARGS): Likewise.
27836         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27837         $(test-program-prefix).
27838         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27839         (test_via_rtld_prefix): This.
27840         (test_wrapper): Renamed to ...
27841         (test_program_prefix): This.
27842         (run_program_prefix): Replaced by test_program_prefix.
27843         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27844         (test_program_prefix): This.
27845         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27846         with $(host-test-program-cmd).
27847         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27848         $(run-program-prefix) with $(test-program-prefix).
27849         ($(objpfx)tst-printf.out): Likewise.
27850         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27851         $(test-program-cmd).
27852         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27853         (test_program_prefix): This.
27854         * stdio-common/tst-unbputc.sh: Likewise.
27855         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27856         $(run-program-prefix) with $(test-program-prefix).
27857         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27858         (test_program_prefix): This.
27859         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27860         $(built-program-cmd) with $(test-program-cmd).
27861
27862 2013-01-11  Andreas Jaeger  <aj@suse.de>
27863
27864         [BZ #15003]
27865         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27866         value. Sync with Linux 3.7.
27867
27868 2013-01-10  David S. Miller  <davem@davemloft.net>
27869
27870         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27871         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27872         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27873
27874 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27875
27876         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27877         never set.
27878         * configure: Regenerated.
27879
27880 2013-01-10  David S. Miller  <davem@davemloft.net>
27881
27882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27883         sparc V9 rather than using V8 code.
27884         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27885         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27886
27887 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27888
27889         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27890         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27891         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27892         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27893         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27894         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27895         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27896         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27897         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27898         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27899         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27900         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27901         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27902         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27903         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27904         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27905         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27906         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27907         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27908         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27909         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27910         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27911         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27912         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27913         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27914         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27915         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27916
27917 2013-01-10  David S. Miller  <davem@davemloft.net>
27918
27919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27920
27921 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27922
27923         * posix/Makefile (tests-static): New variable.
27924         (tests): Add $(tests-static).
27925         (tst-exec-static-ARGS): New variable.
27926         (tst-spawn-static-ARGS): Likewise.
27927         * posix/tst-exec-static.c: New file.
27928         * posix/tst-spawn-static.c: Likewise.
27929         * posix/tst-exec.c: Support run directly.
27930         * posix/tst-spawn.c: Likewise.
27931
27932 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27933
27934         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27935         long.
27936         * math/bits/mathcalls.h (llrint): Likewise.
27937         (llround): Likewise.
27938         * stdlib/stdlib.h (struct drand48_data): Likewise.
27939         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27940         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27941         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27942         Likewise.
27943         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27944         Likewise.
27945         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27946         (elf_greg_t): Likewise.
27947         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27948         (__jmp_buf): Likewise.
27949         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27950         definitions.
27951         (llrint): Likewise, for all definitions.
27952         (llrintl): Likewise.
27953
27954         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27955         Remove [__GNUC__] condition.
27956         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27957         condition to just [__USE_ISOC99].
27958         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27959
27960 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27961
27962         [BZ #14200]
27963         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27964         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27965         defined.
27966         (_POSIX_V6_ILP32_OFF32): Likewise.
27967         (_XBS5_ILP32_OFF32): Likewise.
27968         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27969         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27970
27971 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27972
27973         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27974
27975         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27976         doubles __mpexp_twomm1.  Adjust usage.
27977         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27978         Remove.
27979
27980 2013-01-10  Andreas Schwab  <schwab@suse.de>
27981
27982         [BZ #14964]
27983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27984         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27985
27986 2013-01-09  David S. Miller  <davem@davemloft.net>
27987
27988         [BZ #15003]
27989         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27990         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27991         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27992         (TCP_FASTOPEN): Define.
27993         (tcp_repair_opt): New structure.
27994         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27995         enum values.
27996         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27997         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27998         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27999         (tcp_cookie_transactions): New structure.
28000
28001 2013-01-09  Anton Blanchard  <anton@samba.org>
28002
28003         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28004         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28005         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28006         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28007
28008 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
28009
28010         * include/features.h (__USE_ANSI): Remove.
28011
28012 2013-01-09  Roland McGrath  <roland@hack.frob.com>
28013
28014         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28015
28016         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28017
28018 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
28019
28020         * sysdeps/s390/fpu/libm-test-ulps: Update.
28021
28022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28023
28024         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28025         (__acr): Likewise.
28026         (__cpy): Likewise.
28027         (norm): Likewise.
28028         (denorm): Likewise.
28029         (__mp_dbl): Likewise.
28030         (__dbl_mp): Likewise.
28031         (add_magnitudes): Likewise.
28032         (sub_magnitudes): Likewise.
28033         (__add): Likewise.
28034         (__sub): Likewise.
28035         (__mul): Likewise.
28036         (__inv): Likewise.
28037         (__dvd): Likewise.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28039         (__acr): Likewise.
28040         (__cpy): Likewise.
28041         (norm): Likewise.
28042         (denorm): Likewise.
28043         (__mp_dbl): Likewise.
28044         (__dbl_mp): Likewise.
28045         (add_magnitudes): Likewise.
28046         (sub_magnitudes): Likewise.
28047         (__add): Likewise.
28048         (__sub): Likewise.
28049         (__mul): Likewise.
28050         (__inv): Likewise.
28051         (__dvd): Likewise.
28052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28053         (__acr): Likewise.
28054         (__cpy): Likewise.
28055         (norm): Likewise.
28056         (denorm): Likewise.
28057         (__mp_dbl): Likewise.
28058         (__dbl_mp): Likewise.
28059         (add_magnitudes): Likewise.
28060         (sub_magnitudes): Likewise.
28061         (__add): Likewise.
28062         (__sub): Likewise.
28063         (__mul): Likewise.
28064         (__inv): Likewise.
28065         (__dvd): Likewise.
28066
28067 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
28068
28069         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28070         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28071         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28072         2 && __USE_EXTERN_INLINES]: Likewise.
28073
28074 2013-01-08  Andreas Jaeger  <aj@suse.de>
28075
28076         [BZ# 14985]
28077         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28078         Remove.
28079         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28080         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28081
28082 2013-01-07  Anton Blanchard  <anton@samba.org>
28083
28084         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28085         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28086         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28087         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28088         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28089         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28090         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28091         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28093         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28094         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28095         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28098         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28099         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28100         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28101         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28102         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28103         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28104         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28105         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28107         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28108         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28109         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28110         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28111         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28113         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28114         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28116         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28117         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28118         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28119         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28120         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28123         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28124         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28125         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28126         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28127
28128 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
28129
28130         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28131         (__MALLOC_PMT): Likewise.
28132         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28133         [__GNUC__], only on [_LIBC].
28134         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28135         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28136         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28137         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28138         forward declaration.
28139         (realloc_hook_ini): Likewise.
28140         (memalign_hook_ini): Likewise.
28141         (__libc_memalign): Do not use __MALLOC_PMT in variable
28142         declaration.
28143         (__libc_valloc): Likewise.
28144         (__libc_pvalloc): Likewise.
28145         (__libc_calloc): Likewise.
28146         (__posix_memalign): Likewise.
28147
28148         [BZ #14996]
28149         * math/s_casinh.c: Include <float.h>.
28150         (__casinh): Do not do computation with squaring and square root
28151         for large arguments.
28152         * math/s_casinhf.c: Include <float.h>.
28153         (__casinhf): Do not do computation with squaring and square root
28154         for large arguments.
28155         * math/s_casinhl.c: Include <float.h>.
28156         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28157         (__casinhl): Do not do computation with squaring and square root
28158         for large arguments.
28159         * math/libm-test.inc (casin_test): Add more tests.
28160         (casinh_test): Likewise.
28161         * sysdeps/i386/fpu/libm-test-ulps: Update.
28162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28163
28164 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
28165
28166         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28167         (__x86_64_raw_data_cache_size): Likewise.
28168         (__x86_64_data_cache_size_half): Likewise.
28169         (__x86_64_raw_data_cache_size_half): Likewise.
28170         (__x86_64_shared_cache_size): Likewise.
28171         (__x86_64_raw_shared_cache_size): Likewise.
28172         (__x86_64_shared_cache_size_half): Likewise.
28173         (__x86_64_raw_shared_cache_size_half): Likewise.
28174         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28175         to ...
28176         (__x86_data_cache_size): This.
28177         (__x86_64_raw_data_cache_size): Renamed to ...
28178         (__x86_raw_data_cache_size): This.
28179         (__x86_64_data_cache_size_half): Renamed to ...
28180         (__x86_data_cache_size_half): This.
28181         (__x86_64_raw_data_cache_size_half): Renamed to ...
28182         (__x86_raw_data_cache_size_half): This.
28183         (__x86_64_shared_cache_size): Renamed to ...
28184         (__x86_shared_cache_size): This.
28185         (__x86_64_raw_shared_cache_size): Renamed to ...
28186         (__x86_raw_shared_cache_size): This.
28187         (__x86_64_shared_cache_size_half): Renamed to ...
28188         (__x86_shared_cache_size_half): This.
28189         (__x86_64_raw_shared_cache_size_half): Renamed to ...
28190         (__x86_raw_shared_cache_size_half): This.
28191         * sysdeps/x86_64/memcpy.S: Updated.
28192         * sysdeps/x86_64/memset.S: Likewise.
28193         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28196
28197 2013-01-04  David S. Miller  <davem@davemloft.net>
28198
28199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28200
28201 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
28202
28203         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28204         1 to avoid redefinition warning.
28205         (__USE_GNU): Don't define.
28206         (init_signaling_nan): Protoize.
28207
28208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28209
28210 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28211
28212         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28214         (__cpymn): Likewise.
28215         (norm): Remove commented code.
28216         (denorm): Likewise.
28217         (__mp_dbl): Likewise.
28218         (__inv): Likewise.
28219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28220         (__cpymn): Likewise.
28221         (norm): Remove commented code.
28222         (denorm): Likewise.
28223         (__mp_dbl): Likewise.
28224         (__inv): Likewise.
28225
28226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28227         mp_no value for 1.0 and 2.0.
28228         (norm): Use RADIXI instead of radixi.d.
28229         (denorm): Likewise.
28230         (__mul): Use 0.0 instead of zero.d.
28231         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28232         mp_no value for 1.0 and 2.0.
28233         (norm): Use RADIXI instead of radixi.d.
28234         (denorm): Likewise.
28235         (__mul): Use 0.0 instead of zero.d.
28236
28237 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
28238
28239         [BZ #14994]
28240         * math/s_casinh.c (__casinh): Reduce finite argument to first
28241         quadrant then set signs of results at the end.
28242         * math/s_casinhf.c (__casinhf): Likewise.
28243         * math/s_casinhl.c (__casinhl): Likewise.
28244         * math/libm-test.inc (casin_test): Add more tests.
28245         (casinh_test): Likewise.
28246         * sysdeps/i386/fpu/libm-test-ulps: Update.
28247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28248
28249 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250
28251         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28252
28253         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28254
28255         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28256         declarations.
28257         (denorm): Likewise.
28258         (__mp_dbl): Likewise.
28259         (__inv): Likewise.
28260
28261         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28262         and adjust the header comment.
28263
28264         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28265         variable name from declaration.
28266
28267 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
28268
28269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28270         Initialize COMMON_CPUID_INDEX_7 element.
28271         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28272         (CPUID_RTM): Likewise.
28273         (HAS_RTM): Likewise.
28274         (COMMON_CPUID_INDEX_7): New enum.
28275
28276 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
28277
28278         [BZ #14981]
28279         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28280         size is zero, record memory as freed.
28281
28282 2013-01-03  Andreas Jaeger  <aj@suse.de>
28283
28284         * po/ia.po: Add new Interlingua translation.
28285
28286 2012-01-03  Allan McRae  <allan@archlinux.org>
28287
28288         * locale/programs/localedef.c: Fix description of '--posix' flag.
28289
28290 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
28291
28292         * NEWS: Update dates in second copyright notice.
28293         * README: Update copyright dates in example.
28294         * manual/libc.texinfo: Update copyright dates.
28295         * scripts/test-installation.pl: Update copyright date in --version
28296         output.
28297
28298         * hurd/ctty-input.c: Fix copyright notice formatting.
28299         * hurd/ctty-output.c: Likewise.
28300         * hurd/dtable.c: Likewise.
28301         * hurd/hurd-raise.c: Likewise.
28302         * hurd/hurdprio.c: Likewise.
28303         * hurd/msgportdemux.c: Likewise.
28304         * misc/sys/file.h: Likewise.
28305         * misc/sys/ioctl.h: Likewise.
28306         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28307         * sysdeps/mach/hurd/chdir.c: Likewise.
28308         * sysdeps/mach/hurd/fchdir.c: Likewise.
28309         * sysdeps/mach/hurd/rename.c: Likewise.
28310         * sysdeps/mach/hurd/rmdir.c: Likewise.
28311         * sysdeps/mach/hurd/seekdir.c: Likewise.
28312         * sysdeps/mach/hurd/setsid.c: Likewise.
28313         * sysdeps/posix/wait3.c: Likewise.
28314
28315         * All files with FSF copyright notices: Update copyright dates
28316         using scripts/update-copyrights.
28317         * intl/plural.c: Regenerated.
28318         * locale/programs/charmap-kw.h: Likewise.
28319         * locale/programs/locfile-kw.h: Likewise.
28320
28321 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28322
28323         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28324         four values.
28325
28326         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28327         calculation loop and add branch prediction.
28328
28329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28330         check access beyond bounds of m1np.
28331
28332         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28333         MPTWO.
28334         (__inv): Remove local variable MPTWO to use the global
28335         constant.
28336         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28337         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28338         variable MPTWO.
28339         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28340         MP3HALFS static const.
28341
28342 2013-01-01  David S. Miller  <davem@davemloft.net>
28343
28344         * po/ca.po: Update from translation team.
28345
28346 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
28347
28348         * scripts/update-copyrights: New file.
28349         * Makeconfig: Reformat copyright notice.
28350         * ctype/ctype.h: Likewise.
28351         * debug/swprintf_chk.c: Likewise.
28352         * elf/dl-cache.c: Likewise.
28353         * elf/dl-debug.c: Likewise.
28354         * elf/dl-object.c: Likewise.
28355         * grp/initgroups.c: Likewise.
28356         * hurd/Makefile: Likewise.
28357         * hurd/hurd/signal.h: Likewise.
28358         * hurd/hurdfault.c: Likewise.
28359         * hurd/hurdioctl.c: Likewise.
28360         * hurd/hurdlookup.c: Likewise.
28361         * hurd/intr-msg.c: Likewise.
28362         * iconv/gconv_open.c: Likewise.
28363         * libio/swprintf.c: Likewise.
28364         * locale/lc-ctype.c: Likewise.
28365         * locale/nl_langinfo.c: Likewise.
28366         * mach/Machrules: Likewise.
28367         * mach/Makefile: Likewise.
28368         * malloc/obstack.h: Likewise.
28369         * manual/Makefile: Likewise.
28370         * manual/tsort.awk: Likewise.
28371         * misc/bits/stab.def: Likewise.
28372         * nis/nis_print_group_entry.c: Likewise.
28373         * nis/nis_table.c: Likewise.
28374         * nis/nss_compat/compat-pwd.c: Likewise.
28375         * nis/nss_compat/compat-spwd.c: Likewise.
28376         * po/Makefile: Likewise.
28377         * posix/fnmatch.c: Likewise.
28378         * posix/regex.h: Likewise.
28379         * resolv/Makefile: Likewise.
28380         * resolv/nss_dns/dns-network.c: Likewise.
28381         * resolv/res_hconf.c: Likewise.
28382         * scripts/gen-sorted.awk: Likewise.
28383         * soft-fp/soft-fp.h: Likewise.
28384         * stdio-common/printf.h: Likewise.
28385         * stdlib/monetary.h: Likewise.
28386         * stdlib/random.c: Likewise.
28387         * stdlib/random_r.c: Likewise.
28388         * sysdeps/generic/Makefile: Likewise.
28389         * sysdeps/gnu/Makefile: Likewise.
28390         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28392         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28394         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28395         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28396         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28397         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28398         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28399         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28400         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28401         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28402         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28403         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28404         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28405         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28406         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28407         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28408         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28413         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28414         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28415         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28416         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28417         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28418         * sysdeps/mach/hurd/errnos.awk: Likewise.
28419         * sysdeps/mach/hurd/fork.c: Likewise.
28420         * sysdeps/mach/hurd/getcwd.c: Likewise.
28421         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28422         * sysdeps/mach/hurd/mmap.c: Likewise.
28423         * sysdeps/mach/hurd/utimes.c: Likewise.
28424         * sysdeps/mach/hurd/xmknod.c: Likewise.
28425         * sysdeps/posix/profil.c: Likewise.
28426         * sysdeps/posix/readdir_r.c: Likewise.
28427         * sysdeps/powerpc/bits/mathdef.h: Likewise.
28428         * sysdeps/powerpc/bits/setjmp.h: Likewise.
28429         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28430         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28432         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28433         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28434         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28435         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28436         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28437         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28438         * sysdeps/pthread/lio_listio.c: Likewise.
28439         * sysdeps/sparc/dl-procinfo.h: Likewise.
28440         * sysdeps/unix/i386/sysdep.S: Likewise.
28441         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28442         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28443         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28444         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28446         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28447         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28448         * sysdeps/unix/sysv/linux/speed.c: Likewise.
28449         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28450         * sysdeps/wordsize-32/divdi3.c: Likewise.
28451         * time/sys/time.h: Likewise.
28452         * wcsmbs/Makefile: Likewise.
28453
28454 2013-01-01  David S. Miller  <davem@davemloft.net>
28455
28456         * po/fr.po: Update from translation team.
28457
28458         * catgets/gencat.c: Update copyright year.
28459         * csu/version.c: Likewise.
28460         * debug/catchsegv.sh: Likewise.
28461         * debug/pcprofiledump.c: Likewise.
28462         * debug/xtrace.sh: Likewise.
28463         * elf/ldconfig.c: Likewise.
28464         * elf/ldd.bash.in: Likewise.
28465         * elf/pldd.c: Likewise.
28466         * elf/sotruss.ksh: Likewise.
28467         * elf/sprof.c: Likewise.
28468         * iconv/iconv_prog.c: Likewise.
28469         * iconv/iconvconfig.c: Likewise.
28470         * locale/programs/locale.c: Likewise.
28471         * locale/programs/localedef.c: Likewise.
28472         * login/programs/pt_chown.c: Likewise.
28473         * malloc/memusage.sh: Likewise.
28474         * malloc/memusagestat.c: Likewise.
28475         * malloc/mtrace.pl: Likewise.
28476         * nscd/nscd.c: Likewise.
28477         * nss/getent.c: Likewise.
28478         * nss/makedb.c: Likewise.
28479         * posix/getconf.c: Likewise.
28480
28481 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28482
28483         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28484         numbers.
28485
28486 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
28487
28488         * math/bits/mathcalls.h (modf): Use __nonnull.
28489
28490 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28491
28492         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28493         (split): Use macro CN instead of the bare value.
28494         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28495         could be used.
28496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28497         instead of the bare value.
28498         (power1): Likewise.
28499
28500 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28501
28502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28503         __ATAN_TWOM.
28504         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28505
28506         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28507         their values.
28508         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28509         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28510         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28511         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28512
28513 2012-12-28  Andreas Jaeger  <aj@suse.de>
28514
28515         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
28516         values are from Linux 3.7.
28517
28518         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28519         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
28520
28521 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522
28523         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28524         TRUE case.
28525
28526         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28527         (norm): Likewise.
28528         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28529         variables with preprocessor constants.
28530         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28531         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28532         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28533
28534 2012-12-27  Bruno Haible  <bruno@clisp.org>
28535
28536         [BZ #14317]
28537         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28538         only if needed.
28539
28540 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28541
28542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28543         and use variable directly.
28544         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28545
28546         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28547         MPONE.
28548         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28549         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28550         variable MPONE.
28551         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28552         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28553         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28554         include directive.  Remove local variable MPONE.
28555         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28556         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28557         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28558
28559 2012-12-25  David S. Miller  <davem@davemloft.net>
28560
28561         * version.h (RELEASE): Set to "development".
28562         (VERSION): Set to "2.17.90".
28563         * NEWS: Add 2.18 section.
28564
28565 2012-12-21  David S. Miller  <davem@davemloft.net>
28566
28567         * po/hr.po: Update from translation team.
28568
28569 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28570
28571         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28572
28573 2012-12-19  Steve Ellcey  <sellcey@mips.com>
28574
28575         * NEWS:  Mention new memcpy for MIPS.
28576
28577 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28578
28579         * manual/contrib.texi (Contributors): Spelling correction.
28580
28581 2012-12-15  David S. Miller  <davem@davemloft.net>
28582
28583         * po/ru.po: Update from translation team.
28584
28585 2012-12-13  David S. Miller  <davem@davemloft.net>
28586
28587         * NEWS: Mention IFUNC testsuite enhancements.
28588
28589         * po/pl.po: Update from translation team.
28590         * po/bg.po: Likewise.
28591
28592         * manual/contrib.texi (Contributors): Update entries for Hongjiu
28593         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
28594
28595 2012-12-11  David S. Miller  <davem@davemloft.net>
28596
28597         * po/sv.po: Update from translation team.
28598
28599         * po/vi.po: Update from translation team.
28600
28601         * po/cs.po: Update from translation team.
28602
28603         * po/de.po: Update from translation team.
28604         * po/eo.po: Likewise.
28605         * po/nl.po: Likewise.
28606
28607 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28608
28609         [BZ #14246]
28610         * manual/argp.texi (Argp Helper Functions): Move node to follow
28611         Argp Parsing State.
28612
28613         [BZ #14872]
28614         * manual/conf.texi (Limits on File System Capacity): Mention if
28615         terminating null is included in the max size.
28616
28617 2012-12-10  Andreas Jaeger  <aj@suse.de>
28618
28619         * po/cs.po: Update from translation team.
28620
28621 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28622
28623         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28624         void pointer and cast to uintptr_t.
28625         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28626         path.
28627         * sysdeps/s390/s390-64/memcpy.S: Likewise.
28628         * sysdeps/s390/s390-64/memset.S: Likewise.
28629
28630 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
28631
28632         [BZ #14833]
28633         * menual/message.texi (Message Translation): Fix typos.
28634         (Helper programs for gettext): Likewise.
28635
28636 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
28637
28638         [BZ #14898]
28639         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28640         Change to -1.
28641
28642 2012-12-07  David S. Miller  <davem@davemloft.net>
28643
28644         * po/libc.pot: Update.
28645
28646 2012-12-07  Richard Henderson  <rth@redhat.com>
28647
28648         [BZ #10114]
28649         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28650         normal/normal case to before the switch.
28651         (_FP_DIV): Likewise.
28652
28653 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
28654             Mike Frysinger  <vapier@gentoo.org>
28655
28656         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28657         check for __NR_fadvise64_64.
28658
28659 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
28660
28661         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28662         0, not just to plain "0" as a statement.
28663         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28664         with cw.
28665
28666 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
28667
28668         * NEWS: Use sourceware.org in Bugzilla URL.
28669
28670 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28671
28672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28673         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28674
28675         * stdio-common/tst-put-error.c (do_test): Add newline to the
28676         padded test to ensure flush.
28677
28678 2012-12-05  Jeff Law  <law@redhat.com>
28679
28680         * sunrpc/etc.rpc (fedfs_admin): Add entry.
28681
28682 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
28683
28684         * README: Don't refer to ports add-on as distributed separately.
28685         Mention AArch64 in list of systems supported in the ports add-on.
28686
28687         * LICENSES: Add more non-FSF copyright and license notices.
28688
28689         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28690         ((unused)).
28691
28692         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28693
28694         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28695         10000 as width of padded output.
28696
28697 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28698
28699         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28700
28701         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28702         variable LX with __attribute__ ((unused)).
28703         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28704         Likewise.
28705         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28707         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28708         with __attribute__ ((unused)).
28709
28710 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
28711
28712         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28713
28714 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
28715
28716         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28717         (CFLAGS-nldbl-acos.c): New variable.
28718         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28719         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28720         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28721         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28722         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28723         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28724         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28725         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28726         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28727         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28728         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28729         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28730         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28731         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28732         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28733         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28734         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28735         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28736         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28737         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28738         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28739         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28740         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28741         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28742         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28743         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28744         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28745         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28746         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28747         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28748         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28749         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28750         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28751         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28752         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28753         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28754         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28755         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28756         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28757         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28758         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28759         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28760         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28761         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28762         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28763         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28764         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28765         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28766         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28767         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28768         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28769         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28770         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28771         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28772         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28773         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28774         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28775         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28776         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28777         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28778         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28779         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28780         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28781         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28782         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28783         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28784         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28785         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28786         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28787         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28788         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28789         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28790         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28791         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28792         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28793         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28794         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28795         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28796         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28797         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28798         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28799         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28800         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28801         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28802         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28803         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28804         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28805         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28806         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28807         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28808         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28809         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28810         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28811         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28812         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28813         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28814         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28815
28816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28817         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28818
28819         [BZ #14914]
28820         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28821         whole low double instead of just low 47 bits when splitting values
28822         into two parts.
28823
28824 2012-12-03  Allan McRae  <allan@archlinux.org>
28825
28826         * manual/stdio.texi (Predefined Printf Handlers): Remove
28827         @hsep and @vsep usage.
28828
28829 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28830
28831         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28832         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28833
28834 2012-12-03  Jeff Law  <law@redhat.com>
28835
28836         * time/sys/time.h (settimeofday): Do not mark TV argument
28837         as __nonnull.
28838
28839 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28840
28841         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28842         when currently writing and seek to current position when not.
28843         * libio/Makefile (tests): Remove bug-fclose1.
28844         * libio/bug-fclose1.c: Delete.
28845
28846 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28847
28848         * manual/arith.texi (feenableexcept): Fix typo.
28849         (fedisableexcept): Likewise.
28850
28851 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28852
28853         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28854         second, differently-typed declaration, rather than a cast.
28855
28856 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28857
28858         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28859         * include/rpc/svc.h: ... here.
28860
28861 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28862
28863         [BZ #13013]
28864         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28865         depending n and resplen2 to catch cases where answer
28866         equals answerp2.
28867
28868 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28869
28870         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28871         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28872
28873 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28874
28875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28876
28877 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28878
28879         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28880
28881 2012-11-28  Jeff Law  <law@redhat.com>
28882
28883         [BZ #13761]
28884         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28885         dataset_temporary.  Track alloca usage into alloca_used.
28886         If dataset is large allocate and release it via malloc/free.
28887
28888 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28889
28890         [BZ #14197]
28891         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28892
28893 2012-11-28  David S. Miller  <davem@davemloft.net>
28894
28895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28896
28897 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28898
28899         [BZ #14803]
28900         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28901         of pi/2 rounded to nearest to 64 bits.
28902         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28903         nearest to 64 bits.
28904         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28905         bits.
28906
28907 2012-11-28  Jeff Law <law@redhat.com>
28908             Martin Osvald <mosvald@redhat.com>
28909
28910         [BZ #14889]
28911         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28912         * sunrpc/svc.c: Include time.h.
28913         (__svc_accept_failed): New function.
28914         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28915         any reason other than EINTR, call __svc_accept_failed.
28916         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28917         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28918
28919 2012-11-28  Andreas Schwab  <schwab@suse.de>
28920
28921         * scripts/abilist.awk: Also handle indirect functions in .opd
28922         section.
28923
28924 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28925
28926         [BZ #13881]
28927         * sysdeps/x86/fpu/powl_helper.c: New file.
28928         * sysdeps/x86/fpu/Makefile: Likewise.
28929         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28930         (p3): New object.
28931         (__ieee754_powl): Use __powl_helper for finite arguments except
28932         integer exponents below 8.
28933         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28934         (p3): New object.
28935         (__ieee754_powl): Use __powl_helper for finite arguments except
28936         integer exponents below 8.
28937         * math/libm-test.inc (pow_test): Add more tests and enable some
28938         previously disabled tests.
28939         * sysdeps/i386/fpu/libm-test-ulps: Update.
28940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28941
28942 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28943             Carlos O'Donell  <carlos_odonell@mentor.com>
28944
28945         * nss/makedb.c (is_prime): Assert that input is odd and greater
28946         than 4.  Note that fact in a comment too.
28947         (next_prime): Add 4 to input.
28948
28949 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28950
28951         [BZ #11741]
28952         * libio/Makefile (tests): Add test case tst-fwrite-error.
28953         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28954         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28955         * libio/tst-fwrite-error.c: New test case.
28956
28957 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28958
28959         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28960         before casting to void *.
28961         * include/libc-internal.h (__pointer_type): New macro.
28962         (__integer_if_pointer_type_sub): Likewise.
28963         (__integer_if_pointer_type): Likewise.
28964         (cast_to_integer): Likewise.
28965         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28966         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28967         before casting to atomic64_t.
28968         (atomic_exchange_acq): Likewise.
28969         (__arch_exchange_and_add_body): Likewise.
28970         (__arch_add_body): Likewise.
28971         (atomic_add_negative): Likewise.
28972         (atomic_add_zero): Likewise.
28973
28974 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28975
28976         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28977         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28978         (add_fdes): Likewise.
28979         (linear_search_fdes): Likewise.
28980         (binary_search_unencoded_fdes): Likewise.
28981
28982 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28983
28984         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28985
28986 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28987
28988         * configure.in: Autodetect C++ header directories.
28989         * configure: Regenerated.
28990
28991 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28992
28993         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28994
28995 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28996
28997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28998
28999 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
29000
29001         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29002         LDBL_MANT_DIG == 106]: Disable some tests.
29003         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29004         Likewise.
29005         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29006         Likewise.
29007
29008         [BZ #14871]
29009         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29010         input for small inputs.  Return +/- pi/2 for large inputs.
29011         * math/libm-test.inc (atan_test): Add more tests.
29012
29013         * sysdeps/generic/unwind-dw2-fde-glibc.c
29014         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29015         __attribute__ ((unused)).
29016
29017         [BZ #14645]
29018         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29019         x * y if x and y are nonzero and z is zero.
29020
29021         [BZ #14811]
29022         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29023         nonzero exponents with absolute value below 0x1p-117 to +/-
29024         0x1p-117.
29025
29026         [BZ #14869]
29027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29028         up arguments below 2**-450, not just those below 2**-500.
29029         * math/libm-test.inc (hypot_test): Add another test.
29030
29031         [BZ #14868]
29032         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29033         Return a+b for ratio over 2**120, not 2**60.
29034         * math/libm-test.inc (hypot_test): Add another test.
29035
29036         * math/libm-test.inc (clog_test): Use
29037         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29038         (clog10_test): Likewise.
29039
29040         [BZ #6778]
29041         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29042
29043 2012-11-22  Andreas Schwab  <schwab@suse.de>
29044
29045         * sysdeps/i386/fpu/libm-test-ulps: Update.
29046
29047 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
29048
29049         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29050         printf output with newline.
29051
29052 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
29053
29054         [BZ #14865]
29055         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29056         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29057         -z nodlopen, -z initfirst and -z execstack support.
29058         * configure: Regenerated.
29059
29060         * elf/elf.h (DF_1_NODIRECT): New macro.
29061         (DF_1_IGNMULDEF): Likewise.
29062         (DF_1_NOKSYMS): Likewise.
29063         (DF_1_NOHDR): Likewise.
29064         (DF_1_EDITED): Likewise.
29065         (DF_1_NORELOC): Likewise.
29066         (DF_1_SYMINTPOSE): Likewise.
29067         (DF_1_GLOBAUDIT): Likewise.
29068         (DF_1_SINGLETON): Likewise.
29069         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29070         DT_1_SUPPORTED_MASK bits.
29071         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29072
29073 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
29074
29075         * sysdeps/unix/make-syscalls.sh: Document prefixes.
29076
29077 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
29078
29079         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29080         macro.
29081
29082         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29083         (sendmmsg): Move declarations...
29084         * socket/sys/socket.h: ... here.
29085         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29086         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29087         include it from...
29088         * socket/recvmmsg.c: ... this new file.
29089         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29090         (sendmmsg): Rename to __sendmmsg, create weak alias and make
29091         definition of __sendmmsg hidden.
29092         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29093         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29094         Move ENOSYS stub into and include it from...
29095         * socket/sendmmsg.c: ... this new file.
29096         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29097         (sysdep_routines): Move recvmmsg and sendmmsg...
29098         * socket/Makefile (routines): ... here.
29099         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29100         (GLIBC_PRIVATE): Add __sendmmsg.
29101         * include/sys/socket.h (__sendmmsg): Add declarations.
29102         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29103         sendmmsg.
29104
29105 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
29106
29107         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29108         variable I1 with __attribute__ ((unused)).
29109         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29110
29111 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29112
29113         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29114         DUMMY variables with __attribute__ ((unused)).
29115
29116         * bits/byteswap.h: Include <bits/types.h>.
29117         (__bswap_64): Use __uint64_t instead of unsigned long long int.
29118
29119 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29120
29121         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29122         string_t.  Do not manually set errno.
29123         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29124         length with __strnlen.  Make sure to both set errno and return it on
29125         failure.
29126
29127 2012-11-19  David S. Miller  <davem@davemloft.net>
29128
29129         With help from Joseph Myers.
29130         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29131         very large arguments properly.
29132         * math/libm-test.inc (atan_test): New tests.
29133         (atan2_test): New tests.
29134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29136
29137 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
29138
29139         [BZ #14856]
29140         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29141         Define to 3.
29142
29143         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29144         [POSIX] (EADDRNOTAVAIL): Likewise.
29145         [POSIX] (EAFNOSUPPORT): Likewise.
29146         [POSIX] (EALREADY): Likewise.
29147         [POSIX] (ECONNABORTED): Likewise.
29148         [POSIX] (ECONNREFUSED): Likewise.
29149         [POSIX] (ECONNRESET): Likewise.
29150         [POSIX] (EDESTADDRREQ): Likewise.
29151         [POSIX] (EDQUOT): Likewise.
29152         [POSIX] (EHOSTUNREACH): Likewise.
29153         [POSIX] (EIDRM): Likewise.
29154         [POSIX] (EISCONN): Likewise.
29155         [POSIX] (ELOOP): Likewise.
29156         [POSIX] (EMULTIHOP): Likewise.
29157         [POSIX] (ENETDOWN): Likewise.
29158         [POSIX] (ENETUNREACH): Likewise.
29159         [POSIX] (ENOBUFS): Likewise.
29160         [POSIX] (ENODATA): Likewise.
29161         [POSIX] (ENOLINK): Likewise.
29162         [POSIX] (ENOMSG): Likewise.
29163         [POSIX] (ENOPROTOOPT): Likewise.
29164         [POSIX] (ENOSR): Likewise.
29165         [POSIX] (ENOSTR): Likewise.
29166         [POSIX] (ENOTCONN): Likewise.
29167         [POSIX] (ENOTSOCK): Likewise.
29168         [POSIX] (EOPNOTSUPP): Likewise.
29169         [POSIX] (EOVERFLOW): Likewise.
29170         [POSIX] (EPROTO): Likewise.
29171         [POSIX] (EPROTONOSUPPORT): Likewise.
29172         [POSIX] (EPROTOTYPE): Likewise.
29173         [POSIX] (ESTALE): Likewise.
29174         [POSIX] (ETIME): Likewise.
29175         [POSIX] (ETXTBSY): Likewise.
29176         [POSIX] (EWOULDBLOCK): Likewise.
29177         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29178         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29179         [POSIX] (SEEK_CUR): Likewise.
29180         [POSIX] (SEEK_END): Likewise.
29181         [POSIX || UNIX98] (mode_t): Do not require.
29182         [POSIX] (off_t): Likewise.
29183         [POSIX] (pid_t): Likewise.
29184         [POSIX] (sys/stat.h): Do not allow header.
29185         [POSIX] (unistd.h): Likewise.
29186         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29187         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29188         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29189         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29190         require.
29191         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29192         sigevent): Specify elements.
29193         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29194         entry.
29195         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29196         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29197
29198         * conform/data/cpio.h-data [POSIX]: Disable whole file.
29199         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29200         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29201         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29202         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29203         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29204         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29205         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29206         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29207         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29208         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29209         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29210         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29211         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29212         Likewise.
29213         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29214         Likewise.
29215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29216         Likewise.
29217         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29218         Likewise.
29219         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29220         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29221         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29222         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29223         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29224         Specify lower bound on value.
29225         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29226         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29227         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29228         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29229         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29230         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29231         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29232         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29233         value.
29234         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29235         as optional.
29236         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29237         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29238         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29239         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29240         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29241         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29242         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29243         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29244         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29245         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29246         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29247         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29248         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29249         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29250         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29251         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29252         entry.
29253         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29254         optional.
29255         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29256         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29257         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29258         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29259         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29260         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29261         Likewise.
29262         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29263         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29264         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29265         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29266         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
29267         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29268         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29269         as optional.
29270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29271         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29272         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29273         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29274         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29275         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29276         specify as optional.
29277         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29278         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29279         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29280         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29281         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29282         [XPG3] (NL_LANGMAX): Likewise.
29283         [POSIX || XPG3] (NL_MSGMAX): Likewise.
29284         [POSIX || XPG3] (NL_NMAX): Likewise.
29285         [POSIX || XPG3] (NL_SETMAX): Likewise.
29286         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29287         [XPG3] (NZERO): Likewise.
29288         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29289         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29290         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29291         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29292         (REG_ERANGE): Expect.
29293         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29294         optional-constant.
29295         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29296         Use (void) in prototype.
29297         [POSIX] (*_t): Allow.
29298         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29299         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29300         (WRDE_BADVAL): Expect.
29301
29302         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29303         expect.
29304         [XPG3 || XPG4] (O_RSYNC): Likewise.
29305         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29306         Likewise.
29307         [XPG3 || XPG4] (pthread_sigmask): Likewise.
29308         [XPG3 || XPG4] (sigqueue): Likewise.
29309         [XPG3 || XPG4] (sigtimedwait): Likewise.
29310         [XPG3 || XPG4] (sigwaitinfo): Likewise.
29311         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29312         [XPG3 || XPG4] (vsnprintf): Likewise.
29313         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29314         Likewise.
29315         [XPG3 || XPG4] (blksize_t): Likewise.
29316         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29317         Likewise.
29318         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29319         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29320         [XPG3 || XPG4] (struct itimerspec): Likewise.
29321         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29322         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29323         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29324         [XPG3 || XPG4] (clockid_t): Likewise.
29325         [XPG3 || XPG4] (timer_t): Likewise.
29326         [XPG3 || XPG4] (clock_getres): Likewise.
29327         [XPG3 || XPG4] (clock_gettime): Likewise.
29328         [XPG3 || XPG4] (clock_settime): Likewise.
29329         [XPG3 || XPG4] (nanosleep): Likewise.
29330         [XPG3 || XPG4] (timer_create): Likewise.
29331         [XPG3 || XPG4] (timer_delete): Likewise.
29332         [XPG3 || XPG4] (timer_gettime): Likewise.
29333         [XPG3 || XPG4] (timer_getoverrun): Likewise.
29334         [XPG3 || XPG4] (timer_settime): Likewise.
29335         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29336         [XPG3 || XPG4] (getlogin_r): Likewise.
29337         [XPG3 || XPG4] (pread): Likewise.
29338         [XPG3 || XPG4] (pthread_atfork): Likewise.
29339         [XPG3 || XPG4] (pwrite): Likewise.
29340
29341         [BZ #14835]
29342         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29343         <bits/siginfo.h>.
29344
29345 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
29346
29347         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29348         finalizing MALLSTREAM.
29349
29350         * sysdeps/mach/hurd/syncfs.c: New file.
29351
29352 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29353
29354         [BZ #14719]
29355         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29356         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29357         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29358         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29359         (_nss_dns_gethostbyname4_r): Likewise.
29360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29361         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29362
29363 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
29364
29365         [BZ #13763]
29366         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29367
29368 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
29369
29370         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29371         * elf/cache.c (print_entry): Print ",AArch64" for
29372         FLAG_AARCH64_LIB64
29373
29374         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29375         * elf/cache.c (print_entry): Print ",hard-float" for
29376         FLAG_ARM_LIBHF.
29377
29378 2012-11-18  David S. Miller  <davem@davemloft.net>
29379
29380         With help from Joseph Myers.
29381         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29382         cutoff to 2**-13.
29383         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29384         cutoff to 2**-25.
29385         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29386         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29387         small.
29388         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29389         * math/libm-test.inc (y0_test): New tests.
29390         (y1_test): New tests.
29391         * sysdeps/i386/fpu/libm-test-ulps: Update.
29392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29394
29395 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
29396
29397         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29398         64-bit targets.
29399         * configure: Regenerated.
29400
29401 2012-11-17  David S. Miller  <davem@davemloft.net>
29402
29403         [BZ #14811]
29404         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29405         nonzero exponents with absolute value below 0x1p-128 to +/-
29406         0x1p-128.
29407
29408 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
29409
29410         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29411
29412         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29413
29414         * posix/getconf-speclist.c: New file.
29415         * posix/posix-envs.def: Likewise.
29416         * posix/confstr.c (START_ENV_GROUP): New macro.
29417         (END_ENV_GROUP): Likewise.
29418         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29419         (KNOWN_PRESENT_ENV_STRING): Likewise.
29420         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29421         (UNKNOWN_ENVIRONMENT): Likewise.
29422         (confstr): Include posix-envs.def instead of handling
29423         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29424         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29425         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29426         (END_ENV_GROUP): Likewise.
29427         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29428         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29429         (UNKNOWN_ENVIRONMENT): Likewise.
29430         (__sysconf): Include posix-envs.def instead of handling associated
29431         cases directly here.
29432         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29433         preprocessing getconf-speclist.c rather than running getconf or
29434         generating empty file.
29435
29436 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
29437
29438         * scripts/check-local-headers.sh: Ignore 'mach' headers.
29439
29440 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
29441
29442         [BZ #14672]
29443         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29444
29445 2012-11-16  David S. Miller  <davem@davemloft.net>
29446
29447         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29448         smaller than LDBL_EPSILON/2.0L, just return xm1.
29449
29450 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
29451
29452         * elf/tst-array1.c (init): Set constructor priority to 1000.
29453         (fini): Set destructor priority to 1000.
29454         * elf/tst-array2dep.c: Likewise.
29455
29456 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29457
29458         [BZ #11741]
29459         * libio/fileops.c (_IO_new_file_write): Correctly return error.
29460         (_IO_new_file_xsputn): Also return EOF if none of the input
29461         data was written when overflow failed.
29462         * libio/iopadn.c (_IO_padn): Likewise.
29463         * libio/iowpadn.c (_IO_wpadn): Likewise.
29464         * stdio-common/tst-put-error.c: Add copyright notice.
29465         (do_test): Add case for printing padded string.
29466         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29467         _IO_padn returned error.
29468         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29469         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29470         return EOF.
29471
29472 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29473
29474         * libio/libioP.h: Add comment note that the references to C++
29475         bits are now obsolete.
29476
29477 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29478
29479         * math/libm-test.inc (check_complex): Use asprintf.
29480
29481 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
29482
29483         * debug/pcprofiledump.c (print_version): Update copyright year.
29484         * malloc/memusagestat.c (print_version): Likewise.
29485
29486 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
29487
29488         [BZ #14831]
29489         * elf/Makefile (tests): Add tst-audit8.
29490         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29491         ($(objpfx)tst-audit8.out): New target.
29492         (tst-audit8-ENV): New variable.
29493         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29494         audit if l_reloc_result is NULL.
29495         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29496         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29497         * elf/tst-audit8.c: New file.
29498
29499 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29500
29501         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29502         * misc/Makefile (CFLAGS-select.c): Define.
29503         * posix/Makefile (CFLAGS-pause.c): Define.
29504
29505 2012-11-13  David S. Miller  <davem@davemloft.net>
29506
29507         * crypt/Makefile: Move test targets after toplevel Rules
29508         inclusion.  Grab any necessary sysdep routines when linking.
29509         * crypt/md5.c (md5_process_block): Remove define, we will always
29510         name it __md5_process_block.
29511         (md5_finish_ctx): Update md5_process_block call.
29512         (md5_stream): Likewise.
29513         (md5_process_bytes): Likewise.
29514         (md5_process_block): Rename to __md5_process_block and move to ...
29515         * crypt/md5-block.c: ... here.
29516         * crypt/sha256.c (sha256_process_block): Move to ...
29517         * crypt/sha256-block.c: ... here.
29518         * crypt/sha512.c (sha512_process_block): Move to ...
29519         * crypt/sha512-block.c: ... here.
29520         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29521         path.
29522         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29523         * sysdeps/sparc/sparc64/multiarch/Makefile
29524         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29525         crypt subdir.
29526         (localedef-aux): Add md5 crypto assembler when in locale subdir.
29527         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29528         multiarch changes.
29529         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29530         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29531         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29532         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29533         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29534         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29535         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29536         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29537         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29538         file.
29539         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29540         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29541         file.
29542         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29543
29544 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
29545
29546         * timezone/tzselect.ksh: Update from tzcode git revision
29547         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29548         * timezone/zdump.c: Likewise.
29549         * timezone/zic.c: Likewise.
29550         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29551         in TZVERSION setting, not $(PKGVERSION).
29552         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
29553         REPORT_BUGS_TO settings.
29554
29555         [BZ #14838]
29556         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29557         macro.
29558
29559 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29560
29561         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29562         detection to immediately after _FP_ROUND().
29563         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29564         bits are 0.
29565
29566 2012-11-11  David S. Miller  <davem@davemloft.net>
29567
29568         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29569         inttypes.h
29570         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29571         __close rather than their public counterparts.
29572
29573 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
29574
29575         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29576         file.
29577         [UNIX98] (sem_timedwait): Do not expect.
29578         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29579         [XPG4 || UNIX98] (sockatmark): Do not expect.
29580         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29581         (clock_getcpuclockid): Do not expect.
29582         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29583         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29584         Do not expect.
29585         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29586         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29587         [UNIX98] (vwscanf): Likewise.
29588         [UNIX98] (vswscanf): Likewise.
29589
29590 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
29591
29592         * timezone/version.h: Remove file.
29593         * timezone/README: Do not refer to version.h.
29594         * timezone/Makefile ($(objpfx)zic.o): New dependency on
29595         $(objpfx)version.h.
29596         ($(objpfx)zdump.o): Likewise.
29597         ($(objpfx)version.h): New target.
29598
29599         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29600         2012i.
29601         * timezone/README: Don't mention modification to tzselect.ksh.
29602         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29603         work on unmodified tzselect.ksh.  Substitute version numbers in
29604         tzselect.ksh.
29605
29606         * Makefile (format-me): Remove.
29607         (INSTALL): Adjust indentation.  Use commands directly instead of
29608         using $(format-me).
29609
29610         * aclocal.m4 (ACX_PKGVERSION): New macro.
29611         (ACX_BUGURL): Likewise.
29612         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29613         (PKGVERSION): New AC_DEFINE_UNQUOTED.
29614         (REPORT_BUGS_TO): Likewise.
29615         * configure: Regenerated.
29616         * config.h.in (PKGVERSION): New macro.
29617         (REPORT_BUGS_TO): Likewise.
29618         * config.make.in (PKGVERSION): New variable.
29619         (PKGVERSION_TEXI): Likewise.
29620         (REPORT_BUGS_TO): Likewise.
29621         (REPORT_BUGS_TEXI): Likewise.
29622         * Makefile (format-me): Use -I$(common-objpfx)manual.
29623         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29624         ($(common-objpfx)manual/%): New target.
29625         (manual/%): Remove target.
29626         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29627         (print_version): Use PKGVERSION.
29628         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29629         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29630         and REPORT_BUGS_TO.
29631         ($(objpfx)xtrace): Likewise.
29632         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29633         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29634         (print_version): Use PKGVERSION.
29635         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29636         (do_version): Use PKGVERSION.
29637         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29638         REPORT_BUGS_TO.
29639         (common-ldd-rewrite): Likewise.
29640         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29641         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29642         (print_version): Use PKGVERSION.
29643         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29644         * elf/pldd.c (argp_program_bug_address): Remove variable.
29645         (more_help): New function.
29646         (argp): Use more_help.
29647         (print_version): Use PKGVERSION.
29648         * elf/sln.c (main): Use PKGVERSION.
29649         (usage): Use REPORT_BUGS_TO.
29650         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29651         (top level): Use PKGVERSION.
29652         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29653         (print_version): Use PKGVERSION.
29654         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29655         (print_version): Use PKGVERSION.
29656         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29657         (print_version): Use PKGVERSION.
29658         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29659         (print_version): Use PKGVERSION.
29660         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29661         (print_version): Use PKGVERSION.
29662         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29663         (print_version): Use PKGVERSION.
29664         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29665         and BUGURL.
29666         ($(objpfx)memusage): Likewise.
29667         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29668         (do_version): Use PKGVERSION.
29669         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29670         (print_version): Use PKGVERSION.
29671         * malloc/mtrace.pl ($PACKAGE): Remove variable.
29672         ($PKGVERSION): New variable.
29673         ($REPORT_BUGS_TO): Likewise.
29674         (usage): Use $REPORT_BUGS_TO.
29675         (top level): Use $PKGVERSION.
29676         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29677         ($(objpfx)pkgvers.texi): New rule.
29678         ($(objpfx)stamp-pkgvers): Likewise.
29679         * manual/install.texi: Include pkgvers.texi.
29680         (--with-pkgversion): Document new configure option.
29681         (--with-bugurl): Likewise.
29682         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29683         than necessarily for this particular distribution.  Use
29684         REPORT_BUGS_TO for where to report bugs.
29685         * INSTALL: Regenerated.
29686         * manual/libc.texinfo: Include pkgvers.texi.
29687         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29688         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29689         (print_version): Use PKGVERSION.
29690         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29691         (print_version): Use PKGVERSION.
29692         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29693         (print_version): Use PKGVERSION.
29694         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29695         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29696         macro.
29697         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29698         (print_version): Use PKGVERSION.
29699         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29700         (print_version): Use PKGVERSION.
29701         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29702         and PKGVERSION.
29703
29704         * timezone/checktab.awk: Update from tzcode 2012i.
29705         * timezone/ialloc.c: Likewise.
29706         * timezone/private.h: Likewise.
29707         * timezone/scheck.c: Likewise.
29708         * timezone/tzfile.h: Likewise.
29709         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29710         (TZVERSION): Hardcode tzcode version number.
29711         * timezone/zdump.c: Update from tzcode 2012i.
29712         * timezone/zic.c: Likewise.
29713         * timezone/version.h: New file.
29714         * timezone/README: Describe version.h.  Update upstream location.
29715
29716         [BZ #14824]
29717         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29718         (mktemp): Enable declaration.
29719         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29723         Likewise.
29724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29725         Likewise.
29726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29727         Likewise.
29728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29729         Likewise.
29730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29731         Likewise.
29732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29733         Likewise.
29734
29735         [BZ #14821]
29736         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29737         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
29738         for copies of such integer values.
29739         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29740         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29741
29742 2012-11-09  Andreas Jaeger  <aj@suse.de>
29743
29744         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29745         definitions and declarations that are provided by
29746         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29747
29748 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29749
29750         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29751         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29752         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29753         definition.
29754
29755 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29756
29757         * elf/elf.h: Update comment before AArch64 relocations.
29758
29759 2012-11-07  David S. Miller  <davem@davemloft.net>
29760
29761         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29762         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29763         (__start_context): Declare.
29764         (__makecontext_ret): Delete.
29765         (__makecontext): Hook up __start_context instead of
29766         __makecontext_ret.
29767         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29768         (sysdep_routines): Add __start_context when in stdlib.
29769
29770 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29771
29772         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29773         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29774         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
29775         hardcoded "nm".
29776         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
29777         (READELF): New variable.  Use it instead of hardcoded "readelf".
29778
29779 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
29780
29781         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29782         * sysdeps/x86/Makefile: Here.
29783         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29784         * sysdeps/x86/tst-xmmymm.sh: This.
29785
29786 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29787
29788         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29789         expectations.
29790         [UNIX98] (pthread_barrier_t): Do not expect.
29791         [UNIX98] (pthread_barrierattr_t): Likewise.
29792         [UNIX98] (pthread_spinlock_t): Likewise.
29793         [UNIX98] (pthread_barrier_destroy): Likewise.
29794         [UNIX98] (pthread_barrier_init): Likewise.
29795         [UNIX98] (pthread_barrier_wait): Likewise.
29796         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29797         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29798         [UNIX98] (pthread_barrierattr_init): Likewise.
29799         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29800         [UNIX98] (pthread_getcpuclockid): Likewise.
29801         [UNIX98] (pthread_mutex_timedlock): Likewise.
29802         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29803         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29804         [UNIX98] (pthread_sigmask): Likewise.
29805         [UNIX98] (pthread_spin_destroy): Likewise.
29806         [UNIX98] (pthread_spin_init): Likewise.
29807         [UNIX98] (pthread_spin_lock): Likewise.
29808         [UNIX98] (pthread_spin_trylock): Likewise.
29809         [UNIX98] (pthread_spin_unlock): Likewise.
29810         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29811         Do not expect.
29812         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29813         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29814         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29815         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29816         [XPG3 || XPG4] (pthread_key_t): Likewise.
29817         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29818         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29819         [XPG3 || XPG4] (pthread_once_t): Likewise.
29820         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29821         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29822         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29823         [XPG3 || XPG4] (pthread_t): Likewise.
29824
29825         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29826         not expect.
29827         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29828
29829         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29830         Change function return type to int.
29831
29832         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29833         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29834         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29835         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29836         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29837         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29838         [!POSIX] (posix_madvise): Likewise.
29839         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29840         && !UNIX98].
29841         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29842         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29843         (mode_t): Likewise.
29844         (posix_mem_offset): Likewise.
29845         (posix_typed_mem_get_info): Likewise.
29846         (posix_typed_mem_open): Likewise.
29847
29848         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29849         Change condition to [XOPEN2K8].
29850
29851         * conform/conformtest.pl: Preprocess allow-header data with -x c
29852         instead of from stdin.
29853         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29854         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29855         [C99-based standards] (cerfc): Likewise.
29856         [C99-based standards] (cexp2): Likewise.
29857         [C99-based standards] (cexpm1): Likewise.
29858         [C99-based standards] (clog10): Likewise.
29859         [C99-based standards] (clog1p): Likewise.
29860         [C99-based standards] (clog2): Likewise.
29861         [C99-based standards] (clgamma): Likewise.
29862         [C99-based standards] (ctgamma): Likewise.
29863         [C99-based standards] (cerff): Likewise.
29864         [C99-based standards] (cerfcf): Likewise.
29865         [C99-based standards] (cexp2f): Likewise.
29866         [C99-based standards] (cexpm1f): Likewise.
29867         [C99-based standards] (clog10f): Likewise.
29868         [C99-based standards] (clog1pf): Likewise.
29869         [C99-based standards] (clog2f): Likewise.
29870         [C99-based standards] (clgammaf): Likewise.
29871         [C99-based standards] (ctgammaf): Likewise.
29872         [C99-based standards] (cerfl): Likewise.
29873         [C99-based standards] (cerfcl): Likewise.
29874         [C99-based standards] (cexp2l): Likewise.
29875         [C99-based standards] (cexpm1l): Likewise.
29876         [C99-based standards] (clog10l): Likewise.
29877         [C99-based standards] (clog1pl): Likewise.
29878         [C99-based standards] (clog2l): Likewise.
29879         [C99-based standards] (clgammal): Likewise.
29880         [C99-based standards] (ctgammal): Likewise.
29881         * conform/data/inttypes.h-data [C99-based standards]: Include
29882         stdint.h-data.  Remove all expectations for stdint.h contents.
29883         [C99-based standards] (PRI*): Do not allow.
29884         [C99-based standards] (SCN*): Likewise.
29885         [C99-based standards] (*_t): Likewise.
29886         [C99-based-standards] (PRId8): Expect macro.
29887         [C99-based-standards] (PRIi8): Likewise.
29888         [C99-based-standards] (PRIo8): Likewise.
29889         [C99-based-standards] (PRIu8): Likewise.
29890         [C99-based-standards] (PRIx8): Likewise.
29891         [C99-based-standards] (PRIX8): Likewise.
29892         [C99-based-standards] (SCNd8): Likewise.
29893         [C99-based-standards] (SCNi8): Likewise.
29894         [C99-based-standards] (SCNo8): Likewise.
29895         [C99-based-standards] (SCNu8): Likewise.
29896         [C99-based-standards] (SCNx8): Likewise.
29897         [C99-based-standards] (PRIdLEAST8): Likewise.
29898         [C99-based-standards] (PRIiLEAST8): Likewise.
29899         [C99-based-standards] (PRIoLEAST8): Likewise.
29900         [C99-based-standards] (PRIuLEAST8): Likewise.
29901         [C99-based-standards] (PRIxLEAST8): Likewise.
29902         [C99-based-standards] (PRIXLEAST8): Likewise.
29903         [C99-based-standards] (SCNdLEAST8): Likewise.
29904         [C99-based-standards] (SCNiLEAST8): Likewise.
29905         [C99-based-standards] (SCNoLEAST8): Likewise.
29906         [C99-based-standards] (SCNuLEAST8): Likewise.
29907         [C99-based-standards] (SCNxLEAST8): Likewise.
29908         [C99-based-standards] (PRIdFAST8): Likewise.
29909         [C99-based-standards] (PRIiFAST8): Likewise.
29910         [C99-based-standards] (PRIoFAST8): Likewise.
29911         [C99-based-standards] (PRIuFAST8): Likewise.
29912         [C99-based-standards] (PRIxFAST8): Likewise.
29913         [C99-based-standards] (PRIXFAST8): Likewise.
29914         [C99-based-standards] (SCNdFAST8): Likewise.
29915         [C99-based-standards] (SCNiFAST8): Likewise.
29916         [C99-based-standards] (SCNoFAST8): Likewise.
29917         [C99-based-standards] (SCNuFAST8): Likewise.
29918         [C99-based-standards] (SCNxFAST8): Likewise.
29919         [C99-based-standards] (PRId16): Likewise.
29920         [C99-based-standards] (PRIi16): Likewise.
29921         [C99-based-standards] (PRIo16): Likewise.
29922         [C99-based-standards] (PRIu16): Likewise.
29923         [C99-based-standards] (PRIx16): Likewise.
29924         [C99-based-standards] (PRIX16): Likewise.
29925         [C99-based-standards] (SCNd16): Likewise.
29926         [C99-based-standards] (SCNi16): Likewise.
29927         [C99-based-standards] (SCNo16): Likewise.
29928         [C99-based-standards] (SCNu16): Likewise.
29929         [C99-based-standards] (SCNx16): Likewise.
29930         [C99-based-standards] (PRIdLEAST16): Likewise.
29931         [C99-based-standards] (PRIiLEAST16): Likewise.
29932         [C99-based-standards] (PRIoLEAST16): Likewise.
29933         [C99-based-standards] (PRIuLEAST16): Likewise.
29934         [C99-based-standards] (PRIxLEAST16): Likewise.
29935         [C99-based-standards] (PRIXLEAST16): Likewise.
29936         [C99-based-standards] (SCNdLEAST16): Likewise.
29937         [C99-based-standards] (SCNiLEAST16): Likewise.
29938         [C99-based-standards] (SCNoLEAST16): Likewise.
29939         [C99-based-standards] (SCNuLEAST16): Likewise.
29940         [C99-based-standards] (SCNxLEAST16): Likewise.
29941         [C99-based-standards] (PRIdFAST16): Likewise.
29942         [C99-based-standards] (PRIiFAST16): Likewise.
29943         [C99-based-standards] (PRIoFAST16): Likewise.
29944         [C99-based-standards] (PRIuFAST16): Likewise.
29945         [C99-based-standards] (PRIxFAST16): Likewise.
29946         [C99-based-standards] (PRIXFAST16): Likewise.
29947         [C99-based-standards] (SCNdFAST16): Likewise.
29948         [C99-based-standards] (SCNiFAST16): Likewise.
29949         [C99-based-standards] (SCNoFAST16): Likewise.
29950         [C99-based-standards] (SCNuFAST16): Likewise.
29951         [C99-based-standards] (SCNxFAST16): Likewise.
29952         [C99-based-standards] (PRId32): Likewise.
29953         [C99-based-standards] (PRIi32): Likewise.
29954         [C99-based-standards] (PRIo32): Likewise.
29955         [C99-based-standards] (PRIu32): Likewise.
29956         [C99-based-standards] (PRIx32): Likewise.
29957         [C99-based-standards] (PRIX32): Likewise.
29958         [C99-based-standards] (SCNd32): Likewise.
29959         [C99-based-standards] (SCNi32): Likewise.
29960         [C99-based-standards] (SCNo32): Likewise.
29961         [C99-based-standards] (SCNu32): Likewise.
29962         [C99-based-standards] (SCNx32): Likewise.
29963         [C99-based-standards] (PRIdLEAST32): Likewise.
29964         [C99-based-standards] (PRIiLEAST32): Likewise.
29965         [C99-based-standards] (PRIoLEAST32): Likewise.
29966         [C99-based-standards] (PRIuLEAST32): Likewise.
29967         [C99-based-standards] (PRIxLEAST32): Likewise.
29968         [C99-based-standards] (PRIXLEAST32): Likewise.
29969         [C99-based-standards] (SCNdLEAST32): Likewise.
29970         [C99-based-standards] (SCNiLEAST32): Likewise.
29971         [C99-based-standards] (SCNoLEAST32): Likewise.
29972         [C99-based-standards] (SCNuLEAST32): Likewise.
29973         [C99-based-standards] (SCNxLEAST32): Likewise.
29974         [C99-based-standards] (PRIdFAST32): Likewise.
29975         [C99-based-standards] (PRIiFAST32): Likewise.
29976         [C99-based-standards] (PRIoFAST32): Likewise.
29977         [C99-based-standards] (PRIuFAST32): Likewise.
29978         [C99-based-standards] (PRIxFAST32): Likewise.
29979         [C99-based-standards] (PRIXFAST32): Likewise.
29980         [C99-based-standards] (SCNdFAST32): Likewise.
29981         [C99-based-standards] (SCNiFAST32): Likewise.
29982         [C99-based-standards] (SCNoFAST32): Likewise.
29983         [C99-based-standards] (SCNuFAST32): Likewise.
29984         [C99-based-standards] (SCNxFAST32): Likewise.
29985         [C99-based-standards] (PRId64): Likewise.
29986         [C99-based-standards] (PRIi64): Likewise.
29987         [C99-based-standards] (PRIo64): Likewise.
29988         [C99-based-standards] (PRIu64): Likewise.
29989         [C99-based-standards] (PRIx64): Likewise.
29990         [C99-based-standards] (PRIX64): Likewise.
29991         [C99-based-standards] (SCNd64): Likewise.
29992         [C99-based-standards] (SCNi64): Likewise.
29993         [C99-based-standards] (SCNo64): Likewise.
29994         [C99-based-standards] (SCNu64): Likewise.
29995         [C99-based-standards] (SCNx64): Likewise.
29996         [C99-based-standards] (PRIdLEAST64): Likewise.
29997         [C99-based-standards] (PRIiLEAST64): Likewise.
29998         [C99-based-standards] (PRIoLEAST64): Likewise.
29999         [C99-based-standards] (PRIuLEAST64): Likewise.
30000         [C99-based-standards] (PRIxLEAST64): Likewise.
30001         [C99-based-standards] (PRIXLEAST64): Likewise.
30002         [C99-based-standards] (SCNdLEAST64): Likewise.
30003         [C99-based-standards] (SCNiLEAST64): Likewise.
30004         [C99-based-standards] (SCNoLEAST64): Likewise.
30005         [C99-based-standards] (SCNuLEAST64): Likewise.
30006         [C99-based-standards] (SCNxLEAST64): Likewise.
30007         [C99-based-standards] (PRIdFAST64): Likewise.
30008         [C99-based-standards] (PRIiFAST64): Likewise.
30009         [C99-based-standards] (PRIoFAST64): Likewise.
30010         [C99-based-standards] (PRIuFAST64): Likewise.
30011         [C99-based-standards] (PRIxFAST64): Likewise.
30012         [C99-based-standards] (PRIXFAST64): Likewise.
30013         [C99-based-standards] (SCNdFAST64): Likewise.
30014         [C99-based-standards] (SCNiFAST64): Likewise.
30015         [C99-based-standards] (SCNoFAST64): Likewise.
30016         [C99-based-standards] (SCNuFAST64): Likewise.
30017         [C99-based-standards] (SCNxFAST64): Likewise.
30018         [C99-based-standards] (PRIdMAX): Likewise.
30019         [C99-based-standards] (PRIiMAX): Likewise.
30020         [C99-based-standards] (PRIoMAX): Likewise.
30021         [C99-based-standards] (PRIuMAX): Likewise.
30022         [C99-based-standards] (PRIxMAX): Likewise.
30023         [C99-based-standards] (PRIXMAX): Likewise.
30024         [C99-based-standards] (SCNdMAX): Likewise.
30025         [C99-based-standards] (SCNiMAX): Likewise.
30026         [C99-based-standards] (SCNoMAX): Likewise.
30027         [C99-based-standards] (SCNuMAX): Likewise.
30028         [C99-based-standards] (SCNxMAX): Likewise.
30029         [C99-based-standards] (PRIdPTR): Likewise.
30030         [C99-based-standards] (PRIiPTR): Likewise.
30031         [C99-based-standards] (PRIoPTR): Likewise.
30032         [C99-based-standards] (PRIuPTR): Likewise.
30033         [C99-based-standards] (PRIxPTR): Likewise.
30034         [C99-based-standards] (PRIXPTR): Likewise.
30035         [C99-based-standards] (SCNdPTR): Likewise.
30036         [C99-based-standards] (SCNiPTR): Likewise.
30037         [C99-based-standards] (SCNoPTR): Likewise.
30038         [C99-based-standards] (SCNuPTR): Likewise.
30039         [C99-based-standards] (SCNxPTR): Likewise.
30040         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30041         allow.
30042         * conform/data/stdint.h-data: Update comments to clarify
30043         requirements.
30044         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
30045         type.
30046         [C99-based standards] (INT8_MAX): Likewise.
30047         [C99-based standards] (INT16_MIN): Likewise.
30048         [C99-based standards] (INT16_MAX): Likewise.
30049         [C99-based standards] (INT32_MIN): Likewise.
30050         [C99-based standards] (INT32_MAX): Likewise.
30051         [C99-based standards] (INT64_MIN): Likewise.
30052         [C99-based standards] (INT64_MAX): Likewise.
30053         [C99-based standards] (UINT8_MAX): Likewise.
30054         [C99-based standards] (UINT16_MAX): Likewise.
30055         [C99-based standards] (UINT32_MAX): Likewise.
30056         [C99-based standards] (UINT64_MAX): Likewise.
30057         [C99-based standards] (INT_LEAST8_MIN): Likewise.
30058         [C99-based standards] (INT_LEAST8_MAX): Likewise.
30059         [C99-based standards] (INT_LEAST16_MIN): Likewise.
30060         [C99-based standards] (INT_LEAST16_MAX): Likewise.
30061         [C99-based standards] (INT_LEAST32_MIN): Likewise.
30062         [C99-based standards] (INT_LEAST32_MAX): Likewise.
30063         [C99-based standards] (INT_LEAST64_MIN): Likewise.
30064         [C99-based standards] (INT_LEAST64_MAX): Likewise.
30065         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30066         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30067         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30068         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30069         [C99-based standards] (INT_FAST8_MIN): Likewise.
30070         [C99-based standards] (INT_FAST8_MAX): Likewise.
30071         [C99-based standards] (INT_FAST16_MIN): Likewise.
30072         [C99-based standards] (INT_FAST16_MAX): Likewise.
30073         [C99-based standards] (INT_FAST32_MIN): Likewise.
30074         [C99-based standards] (INT_FAST32_MAX): Likewise.
30075         [C99-based standards] (INT_FAST64_MIN): Likewise.
30076         [C99-based standards] (INT_FAST64_MAX): Likewise.
30077         [C99-based standards] (UINT_FAST8_MAX): Likewise.
30078         [C99-based standards] (UINT_FAST16_MAX): Likewise.
30079         [C99-based standards] (UINT_FAST32_MAX): Likewise.
30080         [C99-based standards] (UINT_FAST64_MAX): Likewise.
30081         [C99-based standards] (INTPTR_MIN): Likewise.
30082         [C99-based standards] (INTPTR_MAX): Likewise.
30083         [C99-based standards] (UINTPTR_MAX): Likewise.
30084         [C99-based standards] (INTMAX_MIN): Likewise.
30085         [C99-based standards] (INTMAX_MAX): Likewise.
30086         [C99-based standards] (UINTMAX_MAX): Likewise.
30087         [C99-based standards] (PTRDIFF_MIN): Likewise.
30088         [C99-based standards] (PTRDIFF_MAX): Likewise.
30089         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30090         [C99-based standards] (SIZE_MAX): Likewise.
30091         [C99-based standards] (WCHAR_MAX): Likewise.
30092         [C99-based standards] (WINT_MAX): Likewise.
30093         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
30094         constraint on value.
30095         [C99-based standards] (WCHAR_MIN): Likewise.
30096         [C99-based standards] (WINT_MIN): Likewise.
30097         [C99-based standards] (*_t): Allow.
30098         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30099         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30100         Include math.h-data and complex.h-data.  Remove all expectations
30101         of math.h and complex.h contents.
30102         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30103         at end of line.
30104         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30105         (struct tm): Expect tag.
30106         [C99-based-standards] (wcstof): Expect function.
30107         [C99-based-standards] (wcstold): Likewise.
30108         [C99-based-standards] (wcstoll): Likewise.
30109         [C99-based-standards] (wcstoull): Likewise.
30110         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30111         macro-int-constant.  Specify type.
30112         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
30113         constraint on value.
30114         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30115         Specify type.
30116         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30117         Specify value.
30118         [ISO C standards]: Do not allow headers.
30119         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30120         wcs[abcdefghijklmnopqrstuvwxyz]*.
30121         [ISO C standards] (*_t): Do not allow.
30122         * conform/data/wctype.h-data [C99-based standards] (iswblank):
30123         Expect function.
30124         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30125         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30126         Specify type.
30127         [ISO C standards]: Do not allow headers.
30128         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30129         is[abcdefghijklmnopqrstuvwxyz]*.
30130         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30131         to[abcdefghijklmnopqrstuvwxyz]*.
30132         [ISO C standards] (*_t): Do not allow.
30133         * conform/data/stdalign.h-data: New file.
30134         * conform/data/stdbool.h-data: Likewise.
30135         * conform/data/stdnoreturn.h-data: Likewise.
30136
30137 2012-11-07  Roland McGrath  <roland@hack.frob.com>
30138
30139         [BZ #14815]
30140         * manual/filesys.texi (Directory Entries): Typo fix.
30141         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30142
30143 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30144
30145         * elf/elf.h (EM_AARCH64): New macro.
30146         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30147         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30148         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30149         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30150         (R_AARCH64_TLSDESC): Likewise.
30151         (NT_ARM_TLS): Likewise.
30152         (NT_ARM_HW_BREAK): Likewise.
30153         (NT_ARM_HW_WATCH): Likewise.
30154
30155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30156
30157         [BZ #14811]
30158         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30159         (__ieee754_powl): Saturate nonzero exponents with absolute value
30160         below 0x1p-79 to +/- 0x1p-79.
30161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30162         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30163         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30164         nonzero exponents with absolute value below 0x1p-32 to +/-
30165         0x1p-32.
30166         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30167         (__ieee754_powl): Saturate nonzero exponents with absolute value
30168         below 0x1p-79 to +/- 0x1p-79.
30169         * math/libm-test.inc (pow_test): Add more tests.
30170
30171 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30172
30173         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30174         _dl_s390_cap_flags with kernel. Increase string length.
30175         (_dl_s390_platforms): Add z196 and zEC12.
30176
30177 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
30178
30179         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30180         Change XOPEN21K to XOPEN2K.
30181
30182 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
30183
30184         * string/memmove.c: Use memcpy when possible.
30185
30186 2012-11-06  Andreas Jaeger  <aj@suse.de>
30187
30188         * po/eo.po: Update from translation team.
30189
30190 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
30191
30192         [BZ #14793]
30193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30194         exponent and small x and y exponents, scale x or y up.  Increase
30195         by 2 the exponent used in scaling up.
30196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30197         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30198         * math/libm-test.inc (fma_test): Add more tests.
30199         (fma_test_towardzero): Likewise.
30200         (fma_test_downward): Likewise.
30201         (fma_test_upward): Likewise.
30202
30203 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
30204
30205         [BZ #14805]
30206         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30207         fenv_t *.
30208
30209         [BZ #14801]
30210         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30211         namespace for names of struct fields.
30212         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30213         fenv_t fields.
30214         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30215         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30216
30217 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30218
30219         [BZ #3665]
30220         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30221
30222 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30223
30224         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30225         PTR_DEMANGLE.
30226
30227         [BZ #5246]
30228         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30229         PTR_DEMANGLE.
30230
30231 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
30232
30233         [BZ #14797]
30234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30235         definitely overflow as x * y not x * y + z.
30236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30238         * math/libm-test.inc (fma_test): Add more tests.
30239         (fma_test_towardzero): Likewise.
30240         (fma_test_downward): Likewise.
30241         (fma_test_upward): Likewise.
30242
30243 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
30244
30245         [BZ #157]
30246
30247         * include/stub-tag.h: Remove file.
30248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30249         '#include' of it.
30250         * manual/maint.texi (Porting): Don't reference it.
30251         * Makerules ($(objpfx)stubs): Likewise.
30252         * dirent/closedir.c: Don't include <stub-tag.h>.
30253         * dirent/dirfd.c: Likewise.
30254         * dirent/fdopendir.c: Likewise.
30255         * dirent/getdents.c: Likewise.
30256         * dirent/getdents64.c: Likewise.
30257         * dirent/opendir.c: Likewise.
30258         * dirent/readdir.c: Likewise.
30259         * dirent/readdir64.c: Likewise.
30260         * dirent/readdir64_r.c: Likewise.
30261         * dirent/readdir_r.c: Likewise.
30262         * dirent/rewinddir.c: Likewise.
30263         * dirent/seekdir.c: Likewise.
30264         * dirent/telldir.c: Likewise.
30265         * gmon/profil.c: Likewise.
30266         * grp/setgroups.c: Likewise.
30267         * inet/if_index.c: Likewise.
30268         * io/access.c: Likewise.
30269         * io/chdir.c: Likewise.
30270         * io/chmod.c: Likewise.
30271         * io/chown.c: Likewise.
30272         * io/close.c: Likewise.
30273         * io/dup.c: Likewise.
30274         * io/dup2.c: Likewise.
30275         * io/dup3.c: Likewise.
30276         * io/euidaccess.c: Likewise.
30277         * io/faccessat.c: Likewise.
30278         * io/fchdir.c: Likewise.
30279         * io/fchmod.c: Likewise.
30280         * io/fchmodat.c: Likewise.
30281         * io/fchown.c: Likewise.
30282         * io/fchownat.c: Likewise.
30283         * io/fcntl.c: Likewise.
30284         * io/flock.c: Likewise.
30285         * io/fstatfs.c: Likewise.
30286         * io/fstatfs64.c: Likewise.
30287         * io/fstatvfs.c: Likewise.
30288         * io/fstatvfs64.c: Likewise.
30289         * io/futimens.c: Likewise.
30290         * io/fxstat.c: Likewise.
30291         * io/fxstat64.c: Likewise.
30292         * io/fxstatat.c: Likewise.
30293         * io/fxstatat64.c: Likewise.
30294         * io/getcwd.c: Likewise.
30295         * io/isatty.c: Likewise.
30296         * io/lchmod.c: Likewise.
30297         * io/lchown.c: Likewise.
30298         * io/link.c: Likewise.
30299         * io/linkat.c: Likewise.
30300         * io/lseek.c: Likewise.
30301         * io/lseek64.c: Likewise.
30302         * io/lxstat64.c: Likewise.
30303         * io/mkdir.c: Likewise.
30304         * io/mkdirat.c: Likewise.
30305         * io/mkfifo.c: Likewise.
30306         * io/mkfifoat.c: Likewise.
30307         * io/open.c: Likewise.
30308         * io/open64.c: Likewise.
30309         * io/openat.c: Likewise.
30310         * io/openat64.c: Likewise.
30311         * io/pipe.c: Likewise.
30312         * io/pipe2.c: Likewise.
30313         * io/poll.c: Likewise.
30314         * io/posix_fadvise.c: Likewise.
30315         * io/posix_fadvise64.c: Likewise.
30316         * io/posix_fallocate.c: Likewise.
30317         * io/posix_fallocate64.c: Likewise.
30318         * io/read.c: Likewise.
30319         * io/readlink.c: Likewise.
30320         * io/readlinkat.c: Likewise.
30321         * io/rmdir.c: Likewise.
30322         * io/sendfile.c: Likewise.
30323         * io/sendfile64.c: Likewise.
30324         * io/statfs.c: Likewise.
30325         * io/statfs64.c: Likewise.
30326         * io/statvfs.c: Likewise.
30327         * io/statvfs64.c: Likewise.
30328         * io/symlink.c: Likewise.
30329         * io/symlinkat.c: Likewise.
30330         * io/ttyname.c: Likewise.
30331         * io/ttyname_r.c: Likewise.
30332         * io/umask.c: Likewise.
30333         * io/unlink.c: Likewise.
30334         * io/unlinkat.c: Likewise.
30335         * io/utime.c: Likewise.
30336         * io/utimensat.c: Likewise.
30337         * io/write.c: Likewise.
30338         * io/xmknod.c: Likewise.
30339         * io/xmknodat.c: Likewise.
30340         * io/xstat.c: Likewise.
30341         * io/xstat64.c: Likewise.
30342         * login/getpt.c: Likewise.
30343         * login/grantpt.c: Likewise.
30344         * login/unlockpt.c: Likewise.
30345         * math/e_acoshl.c: Likewise.
30346         * math/e_acosl.c: Likewise.
30347         * math/e_asinl.c: Likewise.
30348         * math/e_atan2l.c: Likewise.
30349         * math/e_atanhl.c: Likewise.
30350         * math/e_coshl.c: Likewise.
30351         * math/e_expl.c: Likewise.
30352         * math/e_fmodl.c: Likewise.
30353         * math/e_gammal_r.c: Likewise.
30354         * math/e_hypotl.c: Likewise.
30355         * math/e_j0l.c: Likewise.
30356         * math/e_j1l.c: Likewise.
30357         * math/e_jnl.c: Likewise.
30358         * math/e_lgammal_r.c: Likewise.
30359         * math/e_log10l.c: Likewise.
30360         * math/e_log2l.c: Likewise.
30361         * math/e_logl.c: Likewise.
30362         * math/e_powl.c: Likewise.
30363         * math/e_rem_pio2l.c: Likewise.
30364         * math/e_sinhl.c: Likewise.
30365         * math/e_sqrtl.c: Likewise.
30366         * math/fclrexcpt.c: Likewise.
30367         * math/fedisblxcpt.c: Likewise.
30368         * math/feenablxcpt.c: Likewise.
30369         * math/fegetenv.c: Likewise.
30370         * math/fegetexcept.c: Likewise.
30371         * math/fegetround.c: Likewise.
30372         * math/feholdexcpt.c: Likewise.
30373         * math/fesetenv.c: Likewise.
30374         * math/fesetround.c: Likewise.
30375         * math/feupdateenv.c: Likewise.
30376         * math/fgetexcptflg.c: Likewise.
30377         * math/fraiseexcpt.c: Likewise.
30378         * math/fsetexcptflg.c: Likewise.
30379         * math/ftestexcept.c: Likewise.
30380         * math/k_cosl.c: Likewise.
30381         * math/k_rem_pio2l.c: Likewise.
30382         * math/k_sinl.c: Likewise.
30383         * math/k_tanl.c: Likewise.
30384         * math/s_asinhl.c: Likewise.
30385         * math/s_atanl.c: Likewise.
30386         * math/s_cbrtl.c: Likewise.
30387         * math/s_erfl.c: Likewise.
30388         * math/s_expm1l.c: Likewise.
30389         * math/s_log1pl.c: Likewise.
30390         * math/s_tanhl.c: Likewise.
30391         * misc/acct.c: Likewise.
30392         * misc/brk.c: Likewise.
30393         * misc/chflags.c: Likewise.
30394         * misc/chroot.c: Likewise.
30395         * misc/fchflags.c: Likewise.
30396         * misc/fgetxattr.c: Likewise.
30397         * misc/flistxattr.c: Likewise.
30398         * misc/fremovexattr.c: Likewise.
30399         * misc/fsetxattr.c: Likewise.
30400         * misc/fsync.c: Likewise.
30401         * misc/ftruncate.c: Likewise.
30402         * misc/futimes.c: Likewise.
30403         * misc/futimesat.c: Likewise.
30404         * misc/getdomain.c: Likewise.
30405         * misc/getdtsz.c: Likewise.
30406         * misc/gethostid.c: Likewise.
30407         * misc/gethostname.c: Likewise.
30408         * misc/getloadavg.c: Likewise.
30409         * misc/getpagesize.c: Likewise.
30410         * misc/getsysstats.c: Likewise.
30411         * misc/getxattr.c: Likewise.
30412         * misc/gtty.c: Likewise.
30413         * misc/ioctl.c: Likewise.
30414         * misc/lgetxattr.c: Likewise.
30415         * misc/listxattr.c: Likewise.
30416         * misc/llistxattr.c: Likewise.
30417         * misc/lremovexattr.c: Likewise.
30418         * misc/lsetxattr.c: Likewise.
30419         * misc/lutimes.c: Likewise.
30420         * misc/madvise.c: Likewise.
30421         * misc/mincore.c: Likewise.
30422         * misc/mlock.c: Likewise.
30423         * misc/mlockall.c: Likewise.
30424         * misc/mmap.c: Likewise.
30425         * misc/mprotect.c: Likewise.
30426         * misc/msync.c: Likewise.
30427         * misc/munlock.c: Likewise.
30428         * misc/munlockall.c: Likewise.
30429         * misc/munmap.c: Likewise.
30430         * misc/preadv.c: Likewise.
30431         * misc/preadv64.c: Likewise.
30432         * misc/ptrace.c: Likewise.
30433         * misc/pwritev.c: Likewise.
30434         * misc/pwritev64.c: Likewise.
30435         * misc/readv.c: Likewise.
30436         * misc/reboot.c: Likewise.
30437         * misc/remap_file_pages.c: Likewise.
30438         * misc/removexattr.c: Likewise.
30439         * misc/revoke.c: Likewise.
30440         * misc/select.c: Likewise.
30441         * misc/setdomain.c: Likewise.
30442         * misc/setegid.c: Likewise.
30443         * misc/seteuid.c: Likewise.
30444         * misc/sethostid.c: Likewise.
30445         * misc/sethostname.c: Likewise.
30446         * misc/setregid.c: Likewise.
30447         * misc/setreuid.c: Likewise.
30448         * misc/setxattr.c: Likewise.
30449         * misc/sstk.c: Likewise.
30450         * misc/stty.c: Likewise.
30451         * misc/swapoff.c: Likewise.
30452         * misc/swapon.c: Likewise.
30453         * misc/sync.c: Likewise.
30454         * misc/syncfs.c: Likewise.
30455         * misc/syscall.c: Likewise.
30456         * misc/truncate.c: Likewise.
30457         * misc/ualarm.c: Likewise.
30458         * misc/usleep.c: Likewise.
30459         * misc/ustat.c: Likewise.
30460         * misc/utimes.c: Likewise.
30461         * misc/vhangup.c: Likewise.
30462         * misc/writev.c: Likewise.
30463         * posix/_exit.c: Likewise.
30464         * posix/alarm.c: Likewise.
30465         * posix/execve.c: Likewise.
30466         * posix/fexecve.c: Likewise.
30467         * posix/fork.c: Likewise.
30468         * posix/fpathconf.c: Likewise.
30469         * posix/getaddrinfo.c: Likewise.
30470         * posix/getegid.c: Likewise.
30471         * posix/geteuid.c: Likewise.
30472         * posix/getgid.c: Likewise.
30473         * posix/getgroups.c: Likewise.
30474         * posix/getlogin.c: Likewise.
30475         * posix/getlogin_r.c: Likewise.
30476         * posix/getpgid.c: Likewise.
30477         * posix/getpid.c: Likewise.
30478         * posix/getppid.c: Likewise.
30479         * posix/getresgid.c: Likewise.
30480         * posix/getresuid.c: Likewise.
30481         * posix/getsid.c: Likewise.
30482         * posix/getuid.c: Likewise.
30483         * posix/glob64.c: Likewise.
30484         * posix/nanosleep.c: Likewise.
30485         * posix/pathconf.c: Likewise.
30486         * posix/pause.c: Likewise.
30487         * posix/posix_madvise.c: Likewise.
30488         * posix/pread.c: Likewise.
30489         * posix/pread64.c: Likewise.
30490         * posix/pwrite.c: Likewise.
30491         * posix/pwrite64.c: Likewise.
30492         * posix/sched_getaffinity.c: Likewise.
30493         * posix/sched_getp.c: Likewise.
30494         * posix/sched_gets.c: Likewise.
30495         * posix/sched_primax.c: Likewise.
30496         * posix/sched_primin.c: Likewise.
30497         * posix/sched_rr_gi.c: Likewise.
30498         * posix/sched_setaffinity.c: Likewise.
30499         * posix/sched_setp.c: Likewise.
30500         * posix/sched_sets.c: Likewise.
30501         * posix/sched_yield.c: Likewise.
30502         * posix/setgid.c: Likewise.
30503         * posix/setlogin.c: Likewise.
30504         * posix/setpgid.c: Likewise.
30505         * posix/setresgid.c: Likewise.
30506         * posix/setresuid.c: Likewise.
30507         * posix/setsid.c: Likewise.
30508         * posix/setuid.c: Likewise.
30509         * posix/sleep.c: Likewise.
30510         * posix/spawni.c: Likewise.
30511         * posix/sysconf.c: Likewise.
30512         * posix/times.c: Likewise.
30513         * posix/wait.c: Likewise.
30514         * posix/wait3.c: Likewise.
30515         * posix/wait4.c: Likewise.
30516         * posix/waitpid.c: Likewise.
30517         * resolv/gai_sigqueue.c: Likewise.
30518         * resource/getpriority.c: Likewise.
30519         * resource/getrlimit.c: Likewise.
30520         * resource/getrusage.c: Likewise.
30521         * resource/nice.c: Likewise.
30522         * resource/setpriority.c: Likewise.
30523         * resource/setrlimit.c: Likewise.
30524         * resource/ulimit.c: Likewise.
30525         * rt/aio_cancel.c: Likewise.
30526         * rt/aio_fsync.c: Likewise.
30527         * rt/aio_read.c: Likewise.
30528         * rt/aio_sigqueue.c: Likewise.
30529         * rt/aio_suspend.c: Likewise.
30530         * rt/aio_write.c: Likewise.
30531         * rt/clock_getres.c: Likewise.
30532         * rt/clock_gettime.c: Likewise.
30533         * rt/clock_nanosleep.c: Likewise.
30534         * rt/clock_settime.c: Likewise.
30535         * rt/lio_listio.c: Likewise.
30536         * rt/mq_close.c: Likewise.
30537         * rt/mq_getattr.c: Likewise.
30538         * rt/mq_notify.c: Likewise.
30539         * rt/mq_open.c: Likewise.
30540         * rt/mq_receive.c: Likewise.
30541         * rt/mq_send.c: Likewise.
30542         * rt/mq_setattr.c: Likewise.
30543         * rt/mq_timedreceive.c: Likewise.
30544         * rt/mq_timedsend.c: Likewise.
30545         * rt/mq_unlink.c: Likewise.
30546         * rt/shm_open.c: Likewise.
30547         * rt/shm_unlink.c: Likewise.
30548         * rt/timer_create.c: Likewise.
30549         * rt/timer_delete.c: Likewise.
30550         * rt/timer_getoverr.c: Likewise.
30551         * rt/timer_gettime.c: Likewise.
30552         * rt/timer_settime.c: Likewise.
30553         * setjmp/__longjmp.c: Likewise.
30554         * setjmp/setjmp.c: Likewise.
30555         * signal/kill.c: Likewise.
30556         * signal/killpg.c: Likewise.
30557         * signal/raise.c: Likewise.
30558         * signal/sigaction.c: Likewise.
30559         * signal/sigaltstack.c: Likewise.
30560         * signal/sigblock.c: Likewise.
30561         * signal/sigignore.c: Likewise.
30562         * signal/sigintr.c: Likewise.
30563         * signal/signal.c: Likewise.
30564         * signal/sigpause.c: Likewise.
30565         * signal/sigpending.c: Likewise.
30566         * signal/sigqueue.c: Likewise.
30567         * signal/sigreturn.c: Likewise.
30568         * signal/sigset.c: Likewise.
30569         * signal/sigsetmask.c: Likewise.
30570         * signal/sigstack.c: Likewise.
30571         * signal/sigsuspend.c: Likewise.
30572         * signal/sigtimedwait.c: Likewise.
30573         * signal/sigvec.c: Likewise.
30574         * signal/sigwait.c: Likewise.
30575         * signal/sigwaitinfo.c: Likewise.
30576         * signal/sysv_signal.c: Likewise.
30577         * socket/accept.c: Likewise.
30578         * socket/accept4.c: Likewise.
30579         * socket/bind.c: Likewise.
30580         * socket/connect.c: Likewise.
30581         * socket/getpeername.c: Likewise.
30582         * socket/getsockname.c: Likewise.
30583         * socket/getsockopt.c: Likewise.
30584         * socket/isfdtype.c: Likewise.
30585         * socket/listen.c: Likewise.
30586         * socket/recv.c: Likewise.
30587         * socket/recvfrom.c: Likewise.
30588         * socket/recvmsg.c: Likewise.
30589         * socket/send.c: Likewise.
30590         * socket/sendmsg.c: Likewise.
30591         * socket/sendto.c: Likewise.
30592         * socket/setsockopt.c: Likewise.
30593         * socket/shutdown.c: Likewise.
30594         * socket/sockatmark.c: Likewise.
30595         * socket/socket.c: Likewise.
30596         * socket/socketpair.c: Likewise.
30597         * stdio-common/ctermid.c: Likewise.
30598         * stdio-common/cuserid.c: Likewise.
30599         * stdio-common/remove.c: Likewise.
30600         * stdio-common/rename.c: Likewise.
30601         * stdio-common/renameat.c: Likewise.
30602         * stdio-common/tempname.c: Likewise.
30603         * stdlib/getcontext.c: Likewise.
30604         * stdlib/makecontext.c: Likewise.
30605         * stdlib/setcontext.c: Likewise.
30606         * stdlib/swapcontext.c: Likewise.
30607         * stdlib/system.c: Likewise.
30608         * streams/fattach.c: Likewise.
30609         * streams/fdetach.c: Likewise.
30610         * streams/getmsg.c: Likewise.
30611         * streams/getpmsg.c: Likewise.
30612         * streams/putmsg.c: Likewise.
30613         * streams/putpmsg.c: Likewise.
30614         * sysdeps/unix/bsd/getpt.c: Likewise.
30615         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30616         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30617         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30621         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30622         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30623         * sysvipc/msgctl.c: Likewise.
30624         * sysvipc/msgget.c: Likewise.
30625         * sysvipc/msgrcv.c: Likewise.
30626         * sysvipc/msgsnd.c: Likewise.
30627         * sysvipc/semctl.c: Likewise.
30628         * sysvipc/semget.c: Likewise.
30629         * sysvipc/semop.c: Likewise.
30630         * sysvipc/semtimedop.c: Likewise.
30631         * sysvipc/shmat.c: Likewise.
30632         * sysvipc/shmctl.c: Likewise.
30633         * sysvipc/shmdt.c: Likewise.
30634         * sysvipc/shmget.c: Likewise.
30635         * termios/tcdrain.c: Likewise.
30636         * termios/tcflow.c: Likewise.
30637         * termios/tcflush.c: Likewise.
30638         * termios/tcgetattr.c: Likewise.
30639         * termios/tcgetpgrp.c: Likewise.
30640         * termios/tcsendbrk.c: Likewise.
30641         * termios/tcsetattr.c: Likewise.
30642         * termios/tcsetpgrp.c: Likewise.
30643         * time/adjtime.c: Likewise.
30644         * time/clock.c: Likewise.
30645         * time/getitimer.c: Likewise.
30646         * time/gettimeofday.c: Likewise.
30647         * time/setitimer.c: Likewise.
30648         * time/settimeofday.c: Likewise.
30649         * time/stime.c: Likewise.
30650         * time/time.c: Likewise.
30651
30652 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
30653
30654         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30655         /usr/old/bin.
30656
30657         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30658         instead of spaces.
30659         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30660
30661 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
30662
30663         [BZ #14796]
30664         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30665         FE_TONEAREST before applying Dekker multiplication and Knuth
30666         addition.  Clear inexact exceptions and check for exact zero
30667         results afterwards.
30668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30669         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30670         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30671         * math/libm-test.inc (fma_test): Add more tests.
30672         (fma_test_towardzero): Likewise.
30673         (fma_test_downward): Likewise.
30674         (fma_test_upward): Likewise.
30675         * sysdeps/generic/math_private.h (default_libc_fesetround): New
30676         function.
30677         (libc_fesetround): New macro.
30678         (libc_fesetroundf): Likewise.
30679         (libc_fesetroundl): Likewise.
30680         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30681         function.
30682         (libc_fesetround_387): Likewise.
30683         (libc_fesetroundf): New macro.
30684         (libc_fesetround): Likewise.
30685         (libc_fesetroundl): Likewise.
30686         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30687         function.
30688         (libc_fesetroundf): New macro.
30689         (libc_fesetround): Likewise.
30690         (libc_fesetroundl): Likewise.
30691         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30692         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30693         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30694         libm_hidden_ver.
30695         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30696         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30697         libm_hidden_def.
30698         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30699         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30700         libm_hidden_ver.
30701         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30702         libm_hidden_def.
30703
30704         [BZ #3439]
30705         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30706         integer constant usable in #if and use that to give value to enum
30707         constant.
30708         (FE_DIVBYZERO): Likewise.
30709         (FE_UNDERFLOW): Likewise.
30710         (FE_OVERFLOW): Likewise.
30711         (FE_INVALID): Likewise.
30712         (FE_INVALID_SNAN): Likewise.
30713         (FE_INVALID_ISI): Likewise.
30714         (FE_INVALID_IDI): Likewise.
30715         (FE_INVALID_ZDZ): Likewise.
30716         (FE_INVALID_IMZ): Likewise.
30717         (FE_INVALID_COMPARE): Likewise.
30718         (FE_INVALID_SOFTWARE): Likewise.
30719         (FE_INVALID_SQRT): Likewise.
30720         (FE_INVALID_INTEGER_CONVERSION): Likewise.
30721         (FE_TONEAREST): Likewise.
30722         (FE_TOWARDZERO): Likewise.
30723         (FE_UPWARD): Likewise.
30724         (FE_DOWNWARD): Likewise.
30725         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30726         (FE_DIVBYZERO): Likewise.
30727         (FE_OVERFLOW): Likewise.
30728         (FE_UNDERFLOW): Likewise.
30729         (FE_INEXACT): Likewise.
30730         (FE_TONEAREST): Likewise.
30731         (FE_DOWNWARD): Likewise.
30732         (FE_UPWARD): Likewise.
30733         (FE_TOWARDZERO): Likewise.
30734         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30735         (FE_UNDERFLOW): Likewise.
30736         (FE_OVERFLOW): Likewise.
30737         (FE_DIVBYZERO): Likewise.
30738         (FE_INVALID): Likewise.
30739         (FE_TONEAREST): Likewise.
30740         (FE_TOWARDZERO): Likewise.
30741         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30742         (FE_OVERFLOW): Likewise.
30743         (FE_UNDERFLOW): Likewise.
30744         (FE_DIVBYZERO): Likewise.
30745         (FE_INEXACT): Likewise.
30746         (FE_TONEAREST): Likewise.
30747         (FE_TOWARDZERO): Likewise.
30748         (FE_UPWARD): Likewise.
30749         (FE_DOWNWARD): Likewise.
30750         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30751         (FE_DIVBYZERO): Likewise.
30752         (FE_OVERFLOW): Likewise.
30753         (FE_UNDERFLOW): Likewise.
30754         (FE_INEXACT): Likewise.
30755         (FE_TONEAREST): Likewise.
30756         (FE_DOWNWARD): Likewise.
30757         (FE_UPWARD): Likewise.
30758         (FE_TOWARDZERO): Likewise.
30759
30760 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
30761
30762         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30763
30764 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
30765
30766         * scripts/cross-test-ssh.sh (command): Use newlines to separate
30767         commands.  Quote $PWD.
30768         (blacklist_exports): Don't use remove_newlines.  Replace "declare
30769         -x" by "export".
30770         (remove_newlines): Remove.
30771
30772 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
30773
30774         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30775         * stdlib/stdlib.h (atof): Moved to ...
30776         * include/bits/stdlib-float.h: Here.  New file.
30777         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30778         * stdlib/bits/stdlib-float.h: New file.
30779         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30780         -mno-sse -mno-mmx.
30781         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30782         <xmmintrin.h>.
30783
30784 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30785
30786         * conform/conformtest.pl (@headers): Add fenv.h.
30787         * conform/data/fenv.h-data: New file.
30788         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30789         include of <math/fenv.h>.
30790
30791         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30792         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30793         && !UNIX98].  Enables tests for XOPEN2K8.
30794         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30795         POSIX2008]: Likewise.
30796
30797         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30798         (struct rusage): Do not expect type or its members.
30799
30800         [BZ #3439]
30801         * math/math.h (FP_NAN): Define macro to integer constant usable in
30802         #if and use that to give value to enum constant.
30803         (FP_INFINITE): Likewise.
30804         (FP_ZERO): Likewise.
30805         (FP_SUBNORMAL): Likewise.
30806         (FP_NORMAL): Likewise.
30807
30808 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30809
30810         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30811         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30812         arguments.
30813
30814 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30815
30816         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30817         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30818         autoconf-time if not.
30819         * configure.in: Remove AC_PREREQ.
30820
30821 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30822
30823         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30824         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30825         of the internal implementation.
30826
30827 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30828
30829         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30830         except include of <misc/sys/syslog.h>.
30831
30832 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30833
30834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30835         function returns with a NULL context exit with zero.
30836
30837 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30838
30839         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30840
30841 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30842
30843         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30844         (run_program_cmd): This.
30845         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30846         (tst_langinfo): New variable.  Use it.
30847
30848 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30849
30850         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30851         floating point opcodes.
30852
30853 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30854
30855         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30856         variable.
30857
30858         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30859
30860         * sysdeps/mach/hurd/powerpc: Remove directory.
30861         * sysdeps/mach/powerpc: Likewise.
30862
30863 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30864
30865         * scripts/check-local-headers.sh: Ignore c++ headers.
30866
30867 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30868
30869         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30870         __libc_cleanup_region_start argument.
30871
30872 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30873
30874         [BZ #14784]
30875         [BZ #14785]
30876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30877         x * y using scaling, not as x * y + z.
30878         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30880         * math/libm-test.inc (fma_test): Add more tests.
30881         (fma_test_towardzero): Likewise.
30882         (fma_test_downward): Likewise.
30883         (fma_test_upward): Likewise.
30884
30885 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30886
30887         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30888
30889 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30890
30891         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30892         New variable.
30893
30894 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30895
30896         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30897
30898 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30899
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30901         Fix sort order.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30903         Likewise.
30904
30905 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30906
30907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30908         Fix the order of the list for glibc 2.17.
30909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30910         Likewise.
30911
30912 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30913
30914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30915
30916 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30917
30918         [BZ #14610]
30919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30920         for low part of x being zero before using __atanl (y).
30921         * math/libm-test.inc (atan2_test): Add another test.
30922
30923         * manual/install.texi (Configuring and compiling): Document
30924         general use of test-wrapper and test-wrapper-env.
30925         * INSTALL: Regenerated.
30926
30927         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30928         (__fma): Do not extract and scale down low bits on after-rounding
30929         systems when result rounded to normal precision would have normal
30930         exponent.
30931         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30932         (__fmal): Do not extract and scale down low bits on after-rounding
30933         systems when result rounded to normal precision would have normal
30934         exponent.
30935         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30936         (__fmal): Do not extract and scale down low bits on after-rounding
30937         systems when result rounded to normal precision would have normal
30938         exponent.
30939         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30940         macro.
30941         (fma_test): Add more tests.
30942         (fma_test_towardzero): Likewise.
30943         (fma_test_downward): Likewise.
30944         (fma_test_upward): Likewise.
30945
30946 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30947
30948         * sysdeps/i386/tininess.h: Renamed to ...
30949         * sysdeps/x86/tininess.h: This.
30950         * sysdeps/x86_64/tininess.h: Removed.
30951
30952 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30953
30954         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30955         input.  Use $(build-program-cmd).
30956         ($(objpfx)tst-array1-static.out): Likewise.
30957         ($(objpfx)tst-array2.out): Likewise.
30958         ($(objpfx)tst-array3.out): Likewise.
30959         ($(objpfx)tst-array4.out): Likewise.
30960         ($(objpfx)tst-array5.out): Likewise.
30961         ($(objpfx)tst-array5-static.out): Likewise.
30962
30963 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30964
30965         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30966         if defined.
30967
30968         * nss/nsswitch.h (nss_interface_function): Provide new
30969         macro for use with NSS functions.
30970         * grp/initgroups.c: Use new macro.
30971         * nss/getXXbyYY.c: Likewise.
30972         * nss/getXXbyYY_r.c: Likewise.
30973         * nss/getXXent.c: Likewise.
30974         * nss/getXXent_r.c: Likewise.
30975         * sysdeps/posix/getaddrinfo.c: Likewise.
30976
30977 2012-10-30  Andreas Jaeger  <aj@suse.de>
30978
30979         * po/ru.po: Update Russion translation from translation project.
30980
30981 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30982
30983         [BZ #14152]
30984         [BZ #14783]
30985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30986         result and shift together with sticky bit instead of replicating
30987         round-to-nearest rounding.
30988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30990         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30991         missing underflow exceptions.
30992         (fma_test_towardzero): Add more tests.
30993         (fma_test_downward): Likewise.
30994         (fma_test_upward): Likewise.
30995
30996         [BZ #14047]
30997         * sysdeps/generic/tininess.h: New file.
30998         * sysdeps/i386/tininess.h: Likewise.
30999         * sysdeps/sh/tininess.h: Likewise.
31000         * sysdeps/x86_64/tininess.h: Likewise.
31001         * stdlib/tst-strtod-underflow.c: Likewise.
31002         * stdlib/tst-tininess.c: Likewise.
31003         * stdlib/strtod_l.c: Include <tininess.h>.
31004         (round_and_return): Do not set errno for exact underflow cases.
31005         Force an underflow exception when setting errno for underflow.
31006         Determine underflow based on rounding to normal precision if
31007         TININESS_AFTER_ROUNDING.
31008         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31009         ERANGE for exact underflow cases.
31010         * stdlib/Makefile (tests): Add tst-tininess and
31011         tst-strtod-underflow.
31012         ($(objpfx)tst-tininess): Use $(link-libm).
31013         ($(objpfx)tst-strtod-underflow): Likewise.
31014
31015 2012-10-30  Andreas Jaeger  <aj@suse.de>
31016
31017         [BZ#14767]
31018         * elf/Makefile (tests): Remove conditional for have-initfini-array
31019         since this is now always required and the variable does not exist
31020         anymore.
31021         (tests-static): Likewise.
31022         (modules-names): Likewise.
31023
31024         * po/eo.po: Add Esperanto translation from translation project.
31025
31026         * elf/tst-array1.c (fini_array): Make writeable so that it can be
31027         merged with constructor/destructor.
31028         (init_array): Likewise.
31029         * elf/tst-array2dep.c (fini_array): Likewise.
31030         (init_array): Likewise.
31031
31032 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
31033
31034         * manual/message.texi: Delete @cartouche tags.
31035
31036 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
31037
31038         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31039         EOPNOTSUPP.
31040         * sysdeps/mach/hurd/fsync.c: Likewise.
31041
31042         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31043         [_POSIX_REALTIME_SIGNALS]: Change condition to
31044         [_POSIX_REALTIME_SIGNALS > 0].
31045
31046 2012-10-27  Andreas Jaeger  <aj@suse.de>
31047
31048         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31049         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31051         [__WORDSIZE != 64]: Likewise.
31052
31053 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
31054
31055         *  iconvdata/tst-table.sh: Remove ${SHELL}.
31056         *  iconvdata/tst-tables.sh: Likewise.
31057
31058 2012-10-25  David S. Miller  <davem@davemloft.net>
31059
31060         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31061         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31062         of strtoull.
31063
31064         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31065         ifunc-impl-list.c
31066         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31067         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31068         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31069         file.
31070
31071 2012-10-25  Roland McGrath  <roland@hack.frob.com>
31072
31073         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31074         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31075         __getdirentries.
31076
31077 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31078             Jim Blandy  <jimb@codesourcery.com>
31079
31080         * scripts/cross-test-ssh.sh: New file.
31081         * manual/install.texi (Configuring and compiling): Document use of
31082         cross-test-ssh.sh.
31083         * INSTALL: Regenerated.
31084
31085 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
31086
31087         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31088         EOPNOTSUPP.
31089
31090 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
31091
31092         * Makeconfig (run-program-prefix): Fix comment.
31093
31094 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31095             Jim Blandy  <jimb@codesourcery.com>
31096
31097         * Makeconfig (test-wrapper): New variable,
31098         (test-wrapper-env): Likewise.
31099         [$(cross-compiling) = yes && $(test-wrapper) != ""]
31100         (run-built-tests): Define to yes.
31101         (run-program-prefix): Use $(test-wrapper).
31102         (built-program-cmd): Likewise.
31103         * Rules (make-test-out): Use $(test-wrapper-env) and
31104         $(host-built-program-cmd).
31105         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31106         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31107         tst-pathopt.sh.
31108         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31109         $(test-wrapper-env) to tst-rtld-load-self.sh.
31110         ($(objpfx)order2.out): Use $(test-wrapper).
31111         ($(objpfx)tst-initorder.out): Likewise.
31112         ($(objpfx)tst-initorder2.out): Likewise.
31113         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31114         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31115         (test_wrapper_env): New variable.  Use it to run ld.so.
31116         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31117         Use it to run ld.so.
31118         (test_wrapper_env): Likewise.
31119         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31120         $(test-wrapper) to run-iconv-test.sh.
31121         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31122         (ICONV): Use $test_wrapper.
31123         * posix/Makefile ($(objpfx)globtest.out): Pass
31124         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31125         globtest.sh, not $(run-program-prefix).
31126         * posix/globtest.sh (run_via_rtld_prefix): New variable.
31127         (test_wrapper): Likewise.
31128         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
31129         set together with run_via_rtld_prefix.
31130         (run_program_prefix): Define in terms of test_wrapper and
31131         run_via_rtld_prefix.
31132
31133 2012-10-24  Roland McGrath  <roland@hack.frob.com>
31134
31135         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31136         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31137         Targets removed.
31138
31139         [BZ #14743]
31140         * include/time.h: Remove librt_hidden_proto (clock_gettime).
31141         Declare __clock_getres, __clock_gettime, __clock_settime,
31142         __clock_nanosleep, and __clock_getcpuclockid.
31143         * rt/clock_gettime.c: Define __clock_gettime as an alias.
31144         Remove librt_hidden_def (clock_gettime).
31145         * sysdeps/unix/clock_gettime.c: Likewise.
31146         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31147         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31148         * rt/clock_getres.c: Define __clock_getres as an alias.
31149         * sysdeps/posix/clock_getres.c: Likewise.
31150         * rt/clock_settime.c: Define __clock_settime as an alias.
31151         * sysdeps/unix/clock_settime.c: Likewise.
31152         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31153         * sysdeps/unix/clock_nanosleep.c: Likewise.
31154         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31155         * rt/clock-compat.c: New file.
31156         * rt/Makefile (librt-routines): Add clock-compat and move
31157         $(clock-routines) to ...
31158         (routines): ... here, new variable.
31159         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31160         Don't add get_clockfreq here.
31161         * rt/Versions (libc: GLIBC_2.17): New version set.
31162         Add clock_* symbols here.
31163         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
31164         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31165         (GLIBC_2.17): Add clock_* symbols.
31166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31168         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31170         Likewise.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31172         Likewise.
31173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31177         * NEWS: Mention the move.
31178
31179         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31180         Use __open, __read, __close rather than their public counterparts.
31181         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31182         (__get_clockfreq_via_cpuinfo): Likewise.
31183         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31184         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31185
31186         * config.h.in (HAVE_IFUNC): New #undef.
31187         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31188         was successful.
31189         * configure: Regenerated.
31190
31191 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31192
31193         * configure.in: Move READELF check to start of file.
31194         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31195         libc_cv_asm_gnu_indirect_function in the process.
31196         * configure: Regenerated.
31197
31198 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
31199
31200         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31201         send the output to /dev/null.
31202         (libc_cv_cc_with_libunwind): Likewise.
31203         (libc_cv_as_noexecstack): Likewise.
31204         * configure: Regenerate.
31205
31206 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
31207
31208         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31209
31210         * posix/globtest.sh (TMPDIR): Do not set.
31211         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31212         (testout): Likewise.
31213
31214 2012-10-24  Andreas Jaeger  <aj@suse.de>
31215
31216         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31217         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31218         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31219         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31220         posix_fadvise64, posix_fallocate64.
31221
31222         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31223         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31224         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31225         Likewise.
31226         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31227         Likewise.
31228         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31229
31230         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31231         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31232         <bits/fcntl-linux.h>.
31233         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31234
31235         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31236         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31237         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31238         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31239         [__WORDSIZE != 64]: Likewise.
31240
31241 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31242
31243         * Makeconfig (run-built-tests): New variable.
31244         * Rules [$(cross-compiling) = yes]: Change condition to
31245         [$(run-built-tests) = no].
31246         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31247         to [$(run-built-tests) = yes].
31248         * elf/Makefile [$(cross-compiling) = no]: Likewise
31249         * grp/Makefile [$(cross-compiling) = no]: Likewise.
31250         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31251         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31252         * intl/Makefile [$(cross-compiling) = no]: Likewise.
31253         * io/Makefile [$(cross-compiling) = no]: Likewise.
31254         * libio/Makefile [$(cross-compiling) = no]: Likewise.
31255         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31256         * misc/Makefile [$(cross-compiling) = no]: Likewise.
31257         * posix/Makefile [$(cross-compiling) = no]: Likewise.
31258         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31259         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31260         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31261         * string/Makefile [$(cross-compiling) = no]: Likewise.
31262
31263         * posix/Makefile ($(objpfx)globtest.out): Pass
31264         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31265         $(rtld-installed-name).
31266         * posix/globtest.sh (elf_objpfx): Remove variable.
31267         (rtld_installed_name): Likewise.
31268         (library_path): Likewise.
31269         (run_program_prefix): New variable.  Use for running globtest
31270         binary.
31271
31272 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
31273             Joseph Myers  <joseph@codesourcery.com>
31274
31275         * Makeconfig (host-built-program-cmd): New variable.
31276         * elf/Makefile (tst-stackguard1-ARGS): Use
31277         $(host-built-program-cmd).
31278         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31279         (tst-spawn-ARGS): Likewise.
31280         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31281
31282 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
31283             Jim Blandy  <jimb@codesourcery.com>
31284
31285         * Makeconfig (run-via-rtld-prefix): New variable.
31286         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31287         (built-program-cmd): Likewise.
31288
31289 2012-10-22  Andreas Jaeger  <aj@suse.de>
31290
31291         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31292         __O_RSYNC if it exists, otherwise to O_SYNC.
31293
31294 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
31295             Joseph Myers  <joseph@codesourcery.com>
31296
31297         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31298         /dev/null.
31299         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31300         from /dev/null
31301         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31302         /dev/null.
31303
31304 2012-10-22  Andreas Jaeger  <aj@suse.de>
31305
31306         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31307         Define always.
31308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31309
31310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31311         bits/fcntl-linux.h.
31312
31313         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31314         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31315
31316         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31317         to __O_LARGEFILE.
31318         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31319         to __O_LARGEFILE.
31320
31321 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
31322             Joseph Myers  <joseph@codesourcery.com>
31323
31324         * config.make.in (NM): New variable.
31325
31326 2012-10-21  Andreas Jaeger  <aj@suse.de>
31327
31328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31329         definitions and declarations that are provided by
31330         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31331
31332 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31333
31334         [BZ #14683]
31335         * elf/Makefile (tests-static): Add tst-leaks1-static.
31336         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31337         ($(objpfx)tst-leaks1-static): New rule.
31338         ($(objpfx)tst-leaks1-static-mem): Likewise.
31339         (tst-leaks1-static-ENV): New macro.
31340         * elf/dl-open.c (dl_open_worker): Check the main application
31341         only if SHARED is defined.
31342         * elf/tst-leaks1-static.c: New file.
31343
31344 2012-10-20  Andreas Jaeger  <aj@suse.de>
31345
31346         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31347         generic values for Linux.
31348         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31349         and declarations that are provided by <bits/fcntl-linux.h> and
31350         include <bits/fcntl-linux.h>.
31351         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31352         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31353
31354 2012-10-20  Roland McGrath  <roland@hack.frob.com>
31355
31356         * io/fcntl.h: Move include of <bits/types.h> to the top and
31357         include it unconditionally.
31358
31359 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
31360
31361         * wcsmbs/Makefile (tests-ifunc): New variable.
31362         (tests): Add $(tests-ifunc).
31363         * wcsmbs/test-wcschr-ifunc.c: New file.
31364         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31365         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31366         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31367         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31368         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31369
31370         * string/Makefile (tests-ifunc): New variable.
31371         (tests): Add $(tests-ifunc).
31372         * string/test-memccpy.c (TEST_NAME): New macro.
31373         * string/test-memchr.c (TEST_NAME): Likewise.
31374         * string/test-memcmp.c (TEST_NAME): Likewise.
31375         * string/test-memcpy.c (TEST_NAME): Likewise.
31376         * string/test-memmem.c (TEST_NAME): Likewise.
31377         * string/test-memmove.c (TEST_NAME): Likewise.
31378         * string/test-memset.c (TEST_NAME): Likewise.
31379         * string/test-rawmemchr.c (TEST_NAME): Likewise.
31380         * string/test-stpcpy.c (TEST_NAME): Likewise.
31381         * string/test-stpncpy.c (TEST_NAME): Likewise.
31382         * string/test-strcasecmp.c (TEST_NAME): Likewise.
31383         * string/test-strcasestr.c (TEST_NAME): Likewise.
31384         * string/test-strcat.c (TEST_NAME): Likewise.
31385         * string/test-strchr.c (TEST_NAME): Likewise.
31386         * string/test-strcmp.c(TEST_NAME): Likewise.
31387         * string/test-strcpy.c (TEST_NAME): Likewise.
31388         * string/test-strcspn.c (TEST_NAME): Likewise.
31389         * string/test-strlen.c (TEST_NAME): Likewise.
31390         * string/test-strncasecmp.c (TEST_NAME): Likewise.
31391         * string/test-strncmp.c (TEST_NAME): Likewise.
31392         * string/test-strncpy.c (TEST_NAME): Likewise.
31393         * string/test-strnlen.c (TEST_NAME): Likewise.
31394         * string/test-strpbrk.c (TEST_NAME): Likewise.
31395         * string/test-strrchr.c (TEST_NAME): Likewise.
31396         * string/test-strspn.c (TEST_NAME): Likewise.
31397         * string/test-strstr.c (TEST_NAME): Likewise.
31398         * string/test-bcopy-ifunc.c: New file.
31399         * string/test-bzero-ifunc.c: Likewise.
31400         * string/test-memccpy-ifunc.c: Likewise.
31401         * string/test-memchr-ifunc.c: Likewise.
31402         * string/test-memcmp-ifunc.c: Likewise.
31403         * string/test-memcpy-ifunc.c: Likewise.
31404         * string/test-memmem-ifunc.c: Likewise.
31405         * string/test-memmove-ifunc.c: Likewise.
31406         * string/test-mempcpy-ifunc.c: Likewise.
31407         * string/test-memset-ifunc.c: Likewise.
31408         * string/test-rawmemchr-ifunc.c: Likewise.
31409         * string/test-stpcpy-ifunc.c: Likewise.
31410         * string/test-stpncpy-ifunc.c: Likewise.
31411         * string/test-strcasecmp-ifunc.c: Likewise.
31412         * string/test-strcasestr-ifunc.c: Likewise.
31413         * string/test-strcat-ifunc.c: Likewise.
31414         * string/test-strchr-ifunc.c: Likewise.
31415         * string/test-strchrnul-ifunc.c: Likewise.
31416         * string/test-strcmp-ifunc.c: Likewise.
31417         * string/test-strcpy-ifunc.c: Likewise.
31418         * string/test-strcspn-ifunc.c: Likewise.
31419         * string/test-strlen-ifunc.c: Likewise.
31420         * string/test-strncasecmp-ifunc.c: Likewise.
31421         * string/test-strncat-ifunc.c: Likewise.
31422         * string/test-strncmp-ifunc.c: Likewise.
31423         * string/test-strncpy-ifunc.c: Likewise.
31424         * string/test-strnlen-ifunc.c: Likewise.
31425         * string/test-strpbrk-ifunc.c: Likewise.
31426         * string/test-strrchr-ifunc.c: Likewise.
31427         * string/test-strspn-ifunc.c: Likewise.
31428         * string/test-strstr-ifunc.c: Likewise.
31429
31430         * debug/Makefile (tests-ifunc): New variable.
31431         (tests): Add $(tests-ifunc).
31432         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31433         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31434         * debug/test-stpcpy_chk-ifunc.c: New file.
31435         * debug/test-strcpy_chk-ifunc.c: Likewise.
31436
31437 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438
31439         [BZ #13601]
31440         * elf/dl-load.c (open_verify): Retry read if the entire ELF
31441         header is not read in.
31442
31443 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
31444
31445         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
31446         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
31447         directly.  Pass built executable to script as
31448         $(built-program-cmd).
31449         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
31450         $testprogram without using LD_LIBRARY_PATH and $ldso.
31451
31452         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31453         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31454         $(rtld-installed-name).
31455         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31456         (rtld_installed_name): Likewise.
31457         (library_path): Likewise.
31458         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
31459         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31460         $(run-program-prefix) to tst-tables.sh.
31461         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
31462         it to run tst-table-from and tst-table-to.
31463         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31464         Pass it to tst-table.sh.
31465         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31466         $(run-program-prefix) to tst-gettext.sh.
31467         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31468         tst-translit.sh.
31469         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31470         tst-gettext2.sh.
31471         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
31472         to run tst-gettext.
31473         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
31474         to run tst-gettext2.
31475         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
31476         to run tst-translit.
31477         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31478         $(run-program-prefix) to tst-mtrace.sh.
31479         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
31480         to run tst-mtrace.
31481         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31482         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31483         $(rtld-installed-name).
31484         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31485         (rtld_installed_name): Likewise.
31486         (run_program_prefix): New variable.  Use it to run wordexp-test.
31487
31488         * Makeconfig (ARCH): Remove all definitions.
31489         (machine): Likewise.
31490         [ARCH]: Remove conditional code.
31491         [!objdir]: Give error.
31492         [!objdir] (objpfx): Remove.
31493         [!objdir] (common-objpfx): Likewise.
31494         [!objdir] (common-objdir): Likewise.
31495         * configure.in (config_makefile): Remove.  Hardcode Makefile in
31496         AC_CONFIG_FILES call.
31497         * configure: Regenerated.
31498
31499         [BZ #13888]
31500         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31501         or TMPDIR.
31502         (testout): Likewise.
31503
31504         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31505         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31506         $(rtld-installed-name).
31507         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31508         (rtld_installed_name): Likwise.
31509         (runit): Remove function.
31510         (run_getconf): New variable,  Use it for running getconf binary.
31511
31512 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
31513
31514         [BZ #14716]
31515         * string/test-memmem.c (check_result): New function.
31516         (do_one_test): Use it.
31517         (check1): New function.
31518         (test_main): Use it.
31519
31520 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
31521
31522         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31523
31524 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
31525
31526         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31527         (_G_LSEEK64): Likewise.
31528         (_G_MMAP64): Likewise.
31529         (_G_FSTAT64): Likewise.
31530         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31531         (_G_LSEEK64): Likewise.
31532         (_G_MMAP64): Likewise.
31533         (_G_FSTAT64): Likewise.
31534         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31535         unconditional.  Call __mmap64 directly.
31536         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31537         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
31538         __lseek64 directly.
31539         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31540         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
31541         __mmap64 directly.
31542         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31543         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31544         __lseek64 directly.
31545         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31546         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
31547         __lseek64 directly.
31548         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31549         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
31550         __lseek64 directly.
31551         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31552         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
31553         __fxstat64 directly.
31554         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31555         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31556         unconditional.
31557         (freopen64) [!_G_OPEN64]: Remove conditional code.
31558         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31559         unconditional.
31560         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31561         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31562         unconditional.
31563         (ftello64) [!_G_LSEEK64]: Remove conditional code.
31564         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31565         unconditional.
31566         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31567         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31568         unconditional.
31569         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31570         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31571         unconditional.
31572         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31573         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31574         unconditional.
31575         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31576         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31577         unconditional.
31578         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31579
31580 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31581
31582         [BZ #12140]
31583         * manual/memory.texi (Malloc Tunable Parameters): Add note
31584         about free list pointers overwriting some perturb bytes.
31585         Wording suggested by Roland McGrath.
31586
31587 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
31588
31589         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31590         (lgamma_test): Likewise.
31591         (tgamma_test): Likewise.
31592
31593 2012-10-16  Florian Weimer  <fweimer@redhat.com>
31594
31595         [BZ #14700]
31596         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31597         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31598
31599 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
31600
31601         * NEWS: Mention BZ #14716.
31602         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31603         when removing AVAILABLE1_USES_J macro.
31604
31605 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
31606
31607         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31608         (__bswap_64): __uint64_t for unsigned 64-bit int.
31609
31610 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
31611
31612         * include/string.h (memmem): Declare libc hidden alias.
31613         * string/memmem.c (memmem): Define libc hidden alias.
31614         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31615         __read, __close instead of open, read, close.
31616
31617 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
31618
31619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31620         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31621         global and hidden.
31622         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31623         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31624         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31625         Likewise.
31626         (__rawmemchr_sse2): Likewise.
31627         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31628         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31629         (__strchr_sse2): Likewise.
31630         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31631         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31632         (__strcasecmp_sse2): Likewise.
31633         (__strncasecmp_sse2): Likewise.
31634         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31635         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31636         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31637         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31638         (__strrchr_sse2): Likewise.
31639         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31640         ifunc-impl-list.c.
31641         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31642         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31643         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31644         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31645         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31646         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31647         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31648         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31649         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31650         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31651         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31652         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31653         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31654         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31655         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31656         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31657         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31658         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31659         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31660         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31661         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31662         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31663         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31664         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31665         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31666         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31667         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31668         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31669         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31670         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31671
31672         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31673         global and hidden.
31674         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31675         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31676         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31677         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31678         Likewise.
31679         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31680         Likewise.
31681         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31682         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31683         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31684         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31685         ifunc-impl-list.c.
31686         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31687         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31688         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31689         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31690         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31691         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31692         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31693         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31694         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31695         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31696         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31697         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31698         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31699         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31700         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31701         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31702         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31703         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31704         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31705         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31706         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31707         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31708         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31709         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31710         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31711         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31712         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31713         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31714         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31715         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31716         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31717         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31718         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31719         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31720         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31721         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31722         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31723         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31724         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31725         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31726         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31727
31728         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31729         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31730         * include/ifunc-impl-list.h: New file.
31731         * misc/ifunc-impl-list.c: Likewise.
31732         * misc/Makefile (routines): Add ifunc-impl-list.
31733         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31734         * string/test-string.h: Include <ifunc-impl-list.h>.
31735         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31736         TEST_NAME]: New variables.
31737         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31738         are defined.
31739         (test_init): Call __libc_ifunc_impl_list to initialize
31740         func_list if TEST_IFUNC and TEST_NAME are defined.
31741
31742         * string/Makefile (strop-tests): Add bcopy and bzero.
31743         * string/test-bcopy.c: New file.
31744         * string/test-bzero.c: Likewise.
31745         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31746         defined.
31747         * string/test-memset.c: Support bzero test if TEST_BZERO is
31748         defined.
31749         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31750         __libc_memmove.
31751         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31752         __libc_memset.
31753         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31754         of memset.
31755
31756 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
31757
31758         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31759         * configure: Regenerated.
31760
31761         * Makeconfig (+link-static-before-libc): Don't include
31762         $(link-static-libc).
31763
31764         * libio/libio.h (_IO_pos_t): Remove.
31765
31766 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31767
31768         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
31769         McGrath.
31770
31771 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31772
31773         * crypt/crypt-entry.c: Include fips-private.h.
31774         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31775         * crypt/md5c-test.c (main): Tolerate disabled MD5.
31776         * sysdeps/unix/sysv/linux/fips-private.h: New file.
31777         * sysdeps/generic/fips-private.h: New file, dummy fallback.
31778
31779 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
31780
31781         * crypt/crypt-private.h: Include stdbool.h.
31782         (_ufc_setup_salt_r): Return bool.
31783         * crypt/crypt-entry.c: Include errno.h.
31784         (__crypt_r): Return NULL with EINVAL for bad salt.
31785         * crypt/crypt_util.c (bad_for_salt): New.
31786         (_ufc_setup_salt_r): Check that salt is long enough and within
31787         the specified alphabet.
31788         * crypt/badsalttest.c: New file.
31789         * crypt/Makefile (tests): Add it.
31790         ($(objpfx)badsalttest): New.
31791
31792 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31793
31794         * NEWS: Add entry for BZ #14602.
31795
31796 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31797
31798         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31799         type-generic.
31800         * math/libm-test.inc: Update comment listing what functions and
31801         macros are tested.
31802         (isgreater_test): New function.
31803         (isgreaterequal_test): Likewise.
31804         (isless_test): Likewise.
31805         (islessequal_test): Likewise.
31806         (islessgreater_test): Likewise.
31807         (isunordered_test): Likewise.
31808         (main): Call the new functions.
31809
31810 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31811
31812         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31813         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31814         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31815         * sysdeps/i386/configure: Regenerated.
31816         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31817         * sysdeps/mach/configure: Regenerated.
31818         * sysdeps/mach/hurd/configure: Regenerated.
31819         * sysdeps/powerpc/configure: Regenerated.
31820         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31821         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31822         * sysdeps/s390/s390-32/configure: Regenerated.
31823         * sysdeps/s390/s390-64/configure: Regenerated.
31824         * sysdeps/sh/configure: Regenerated.
31825         * sysdeps/sparc/configure: Regenerated.
31826         * sysdeps/unix/sysv/linux/configure: Regenerated.
31827         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31828         * sysdeps/x86_64/configure: Regenerated.
31829
31830         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31831         defined.  Don't check if MAP is NULL.
31832
31833 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31834
31835         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31836         (_G_stat64): Likewise.
31837         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31838         (_G_stat64): Likewise.
31839         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31840         instead of struct _G_stat64.
31841         * libio/fileops.c (mmap_remap_check): Likewise.
31842         (decide_maybe_mmap): Likewise.
31843         (_IO_new_file_seekoff): Likewise.
31844         (_IO_file_stat): Likewise.
31845         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31846         _G_off64_t.
31847         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31848         instead of struct _G_stat64.
31849         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31850
31851 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31852
31853         [BZ #14602]
31854         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31855         Replace with ...
31856         (CHECK_EOL): New macro.
31857         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31858         CHECK_EOL.
31859         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31860         Replace with CHECK_EOL.
31861         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31862         Replace with CHECK_EOL.
31863
31864 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31865
31866         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31867         type-generic.
31868         * math/libm-test.inc: Update comment listing what functions and
31869         macros are tested.
31870         (finite_test): New function.
31871         (isinf_test): Likewise.
31872         (isnan_test): Likewise.
31873         (fpclassify_test): Test subnormal input.
31874         (isfinite_test): Likewise.
31875         (isnormal_test): Likewise.
31876         (main): Call the new functions.
31877
31878 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31879
31880         [BZ #14660]
31881         * Makerules (%.dynsym): Force C locale when running
31882         $(OBJDUMP) --dynamic-syms.
31883
31884 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31885
31886         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31887         <stdint.h>.
31888
31889 2012-10-06  David S. Miller  <davem@davemloft.net>
31890
31891         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31892         upper 32-bits of the length value in %o2 since we use branch-on-register
31893         tests which consider the entire 64-bit register.
31894
31895 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31896
31897         * string/test-strstr.c (check2): Add a test for page boundary.
31898
31899 2012-10-05  David S. Miller  <davem@davemloft.net>
31900
31901         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31902         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31903         file.
31904         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31905         sysdep_routines.
31906         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31907         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31908         and bzero when HWCAP_SPARC_CRYPTO is present.
31909
31910 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31911
31912         [BZ #14602]
31913         * string/test-strstr.c (check2): New function.
31914         (test_main): Call check2.
31915
31916         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31917         and bug-strchr1.
31918         * string/bug-strcasestr1.c (do_test): Moved to ...
31919         * string/test-strcasestr.c (check1): Here.  New function.
31920         (do_one_test): Break out result checking code into ...
31921         (check_result): This.  New function.
31922         (do_one_test): Call check_result.
31923         (test_main): Call check1.
31924         * string/bug-strchr1.c (do_test): Moved to ...
31925         * string/test-strchr.c (check1): Here.  New function.
31926         (do_one_test): Break out result checking code into ...
31927         (check_result): This.  New function.
31928         (do_one_test): Call check_result.
31929         (test_main): Call check1.
31930         * string/bug-strstr1.c (main): Moved to ...
31931         * string/test-strstr.c (check1): Here.  New function.
31932         (do_one_test): Break out result checking code into ...
31933         (check_result): This.  New function.
31934         (do_one_test): Call check_result.
31935         (test_main): Call check1.
31936         * string/bug-strcasestr1.c: Removed.
31937         * string/bug-strchr1.c: Likewise.
31938         * string/bug-strstr1.c: Likewise.
31939
31940         * elf/Makefile (dl-routines): Add hwcaps.
31941         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31942         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31943         (_dl_important_hwcaps): Moved to ...
31944         * elf/dl-hwcaps.c: Here.  New file.
31945         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31946
31947         [BZ #14557]
31948         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31949         if IS_IN_rtld isn't defined.
31950
31951         * elf/dl-support.c (_dl_sysinfo_map): New.
31952         Include "get-dynamic-info.h" and "setup-vdso.h".
31953         (_dl_non_dynamic_init): Call setup_vdso.
31954         * elf/dynamic-link.h: Don't include <assert.h>.
31955         (elf_get_dynamic_info): Moved to ...
31956         * elf/get-dynamic-info.h: Here.  New file.
31957         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31958         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31959         * elf/setup-vdso.h: Here.  New file.
31960         * elf/rtld.c: Include "setup-vdso.h".
31961         (dl_main): Call setup_vdso.
31962
31963 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31964
31965         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31966         creal in comment listing functions tested.  List finite, isinf,
31967         isnan, isless, islessequal, isgreater, isgreaterequal,
31968         islessgreater, isunordered, lgamma_r and pow10 as functions and
31969         macros not tested.  Mention which functions not tested are aliases
31970         for other functions.  Fix typo.  Note that signs of NaNs are not
31971         tested.
31972
31973         * scripts/config.guess: Update from config.git.
31974         * scripts/config.sub: Likewise.
31975
31976 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31977
31978         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31979         * misc/madvise.c (madvise): Renamed to __madvise.
31980         Make madvise a weak alias.
31981         * include/sys/mman.h: Declare __madvise.
31982         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31983         * sysdeps/unix/syscalls.list
31984         (madvise): Make __madvise the strong name, and madvise a weak alias.
31985         * sysdeps/unix/sysv/linux/syscalls.list
31986         (madvise, mmap): Remove redundant entries.
31987         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31988         * malloc/malloc.c (mtrim): Likewise.
31989         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31990
31991 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31992
31993         * sysdeps/mach/hurd/dl-cache.c: File removed.
31994         * config.h.in (USE_LDCONFIG): New #undef.
31995         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31996         * configure: Regenerated.
31997         * elf/Makefile (dl-routines): Add dl-cache only under
31998         [$(use-ldconfig) = yes].
31999         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32000         cache on [USE_LDCONFIG].
32001         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32002         [USE_LDCONFIG].
32003         * elf/rtld.c (dl_main): Likewise.
32004
32005 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
32006
32007         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32008         _SC_LEVEL4_CACHE_LINESIZE.
32009
32010 2012-10-03  Roland McGrath  <roland@hack.frob.com>
32011
32012         * sysdeps/unix/bsd/confstr.h: File removed.
32013
32014 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
32015
32016         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32017         sys/sdt-config.h.
32018
32019 2012-10-02  Roland McGrath  <roland@hack.frob.com>
32020
32021         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32022         Make 'mapoff' field ElfW(Off) rather than off_t.
32023
32024 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
32025
32026         * nscd/Makefile: Remove nscd-cflags and all its users.
32027         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32028         (CFLAGS-nonlib): Add compiler flags for nscd modules.
32029
32030         [BZ #10631]
32031         * malloc.c (malloc_printerr): Clarify error message.
32032
32033 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
32034
32035         [BZ #14648]
32036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32037         Set bit_FMA_Usable if FMA is supported.
32038         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32039         macro.
32040         (bit_FMA4_Usable): Updated.
32041         (index_FMA_Usable): New macro.
32042         (CPUID_FMA): Likewise
32043         (HAS_FMA): Defined with bit_FMA_Usable.
32044
32045 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32046
32047         * bits/types.h (__swblk_t): Type removed.
32048         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32049         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32051         (__SWBLK_T_TYPE): Likewise.
32052         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32053         (__SWBLK_T_TYPE): Likewise.
32054         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32055         (__SWBLK_T_TYPE): Likewise.
32056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32057         (__SWBLK_T_TYPE): Likewise.
32058
32059 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
32060             Honza Horak <hhorak@redhat.com>
32061
32062         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32063         (xdr_mapname): Use YPMAXMAP as maxsize.
32064         (xdr_peername): Use YPMAXPEER as maxsize.
32065         (xdr_keydat): Use YPAXRECORD as maxsize.
32066         (xdr_valdat): Use YPMAXRECORD as maxsize.
32067
32068 2012-10-01  Roland McGrath  <roland@hack.frob.com>
32069
32070         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32071
32072         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32073         * csu/init-first.c: ... here.
32074         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32075         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32076         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32077         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32078         * sysdeps/i386/init-first.c: File removed.
32079         * sysdeps/sh/init-first.c: File removed.
32080
32081 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
32082
32083         [BZ #14645]
32084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32085         if x * y might underflow to zero and z is zero.
32086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32087         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32088         * math/libm-test.inc (min_subnorm_value): New variable.
32089         (fma_test): Add more tests.
32090         (fma_test_towardzero): Likewise.
32091         (fma_test_downward): Likewise
32092         (fma_test_upward): Likewise.
32093         (initialize): Set min_subnorm_value.
32094
32095 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
32096
32097         [BZ #14638]
32098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32099         0 + 0.
32100         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32101         mode for addition resulting in exact zero.
32102         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32104         exact 0 + 0.
32105         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32106         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32107         * math/libm-test.inc (fma_test): Add more tests.
32108         (fma_test_towardzero): New function.
32109         (fma_test_downward): Likewise.
32110         (fma_test_upward): Likewise.
32111         (main): Call the new functions.
32112
32113 2012-09-28  David S. Miller  <davem@davemloft.net>
32114
32115         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32116
32117 2012-09-28  Roland McGrath  <roland@hack.frob.com>
32118
32119         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32120         instead of SIGALRM.
32121
32122         * sysdeps/gnu/_G_config.h: Moved to ...
32123         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32124         * sysdeps/mach/hurd/_G_config.h: Moved to ...
32125         * sysdeps/generic/_G_config.h: ... here.
32126
32127         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
32128
32129         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32130
32131         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32132         Conditionalize target on [libnss_test1.so-version].
32133
32134         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32135
32136         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32137         (elfobjdir): Move out of conditionals.
32138
32139         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32140         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32141         (__nss_lookup_function): Conditionalize label remove_from_tree on
32142         [!DO_STATIC_NSS || SHARED], matching its only use.
32143
32144 2012-09-28  David S. Miller  <davem@davemloft.net>
32145
32146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32147         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32148         file.
32149         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32150         sysdep_routines.
32151         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32152         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32153         when HWCAP_SPARC_CRYPTO is present.
32154
32155 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32156
32157         * io/tst-mknodat.c: Create a FIFO instead of a socket.
32158
32159 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
32160
32161         [BZ #6530]
32162         * stdio-common/vfprintf.c (process_string_arg): Revert
32163         2000-07-22 change.
32164
32165 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
32166
32167         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32168         for testcase.
32169         * stdio-common/tst-sprintf.c: Include <locale.h>
32170         (main): Test sprintf's handling of incomplete multibyte
32171         characters.
32172
32173 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
32174
32175         * elf/dl-runtime.c (VERSYMIDX): Removed.
32176         * elf/dl-version.c (VERSYMIDX): Likewise.
32177         * elf/do-rel.h (VERSYMIDX): Likewise.
32178         (VALIDX): Likewise.
32179         * elf/dynamic-link.h (VERSYMIDX): Likewise.
32180         * elf/rtld.c (VALIDX): Likewise.
32181         (ADDRIDX): Likewise.
32182         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32183         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32184         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32185         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32186         (VALIDX): Likewise.
32187         (ADDRIDX): Likewise.
32188
32189 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32190
32191         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32192
32193 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
32194
32195         [BZ #11438]
32196         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32197         to global scope.
32198         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32199         addresses are in the same scope as 192.0.2/24.
32200         * posix/gai.conf: Document new scope table defaults.
32201
32202 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32203
32204         [BZ #5298]
32205         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32206         for ftell.  Compute offsets from write pointers instead.
32207         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32208
32209 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32210
32211         [BZ #14543]
32212         * libio/Makefile (tests): New test case tst-fseek.
32213         * libio/tst-fseek.c: New test case to verify that fseek/ftell
32214         combination works in wide mode.
32215         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32216         state when the external buffer state changes.
32217
32218 2012-09-27  David S. Miller  <davem@davemloft.net>
32219
32220         [BZ #14376]
32221         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32222         pass reloc->r_addend in as the 'high' argument to
32223         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32224
32225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32226
32227 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
32228
32229         * rt/tst-aio2.c: Include <pthread.h>.
32230         * rt/tst-aio3.c: Likewise.
32231
32232 2012-09-27  Steve Ellcey  <sellcey@mips.com>
32233
32234         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32235
32236 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
32237
32238         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32239         contents on [SHARED].
32240
32241 2012-09-26  Marek Polacek  <polacek@redhat.com>
32242
32243         [BZ #14530]
32244         [BZ #13741]
32245         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32246         for C++ and GCC <4.3 as well as for non GCC compilers.
32247
32248 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32249
32250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32251
32252 2012-09-25  Roland McGrath  <roland@hack.frob.com>
32253
32254         * Makefile.in (all, install): Declare with .PHONY.
32255         Reported by Michael Hope <michael.hope@linaro.org>.
32256
32257 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32258
32259         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32260         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32261         system header.
32262         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32263         Likewise.
32264         (sydep_routines): Add the new and the internal functions.
32265         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32266         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32268         (GLIBC_2.17): Add the new function.
32269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32270         (GLIBC_2.17): Likewise.
32271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32272         (GLIBC_2.17): Likewise.
32273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32274         (GLIBC_2.17): Likewise.
32275         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32276
32277 2012-09-25  Alan Modra  <amodra@gmail.com>
32278
32279         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32280         Add release barrier before setting once_control to say
32281         initialisation is done.  Add hints on lwarx.  Use macro in
32282         place of isync.
32283         (clear_once_control): Add release barrier.
32284
32285 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32286
32287         [BZ #13629]
32288         * math/s_clog.c (__clog): Handle more values close to |z| = 1
32289         specially.
32290         * math/s_clog10.c (__clog10): Likewise.
32291         * math/s_clog10f.c (__clog10f): Likewise.
32292         * math/s_clog10l.c (__clog10l): Likewise.
32293         * math/s_clogf.c (__clogf): Likewise.
32294         * math/s_clogl.c (__clogl): Likewise.
32295         * math/Makefile (libm-calls): Add x2y2m1.
32296         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32297         (__x2y2m1): Likewise.
32298         (__x2y2m1l): Likewise.
32299         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32300         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32301         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32302         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32303         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32304         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32305         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32306         * sysdeps/i386/fpu/libm-test-ulps: Update.
32307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32308
32309         [BZ #14621]
32310         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32311         int as type of variable DEPTH.
32312         (glob): Use size_t instead of int as type of variables NEWCOUNT
32313         and OLD_PATHC.
32314
32315 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32316
32317         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32318         Add s_sincosf-sse2.
32319         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32320         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32321         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32322         macros for using routine as __sincosf_ia32.
32323         Use macro for function declaration and weak_alias.
32324         * sysdeps/i386/fpu/libm-test-ulps: Update.
32325
32326         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32328
32329         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32330         subnormal argument.
32331         * math/s_cexpf.c (__cexpf): Likewise.
32332         * math/s_csinf.c (__csinf): Likewise.
32333         * math/s_csinhf.c (__csinhf): Likewise.
32334         * math/s_ctanf.c (__ctanf): Likewise.
32335         * math/s_ctanhf.c (__ctanhf): Likewise.
32336         * math/s_ccosh.c (__ccoshf): Likewise.
32337         * math/s_cexp.c (__cexpl): Likewise.
32338         * math/s_csin.c (__csin): Likewise.
32339         * math/s_csinh.c (__csinh): Likewise.
32340         * math/s_ctan.c (__ctan): Likewise.
32341         * math/s_ctanh.c (ctanh): Likewise.
32342         * math/s_ccoshl.c (__ccoshl): Likewise.
32343         * math/s_cexpl.c (__cexpl): Likewise.
32344         * math/s_csinl.c (__csinl): Likewise.
32345         * math/s_csinhl.c (__csinhl): Likewise.
32346         * math/s_ctanl.c (__ctanl): Likewise.
32347         * math/s_ctanhl.c (__ctanhl): Likewise.
32348
32349 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
32350
32351         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32352         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32353         (_IO_off_t): Define to __off_t, not _G_off_t.
32354         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32355         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32356         (_IO_wint_t): Define to wint_t, not _G_wint_t.
32357         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32358         type of __dummy and __dummy2 fields.
32359         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32360         (_G_ssize_t): Likewise.
32361         (_G_off_t): Likewise.
32362         (_G_pid_t): Likewise.
32363         (_G_uid_t): Likewise.
32364         (_G_wchar_t): Likewise.
32365         (_G_wint_t): Likewise.
32366         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32367         (_G_ssize_t): Likewise.
32368         (_G_off_t): Likewise.
32369         (_G_pid_t): Likewise.
32370         (_G_uid_t): Likewise.
32371         (_G_wchar_t): Likewise.
32372         (_G_wint_t): Likewise.
32373         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32374         (_G_ssize_t): Likewise.
32375         (_G_off_t): Likewise.
32376         (_G_pid_t): Likewise.
32377         (_G_uid_t): Likewise.
32378         (_G_wchar_t): Likewise.
32379         (_G_wint_t): Likewise.
32380
32381 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32382
32383         * malloc/arena.c: Include malloc-sysdep.h.
32384         (shrink_heap): Use check_may_shrink_heap to decide if madvise
32385         is sufficient to shrink the heap or an unmap is needed.
32386         * sysdeps/generic/malloc-sysdep.h: New file.  Define
32387         new function check_may_shrink_heap.
32388         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
32389         new function check_may_shrink_heap.
32390
32391 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32392
32393         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32394         comments.
32395
32396 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
32397
32398         * catgets/test-gencat.sh: Add "set -e".
32399         * elf/tst-pathopt.sh: Likewise.
32400         * grp/tst_fgetgrent.sh: Likewise.
32401         * iconvdata/run-iconv-test.sh: Likewise.
32402         * intl/tst-gettext.sh: Likewise.
32403         * intl/tst-gettext2.sh: Likewise.
32404         * intl/tst-gettext4.sh: Likewise.
32405         * intl/tst-gettext6.sh: Likewise.
32406         * intl/tst-translit.sh: Likewise.
32407         * io/ftwtest-sh: Likewise.
32408         * libio/test-freopen.sh: Likewise.
32409         * malloc/tst-mtrace.sh: Likewise.
32410         * posix/globtest.sh: Likewise.
32411         * posix/tst-getconf.sh: Likewise.
32412         * posix/wordexp-tst.sh: Likewise.
32413         * stdio-common/tst-printf.sh: Likewise.
32414         * stdio-common/tst-unbputc.sh: Likewise.
32415         * stdlib/tst-fmtmsg.sh: Likewise.
32416         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32417         * catgets/Makefile: Do not specify -e option when running
32418         testsuite shell scripts.
32419         * elf/Makefile: Likewise.
32420         * grp/Makefile: Likewise.
32421         * iconvdata/Makefile: Likewise.
32422         * intl/Makefile: Likewise.
32423         * io/Makefile: Likewise.
32424         * libio/Makefile: Likewise.
32425         * malloc/Makefile: Likewise.
32426         * posix/Makefile: Likewise.
32427         * stdio-common/Makefile: Likewise.
32428         * stdlib/Makefile: Likewise.
32429         * sysdeps/x86_64/Makefile: Likewise.
32430
32431         * io/ftwtest-sh: Add copyright header.
32432         * posix/globtest.sh: Likewise.
32433         * posix/tst-getconf.sh: Likewise.
32434         * posix/wordexp-tst.sh: Likewise.
32435         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32436
32437 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
32438
32439         [BZ #13679]
32440         * Makeconfig (+link): Defined as $(+link-static) if
32441         $(build-shared) isn't yes.
32442         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32443         isn't yes.
32444         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32445
32446         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32447
32448         [BZ #14562]
32449         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32450         new chunk size with MALLOC_ALIGN_MASK.
32451
32452 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
32453
32454         [BZ #5044]
32455         * stdio-common/printf_fphex.c: Include <stdbool.h> and
32456         <rounding-mode.h>.
32457         (__printf_fphex): Determine rounding using get_rounding_mode and
32458         round_away.
32459         * stdio-common/tst-printf-round.c (struct hex_test): New
32460         structure.
32461         (hex_tests): New variable.
32462         (test_hex_in_one_mode): New function.
32463         (do_test): Also run tests for hex float output.
32464
32465 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
32466
32467         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32468         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32469         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32470         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32471         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32472         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32473         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32474         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32475
32476 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
32477
32478         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32479         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32480         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32481         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32482
32483 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
32484
32485         [BZ #14579]
32486         * elf/rtld.c (dl_main): Limit the check for self loading to normal
32487         mode only.
32488         * elf/tst-rtld-load-self.sh: New test.
32489         * elf/Makefile: Run it.
32490
32491 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
32492
32493         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32494         (tst-writev-ENV): Remove.
32495         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32496
32497 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
32498
32499         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32500
32501 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
32502
32503         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32504         unconditional.
32505         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32506         Likewise.
32507         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32508         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32509         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32510         Likewise.
32511
32512 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
32513
32514         [BZ #14587]
32515         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32516         * config.make.in (have-cpp-asm-debuginfo): Removed.
32517         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32518         * configure: Regenerated.
32519
32520 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
32521
32522         [BZ #5044]
32523         * stdio-common/printf_fp.c: Include <stdbool.h> and
32524         <rounding-mode.h>.
32525         (___printf_fp): Determine rounding using get_rounding_mode and
32526         round_away.
32527         * stdio-common/tst-printf-round.c: New file.
32528         * stdio-common/Makefile (tests): Add tst-printf-round.
32529         (link-libm): New variable.
32530         ($(objpfx)tst-printf-round): Depend in $(link-libm).
32531
32532 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
32533
32534         [BZ #14576]
32535         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32536         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32537         Likewise.
32538         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32539         Likewise.
32540
32541 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
32542
32543         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32544         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32545         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32546         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32547
32548 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
32549
32550         [BZ #14518]
32551         * include/rounding-mode.h: New file.
32552         * sysdeps/generic/get-rounding-mode.h: Likewise.
32553         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32554         * stdlib/strtod_l.c: Include <rounding-mode.h>.
32555         (MAX_VALUE): New macro.
32556         (MIN_VALUE): Likewise.
32557         (overflow_value): New function.
32558         (underflow_value): Likewise.
32559         (round_and_return): Use overflow_value and underflow_value to
32560         determine return values in overflow and underflow cases.  Use
32561         round_away to determine rounding depending on rounding mode.
32562         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32563         determine return values in overflow and underflow cases.
32564         * stdlib/tst-strtod-round.c: Include <fenv.h>.
32565         (struct test_results): New structure.
32566         (struct test): Use struct test_results to store expected results
32567         for all rounding modes.
32568         (TEST): Include expected results for all rounding modes.
32569         (test_in_one_mode): New function.
32570         (do_test): Use test_in_one_mode to compute and check results.
32571         Check results for all rounding modes.
32572         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32573         $(link-libm).
32574
32575 2012-12-09  Allan McRae  <allan@archlinux.org>
32576
32577         * sysdeps/i386/fpu/libm-test-ulps: Update
32578
32579 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
32580
32581         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32582         (_G_int32_t): Likewise.
32583         (_G_uint16_t): Likewise.
32584         (_G_uint32_t): Likewise.
32585         (_G_HAVE_BOOL): Likewise.
32586         (_G_HAVE_ATEXIT): Likewise.
32587         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32588         (_G_HAVE_IO_FILE_OPEN): Likewise.
32589         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32590         (_G_int32_t): Likewise.
32591         (_G_uint16_t): Likewise.
32592         (_G_uint32_t): Likewise.
32593         (_G_HAVE_BOOL): Likewise.
32594         (_G_HAVE_ATEXIT): Likewise.
32595         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32596         (_G_HAVE_IO_FILE_OPEN): Likewise.
32597         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32598         (_G_int32_t): Likewise.
32599         (_G_uint16_t): Likewise.
32600         (_G_uint32_t): Likewise.
32601         (_G_HAVE_BOOL): Likewise.
32602         (_G_HAVE_ATEXIT): Likewise.
32603         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32604         (_G_HAVE_IO_FILE_OPEN): Likewise.
32605
32606 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
32607
32608         * csu/libc-tls.c: Update copyright years.
32609
32610 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
32611
32612         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32613         [!_G_USING_THUNKS]: Remove conditional code.
32614         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32615         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32616
32617         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32618         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32619         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32620         (_G_VTABLE_LABEL_PREFIX): Likewise.
32621         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32622         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32623         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32624         (_G_VTABLE_LABEL_PREFIX): Likewise.
32625         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32626         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32627         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32628         (_G_VTABLE_LABEL_PREFIX): Likewise.
32629         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32630
32631 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
32632
32633         * libio/Makefile: Include ../Makeconfig before tests.
32634         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32635         only if $(build-shared) is yes.
32636
32637         * iconv/gconv_db.c: Update copyright years.
32638
32639 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32640
32641         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32642         unwind info if defined PIC. Fix special cases description.
32643         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32644
32645         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32646         DP_HI_MASK entry.
32647         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32648
32649 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
32650
32651         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32652
32653         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32654         is NULL.
32655
32656         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32657         (LDLIBS-tst-chk4): This.
32658         (LDFLAGS-tst-chk5): Renamed to ...
32659         (LDLIBS-tst-chk5): This.
32660         (LDFLAGS-tst-chk6): Renamed to ...
32661         (LDLIBS-tst-chk6): This.
32662         (LDFLAGS-tst-lfschk4): Renamed to ...
32663         (LDLIBS-tst-lfschk4): This.
32664         (LDFLAGS-tst-lfschk5): Renamed to ...
32665         (LDLIBS-tst-lfschk5): This.
32666         (LDFLAGS-tst-lfschk6): Renamed to ...
32667         (LDLIBS-tst-lfschk6): This.
32668
32669         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32670         on $(common-objpfx)soversions.mk.
32671
32672 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
32673
32674         [BZ #10014]
32675         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32676         example host name.
32677
32678 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32679
32680         * malloc/arena.c (arena_get_retry): New function that gets
32681         another arena for the caller to try its request on.
32682         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32683         current arena cannot fulfill the request.
32684         (__libc_memalign): Likewise.
32685         (__libc_memalign): Likewise.
32686         (__libc_pvalloc): Likewise.
32687         (__libc_calloc): Likewise.
32688
32689 2012-09-05  John Tobey  <john.tobey@gmail.com>
32690
32691         [BZ #13542]
32692         * manual/arith.texi (Operations on Complex): Fix description
32693         of carg branch cut.
32694
32695 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32696
32697         [BZ #10014]
32698         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32699         host name.
32700
32701         [BZ #10038]
32702         * manual/memory.texi (Memory): Make order of menu items match
32703         order of sections.
32704
32705 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32706
32707         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32708         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
32709         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32710
32711 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32712
32713         * csu/libc-tls.c (static_dtv): Renamed to ...
32714         (_dl_static_dtv): This.  Make it global.
32715         (_dl_initial_dtv): Removed.
32716         (__libc_setup_tls): Updated.
32717         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32718         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32719         DL_INITIAL_DTV.
32720
32721 2012-09-06  Petr Machata  <pmachata@redhat.com>
32722
32723         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32724         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32725         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32726         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32727
32728 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32729
32730         [BZ #14545]
32731         * csu/libc-tls.c (_dl_initial_dtv): New variable.
32732         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32733         freeing dtv[-1].
32734
32735 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
32736
32737         [BZ #14544]
32738         * Makeconfig (link-static-before-libc): Replace $(+prector)
32739         with $(+prectorT).
32740         (link-static-after-libc): Replace $(+postctor) with
32741         $(+postctorT).
32742         (link-bounded): Replace $(+prector)/$(+postctor) with
32743         $(+prectorT)/$(+postctorT).
32744         (+prectorT): New macro.
32745         (+postctorT): Likewise.
32746
32747 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
32748
32749         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32750         (round_str): Handle values above the maximum for IBM long double
32751         as inexact.
32752         * stdlib/tst-strtod-round.c (tests): Regenerated.
32753
32754 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32755
32756         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32757         assembler flag.
32758         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32759         zarch_nohighgprs around the zarch optimized routines.
32760         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32761         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32762         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32763         for zarch.
32764
32765 2012-09-05  David S. Miller  <davem@davemloft.net>
32766
32767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32768
32769         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32770         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32771         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32772         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32773         entries.
32774
32775 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32776
32777         * malloc/arena.c: Fold copyright years.
32778         * malloc/mcheck.c, malloc/memusage.c: Likewise.
32779
32780 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32781
32782         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32783
32784 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32785
32786         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32787
32788 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32789
32790         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32791         change internal state upon failure.
32792
32793 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32794
32795         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32796         * malloc/memusage.c (mmap): Likewise.
32797         (mmap64, mremap): Likewise.  Adjust name in comment.
32798
32799 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32800
32801         * libio/fileops.c: Fix typos in comments.
32802         * libio/oldfileops.c: Likewise.
32803         * libio/wfileops.c: Likewise.
32804
32805 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32806
32807         [BZ #1349]
32808         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32809         (tst-malloc-usable-ENV): Set environment for test case.
32810         * malloc/hooks.c (malloc_check_get_size): New function to get
32811         requested size.
32812         * malloc/malloc.c (musable): Use malloc_check_get_size.
32813         * malloc/tst-malloc-usable.c: New test case.
32814
32815 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32816
32817         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32818
32819 2012-09-05  Allan McRae  <allan@archlinux.org>
32820
32821         [BZ #13966]
32822         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32823         determine header location.
32824         * configure: Regenerated.
32825
32826 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32827
32828         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32829         float format.
32830         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32831         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32832         format.
32833         (test): Regenerate.
32834
32835 2012-09-04  David S. Miller  <davem@davemloft.net>
32836
32837         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32838         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32839         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32840
32841 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32842
32843         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32844         failures.
32845
32846         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32847
32848 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32849
32850         [BZ #9914]
32851         * libio/iogetdelim.c: Include <limits.h>.
32852         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32853         + len + 1 would overflow.
32854
32855 2012-09-03  Andreas Jaeger  <aj@suse.de>
32856
32857         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32858         * sysdeps/i386/fpu/libm-test-ulps: Update.
32859
32860 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32861
32862         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32863         Add s_sinf-sse2, s_conf-sse2.
32864
32865         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32866         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32867         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32868         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32869
32870         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32871         for using routine as __sinf_ia32.
32872         Use macro for function declaration and weak_alias.
32873         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32874         for using routine as __cosf_ia32.
32875         Use macro for function declaration and weak_alias.
32876
32877         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32878         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32879
32880         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32881         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32883
32884         * math/libm-test.inc (cos_test): Add more test cases.
32885         (sin_test): Likewise.
32886         (sincos_test): Likewise.
32887
32888 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32889
32890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32891         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32892         hidden.
32893         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32894
32895 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32896
32897         [BZ #14538]
32898         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32899         first element of the GOT.
32900         (elf_machine_load_address): Return the difference between
32901         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32902
32903 2012-09-01  Allan McRae  <allan@archlinux.org>
32904
32905         [BZ #13412]
32906         * configure.in (AWK): Require gawk version 3.0 or later.
32907         * configure: Regenerated.
32908
32909 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32910
32911         * sysdeps/unix/sysv/linux/kernel-features.h
32912         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32914         [__NR_clock_getres]: Make code unconditional.
32915         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32916         (clock_getcpuclockid): Remove code left unreachable by removal of
32917         conditionals.
32918         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32919         code unconditional.
32920         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32921         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32922         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32923         Make code unconditional.
32924         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32925         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32926         * sysdeps/unix/sysv/linux/clock_settime.c
32927         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32928         conditional code.
32929         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32930         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32931
32932 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32933
32934         [BZ #14476]
32935         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32936         scripts/test-installation.pl.
32937
32938         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32939         and $ld_so_version if it is set.
32940
32941 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32942
32943         [BZ #14516]
32944         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32945         failure if reading from procfs failed.
32946         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32947
32948 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32949
32950         * sysdeps/unix/sysv/linux/kernel-features.h
32951         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32952         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32953         Remove conditional code.
32954         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32955         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32956         Remove conditional code.
32957         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32958         * sysdeps/unix/sysv/linux/i386/fxstat.c
32959         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32960         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32961         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32962         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32963         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32964         * sysdeps/unix/sysv/linux/i386/lxstat.c
32965         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32966         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32967         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32968         Remove conditional code.
32969         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32970         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32971         Remove conditional code.
32972         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32973         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32974         <kernel-features.h>.
32975         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32976         Remove.
32977         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32978         Remove conditional code.
32979         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32980         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32981         Remove conditional.
32982
32983 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32984
32985         [BZ #5400]
32986         * NEWS: Add fixed bug number.
32987
32988 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32989
32990         [BZ #14519]
32991         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32992         underflowing exponent in case of negative sign.
32993         * stdlib/tst-strtod-round-data: Add more tests.
32994         * stdlib/tst-strtod-round.c (tests): Regenerated.
32995
32996         [BZ #3479]
32997         * stdlib/strtod_l.c (NDIG): Remove.
32998         (HEXNDIG): Likewise.
32999         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33000         smallest representable value.
33001         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33002         lie within an exact representation of 1/2 ulp of the result.
33003         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33004         unconditionally.
33005         (TENS_P9_IDX): Define unconditionally.
33006         (TENS_P9_SIZE): Likewise.
33007         (TENS_P10_IDX): Likewise.
33008         (TENS_P10_SIZE): Likewise.
33009         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33010         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33011         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33012         entries for 10^2^13 and 10^2^14.
33013         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33014         (TENS_P13_IDX): Define.
33015         (TENS_P13_SIZE): Likewise.
33016         (TENS_P14_IDX): Likewise.
33017         (TENS_P14_SIZE): Likewise.
33018         (_fpioconst_pow10): Change array size to
33019         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
33020         unconditional.
33021         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33022         1024]: Add entries for 10^2^13 and 10^2^14.
33023         [LAST_POW10 > _LAST_POW10]: Remove #error.
33024         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33025         (_fpioconst_pow10): Change array size to
33026         FPIOCONST_POW10_ARRAY_SIZE.
33027         * stdlib/gen-fpioconst.c: New file.
33028         * stdlib/gen-tst-strtod-round.c: Likewise.
33029         * stdlib/tst-strtod-round-data: Likewise.
33030         * stdlib/tst-strtod-round.c: Likewise.
33031         * stdlib/Makefile (tests): Add tst-strtod-round.
33032
33033         [BZ #14459]
33034         * stdlib/strtod_l.c: Include <stdint.h>.
33035         (NDEBUG): Do not define.
33036         (round_and_return): Change EXPONENT parameter to type intmax_t.
33037         Rearrange calculations to avoid internal overflow possibilities.
33038         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33039         Rearrange calculations to avoid internal overflow possibilities.
33040         Assert that number fits inside MPNSIZE limbs.
33041         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33042         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
33043         calculations and add assertions to avoid internal overflow
33044         possibilities.  Add casts to avoid signed/unsigned operations.
33045         * stdlib/tst-strtod-overflow.c: New file.
33046         * stdlib/Makefile (tests): Add tst-strtod-overflow.
33047
33048 2012-08-25  Marek Polacek  <polacek@redhat.com>
33049
33050         * time/time.h: Fix some typos in comments.
33051
33052 2012-08-23  Roland McGrath  <roland@hack.frob.com>
33053
33054         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33055         * posix/tst-rfc3484-2.c: Likewise.
33056         * posix/tst-rfc3484-3.c: Likewise.
33057
33058 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
33059
33060         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33061         (EF_ARM_ABI_FLOAT_HARD): Likewise.
33062
33063 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
33064
33065         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33066         #include of fxstatat64.c.
33067
33068 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33069
33070         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33071         * shadow/getspent_r.c: Likewise.
33072         * shadow/getspnam.c: Likewise.
33073         * shadow/getspnam_r.c: Likewise.
33074         * gshadow/getsgent.c: Likewise.
33075         * gshadow/getsgent_r.c: Likewise.
33076         * gshadow/getsgnam.c: Likewise.
33077         * gshadow/getsgnam_r.c: Likewise.
33078         * inet/getnetbyad.c: Likewise.
33079         * inet/getnetbyad_r.c: Likewise.
33080         * inet/getnetbynm.c: Likewise.
33081         * inet/getnetbynm_r.c: Likewise.
33082         * inet/getnetent.c: Likewise.
33083         * inet/getnetent_r.c: Likewise.
33084         * inet/getproto.c: Likewise.
33085         * inet/getproto_r.c: Likewise.
33086         * inet/getprtent.c: Likewise.
33087         * inet/getprtent_r.c: Likewise.
33088         * inet/getprtname.c: Likewise.
33089         * inet/getprtname_r.c: Likewise.
33090         * inet/getrpcbyname.c: Likewise.
33091         * inet/getrpcbyname_r.c: Likewise.
33092         * inet/getrpcbynumber.c: Likewise.
33093         * inet/getrpcbynumber_r.c: Likewise.
33094         * inet/getrpcent.c: Likewise.
33095         * inet/getrpcent_r.c: Likewise.
33096         * inet/getaliasent.c: Likewise.
33097         * inet/getaliasent_r.c: Likewise.
33098         * inet/getaliasname.c: Likewise.
33099         * inet/getaliasname_r.c: Likewise.
33100         * nscd/getgrgid_r.c: Likewise.
33101         * nscd/getgrnam_r.c: Likewise.
33102         * nscd/gethstbyad_r.c: Likewise.
33103         * nscd/gethstbynm3_r.c: Likewise.
33104         * nscd/getpwnam_r.c: Likewise.
33105         * nscd/getpwuid_r.c: Likewise.
33106         * nscd/getsrvbynm_r.c: Likewise.
33107         * nscd/getsrvbypt_r.c: Likewise.
33108         * nscd/gai.c: Likewise.
33109
33110         * configure.in (build_nscd): New substituted variable, set
33111         by --disable-build-nscd and defaults to $use_nscd.
33112         * configure: Regenerated.
33113         * config.make.in (build-nscd): New substituted variable.
33114         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33115         Change conditional to require [$(build-nscd) = yes] as well.
33116         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33117
33118         [BZ# 13696]
33119         * configure.in (use_nscd): New substituted variable, set by
33120         --disable-nscd.  If enabled, define USE_NSCD.
33121         * configure: Regenerated.
33122         * config.h.in: Add USE_NSCD.
33123         * config.make.in (use-nscd): New substituted variable.
33124         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33125         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33126         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33127         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33128         (CFLAGS-getgrnam_r.c): Likewise.
33129         (CFLAGS-initgroups.c): Likewise.
33130         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33131         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33132         Variables removed.
33133         * inet/getnetgrent_r.c
33134         (nscd_setnetgrent): New function, broken out of ...
33135         (setnetgrent): ... here.  Call it.
33136         (innetgr): Conditionalize nscd bits on [USE_NSCD].
33137         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33138         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33139         * nscd/Makefile (routines, aux): Move definitions after include of
33140         Makeconfig.  Conditionalize on [$(use-nscd) != no].
33141         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33142         Conditionalize on [USE_NSCD].
33143         (is_nscd, nscd_init_cb): Likewise.
33144         (nss_load_library): Conditionalize init callback on [USE_NSCD].
33145         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33146         * nss/nss_db/db-init.c: Likewise.
33147         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33148         [USE_NSCD].
33149         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33150         (make_request): Use it.
33151         (cache_valid_p): New function.
33152         (__check_pf): Use it.
33153         * NEWS: Add item for --disable-nscd.
33154
33155 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
33156
33157         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33158         to support sed >= 4.2.1-20-ga9bf076.
33159         * configure: Regenerated.
33160
33161 2012-08-22  Roland McGrath  <roland@hack.frob.com>
33162
33163         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33164         Conditionalize whole body on [IREL].
33165
33166 2012-08-22  Jeff Law <law@redhat.com>
33167
33168         [BZ #14505]
33169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33170         if the family is PF_UNSPEC.
33171
33172 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
33173
33174         * Makerules (lib-version): Rename from V.
33175         (install-lib-nosubdir): Change V to lib-version.
33176
33177 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
33178
33179         [BZ #14252]
33180         * powerpc32/power6/wcschr.c: New file.
33181         * powerpc32/power6/wcscpy.c: New file.
33182         * powerpc32/power6/wcsrchr.c: New file.
33183         * powerpc64/power6/wcschr.c: New file.
33184         * powerpc64/power6/wcscpy.c: New file.
33185         * powerpc64/power6/wcsrchr.c: New file.
33186
33187 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33188
33189         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33190         (two_way_short_needle): Use it.
33191         * string/strstr.c (AVAILABLE1_USES_J): Define.
33192         * string/strcasestr.c: Likewise.
33193
33194         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33195         array references.
33196         * string/strcasestr.c (TOLOWER): Make side-effect safe.
33197
33198         [BZ #11607]
33199         * NEWS: Add an entry.
33200         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33201         define their defaults.
33202         (two_way_short_needle): Detect end-of-string on-the-fly.
33203         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33204         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33205         * string/bug-strcasestr1.c: New test.
33206         * string/Makefile: Run it.
33207
33208 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
33209
33210         [BZ #11607]
33211         * string/str-two-way.h (two_way_short_needle): Optimize matching of
33212         the first character.
33213
33214 2012-08-21  Roland McGrath  <roland@hack.frob.com>
33215
33216         * csu/elf-init.c (__libc_csu_irel): Function removed.
33217         * csu/libc-start.c (apply_irel): New function.
33218         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33219
33220 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
33221
33222         * sysdeps/unix/sysv/linux/kernel-features.h
33223         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33224         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33225         <kernel-features.h>.
33226         [__NR_fadvise64_64]: Make code unconditional.
33227         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33228         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33229         !__NR_fadvise64_64)]: Likewise.
33230         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33231         !__NR_fadvise64_64))]: Likewise.
33232         [__NR_fadvise64]: Make code unconditional.
33233         [!__NR_fadvise64]: Remove conditional code.
33234         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33235         <kernel-features.h>.
33236         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33237         unconditional.
33238         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33239         conditional code.
33240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33241         not include <kernel-features.h>.
33242         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33243         unconditional.
33244         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33245         conditional code.
33246         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33247         include <kernel-features.h>.
33248         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33249         unconditional.
33250         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33251         conditional code.
33252
33253 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
33254
33255         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33256         slight instruction rearrangements per scrollpipe analysis.
33257         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33258
33259 2012-08-20  Roland McGrath  <roland@hack.frob.com>
33260
33261         * manual/syslog.texi (syslog; vsyslog, closelog):
33262         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33263         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33264
33265         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33266         DSOCAPS to match condition on defining it.
33267
33268 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
33269
33270         * sysdeps/unix/sysv/linux/kernel-features.h
33271         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33273         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33274         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33276         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33277         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33279         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33280         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33281
33282         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33283         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33284
33285         * sysdeps/unix/sysv/linux/kernel-features.h
33286         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33287         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33288         unconditional.
33289         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33290         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33291         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33292         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33293         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33294         Make code unconditional.
33295         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33296         (__mmap64) [!__NR_mmap2]: Likewise.
33297         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33298         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33299         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33300         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33301         [__NR_mmap2]: Make code unconditional.
33302         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33303         (__mmap64) [!__NR_mmap2]: Likewise.
33304
33305 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33306
33307         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33308
33309 2012-08-18  Andreas Jaeger  <aj@suse.de>
33310
33311         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33312
33313 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33314
33315         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33316         * include/unistd.h (__have_sock_cloexec): Likewise.
33317         (__have_pipe2): Likewise.
33318         (__have_dup3): Likewise.
33319
33320 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
33321
33322         [BZ #9685]
33323         * include/unistd.h (__have_pipe2): Change define into an extern int.
33324         (__have_dup3): Likewise.
33325         * socket/have_sock_cloexec.c: Include fcntl.h.
33326         (__have_pipe2): New variable.
33327         (__have_dup3): Likewise.
33328
33329 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
33330
33331         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33332
33333 2012-08-17  Marek Polacek  <polacek@redhat.com>
33334
33335         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33336         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33337
33338 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33339
33340         * configure.in: Add AC_SUBST for sysheaders.
33341         * configure: Regenerated.
33342         * config.make.in (sysheaders): New substituted variable.
33343
33344         * sysdeps/unix/mkfifo.c: Moved ...
33345         * sysdeps/posix/mkfifo.c: ... here.
33346         * sysdeps/unix/mkfifoat.c: Moved ...
33347         * sysdeps/posix/mkfifoat.c: ... here.
33348
33349         * sysdeps/unix/utime.c: Moved ...
33350         * sysdeps/posix/utime.c: ... here.
33351
33352         * sysdeps/unix/time.c: Moved ...
33353         * sysdeps/posix/time.c: ... here.
33354         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33355         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33356
33357         * sysdeps/unix/nice.c: Moved ...
33358         * sysdeps/posix/nice.c: ... here.
33359
33360         * sysdeps/unix/alarm.c: Moved ...
33361         * sysdeps/posix/alarm.c: ... here.
33362
33363         * intl/Makefile ($(codeset_mo)): Depend on the input file.
33364
33365 2012-08-17  Jeff Law <law@redhat.com>
33366
33367         * intl/Makefile (codeset_mo): New variable.
33368         ($(codeset_mo)): New target.
33369         (tst-codeset.out): Depend on that.  Remove explicit rule.
33370         (tst-gettext3.out, tst-gettext5.out): Likewise.
33371         (LOCPATH-ENV, tst-codeset-ENV): New variables.
33372         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33373         * intl/tst-codeset.sh: Remove.
33374         * intl/tst-gettext3.sh: Likewise.
33375         * intl/tst-gettext5.sh: Likewise.
33376
33377 2012-08-17  Roland McGrath  <roland@hack.frob.com>
33378
33379         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
33380         * sysdeps/unix/syscalls.list: ... here.
33381
33382         * sysdeps/posix/getaddrinfo.c
33383         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33384         (gaiconf_init, gaiconf_reload): Use them.
33385         [!_STATBUF_ST_NSEC]
33386         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33387         Define using time_t rather than struct timespec.
33388
33389         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33390         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33391         Macros removed.
33392         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33393         [!NO_THREADS].
33394         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33395         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33396         Likewise.
33397
33398         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33399         __libc_cleanup_push argument.
33400
33401         * bits/param.h: New file.
33402         * misc/sys/param.h: New file.
33403         * include/sys/param.h: New file.
33404         * misc/Makefile (headers): Add bits/param.h.
33405         * sysdeps/generic/sys/param.h: File removed.
33406         * sysdeps/unix/sysv/linux/bits/param.h: New file.
33407         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33408         * sysdeps/mach/hurd/bits/param.h: New file.
33409         * sysdeps/mach/hurd/sys/param.h: File removed.
33410
33411         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33412         last change.
33413
33414         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33415         [_IO_MTSAFE_IO].
33416         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33417         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33418         New macros.
33419
33420         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33421         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33422         rather than -D_IO_MTSAFE_IO conditionally.
33423         * stdio-common/Makefile (CPPFLAGS): Likewise.
33424         * wcsmbs/Makefile (CPPFLAGS): Likewise.
33425         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33426         Use $(libio-mtsafe).
33427         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33428         of -D_IO_MTSAFE_IO.
33429         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33430         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33431         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33432         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33433         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33434         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33435         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33436         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33437         (CFLAGS-fread_u_chk.c): Likewise.
33438         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33439         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33440         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33441         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33442         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33443         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33444         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33445         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33446         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33447
33448         * libio/Makefile: Test [$(libc-reentrant) = yes]
33449         instead of [$(filter %REENTRANT, $(defines)) nonempty].
33450
33451         * Makeconfig
33452         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33453         * sysdeps/pthread/configure: File removed.
33454         * sysdeps/pthread/Makeconfig: New file.
33455         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33456         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33457
33458 2012-08-16  Gary Benson  <gbenson@redhat.com>
33459
33460         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33461         unmapping the first object in a namespace.
33462
33463 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33464
33465         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33466         (__internal_setnetgrent): ... this.  Add internal_function to
33467         definition.  Add libc_hidden_def.
33468         (setnetgrent): Update caller.
33469         (internal_endnetgrent): Renamed to ...
33470         (__internal_endnetgrent): ... this.  Add internal_function to
33471         definition.  Add libc_hidden_def.
33472         (endnetgrent): Update caller.
33473         (internal_getnetgrent_r): Renamed to ...
33474         (__internal_getnetgrent_r): ... this.  Add internal_function to
33475         definition.  Add libc_hidden_def.
33476         (__getnetgrent_r): Update caller.
33477         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
33478
33479 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33480
33481         * stdlib/longlong.h: Update from GCC.
33482
33483 2012-08-16  Roland McGrath  <roland@hack.frob.com>
33484
33485         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33486         on _QL, which is set by umul_ppmm but never used.
33487         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33488         variables, which are set by GMP macros but never used.
33489         * stdio-common/_itowa.c (_itowa): Likewise.
33490         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33491         * stdlib/mod_1.c (mpn_mod_1): Likewise.
33492
33493 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
33494
33495         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33496         struct La_sh_regs is not constant.
33497         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33498         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33499         and struct La_sparc64_regs are not constant.
33500
33501 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
33502
33503         * sysdeps/unix/sysv/linux/kernel-features.h
33504         (__ASSUME_POSIX_TIMERS): Remove.
33505         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33506         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33507         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33508         Make code unconditional.
33509         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33510         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33511         Make code unconditional.
33512         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33513         * sysdeps/unix/sysv/linux/clock_nanosleep.c
33514         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33515         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33516         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33517         Make code unconditional.
33518         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33519         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33520         (__libc_missing_posix_timers): Remove.
33521
33522 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33523
33524         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33525         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33526
33527         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33528
33529         * elf/dl-sym.c: Include <stdlib.h>.
33530
33531         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33532         constants, which avoids warnings in 32-bit builds.
33533
33534         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33535         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33536
33537         * misc/lseek.c: File moved to ...
33538         * io/lseek.c: ... here.
33539
33540         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33541
33542         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33543         shifting LEN more than 31 bits at once.
33544
33545 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33546
33547         [BZ #14195]
33548         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33549         segmentation fault for a case of two empty input strings.
33550         * string/test-strncasecmp.c (check1): Renamed to...
33551         (bz12205): ...this.
33552         (bz14195): Add new testcase for two empty input strings and N > 0.
33553         (test_main): Call new testcase, adapt for renamed function.
33554
33555 2012-08-15  Andreas Jaeger  <aj@suse.de>
33556
33557         [BZ #14090]
33558         * crypt/md5test2.c: New test, based on test supplied by Serge
33559         Belyshev <belyshev@depni.sinp.msu.ru>.
33560         * crypt/Makefile (xtests): Add md5test-giant..
33561         * crypt/Makefile ($(objpfx)md5test-giant): Add.
33562
33563 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
33564
33565         [BZ #14090]
33566         * crypt/md5.c (md5_process_block): Don't assume the buffer
33567         length is less than 2**32.
33568         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33569         length is less than 2**64.
33570
33571 2012-08-15  Roland McGrath  <roland@hack.frob.com>
33572
33573         * string/str-two-way.h: Include <sys/param.h>.
33574         (MAX): Macro removed.
33575
33576         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33577         Move #define and #undef of memmove to just before and after
33578         including <string.h>.
33579
33580         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33581         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33582         and after including <string.h>.  Move declarations of
33583         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33584         to before #include "string/memmove.c".
33585
33586         * include/dirent.h: Declare __getdirentries.
33587
33588         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33589         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33590
33591 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
33592
33593         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33594         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33595         * sysdeps/i386/configure: Regenerated.
33596         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33597         STABS_CURRENT_FILE, and STABS_FUN.
33598         (END): Remove call to STABS_FUN_END.
33599         (STABS_CURRENT_FILE1): Delete.
33600         (STABS_CURRENT_FILE): Likewise.
33601         (STABS_FUN): Likewise.
33602         (STABS_FUN_END): Likewise.
33603         (STABS_FUN2): Likewise.
33604         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33605         * sysdeps/x86_64/configure: Regenerated.
33606
33607 2012-08-14  Roland McGrath  <roland@hack.frob.com>
33608
33609         * elf/dl-open.c: Include <atomic.h>.
33610         * elf/dl-lookup.c: Likewise.
33611
33612 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
33613
33614         * sysdeps/unix/sysv/linux/kernel-features.h
33615         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33616         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33617         unconditionally.
33618         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33619         unconditionally.
33620         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33621         condition on __ASSUME_CLONE_THREAD_FLAGS.
33622
33623 2012-08-14  Andreas Jaeger  <aj@suse.de>
33624
33625         * sysdeps/i386/fpu/libm-test-ulps: Update.
33626
33627 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
33628
33629         * include/atomic.h (atomic_exchange_and_add): Split into ...
33630         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33631         New atomic macros.
33632
33633 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
33634
33635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33636
33637 2012-08-13  Jeff Law <law@redhat.com>
33638
33639         * manual/stdio.texi (snprintf): Clarify handling of the trailing
33640         null byte in the output string.
33641
33642 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
33643
33644         * sysdeps/unix/sysv/linux/kernel-features.h
33645         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33646         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33647         (__ASSUME_ARG_MAX_STACK_BASED): Define.
33648         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33649         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33650         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
33651         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33652
33653 2012-08-09  Jeff Law <law@redhat.com>
33654
33655         [BZ #13939]
33656         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33657         When avoid_arena is set, don't retry in the that arena.  Pick the
33658         next one, whatever it might be.
33659         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33660         (arena_lock): Pass in new parameter to arena_get2.
33661         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33662         arena_get2.
33663         (__libc_malloc): Unify retrying after main arena failure with
33664         __libc_memalign version.
33665         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33666
33667 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33668
33669         [BZ #14166]
33670         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33671         to __redirect_strstr.
33672         (__strstr_sse42): Use typeof __redirect_strstr.
33673         (__strstr_ia32): Likewise.
33674         (__libc_strstr): New prototype.
33675         (strstr): Renamed to ...
33676         (__libc_strstr): This.
33677         (strstr): New strong alias of __libc_strstr.
33678         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33679         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33680         __redirect_time.
33681         Include <time.h>.
33682         (__libc_time): New prototype.
33683         (time_ifunc): Replace time with __libc_time.
33684         (time): New strong alias and hidden definition of __libc_time.
33685         (__GI_time): Remove strong alias.
33686         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33687         Include <stddef.h>.
33688         (memmove): Redefined to __redirect_memmove.
33689         (__memmove_sse2): Use typeof __redirect_memmove.
33690         (__memmove_ssse3): Likewise.
33691         (__memmove_ssse3_back): Likewise.
33692         (__libc_memmove): New prototype.
33693         (memmove): Renamed to ...
33694         (__libc_memmove): This.
33695         (memmove): New strong alias of __libc_memmove.
33696
33697 2012-08-08  Mark Salter  <msalter@redhat.com>
33698
33699         * elf/elf.h
33700         (R_MN10300_TLS_GD): Define.
33701         (R_MN10300_TLS_LD): Likewise.
33702         (R_MN10300_TLS_LDO): Likewise.
33703         (R_MN10300_TLS_GOTIE): Likewise.
33704         (R_MN10300_TLS_IE): Likewise.
33705         (R_MN10300_TLS_LE): Likewise.
33706         (R_MN10300_TLS_DTPMOD): Likewise.
33707         (R_MN10300_TLS_DTPOFF): Likewise.
33708         (R_MN10300_TLS_TPOFF): Likewise.
33709         (R_MN10300_SYM_DIFF): Likewise.
33710         (R_MN10300_ALIGN): Likewise.
33711         (R_MN10300_NUM): Update.
33712
33713 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
33714
33715         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33716         Remove.
33717
33718 2012-08-08  Roland McGrath  <roland@hack.frob.com>
33719
33720         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33721
33722         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33723         sysdeps/unix -> sysdeps/posix move.
33724         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33725
33726 2012-08-07      Allan McRae     <allan@archlinux.org>
33727
33728         [BZ #14303]
33729         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33730         (SUNOS_CPP): Likewise.
33731         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33732         not found.
33733         (open_input): Call CPP using execvp.
33734
33735 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33736
33737         * sysdeps/unix/sysv/linux/kernel-features.h
33738         (__ASSUME_PROT_GROWSUPDOWN): Remove.
33739         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33740         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33741         (__ASSUME_WAITID_SYSCALL): Likewise.
33742         * sysdeps/unix/sysv/linux/dl-execstack.c
33743         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33744         code unconditional.
33745         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33746         conditional code.
33747         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33748         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33749         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33750         code.
33751         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33752         unconditional.
33753         [__ASSUME_WAITID_SYSCALL]: Likewise.
33754         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33755
33756 2012-08-07  Roland McGrath  <roland@hack.frob.com>
33757
33758         * sysdeps/unix/closedir.c: Renamed to ...
33759         * sysdeps/posix/closedir.c: ... here.
33760         * sysdeps/unix/dirfd.c: Renamed to ...
33761         * sysdeps/posix/dirfd.c: ... here.
33762         * sysdeps/unix/dirstream.h: Renamed to ...
33763         * sysdeps/posix/dirstream.h: ... here.
33764         * sysdeps/unix/fdopendir.c: Renamed to ...
33765         * sysdeps/posix/fdopendir.c: ... here.
33766         * sysdeps/unix/opendir.c: Renamed to ...
33767         * sysdeps/posix/opendir.c: ... here.
33768         * sysdeps/unix/readdir.c: Renamed to ...
33769         * sysdeps/posix/readdir.c: ... here.
33770         * sysdeps/unix/readdir_r.c: Renamed to ...
33771         * sysdeps/posix/readdir_r.c: ... here.
33772         * sysdeps/unix/rewinddir.c: Renamed to ...
33773         * sysdeps/posix/rewinddir.c: ... here.
33774         * sysdeps/unix/seekdir.c: Renamed to ...
33775         * sysdeps/posix/seekdir.c: ... here.
33776         * sysdeps/unix/telldir.c: Renamed to ...
33777         * sysdeps/posix/telldir.c: ... here.
33778         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33779         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33780         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33781         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33782
33783         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33784         * bits/fcntl.h: ... here.
33785
33786         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33787         not 0.
33788         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33789         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33790         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33791         (struct flock): Move l_start, l_len to the beginning.
33792         Use __pid_t for l_pid.
33793         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33794         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33795         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33796         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33797         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33798         [__USE_LARGEFILE64] (struct flock64): New type.
33799         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33800
33801         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33802         * bits/dirent.h: ... here.
33803
33804         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33805         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33806
33807 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33808
33809         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33810         Change from 2.6.0 to 2.6.16.
33811         * sysdeps/unix/sysv/linux/configure: Regenerated.
33812         * sysdeps/unix/sysv/linux/kernel-features.h
33813         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33814         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33815         version.
33816         (__ASSUME_UTIMES): Likewise.
33817         (__ASSUME_CLONE_STOPPED): Remove.
33818         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33819         architectures, not kernel version.
33820         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33821         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33822         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33823         (__ASSUME_WAITID_SYSCALL): Likewise.
33824         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33825         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33826         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33827         refer to older versions.
33828
33829 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33830
33831         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33832         Define alphasort64 as an alias.
33833         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33834         Define versionsort64 as an alias.
33835         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33836         Define scandir64 as an alias.
33837         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33838         Define scandirat64 as an alias.
33839         * dirent/alphasort64.c (alphasort64):
33840         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33841         * dirent/versionsort64.c: Likewise.
33842         * dirent/scandir64.c: Likewise.
33843         * dirent/scandirat64.c: Likewise.
33844         * sysdeps/wordsize-64/alphasort.c: File removed.
33845         * sysdeps/wordsize-64/alphasort64.c: File removed.
33846         * sysdeps/wordsize-64/scandir.c: File removed.
33847         * sysdeps/wordsize-64/scandir64.c: File removed.
33848         * sysdeps/wordsize-64/scandirat.c: File removed.
33849         * sysdeps/wordsize-64/scandirat64.c: File removed.
33850         * sysdeps/wordsize-64/versionsort.c: File removed.
33851         * sysdeps/wordsize-64/versionsort64.c: File removed.
33852         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33853         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33854         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33855         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33856         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33857         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33859         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33860
33861         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33862         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33863         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33864         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33865         [defined __arch64__ || defined __sparcv9]
33866         (__INO_T_MATCHES_INO64_T): New macro.
33867         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33868         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33869         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33870         * sysdeps/unix/sysv/linux/bits/dirent.h
33871         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33872         (_DIRENT_MATCHES_DIRENT64): New macro.
33873
33874         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33875         Define lockf64 as an alias.
33876         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33877         Define fseeko64 as an alias.
33878         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33879         Define ftello64 as an alias.
33880         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33881         Define _IO_fgetpos64 and fgetpos64 as aliases.
33882         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33883         Define _IO_fsetpos64 and fsetpos64 as aliases.
33884         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33885         Conditionalize body on this.
33886         * libio/fseeko64.c: Likewise.
33887         * libio/ftello64.c: Likewise.
33888         * libio/iofgetpos64.c: Likewise.
33889         * libio/iofsetpos64.c: Likewise.
33890         * sysdeps/wordsize-64/lockf.c: File removed.
33891         * sysdeps/wordsize-64/lockf64.c: File removed.
33892         * sysdeps/wordsize-64/fseeko.c: File removed.
33893         * sysdeps/wordsize-64/fseeko64.c: File removed.
33894         * sysdeps/wordsize-64/ftello.c: File removed.
33895         * sysdeps/wordsize-64/ftello64.c: File removed.
33896         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33897         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33898         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33899         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33900         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33901         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33902         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33903         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33904         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33905         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33906         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33907         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33908         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33909         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33910
33911         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33912         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33913         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33914         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33915         [defined __arch64__ || defined __sparcv9]
33916         (__OFF_T_MATCHES_OFF64_T): New macro.
33917         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33918         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33919         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33920         (__OFF_T_MATCHES_OFF64_T): New macro.
33921
33922 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33923
33924         * stdlib/secure-getenv.c (__secure_getenv): Replace
33925         GLIBC_2_16 with GLIBC_2_17.
33926
33927 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33928
33929         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33930         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33931
33932 2012-08-03  David S. Miller  <davem@davemloft.net>
33933
33934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33935
33936 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33937
33938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33939         Remove.
33940         (__ASSUME_CORRECT_SI_PID): Likewise.
33941         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33942         (__ASSUME_TMPFS_NAME): Likewise.
33943         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33944         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33945         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33946         (HAVE_AUX_SECURE): Make definition unconditional.
33947         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33948         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33949
33950 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33951
33952         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33953         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33954         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33955         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33956         __eloop_threshold instead of SYMLOOP_MAX.
33957
33958         * sysdeps/generic/eloop-threshold.h: New file.
33959         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33960         of MAXSYMLINKS.
33961         * elf/chroot_canon.c (chroot_canon): Likewise.
33962
33963 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33964
33965         [BZ #13717]
33966         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33967         Change to 2.6.0 everywhere.
33968         * sysdeps/unix/sysv/linux/configure: Regenerated.
33969         * sysdeps/unix/sysv/linux/kernel-features.h
33970         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33971         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33972         kernel versions.
33973         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33974         (__ASSUME_FUTEX_REQUEUE): Remove.
33975         (__ASSUME_STATFS64): Define unconditionally.
33976         (__ASSUME_AT_SECURE): Likewise.
33977         (__ASSUME_CORRECT_SI_PID): Likewise.
33978         (__ASSUME_TGKILL): Define without depending on kernel version for
33979         i386.
33980         (__ASSUME_UTIMES): Likewise.
33981         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33982         kernel version.
33983         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33984         (__ASSUME_TMPFS_NAME): Likewise.
33985         * README: Update reference to Linux kernel versions.
33986
33987 2012-08-02  Marek Polacek  <polacek@redhat.com>
33988
33989         [BZ# 14150]
33990         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33991         libc_cv_asm_type_prefix with %.
33992         * configure: Regenerated.
33993         * include/libc-symbols.h: Remove comment about
33994         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33995         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33996         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33997         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33998         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33999         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34000         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34001         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34002         * elf/tst-unique2mod1.c: Likewise.
34003         * elf/tst-unique1mod2.c: Likewise.
34004         * elf/tst-unique1mod1.c: Likewise.
34005         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34006         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34007         Replace ASM_TYPE_DIRECTIVE with .type.
34008         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34009         * sysdeps/i386/sysdep.h: Likewise.
34010         * sysdeps/x86_64/sysdep.h: Likewise.
34011         * sysdeps/sh/sysdep.h: Likewise.
34012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34013         Do not define ASM_TYPE_DIRECTIVE.
34014         * sysdeps/powerpc/sysdep.h: Likewise.
34015         * sysdeps/powerpc/powerpc32/sysdep.h:
34016         Replace ASM_TYPE_DIRECTIVE with .type.
34017         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34018         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34019         * sysdeps/i386/fpu/e_powf.S: Likewise.
34020         * sysdeps/i386/fpu/e_expl.S: Likewise.
34021         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34022         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34023         * sysdeps/i386/fpu/e_pow.S: Likewise.
34024         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34025         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34026         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34027         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34028         * sysdeps/i386/fpu/e_log2.S: Likewise.
34029         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34030         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34031         * sysdeps/i386/fpu/e_powl.S: Likewise.
34032         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34033         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34034         * sysdeps/i386/fpu/e_logl.S: Likewise.
34035         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34036         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34037         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34038         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34039         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34040         * sysdeps/i386/fpu/e_log.S: Likewise.
34041         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34042         * sysdeps/i386/fpu/e_logf.S: Likewise.
34043         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34044         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34045         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34046         * sysdeps/i386/fpu/e_log10.S: Likewise.
34047         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34048         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34049         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34050         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34051         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34052         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34053         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34054         * sysdeps/i386/i686/strtok.S: Likewise.
34055         * sysdeps/i386/i386-mcount.S: Likewise.
34056         * sysdeps/i386/strtok.S: Likewise.
34057         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34058         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34059         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34060         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34061         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34062         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34063         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34064         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34065         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34066         * sysdeps/x86_64/_mcount.S: Likewise.
34067         * sysdeps/x86_64/strtok.S: Likewise.
34068         * sysdeps/sh/_mcount.S: Likewise.
34069
34070 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34071
34072         * libio/iofopen.c: Include <fcntl.h>.
34073         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34074         (_IO_fopen64, fopen64): Define as aliases.
34075         * libio/iofopen64.c: Include <fcntl.h>.
34076         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34077         Conditionalize body on this.
34078         * sysdeps/wordsize-64/iofopen.c: File removed.
34079         * sysdeps/wordsize-64/iofopen64.c: File removed.
34080
34081 2012-08-01  Marek Polacek  <polacek@redhat.com>
34082
34083         * libc/Makeconfig: Use elf in place of binfmt-subdir.
34084         Use dlfcn directly instead of a variable.
34085         (binfmt-subdir): Do not define.
34086         (dlfcn): Likewise.
34087
34088 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
34089
34090         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34091         Remove all definitions.
34092         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34093         <kernel-features.h>.
34094         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34095         (miss_F_GETOWN_EX): Remove all definitions.
34096         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34097         macro definition.
34098         [!__ASSUME_FCNTL64]: Remove conditional code.
34099         [__ASSUME_FCNTL64]: Make code unconditional.
34100         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34101         <kernel-features.h>.
34102         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34103         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34104         (lockf64) [__NR_fcntl64]: Make code unconditional.
34105         (lockf64) [__ASSUME_FCNTL64]: Likewise.
34106
34107         * sysdeps/unix/sysv/linux/kernel-features.h
34108         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34109         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34110         Make code unconditional.
34111         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34112         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34114         [__NR_vfork]: Make code unconditional.
34115         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34116         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34118         [__NR_vfork]: Make code unconditional.
34119         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34120         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34121
34122 2012-08-01  Roland McGrath  <roland@hack.frob.com>
34123
34124         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34125         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34126
34127         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34128         Define mkstemp64 as an alias.
34129         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34130         Define mkstemps64 as an alias.
34131         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34132         Define mkostemp64 as an alias.
34133         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34134         Define mkostemps64 as an alias.
34135         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34136         Conditionalize body on this.
34137         * misc/mkostemp64.c: Likewise.
34138         * misc/mkostemps64.c: Likewise.
34139         * misc/mkstemps64.c: Likewise.
34140         * sysdeps/wordsize-64/mkstemp64.c: File removed.
34141         * sysdeps/wordsize-64/mkostemp64.c: File removed.
34142         * sysdeps/wordsize-64/mkostemp.c: File removed.
34143         * sysdeps/wordsize-64/mkstemp.c: File removed.
34144         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34145         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34146         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34147         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34148
34149         [BZ #14138]
34150         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34151         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34152         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34153         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34154
34155         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34156         compat_symbol macros from <shlib-compat.h> rather than the underlying
34157         default_symbol_version and symbol_version macros, so that DEFAULT
34158         lines in shlib-versions are respected.
34159         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34160
34161 2012-08-01  Florian Weimer  <fweimer@redhat.com>
34162
34163         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34164         Declare with warn_unused_result.
34165         (setgid, setregid, setegid, setresgid): Likewise.
34166         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34167         Likewise.
34168         * WUR-REPORT: Remove set*id functions.
34169
34170 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
34171
34172         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34173
34174 2012-07-31  Roland McGrath  <roland@hack.frob.com>
34175
34176         [BZ #10191]
34177         * include/sys/socket.h (__libc_accept, __libc_accept4):
34178         Add attribute_hidden.
34179         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34180
34181         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34182         use of PTR_MANGLE.
34183         * inet/getnetgrent_r.c (setup): Likewise.
34184
34185         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34186
34187 2012-07-31  David S. Miller  <davem@davemloft.net>
34188
34189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34190
34191 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
34192
34193         [BZ #13629]
34194         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34195         value between 1.0 and 2.0 and smaller part has absolute value less
34196         than 1.0.
34197         * math/s_clog10.c (__clog10): Likewise.
34198         * math/s_clog10f.c (__clog10f): Likewise.
34199         * math/s_clog10l.c (__clog10l): Likewise.
34200         * math/s_clogf.c (__clogf): Likewise.
34201         * math/s_clogl.c (__clogl): Likewise.
34202         * math/libm-test.inc (clog_test): Add more tests.
34203         (clog10_test): Likewise.
34204         * sysdeps/i386/fpu/libm-test-ulps: Update.
34205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34206
34207 2012-07-31  Florian Weimer  <fweimer@redhat.com>
34208
34209         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34210         Exit with zero in case no suitable GID is found, and write a
34211         message to standard error.
34212
34213 2012-07-30  Roland McGrath  <roland@hack.frob.com>
34214
34215         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34216         rather than to 1.
34217         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34218         (MAXPATHLEN): Removed.
34219         (NOGROUP, NODEV): New macros.
34220         (setbit, clrbit, isset, isclr): New macros.
34221         (howmany, roundup, powerof2): New macros.
34222         (DEV_BSIZE): New macro.
34223
34224         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34225         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34226
34227         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34228         definition on [!__NO_LONG_DOUBLE_MATH].
34229
34230         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34231         PTR_MANGLE and PTR_DEMANGLE.
34232
34233         * socket/accept4.c (accept4): Rename to __libc_accept4.
34234         Define accept4 as a weak alias.
34235
34236         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34237         on [_DIRENT_HAVE_D_TYPE].
34238         * io/ftw.c (ftw_dir): Likewise.
34239
34240         * io/xmknod.c (__xmknod): Don't check PATH for being null.
34241
34242         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34243
34244         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34245         Use the BSD numbers rather than the arbitrary ones we had.
34246         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34247         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34248         (SIGXCPU, SIGXFSZ): New macros.
34249         (_NSIG): Now 32.
34250
34251         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34252         initializer on [_LIBC_REENTRANT].
34253
34254         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34255         definitions inside [_POSIX_MAPPED_FILES].
34256
34257         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34258
34259         * dirent/opendir.c: Include <fcntl.h>.
34260
34261         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34262         (__libc_getspecific): Likewise.
34263         (__libc_key_create): Likewise.
34264
34265         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34266         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34267         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34268         (tmpfile64): Define as alias.
34269         * sysdeps/wordsize-64/tmpfile.c: File removed.
34270         * sysdeps/wordsize-64/tmpfile64.c: File removed.
34271         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34272         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34273
34274         * stdio-common/vfscanf.c: Include <stdbool.h>.
34275         * nss/makedb.c: Likewise.
34276         * stdio-common/_i18n_number.h: Likewise.
34277         * argp/argp-help.c: Likewise.
34278         * posix/wordexp.c: Likewise.
34279         * sysdeps/posix/spawni.c: Likewise.
34280         * nss/nss_files/files-initgroups.c: Likewise.
34281         * stdio-common/reg-modifier.c: Include <stdlib.h>.
34282         * nss/nss_files/files-initgroups.c: Likewise.
34283         * nss/nss_db/db-netgrp.c: Likewise.
34284         * nss/nss_db/db-initgroups.c: Likewise.
34285         * io/fchmodat.c: Include <sys/stat.h>.
34286
34287         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34288         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34289
34290         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34291         [HAVE_MMAP].
34292
34293         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34294         Add multiple inclusion protection.
34295
34296 2012-07-27  David S. Miller  <davem@davemloft.net>
34297
34298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34299
34300 2012-07-27  Gary Benson  <gbenson@redhat.com>
34301
34302         [BZ #14298]
34303         * elf/rtld.c: Include <stap-probe.h>.
34304         (dl_main): Added static probes "init_start" and "init_complete".
34305         * elf/dl-load.c: Include <stap-probe.h>.
34306         (lose): Take new parameter "nsid".
34307         Added static probe "map_failed".
34308         (_dl_map_object_from_fd): Pass namespace id to lose.
34309         Added static probe "map_start".
34310         (open_verify): Pass namespace id to lose.
34311         * elf/dl-open.c: Include <stap-probe.h>.
34312         (dl_open_worker) Added static probes "map_complete", "reloc_start"
34313         and "reloc_complete".
34314         * elf/dl-close.c: Include <stap-probe.h>.
34315         (_dl_close_worker): Added static probes "unmap_start" and
34316         "unmap_complete".
34317         * elf/rtld-debugger-interface.txt: New file documenting the above.
34318
34319 2012-07-26  Roland McGrath  <roland@hack.frob.com>
34320
34321         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34322         rather than a string variable.
34323         * sunrpc/rpc_main.c (h_output): Likewise.
34324         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34325
34326 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
34327
34328         * inet/check_native.c: New file.
34329
34330 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
34331
34332         [BZ #13629]
34333         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34334         if larger part has absolute value 1.0.
34335         * math/s_clog10.c (__clog10): Likewise.
34336         * math/s_clog10f.c (__clog10f): Likewise.
34337         * math/s_clog10l.c (__clog10l): Likewise.
34338         * math/s_clogf.c (__clogf): Likewise.
34339         * math/s_clogl.c (__clogl): Likewise.
34340         * math/libm-test.inc (clog_test): Add more tests.
34341         (clog10_test): Likewise.
34342         * sysdeps/i386/fpu/libm-test-ulps: Update.
34343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34344
34345         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34346         (pltexit): Likewise.
34347         (La_regs): Likewise.
34348         (La_retval): Likewise.
34349         (int_retval): Likewise.
34350         Update #error for removed macros to refer only to definitions in
34351         tst-audit.h.
34352         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34353         macro.
34354         (pltexit): Likewise.
34355         (La_regs): Likewise.
34356         (La_retval): Likewise.
34357         (int_retval): Likewise.
34358         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34359         macro.
34360         (pltexit): Likewise.
34361         (La_regs): Likewise.
34362         (La_retval): Likewise.
34363         (int_retval): Likewise.
34364         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34365         macro.
34366         (pltexit): Likewise.
34367         (La_regs): Likewise.
34368         (La_retval): Likewise.
34369         (int_retval): Likewise.
34370         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34371         macro.
34372         (pltexit): Likewise.
34373         (La_regs): Likewise.
34374         (La_retval): Likewise.
34375         (int_retval): Likewise.
34376         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34377         macro.
34378         (pltexit): Likewise.
34379         (La_regs): Likewise.
34380         (La_retval): Likewise.
34381         (int_retval): Likewise.
34382         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34383         macro.
34384         (pltexit): Likewise.
34385         (La_regs): Likewise.
34386         (La_retval): Likewise.
34387         (int_retval): Likewise.
34388         * sysdeps/generic/tst-audit.h: Update comment to refer only to
34389         macro definitions in tst-audit.h.
34390         * sysdeps/i386/tst-audit.h: New file.
34391         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34392         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34393         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34394         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34395         * sysdeps/sh/tst-audit.h: Likewise.
34396         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34397         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34398         * sysdeps/x86_64/tst-audit.h: Likewise.
34399
34400 2012-07-26  Andreas Jaeger  <aj@suse.de>
34401
34402         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34403         ptrace.
34404
34405         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34406         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34407         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34408         PTRACE_O_MASK.
34409         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34410         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34411         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34412
34413         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34414         value.
34415
34416         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34417         _sigsys.
34418         (si_call_addr, si_syscall, si_arch): Define new macro.
34419         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34420         _sigsys.
34421         (si_call_addr, si_syscall, si_arch): Define new marcro.
34422         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34423         _sigsys.
34424         (si_call_addr, si_syscall, si_arch): Define new macro.
34425         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34426         _sigsys.
34427         (si_call_addr, si_syscall, si_arch): Define new macro.
34428
34429 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34430
34431         [BZ #13717]
34432         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34433         Change to 2.4.21 where previously 2.4.1.
34434         * sysdeps/unix/sysv/linux/configure: Regenerated.
34435         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34436         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34437         Linux kernel version.
34438         (__ASSUME_STD_AUXV): Remove.
34439         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34440         kernel version.
34441         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34442         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34443         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34444         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34445         (__ASSUME_NETLINK_SUPPORT): Likewise.
34446         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34447         (__no_netlink_support): Remove conditional definition.
34448         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34449         Remove.
34450         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34451         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34452         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34453         (if_nameindex_ioctl): Remove.
34454         (if_nameindex_netlink): Do not handle __no_netlink_support.
34455         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34456         code.
34457         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34458         Remove conditional code.
34459         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34460         code.
34461         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34462         unconditional.
34463         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34464         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34465         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34466         Remove.
34467         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34468         [!__ASSUME_STD_AUXV]: Remove conditional code.
34469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34470         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34471         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34473         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34474         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34475         code.
34476         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34478         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34479         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34480         conditional code.
34481         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34483         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34484         code.
34485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34486         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34487         conditional code.
34488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34489         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34490         code unconditional.
34491         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34492         conditional code.
34493         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34494         unconditional.
34495         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34496         conditional code.
34497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34498         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34499         unconditional.
34500         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34501         conditional code.
34502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34503         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34504         code unconditional.
34505         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34506         conditional code.
34507         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34508         unconditional.
34509         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34510         conditional code.
34511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34512         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34513         code unconditional.
34514         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34515         conditional code.
34516         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34517         unconditional.
34518         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34519         conditional code.
34520
34521 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
34522
34523         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34524         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34525         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34526         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34527         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34528         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34529         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34530         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34531         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34532         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34533         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34534         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34535         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34536         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34537         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34538         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34539         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34541         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34543         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34544         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34545         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34546
34547 2012-07-25  Florian Weimer  <fweimer@redhat.com>
34548
34549         * Versions.def: Add GLIBC_2.17.
34550         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34551         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34552         Introduce __libc_secure_getenv.
34553         * stdlib/Versions (2.17): Add secure_getenv
34554         (GLIBC_PRIVATE): Add __libc_secure_getenv.
34555         * stdlib/secure-getenv.c: Rename __secure_getenv to
34556         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
34557         symbol __secure_getenv for GLIBC_2.0.
34558         * stdlib/tst-secure-getenv.c: New.
34559         * stdlib/Makefile (tests): Add testcase.
34560         * manual/startup.texi (Environment Access): Document
34561         secure_getenv.
34562         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34563         __libc_secure_getenv.
34564         * inet/ruserpass.c (ruserpass): Likewise.
34565         * malloc/mtrace.c (mtrace): Likewise.
34566         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34567         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34568         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34569         * sysdeps/posix/tempname.c: Likewise.  Evaluate
34570         HAVE_SECURE_GETENV.
34571         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34572         __secure_getenv to __libc_secure_getenv.
34573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34575         Likewise.
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34577         Likewise.
34578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34580         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34585
34586 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
34587
34588         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34589         (struct La_i86_retval): Likewise.
34590         (struct La_x86_64_regs): Likewise.
34591         (struct La_x86_64_retval): Likewise.
34592         (struct La_x32_regs): Likewise.
34593         (struct La_x32_retval): Likewise.
34594         (struct La_ppc32_regs): Likewise.
34595         (struct La_ppc32_retval): Likewise.
34596         (struct La_ppc64_regs): Likewise.
34597         (struct La_ppc64_retval): Likewise.
34598         (struct La_sh_regs): Likewise.
34599         (struct La_sh_retval): Likewise.
34600         (struct La_s390_32_regs): Likewise.
34601         (struct La_s390_32_retval): Likewise.
34602         (struct La_s390_64_regs): Likewise.
34603         (struct La_s390_64_retval): Likewise.
34604         (struct La_sparc32_regs): Likewise.
34605         (struct La_sparc32_retval): Likewise.
34606         (struct La_sparc64_regs): Likewise.
34607         (struct La_sparc64_retval): Likewise.
34608         (struct audit_ifaces): Remove architecture-specific pltenter and
34609         pltexit members.
34610         * sysdeps/i386/ldsodefs.h: New file.
34611         * sysdeps/powerpc/ldsodefs.h: Likewise.
34612         * sysdeps/s390/ldsodefs.h: Likewise.
34613         * sysdeps/sh/ldsodefs.h: Likewise.
34614         * sysdeps/sparc/ldsodefs.h: Likewise.
34615         * sysdeps/x86_64/ldsodefs.h: Likewise.
34616
34617 2012-07-25  Marek Polacek  <polacek@redhat.com>
34618
34619         [BZ #6808]
34620         * math/libm-test.inc (yn_test): Add another test.
34621         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34622         to ERANGE when the result is +-Inf.
34623         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34625         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34626         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34627
34628 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
34629
34630         * conform/data/time.h-data (NULL): Use macro-constant.  Require
34631         equal to 0.
34632         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
34633         clock_t.
34634         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
34635
34636 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
34637
34638         * configure.in <sysdeps resolving>: Correct printing
34639         Implies_before.
34640         * configure: Regenerate.
34641
34642 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
34643
34644         * math/w_ilogb.c: Include <limits.h>.
34645         * math/w_ilogbl.c: Likewise.
34646
34647 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34648
34649         * manual/lang.texi (__va_copy): Document primarily as ISO C99
34650         va_copy.  Document allowing for unavailable va_copy only as
34651         pre-C99 compatibility.
34652         * manual/string.texi (Copying and Concatenation): Use va_copy
34653         instead of __va_copy in concat example.
34654
34655 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
34656
34657         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34658         (__sendto): Use create_address_port.  Initialize APORT and deallocate
34659         it if not null.
34660
34661         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34662         with O_NOLINK passed to __file_name_lookup.
34663
34664         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34665         with O_NOLINK passed to __file_name_lookup.
34666
34667         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34668         negative N or less than NGIDS.
34669
34670         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34671         type to string_t.  Set ERANGE as errno and return it if NAME is not big
34672         enough.  Use memcpy instead of strncpy.
34673
34674 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
34675
34676         * elf/Makefile (check-data): Remove.
34677         (localplt.data): New vpath directive.
34678         ($(objpfx)check-localplt.out): Use localplt.data from vpath
34679         instead of $(check-data).
34680         * scripts/data/localplt-generic.data: Move to ...
34681         * sysdeps/generic/localplt.data: ... here.
34682         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34683         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34684         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34686         ... here.
34687         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34689         ... here.
34690         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34692         ... here.
34693         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34695         ... here.
34696         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34698         ... here.
34699         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34701         ... here.
34702
34703 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34704
34705         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34706         PPC32 and PPC64 files.
34707         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34708         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34709
34710 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34711
34712         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34713         __makecontext_ret to ...
34714         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34715         ... here and call exit if uc_link is NULL.  New file.
34716         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34717         __makecontext_ret.S.
34718         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34719         __makecontext_ret to ...
34720         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34721         ... here and call exit if uc_link is NULL.  New file.
34722         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34723         __makecontext_ret.S.
34724
34725 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34726
34727         * elf/elf.h (R_390_IRELATIVE): New definition.
34728         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34729         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
34730         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34731         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34732         (elf_machine_lazy_rel): Likewise.
34733         * sysdeps/s390/dl-irel.h: New file.
34734         * sysdeps/s390/s390-64/memcpy.S: New asm code.
34735         * sysdeps/s390/s390-64/memset.S: New asm code.
34736         * sysdeps/s390/s390-64/memcmp.S: New asm code.
34737         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34738         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34739         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34740         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34741         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34743         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34744         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34745         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34746         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34747         * sysdeps/s390/s390-32/memcpy.S: New asm code.
34748         * sysdeps/s390/s390-32/memset.S: New asm code.
34749         * sysdeps/s390/s390-32/memcmp.S: New asm code.
34750
34751 2012-07-17  Marek Polacek  <polacek@redhat.com>
34752
34753         [BZ #14349]
34754         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34755         * sysdeps/s390/s390-64/configure.in: Likewise.
34756         * sysdeps/sparc/configure.in: Likewise.
34757         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34758         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34759         * sysdeps/i386/configure.in: Likewise.
34760         * sysdeps/x86_64/configure.in: Likewise.
34761         * sysdeps/sh/configure.in: Likewise.
34762         * sysdeps/s390/s390-32/configure: Regenerated.
34763         * sysdeps/s390/s390-64/configure: Likewise.
34764         * sysdeps/x86_64/configure: Likewise.
34765         * sysdeps/sh/configure: Likewise.
34766         * sysdeps/powerpc/powerpc64/configure: Likewise.
34767         * sysdeps/powerpc/powerpc32/configure: Likewise.
34768         * sysdeps/sparc/configure: Likwise.
34769         * sysdeps/i386/configure: Likewise.
34770
34771         * elf/dl-open.c: Comment fixes.
34772
34773 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
34774
34775         * Makefile [CXX] (check-data): Remove.
34776         [CXX] (c++-types.data): New vpath directive.
34777         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34778         vpath.  Do not allow for C++ type data being missing.
34779         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34780         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34781         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34782         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34783         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34784         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34785         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34787         ... here.
34788         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34790         ... here.
34791         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34793         ... here.
34794         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34795         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34796         ... here.
34797         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34799         ... here.
34800         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34802         ... here.
34803         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34805         ... here.
34806         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34808
34809         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34810         definitions to architecture-specific files.
34811         (TLS_IE): Likewise.
34812         (TLS_LD): Likewise.
34813         (TLS_GD): Likewise.
34814         * sysdeps/i386/tls-macros.h: New file.
34815         * sysdeps/powerpc/tls-macros.h: Likewise.
34816         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34817         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34818         * sysdeps/sh/tls-macros.h: Likewise.
34819         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34820         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34821         * sysdeps/x86_64/tls-macros.h: Likewise.
34822
34823 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34824
34825         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34826         zero value for regular exit case.
34827
34828         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34829         (__start_context): Preserve zero value for regular exit case.
34830
34831 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34832             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34833
34834         * manual/setjmp.texi (setcontext): Clarify normal process
34835         termination when uc_link is the null pointer.
34836         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34837         exit call.
34838
34839 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34840
34841         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34842         preprocessor.  Test for each exception mask separately.
34843
34844 2012-07-16  Andreas Jaeger  <aj@suse.de>
34845
34846         * po/ru.po: Update from translation team.
34847
34848 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34849
34850         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34851         equal to 0.
34852         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34853         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34854         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34855         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34857
34858 2012-07-13  Andreas Jaeger  <aj@suse.de>
34859
34860         * po/fr.po: Update from translation team.
34861
34862 2012-07-12  Marek Polacek  <polacek@redhat.com>
34863
34864         [BZ #14173]
34865         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34866         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34867         loop condition.
34868
34869 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34870
34871         [BZ #13717]
34872         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34873         Change to 2.4.1 where previously 2.4.0.
34874         * sysdeps/unix/sysv/linux/configure: Regenerated.
34875         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34876         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34877         version.
34878         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34879         (__ASSUME_AT_CLKTCK): Remove.
34880         (__ASSUME_AT_PAGESIZE): Likewise.
34881         (__ASSUME_AT_XID): Likewise.
34882         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34883         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34884         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34885         unconditionally.
34886         (HAVE_AUX_PAGESIZE): Likewise.
34887         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34888         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34889         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34890
34891 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34892
34893         [BZ #14307]
34894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34895         the temporary buffer used to invoke __gethostbyname2_r,
34896         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34897         host_data / struct gaih_addrtuple.
34898         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34899         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34900         header file nss/nsswitch.h.
34901         * nss/nsswitch.h (global scope): Add definition of implementation
34902         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34903         resolv/nss_dns/dns-host.c).
34904
34905 2012-07-11  Andreas Jaeger  <aj@suse.de>
34906
34907         * po/fr.po: Update from translation team.
34908
34909         * po/sv.po: Update from translation team
34910         * po/fr.po: Another update from translation team.
34911
34912 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913
34914         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34915         for subnormals or multiply small sinh result by itself.
34916         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34918
34919 2012-07-11  David S. Miller  <davem@davemloft.net>
34920
34921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34922
34923 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34924
34925         [BZ #14347]
34926         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34927         (INTERNAL_MARK): Shift it here.
34928
34929 2012-07-10  Marek Polacek  <polacek@redhat.com>
34930
34931         [BZ #14151]
34932         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34933         libc_cv_asm_global_directive with .globl.
34934         * configure: Regenerated.
34935         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34936         with .globl.
34937         * sysdeps/i386/configure: Regenerated.
34938         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34939         with .globl.
34940         * sysdeps/x86_64/configure: Regenerated.
34941         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34942         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34943         * elf/tst-unique2mod2.c: Likewise.
34944         * elf/tst-unique2mod1.c: Likewise.
34945         * elf/tst-unique1mod2.c: Likewise.
34946         * elf/tst-unique1mod1.c: Likewise.
34947         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34948         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34949         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34950         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34951         * sysdeps/mach/sysdep.h: Likewise.
34952         * sysdeps/i386/sysdep.h: Likewise.
34953         * sysdeps/i386/i386-mcount.S: Likewise.
34954         * sysdeps/x86_64/_mcount.S: Likewise.
34955         * sysdeps/x86_64/sysdep.h: Likewise.
34956         * sysdeps/sh/_mcount.S: Likewise.
34957         * sysdeps/sh/sysdep.h: Likewise.
34958         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34959         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34960         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34961         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34962         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34963         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34964         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34965         * locale/localeinfo.h: Likewise.
34966         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34967         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34968
34969 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34970
34971         [BZ #14336]
34972         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34973         system".
34974         * manual/message.texi (The Uniforum approach): Likewise.
34975         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34976         (glibc iconv Implementation): Likewise.
34977
34978 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34979
34980         [BZ #14337]
34981         * math/s_clog.c (__clog): Avoid scaling a value down where that
34982         could result in underflow.
34983         * math/s_clog10.c (__clog10): Likewise.
34984         * math/s_clog10f.c (__clog10f): Likewise.
34985         * math/s_clog10l.c (__clog10l): Likewise.
34986         * math/s_clogf.c (__clogf): Likewise.
34987         * math/s_clogl.c (__clogl): Likewise.
34988         * math/libm-test.inc (clog_test): Add more tests.
34989         (clog10_test): Likewise.
34990         * sysdeps/i386/fpu/libm-test-ulps: Update.
34991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34992
34993 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34994
34995         [BZ #14283]
34996         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34997         by 7 not 8 to examine high bit of fractional part.
34998
34999         [BZ #14042]
35000         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35001         for call to __mcount_internal.
35002         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35003         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35004         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35005
35006 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
35007
35008         [BZ #14154]
35009         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35010         approximation for values within 0x1p-13f of an odd multiple of
35011         pi/4.
35012         * math/libm-test.inc (tan_test): Do not allow spurious underflow
35013         exception.  Add more tests.
35014         * sysdeps/i386/fpu/libm-test-ulps: Update.
35015
35016         [BZ #6778]
35017         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35018         inputs and return -1 for them.  Do not check for +Inf in case not
35019         reachable for +Inf.
35020         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35021         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35022         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35023         and return -1 for them.  Do not check for +Inf in case not
35024         reachable for +Inf.
35025         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35026         define.
35027         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35028         and return -1 for them.  Do not check for +Inf in case not
35029         reachable for +Inf.
35030         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
35031         spurious underflow.
35032         * sysdeps/i386/fpu/libm-test-ulps: Update.
35033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35034
35035 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
35036
35037         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35038
35039 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
35040
35041         [BZ #14157]
35042         [BZ #14331]
35043         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35044         could result in spurious underflow.  Scale down values above
35045         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35046         * math/s_csqrtf.c (__csqrtf): Likewise.
35047         * math/s_csqrtl.c (__csqrtl): Likewise.
35048         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
35049         spurious underflow.
35050         * sysdeps/i386/fpu/libm-test-ulps: Update.
35051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35052
35053 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
35054
35055         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35056         xopen-msg.sed.
35057         * catgets/xopen-msg.awk: New file.
35058         * catgets/xopen-msg.sed: Removed.
35059
35060         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35061         po2text.sed.
35062         * intl/po2test.awk: New file.
35063         * intl/po2test.sed: Removed.
35064
35065 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
35066
35067         [BZ #14328]
35068         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35069         or multiply small sinh result by itself.
35070         * math/s_ctanf.c (__ctanf): Likewise.
35071         * math/s_ctanh.c (__ctanh): Likewise.
35072         * math/s_ctanhf.c (__ctanhf): Likewise.
35073         * math/s_ctanhl.c (__ctanhl): Likewise.
35074         * math/s_ctanl.c (__ctanl): Likewise.
35075         * math/libm-test.inc (ctan_test_tonearest): New function.
35076         (ctan_test_towardzero): Likewise.
35077         (ctan_test_downward): Likewise.
35078         (ctan_test_upward): Likewise.
35079         (ctanh_test_tonearest): Likewise.
35080         (ctanh_test_towardzero): Likewise.
35081         (ctanh_test_downward): Likewise.
35082         (ctanh_test_upward): Likewise.
35083         (main): Call these new functions.
35084         * sysdeps/i386/fpu/libm-test-ulps: Update.
35085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086
35087 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
35088
35089         * .gitignore: Delete /ports entry.
35090
35091 2012-07-03  Andreas Jaeger  <aj@suse.de>
35092
35093         * po/bg.po: Update from translation team.
35094         * po/cs.po: Likewise.
35095         * po/de.po: Likewise.
35096         * po/hr.po: Likewise.
35097         * po/nl.pl: Likewise.
35098         * po/pl.po: Likewise.
35099         * po/vi.po: Likewise.
35100
35101 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
35102
35103         * Makeconfig [!+link] (+link-before-libc): New variable.
35104         [!+link] (+link-after-libc): Likewise.
35105         [!+link] (+link-tests): Likewise.
35106         [!+link] (+link): Define in terms of $(+link-before-libc) and
35107         $(+link-after-libc).
35108         [!+link-static] (+link-static-before-libc): New variable.
35109         [!+link-static] (+link-static-after-libc): Likewise.
35110         [!+link-static] (+link-static-tests): Likewise.
35111         [!+link-static] (+link-static): Define in terms of
35112         $(+link-static-before-libc) and $(+link-static-after-libc).
35113         [build-shared] (link-libc-before-gnulib): New variable.
35114         [build-shared] (link-libc-tests): Likewise.
35115         [build-shared] (link-libc): Define in terms of
35116         $(link-libc-before-gnulib).
35117         [!build-shared] (link-libc-tests): New variable.
35118         (link-libc-static-tests): New variable.
35119         [!gnulib] (gnulib-arch): New variable.
35120         [!gnulib] (gnulib-tests): Likewise.
35121         [!gnulib] (static-gnulib-arch): Likewise.
35122         [!gnulib] (static-gnulib-tests): Likewise.
35123         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
35124         Define with "=" instead of ":=".
35125         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
35126         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
35127         * Rules (binaries-all-notests): New variable.
35128         (binaries-all-tests): Likewise.
35129         (binaries-static-notests): Likewise.
35130         (binaries-static-tests): Likewise.
35131         (binaries-all): Define using $(binaries-all-notests) and
35132         $(binaries-all-tests).
35133         (binaries-static): Define using $(binaries-static-notests) and
35134         $(binaries-static-tests).
35135         (binaries-shared-tests): New variable.
35136         (binaries-shared-notests): Likewise.
35137         (binaries-shared): Remove variable.
35138         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35139         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35140         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35141         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35142         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35143         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35144         * elf/Makefile (sln-modules): New variable.
35145         (extra-objs): Add $(sln-modules:=.o).
35146         (ldconfig-modules): Add static-stubs.
35147         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35148         * elf/static-stubs.c: New file.
35149
35150         [BZ #14283]
35151         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35152         by 7 not 8 to examine high bit of fractional part.  Use volatile
35153         variables when splitting into final array of floats if
35154         __FLT_EVAL_METHOD__ != 0.
35155         * math/libm-test.inc (cos_test): Add another test.
35156         (sin_test): Likewise.
35157         * sysdeps/i386/fpu/libm-test-ulps: Update.
35158
35159         [BZ #14273]
35160         * math/libm-test.inc (cosh_test): Add more tests.
35161
35162         * version.h (RELEASE): Set to "development".
35163         (VERSION): Set to "2.16.90".
35164
35165 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
35166
35167         * NEWS: Update copyright. Remove last-updated date.
35168         Mention math library bug fixes and timezone data changes.
35169         * README: Mention GNU/Hurd, x32, and HPPA support status.
35170
35171 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
35172
35173         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35174
35175 2012-06-27  Andreas Jaeger  <aj@suse.de>
35176
35177         * manual/contrib.texi (Contributors): Add Samuel Thibault.
35178
35179 2012-06-25  Andreas Jaeger  <aj@suse.de>
35180
35181         * sysdeps/s390/fpu/libm-test-ulps: Update.
35182
35183 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
35184             Thomas Schwinge  <thomas@codesourcery.com>
35185
35186         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35187         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35188         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35189         fanotify_mark.
35190
35191 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
35192
35193         * sysdeps/mach/start.c: Remove file.
35194         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35195         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35196         * sysdeps/sh/init-first.c: Likewise.
35197
35198         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35199         registers for frame unwinding purposes, add CFI directives.
35200         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35201         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35202         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35203         Likewise.
35204
35205         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35206         __fortify_fail returning.
35207         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35208
35209         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35210         sysdeps/sh/____longjmp_chk.S.
35211         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35212         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35213         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35214         (gen-as-const-headers): Append sigaltstack-offsets.sym.
35215
35216         * sysdeps/sh/abort-instr.h: New file.
35217         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35218         process in case exit returns.
35219
35220         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35221         initialize the GOT register before use.
35222
35223         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35224         calculation of ARGC > 4.
35225
35226         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35227         meaningful names to some local labels.
35228
35229 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35230             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35231
35232         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35233         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35234         (__arch_compare_and_exchange_val_16_acq): Likewise.
35235         (__arch_compare_and_exchange_val_32_acq): Likewise.
35236         (atomic_exchange_and_add): Fix gUSA sequence.
35237         (atomic_add): Likewise.
35238         (atomic_add_negative): Likewise.
35239         (atomic_add_zero): Likewise.
35240         (atomic_bit_test_set): Likewise.
35241
35242 2012-06-22  Andreas Schwab  <schwab@redhat.com>
35243
35244         [BZ #13579]
35245         * include/link.h (struct link_map): Add l_free_initfini.
35246         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35247         l_initfini.
35248         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35249         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35250         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35251         set.
35252
35253 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
35254
35255         * configure.in: Use AC_LANG_SOURCE.
35256         * configure: Regenerate.
35257
35258 2012-06-22  Roland McGrath  <roland@hack.frob.com>
35259
35260         * configure.in (libc_cv_localstatedir): New substituted variable.
35261         * configure: Regenerated.
35262         * config.make.in (localstatedir): New variable, substituted from
35263         libc_cv_localstatedir.
35264         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35265         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35266         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35267         * sysdeps/gnu/configure: Regenerated.
35268
35269 2012-06-21  Jeff Law  <law@redhat.com>
35270
35271         [BZ #14277]
35272         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35273         free.  Simplify list management for _LIBC case.
35274
35275 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
35276
35277         [BZ #14273]
35278         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35279         Clear sign bit of 64-bit integer value before comparing against
35280         overflow value.
35281
35282         * sysdeps/mach/configure: Regenerated.
35283
35284 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
35285
35286         [BZ #14278]
35287         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35288
35289 2012-06-21  Jeff Law  <law@redhat.com>
35290
35291         [BZ #13882]
35292         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
35293         uint16_t for elements in the "seen" array to avoid char overflows.
35294         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35295         * elf/dl-open.c (dl_open_worker): Likewise.
35296
35297 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
35298
35299         * scripts/list-sources.sh: Scan PORTS for translations.
35300         * po/libc.pot: Regenerated.
35301
35302 2012-06-21  Andreas Jaeger  <aj@suse.de>
35303
35304         [BZ #12194]
35305         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35306         warning.
35307         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35308         * bits/byteswap-16.h (__bswap_16): Likewise.
35309         * bits/byteswap.h (__bswap_constant_16): Likewise.
35310
35311 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
35312
35313         [BZ #14117]
35314         * sysdeps/i386/fpu_control.h: Removed.
35315         * sysdeps/x86_64/fpu_control.h: Moved to ...
35316         * sysdeps/x86/fpu_control.h: Here.
35317
35318         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35319         (_FPU_SETCW): Likewise.
35320
35321 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
35322
35323         [BZ #14117]
35324         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35325         * sysdeps/x86/fpu/bits/mathinline.h: This.
35326         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35327
35328         [BZ #14050]
35329         [BZ #14117]
35330         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35331         functions if __x86_64__ is defined.
35332
35333 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
35334
35335         * string/endian.h: Add !__ASSEMBLER__ condition for including
35336         conversion interfaces.
35337
35338 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
35339
35340         [BZ #14241]
35341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35342         of ABS(x) in calculating zero to negative powers other than odd
35343         integers.
35344         * math/libm-test.inc (pow_test): Add more tests.
35345
35346 2012-06-15  Andreas Jaeger  <aj@suse.de>
35347
35348         * manual/contrib.texi (Contributors): Update entry of Liubov
35349         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35350         Machado Filho.
35351
35352 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
35353
35354         * string/string.h: Add __wur to GNU version of strerror_r.
35355
35356 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
35357
35358         [BZ #14229]
35359         * string/Makefile (tests): Add tst-strtok_r.
35360         * string/tst-strtok_r.c: New file.
35361         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35362         RAX_LP/RDX_LP on SAVE_PTR.
35363
35364 2012-06-14  Roland McGrath  <roland@hack.frob.com>
35365
35366         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35367
35368 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
35369
35370         * libm_test.inc (csqrt_test): Allow more spurious underflow
35371         exceptions.
35372         (j0_test): Likewise.
35373         (j1_test): Likewise.
35374         (y0_test): Likewise.
35375         (y1_test): Likewise.
35376
35377 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
35378
35379         * po/Makefile (libc.pot): Use UTF-8 charset.
35380
35381 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
35382
35383         [BZ #14210]
35384         Suppress sign-conversion warning from FD_SET.
35385         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35386         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35387         not unsigned long int.
35388         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35389
35390 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
35391
35392         [BZ #14050]
35393         [BZ #14117]
35394         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35395         __extern_always_inline instead of __extern_inline.
35396         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35397         (__signbit): Likewise.
35398         (__signbitl): Support C++ namespace.
35399         (lrintf): New inline function.
35400         (lrint): Likewise.
35401         (llrintf): Likewise.
35402         (llrint): Likewise.
35403         (fmaxf): Likewise.
35404         (fmax): Likewise.
35405         (fminf): Likewise.
35406         (fmin): Likewise.
35407         (rint): Likewise.
35408         (rintf): Likewise.
35409         (ceil): Likewise.
35410         (ceilf): Likewise.
35411         (floor): Likewise.
35412         (floorf): Likewise.
35413         (nearbyint): Likewise.
35414         (nearbyintf): Likewise.
35415
35416 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
35417
35418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35419         non-default versions.
35420
35421 2012-06-11  Roland McGrath  <roland@hack.frob.com>
35422
35423         [BZ #14218]
35424         * manual/argp.texi (Argp): Reword argp_parse description slightly.
35425
35426 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
35427
35428         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35429         (FE_UPWARD, FE_DOWNWARD): Don't define.
35430         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35431         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35432
35433         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35434         reading it.
35435         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35436         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35437
35438 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35439
35440         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35442         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35443         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35444
35445 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
35446
35447         [BZ #14117]
35448         * sysdeps/i386/fpu/bits/fenv.h: Removed.
35449         * sysdeps/i386/fpu/Implies: New file.
35450         * sysdeps/x86_64/fpu/Implies: Likewise.
35451         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35452         * sysdeps/x86/fpu/bits/fenv.h: This.
35453
35454         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35455         __SSE_MATH__.
35456
35457 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35458
35459         [BZ #14134]
35460         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35461         character 0xffff that matches the last element of the
35462         conversion table.
35463
35464 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35465
35466         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35467         fmodl commit.
35468
35469 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35470
35471         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35472         values higher than 25.6283.
35473
35474 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35475
35476         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35477         subnormal exponent extraction and add some __builtin_expect.
35478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35479         Fix for subnormal mantissa calculation.
35480
35481 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
35482
35483         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35484         cpu2 is -1 and errno is not ENOSYS.
35485
35486 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
35487
35488         [BZ #14117]
35489         * sysdeps/i386/i486/bits/string.h: Renamed to ...
35490         * sysdeps/x86/bits/string.h: This.
35491         * sysdeps/x86_64/bits/string.h: Removed.
35492
35493         * sysdeps/i386/i486/bits/string.h: Define inline functions only
35494         if not compiling for x86-64, but compiling for >= i486.
35495
35496         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35497         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35498
35499         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35500         New macro from Linux kernel 3.4.0.
35501         (FP_XSTATE_MAGIC2): Likewise.
35502         (FP_XSTATE_MAGIC2_SIZE): Likewise.
35503         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35504         (struct _fpx_sw_bytes): New struct.
35505         (struct _xsave_hdr): Likewise.
35506         (struct _ymmh_state): Likewise.
35507         (struct _xstate): Likewise.
35508
35509         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35510         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35511         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35512         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35513         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35514         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35515
35516         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35517         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35518         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35519         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35520         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35521         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35522
35523 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35524
35525         [BZ #13743]
35526         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35527         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35528         (sysdep_headers): Include sys/platform/ppc.h.
35529         * sysdeps/powerpc/test-gettimebase.c: Test for
35530         __ppc_get_timebase() to catch future ISA opcode/insn changes.
35531         * manual/Makefile (appendices): Include platform.texi.
35532         * manual/contrib.texi (Contributors): Update @node pointers.
35533         * manual/maint.texi (Maintenance): Likewise.
35534         (Platform): New node.
35535         * manual/platform.texi: New file.  Document the new features.
35536
35537 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35538             Jakub Jelinek  <jakub@redhat.com>
35539
35540         [BZ #14188]
35541         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35542         where __builtin_expect is unavailable.
35543
35544 2012-06-03  David S. Miller  <davem@davemloft.net>
35545
35546         * stdlib/longlong.h: Updated from GCC.
35547
35548 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
35549
35550         [BZ #14042]
35551         * sysdeps/powerpc/powerpc32/mcount.c: New file.
35552         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35553         __mcount_internal.
35554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35555         (GLIBC_2.16): Likewise.
35556
35557 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35558
35559         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35560
35561 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35562
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35564         (default-abi): New variable.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35566         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35567         variable.
35568         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35569         Likewise.
35570         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35571         Likewise.
35572         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35573         Likewise.
35574
35575         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35576         definition.  Document in comment.
35577
35578 2012-06-01  David S. Miller  <davem@davemloft.net>
35579
35580         * stdlib/longlong.h: Updated from GCC.
35581
35582 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35583
35584         [BZ #14117]
35585         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35586         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35587         sys/debugreg.h sys/io.h here.
35588         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35589         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35590         sys/io.h.
35591         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35592         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35593         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35594         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35595         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35596         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35597
35598         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35599         Define only if __x86_64__ is defined.
35600
35601 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
35602
35603         [BZ #14048]
35604         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35605         Use int64_t for variable i.
35606         * math/libm-test.inc (fmod_test): Add more tests.
35607
35608         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35609         z computation is not scheduled after fetestexcept.
35610         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35611         Use math_force_eval instead of asm to ensure calculation scheduled
35612         before exception test.
35613         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35614         Ensure a1 + u.d computation is not scheduled after fetestexcept.
35615
35616 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
35617
35618         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35619         computation is not scheduled after fetestexcept.
35620
35621 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
35622
35623         [BZ #14117]
35624         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35625         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35626
35627 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35628
35629         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35630         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35631
35632 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35633
35634         [BZ #14117]
35635         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35636         <bits/wordsize.h>.
35637         (__WCHAR_MIN): Support __WORDSIZE == 64.
35638         (__WCHAR_MAX): Likewise.
35639
35640         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35641         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35642
35643         [BZ #14183]
35644         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35645         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35646
35647         [BZ #14117]
35648         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35649         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35650
35651         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35652         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35653
35654         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35655         Defined to 1 if __x86_64__ isn't defined.
35656         (_STAT_VER_LINUX_OLD): New.
35657         (st_atime): Remove duplicate.
35658         (st_mtime): Likewise.
35659         (st_ctime): Likewise.
35660
35661 2012-05-31  David S. Miller  <davem@davemloft.net>
35662
35663         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35664         entries.
35665
35666 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
35667
35668         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35669         gen-libm-test.pl.
35670
35671         [BZ #14132]
35672         * elf/dl-reloc.c: Include <_itoa.h>.
35673         (_dl_reloc_bad_type): Remove use of INTUSE.
35674         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35675         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35676         * stdio-common/psiginfo.c (psiginfo): Likewise.
35677         * stdio-common/psignal.c (psignal): Likewise.
35678         * string/strsignal.c (strsignal): Likewise.
35679         * include/signal.h (_sys_siglist): Declare hidden proto.
35680         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
35681         INTVARDEF with libc_hidden_data_def.
35682         * stdio-common/itoa-udigits.c: Likewise.
35683         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35684         (_itoa_lower_digits_internal): Remove declaration.
35685         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35686         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35687         (_sys_sigabbrev_internal): Remove aliases.
35688         (_sys_siglist): Define hidden alias.
35689
35690 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
35691
35692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35693         bits/sysctl.h.
35694
35695 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
35696
35697         [BZ #14117]
35698         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35699         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35700
35701         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35702         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35703         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35704         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35705         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35706         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35707
35708         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35709         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35710         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35711
35712         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35713         with __addr.
35714         (insw): Likewise.
35715         (insl): Likewise.
35716         (outsb): Likewise.
35717         (outsw): Likewise.
35718         (outsl): Likewise.
35719
35720         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35721         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35722         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35723
35724         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35725         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35726         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35727         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35728         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35729         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35730
35731         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35732         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35733
35734         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35735         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35736
35737         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35738         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35739         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35740
35741         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35742         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35743         to ...
35744         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35745
35746         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35747         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35748         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35749
35750         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35751         for x86-64.
35752         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35753
35754 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
35755
35756         * math/math.h (M_El): Use two more decimal places.
35757         (M_LOG2El): Likewise.
35758         (M_LOG10El): Likewise.
35759         (M_LN2l): Likewise.
35760         (M_LN10l): Likewise.
35761         (M_PIl): Likewise.
35762         (M_PI_2l): Likewise.
35763         (M_PI_4l): Likewise.
35764         (M_1_PIl): Likewise.
35765         (M_2_PIl): Likewise.
35766         (M_2_SQRTPIl): Likewise.
35767         (M_SQRT2l): Likewise.
35768         (M_SQRT1_2l): Likewise.
35769
35770 2012-05-31  David S. Miller  <davem@davemloft.net>
35771
35772         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35773         values between float registers.
35774         * sysdeps/sparc/sparc64/memset.S: Likewise.
35775         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35776
35777 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
35778
35779         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35780         -D_FORTIFY_SOURCE=1.
35781         (CPPFLAGS-tst-longjmp_chk.c): Define.
35782         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35783         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35784         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35785         CFLAGS-tst-wchar-h.c.
35786
35787 2012-05-31  Marek Polacek  <polacek@redhat.com>
35788
35789         [BZ #14132]
35790         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35791         __endmntent_internal): Remove declaration.
35792         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35793         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35794         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35795
35796 2012-05-30  David S. Miller  <davem@davemloft.net>
35797
35798         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35799         (___Q_simulate_exceptions): Use real FP ops rather than writing
35800         into the %fsr.
35801         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35802         Likewise.
35803
35804 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35805
35806         [BZ #14117]
35807         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35808         * sysdeps/x86/bits/xtitypes.h: This.
35809
35810         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35811         * sysdeps/x86/bits/wordsize.h: This.
35812
35813         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35814         * sysdeps/x86/bits/huge_vall.h: This.
35815
35816         * sysdeps/i386/bits/select.h: Removed.
35817         * sysdeps/x86_64/bits/select.h: Renamed to ...
35818         * sysdeps/x86/bits/select.h: This.
35819
35820         * sysdeps/i386/bits/setjmp.h: Removed.
35821         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35822         * sysdeps/x86/bits/setjmp.h: This.
35823
35824         * sysdeps/i386/bits/mathdef.h: Removed.
35825         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35826         * sysdeps/x86/bits/mathdef.h: This.
35827
35828 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35829
35830         [BZ #14132]
35831         * include/sys/socket.h (__connect_internal)
35832         (__libc_sa_len_internal): Remove declaration.
35833         (__connect, __libc_sa_len): Declare hidden_proto.
35834         (SA_LEN): Remove use of INTUSE.
35835         * socket/connect.c: Add libc_hidden_def.
35836         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35837         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35838         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35839         alias.
35840         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35841         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35842         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35843         of adding _internal alias.
35844
35845 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35846
35847         [BZ #14117]
35848         * sysdeps/i386/bits/link.h: Removed.
35849         * sysdeps/i386/bits/linkmap.h: Likewise.
35850         * sysdeps/x86_64/bits/link.h: Renamed to ...
35851         * sysdeps/x86/bits/link.h: This.
35852         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35853         * sysdeps/x86/bits/linkmap.h: This.
35854
35855         * sysdeps/i386/bits/endian.h: Removed.
35856         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35857         * sysdeps/x86/bits/endian.h: This.
35858
35859         * sysdeps/i386/bits/byteswap.h: Removed.
35860         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35861         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35862         * sysdeps/x86/bits/byteswap.h: This.
35863         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35864         * sysdeps/x86/bits/byteswap-16.h: This.
35865         * sysdeps/i386/Implies: Add x86.
35866         * sysdeps/x86_64/Implies: Likewise.
35867
35868 2012-05-30  David S. Miller  <davem@davemloft.net>
35869
35870         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35871         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35872         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35873         (FP_TRAPPING_EXCEPTIONS): Define.
35874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35875         (FP_TRAPPING_EXCEPTIONS): Define.
35876         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35877         subnormals only when inexact has been signalled or underflow
35878         exceptions are enabled.
35879         (_FP_PACK_CANONICAL): Likewise.
35880
35881 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35882
35883         [BZ #14183]
35884         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35885         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35886
35887 2012-05-30  Richard Henderson  <rth@twiddle.net>
35888
35889         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35890         with #ifndef NOT_IN_libc.
35891
35892         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35893         marked to avoid plt entry.
35894
35895 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35896
35897         [BZ #14112]
35898         * Makeconfig (default-abi): New macro.
35899         (abi-includes): Likewise.
35900         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35901         $(abi-$(default-abi)-lib-soname) for soname if defined.
35902         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35903         abi-variants.
35904         * Makefile (installed-stubs): Likewise.
35905         * include/stubs-biarch.h: Removed.
35906         * scripts/lib-names.awk: Only handle one library at a time.
35907         * scripts/soversions.awk: Remove WORDSIZE support.
35908         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35909         entries.
35910         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35911         Removed.
35912         (syscall-list-default-condition): Likewise.
35913         (syscall-list-default-condition): Likewise.
35914         (syscall-list-includes): Likewise.
35915         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35916         syscall-list-* with abi-*.  Handle undefined abi-variants.
35917         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35918         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35919         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35920         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35921         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35922         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35923         Removed.
35924         (syscall-list-32-options): Likewise.
35925         (syscall-list-32-condition): Likewise.
35926         (syscall-list-64-options): Likewise.
35927         (syscall-list-64-condition): Likewise.
35928         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35929         macro.
35930         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35931         Renamed to ...
35932         (abi-*): This.
35933         (abi-64-ld-soname): New macro.
35934         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35935         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35936         Renamed to ...
35937         (abi-*): This.
35938         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35939         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35940
35941 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35942
35943         * sysdeps/unix/sysv/linux/kernel-features.h
35944         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35945         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35946         include <kernel-features.h>.
35947         [!__NR_ftruncate64]: Remove conditional code.
35948         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35949         [__NR_ftruncate64]: Make code unconditional.
35950         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35951         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35952         include <kernel-features.h>.
35953         [!__NR_ftruncate64]: Remove conditional code.
35954         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35955         [__NR_ftruncate64]: Make code unconditional.
35956         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35958         include <kernel-features.h>.
35959         [!__NR_ftruncate64]: Remove conditional code.
35960         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35961         [__NR_ftruncate64]: Make code unconditional.
35962         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35964         include <kernel-features.h>.
35965         [!__NR_ftruncate64]: Remove conditional code.
35966         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35967         [__NR_ftruncate64]: Make code unconditional.
35968         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35969
35970         * configure.in (libc_cv_fpie): Weaken to a compile test using
35971         LIBC_TRY_CC_OPTION.
35972         * configure: Regenerated.
35973
35974 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35975
35976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35980         Refreshed.
35981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35987         Refreshed.
35988
35989 2012-05-27  David S. Miller  <davem@davemloft.net>
35990
35991         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35992         (___Q_zero): New.
35993         (__Q_simulate_exceptions): Return void.  Change to simulate
35994         exceptions by writing into the %fsr.
35995         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35996         (__Qp_handle_exceptions): Likewise.
35997         (numbers): Delete.
35998         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35999         __Qp_handle_exceptions.
36000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36001         __Qp_handle_exceptions.
36002         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36003         as unused and give dummy FP_RND_NEAREST initializer.
36004         (FP_INHIBIT_RESULTS): Define.
36005         (___Q_simulate_exceptions): Update declaration.
36006         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36007         formatting.
36008         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36009         as unused and give dummy FP_RND_NEAREST initializer.
36010         (__Qp_handle_exceptions): Update declaration.
36011         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36012         formatting.
36013
36014 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
36015
36016         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36017         the temporary FPU control word.
36018         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36019         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36020         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36021         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36022         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36023         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36024         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36025         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36026         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36027         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36028         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36029
36030 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36031
36032         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36033         fields.
36034
36035 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
36036
36037         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36038         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36039         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36040         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36041         Likewise.
36042         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36043         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36044         Likewise.
36045
36046 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
36047
36048         * po/h.po: Update from translation team.
36049
36050 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
36051
36052         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36053
36054         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36055         handling of denormals.
36056         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36057         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36058         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36059         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36060         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36062         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36063         Likewise.
36064
36065 2012-05-26  Marek Polacek  <polacek@redhat.com>
36066
36067         [BZ #14152]
36068         * math/libm-test.inc (fma_test): Don't always expect underflow
36069         exception.
36070
36071 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36072
36073         [BZ #12416]
36074         * elf/tst-execstack.c: Include stackinfo.h.
36075         (do_test): Adjust test case to ensure that pthread_getattr_np
36076         behaviour remains the same after marking stack executable.
36077
36078 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36079
36080         * sysdeps/unix/sysv/linux/kernel-features.h
36081         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36082         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36083         kernel-features.h.
36084         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36085         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36086         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36087         kernel-features.h.
36088         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36089         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36090
36091 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
36092
36093         * configure.in: Define the default includes to being none.
36094         * configure: Regenerated.
36095
36096 2012-05-25  Roland McGrath  <roland@hack.frob.com>
36097
36098         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36099         * sysdeps/x86_64/setjmp.S: Likewise.
36100         * sysdeps/i386/bsd-setjmp.S: Likewise.
36101         * sysdeps/i386/bsd-_setjmp.S: Likewise.
36102         * sysdeps/i386/setjmp.S: Likewise.
36103         * sysdeps/i386/__longjmp.S: Likewise.
36104         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36105         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36106
36107         * include/stap-probe.h: New file.
36108         * configure.in: Handle --enable-systemtap.
36109         * configure: Regenerated.
36110         * config.h.in (USE_STAP_PROBE): New #undef.
36111         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36112         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36113         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36114
36115 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
36116
36117         [BZ #13717]
36118         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36119         to 2.4.0 where earlier.
36120         * sysdeps/unix/sysv/linux/configure: Regenerated.
36121         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36122         <kernel-features.h>.
36123         [__ASSUME_32BITUIDS]: Make code unconditional.
36124         [!__ASSUME_32BITUIDS]: Remove conditional code.
36125         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36126         <kernel-features.h>.
36127         [__ASSUME_32BITUIDS]: Make code unconditional.
36128         [!__ASSUME_32BITUIDS]: Remove conditional code.
36129         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36130         [__ASSUME_32BITUIDS]: Make code unconditional.
36131         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36132         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36133         <kernel-features.h>.
36134         [__ASSUME_32BITUIDS]: Make code unconditional.
36135         [!__ASSUME_32BITUIDS]: Remove conditional code.
36136         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36137         <kernel-features.h>.
36138         [__ASSUME_32BITUIDS]: Make code unconditional.
36139         [!__ASSUME_32BITUIDS]: Remove conditional code.
36140         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36141         <kernel-features.h>.
36142         [__ASSUME_32BITUIDS]: Make code unconditional.
36143         [!__ASSUME_32BITUIDS]: Remove conditional code.
36144         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36145         <kernel-features.h>.
36146         [__ASSUME_32BITUIDS]: Make code unconditional.
36147         [!__ASSUME_32BITUIDS]: Remove conditional code.
36148         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36149         <kernel-features.h>.
36150         [__ASSUME_32BITUIDS]: Make code unconditional.
36151         [!__ASSUME_32BITUIDS]: Remove conditional code.
36152         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36153         <kernel-features.h>.
36154         [__ASSUME_32BITUIDS]: Make code unconditional.
36155         [!__ASSUME_32BITUIDS]: Remove conditional code.
36156         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36157         <kernel-features.h>.
36158         [__ASSUME_32BITUIDS]: Make code unconditional.
36159         [!__ASSUME_32BITUIDS]: Remove conditional code.
36160         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36161         <kernel-features.h>.
36162         [__ASSUME_32BITUIDS]: Make code unconditional.
36163         [!__ASSUME_32BITUIDS]: Remove conditional code.
36164         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36165         <kernel-features.h>.
36166         [__ASSUME_32BITUIDS]: Make code unconditional.
36167         [!__ASSUME_32BITUIDS]: Remove conditional code.
36168         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36169         <kernel-features.h>.
36170         [__ASSUME_32BITUIDS]: Make code unconditional.
36171         [!__ASSUME_32BITUIDS]: Remove conditional code.
36172         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36173         <kernel-features.h>.
36174         [__NR_setresgid] (__setresgid): Do not declare.
36175         [__ASSUME_32BITUIDS]: Make code unconditional.
36176         [!__ASSUME_32BITUIDS]: Remove conditional code.
36177         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36178         <kernel-features.h>.
36179         [__NR_setresuid] (__setresuid): Do not declare.
36180         [__ASSUME_32BITUIDS]: Make code unconditional.
36181         [!__ASSUME_32BITUIDS]: Remove conditional code.
36182         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36183         <kernel-features.h>.
36184         [__ASSUME_32BITUIDS]: Make code unconditional.
36185         [!__ASSUME_32BITUIDS]: Remove conditional code.
36186         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36187         <kernel-features.h>.
36188         [__ASSUME_32BITUIDS]: Make code unconditional.
36189         [!__ASSUME_32BITUIDS]: Remove conditional code.
36190         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36191         <kernel-features.h>.
36192         [__ASSUME_32BITUIDS]: Make code unconditional.
36193         [!__ASSUME_32BITUIDS]: Remove conditional code.
36194         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36195         <kernel-features.h>.
36196         [__ASSUME_32BITUIDS]: Make code unconditional.
36197         [!__ASSUME_32BITUIDS]: Remove conditional code.
36198         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36199         <kernel-features.h>.
36200         [__ASSUME_32BITUIDS]: Make code unconditional.
36201         [!__ASSUME_32BITUIDS]: Remove conditional code.
36202         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36203         <kernel-features.h>.
36204         [__ASSUME_32BITUIDS]: Make code unconditional.
36205         [!__ASSUME_32BITUIDS]: Remove conditional code.
36206         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36207         <kernel-features.h>.
36208         [__ASSUME_32BITUIDS]: Make code unconditional.
36209         [!__ASSUME_32BITUIDS]: Remove conditional code.
36210         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36211         <kernel-features.h>.
36212         [__ASSUME_32BITUIDS]: Make code unconditional.
36213         [!__ASSUME_32BITUIDS]: Remove conditional code.
36214         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36215         <kernel-features.h>.
36216         [__ASSUME_32BITUIDS]: Make code unconditional.
36217         [!__ASSUME_32BITUIDS]: Remove conditional code.
36218         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36219         <kernel-features.h>.
36220         [__ASSUME_32BITUIDS]: Make code unconditional.
36221         [!__ASSUME_32BITUIDS]: Remove conditional code.
36222         * sysdeps/unix/sysv/linux/kernel-features.h
36223         (__ASSUME_SETRESUID_SYSCALL): Remove.
36224         (__ASSUME_SETRESGID_SYSCALL): Likewise.
36225         (__ASSUME_32BITUIDS): Likewise.
36226         (__ASSUME_LDT_WORKS): Likewise.
36227         (__ASSUME_O_DIRECTORY): Likewise.
36228         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36229         architecture but not kernel version.
36230         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36231         (__ASSUME_MMAP2_SYSCALL): Likewise.
36232         (__ASSUME_STAT64_SYSCALL): Likewise.
36233         (__ASSUME_IPC64): Likewise.
36234         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36235         <kernel-features.h>.
36236         [__ASSUME_32BITUIDS]: Make code unconditional.
36237         [!__ASSUME_32BITUIDS]: Remove conditional code.
36238         * sysdeps/unix/sysv/linux/opendir.c: Do not include
36239         <kernel-features.h>.
36240         [__ASSUME_O_DIRECTORY]: Make code unconditional.
36241         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36242         132096]: Remove conditional code.
36243         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36244         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36245         <kernel-features.h>.
36246         [__ASSUME_32BITUIDS]: Make code unconditional.
36247         [!__ASSUME_32BITUIDS]: Remove conditional code.
36248         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36249         <kernel-features.h>.
36250         [__ASSUME_32BITUIDS]: Make code unconditional.
36251         [!__ASSUME_32BITUIDS]: Remove conditional code.
36252         * sysdeps/unix/sysv/linux/setegid.c: Do not include
36253         <kernel-features.h>.
36254         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36255         unconditional.
36256         (__setresgid): Do not declare.
36257         [__ASSUME_32BITUIDS]: Make code unconditional.
36258         [!__ASSUME_32BITUIDS]: Remove conditional code.
36259         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36260         <kernel-features.h>.
36261         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36262         unconditional.
36263         (__setresuid): Do not declare.
36264         [__ASSUME_32BITUIDS]: Make code unconditional.
36265         [!__ASSUME_32BITUIDS]: Remove conditional code.
36266         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36267         <kernel-features.h>.
36268         [__ASSUME_32BITUIDS]: Make code unconditional.
36269         [!__ASSUME_32BITUIDS]: Remove conditional code.
36270         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36271         <kernel-features.h>.
36272         [__ASSUME_32BITUIDS]: Make code unconditional.
36273         [!__ASSUME_32BITUIDS]: Remove conditional code.
36274
36275 2012-05-25  Richard Henderson  <rth@twiddle.net>
36276
36277         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36278         dl_hwcap to ifunc resolver.
36279         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36280         elf_ifunc_invoke.
36281         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36282         dl_hwcap to ifunc resolver.
36283         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36284
36285 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36286
36287         [BZ #14153]
36288         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36289         for |x| <= 2**-26, not 2**-57.
36290         * math/libm-test.inc (acos_test): Do not allow spurious underflow
36291         exception.
36292
36293 2012-05-24  Jeff Law  <law@redhat.com>
36294
36295         * stdio-common/Makefile (tests): Add bug25.
36296         * stdio-common/bug25.c: New test.
36297
36298 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36299
36300         [BZ #13576]
36301         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36302         multiple of MALLOC_ALIGNMENT in size.
36303         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36304
36305 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36306
36307         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36308         Require >= 256.
36309         (FILENAME_MAX): Use macro-int-constant.
36310         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
36311         (_IOFBF): Use macro-int-constant.
36312         (_IOLBF): Likewise.
36313         (_IONBF): Likewise.
36314         (SEEK_CUR): Likewise.
36315         (SEEK_END): Likewise.
36316         (SEEK_SET): Likewise.
36317         (TMP_MAX): Likewise.
36318         (EOF): Use macro-int-constant.  Require < 0.
36319         (NULL): Use macro-constant.  Require == 0.
36320         (stdin): Require type to be FILE *.
36321         (stdout): Likewise.
36322         (stderr): Likewise.
36323         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36324         macro-int-constant.
36325         (EXIT_SUCCESS): Likewise.
36326         (NULL): Use macro-constant.  Require == 0.
36327         (RAND_MAX): Use macro-int-constant.
36328         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36329         [C99-based standards] (strtof): Require function.
36330         [C99-based standards] (strtold): Likewise.
36331         [C99-based standards] (strtoll): Likewise.
36332         [C99-based standards] (strtoull): Likewise.
36333         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36334         [ISO || ISO99 || ISO11] (limits.h): Likewise.
36335         [ISO || ISO99 || ISO11] (math.h): Likewise.
36336         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36337         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36339
36340 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
36341
36342         [BZ #14132]
36343         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36344         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36345         * intl/dgettext.c (DCGETTEXT): Likewise.
36346         * intl/gettext.c (DCGETTEXT): Likewise.
36347         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36348         * posix/regex_internal.h (gettext): Likewise.
36349         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36350         Remove declaration.
36351         * include/argz.h (__argz_count_internal)
36352         (__argz_stringify_internal): Remove declaration.
36353         (__argz_count, __argz_stringify): Declare hidden proto.
36354         * intl/dcgettext.c: Remove use of INTDEF.
36355         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36356         * string/argz-stringify.c: Likewise.
36357         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36358         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36359         Declare hidden proto.
36360         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36361         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36362         Declare hidden proto.
36363         * include/stdio.h (__asprintf_internal): Don't declare.
36364         (__asprintf): Don't define as macro.  Declare hidden proto.
36365         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36366         (__fsetlocking): Declare hidden proto.
36367         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36368         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36369         hidden proto.
36370         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36371         (_IO_setlinebuf): Remove use of INTUSE.
36372         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36373         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36374         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36375         Remove declaration.
36376         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36377         (_IO_do_flush): Remove use of INTUSE.
36378         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36379         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36380         (_IO_adjust_column, _IO_least_wmarker)
36381         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36382         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36383         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36384         (_IO_default_doallocate, _IO_wdefault_doallocate)
36385         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36386         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36387         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36388         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36389         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36390         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36391         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36392         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36393         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36394         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36395         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36396         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36397         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36398         proto.
36399         (_IO_flush_all_internal, _IO_adjust_column_internal)
36400         (_IO_default_uflow_internal, _IO_default_finish_internal)
36401         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36402         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36403         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36404         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36405         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36406         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36407         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36408         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36409         (_IO_file_close_internal, _IO_file_close_it_internal)
36410         (_IO_file_underflow_internal, _IO_file_overflow_internal)
36411         (_IO_file_init_internal, _IO_file_attach_internal)
36412         (_IO_file_fopen_internal, _IO_file_read_internal)
36413         (_IO_file_sync_internal, _IO_file_seek_internal)
36414         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36415         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36416         (_IO_str_underflow_internal, _IO_str_overflow_internal)
36417         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36418         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36419         (_IO_list_all_internal, _IO_link_in_internal)
36420         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36421         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36422         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36423         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36424         (_IO_do_write_internal, _IO_padn_internal)
36425         (_IO_getline_info_internal, _IO_getline_internal)
36426         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36427         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36428         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36429         (_IO_vfscanf_internal, _IO_vfprintf_internal)
36430         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36431         (_IO_init_internal, _IO_un_link_internal): Don't declare.
36432         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36433         with libc_hidden_ver, remove use of INTUSE.
36434         * libio/genops.c: Likewise.
36435         * libio/freopen.c: Likewise.
36436         * libio/freopen64.c: Likewise.
36437         * libio/iofclose.c: Likewise.
36438         * libio/iofdopen.c: Likewise.
36439         * libio/iofflush.c: Likewise.
36440         * libio/iofflush_u.c: Likewise.
36441         * libio/iofgets.c: Likewise.
36442         * libio/iofgets_u.c: Likewise.
36443         * libio/iofopen.c: Likewise.
36444         * libio/iofopncook.c: Likewise.
36445         * libio/iofread.c: Likewise.
36446         * libio/iofread_u.c: Likewise.
36447         * libio/ioftell.c: Likewise.
36448         * libio/iofwrite.c: Likewise.
36449         * libio/iogetline.c: Likewise.
36450         * libio/iogets.c: Likewise.
36451         * libio/iogetwline.c: Likewise.
36452         * libio/iopadn.c: Likewise.
36453         * libio/iopopen.c: Likewise.
36454         * libio/ioseekoff.c: Likewise.
36455         * libio/ioseekpos.c: Likewise.
36456         * libio/iosetbuffer.c: Likewise.
36457         * libio/iosetvbuf.c: Likewise.
36458         * libio/ioungetc.c: Likewise.
36459         * libio/ioungetwc.c: Likewise.
36460         * libio/iovdprintf.c: Likewise.
36461         * libio/iovsprintf.c: Likewise.
36462         * libio/iovsscanf.c: Likewise.
36463         * libio/memstream.c: Likewise.
36464         * libio/obprintf.c: Likewise.
36465         * libio/oldfileops.c: Likewise.
36466         * libio/oldiofclose.c: Likewise.
36467         * libio/oldiofdopen.c: Likewise.
36468         * libio/oldiofopen.c: Likewise.
36469         * libio/oldiopopen.c: Likewise.
36470         * libio/oldstdfiles.c: Likewise.
36471         * libio/putc.c: Likewise.
36472         * libio/setbuf.c: Likewise.
36473         * libio/setlinebuf.c: Likewise.
36474         * libio/stdfiles.c: Likewise.
36475         * libio/strops.c: Likewise.
36476         * libio/vasprintf.c: Likewise.
36477         * libio/vscanf.c: Likewise.
36478         * libio/vsnprintf.c: Likewise.
36479         * libio/vswprintf.c: Likewise.
36480         * libio/wfiledoalloc.c: Likewise.
36481         * libio/wfileops.c: Likewise.
36482         * libio/wgenops.c: Likewise.
36483         * libio/wmemstream.c: Likewise.
36484         * libio/wstrops.c: Likewise.
36485         * libio/__fpurge.c: Likewise.
36486         * libio/__fsetlocking.c: Likewise.
36487         * assert/assert.c: Likewise.
36488         * debug/fgets_chk.c: Likewise.
36489         * debug/fgets_u_chk.c: Likewise.
36490         * debug/fread_chk.c: Likewise.
36491         * debug/fread_u_chk.c: Likewise.
36492         * debug/gets_chk.c: Likewise.
36493         * debug/obprintf_chk.c: Likewise.
36494         * debug/vasprintf_chk.c: Likewise.
36495         * debug/vdprintf_chk.c: Likewise.
36496         * debug/vsnprintf_chk.c: Likewise.
36497         * debug/vsprintf_chk.c: Likewise.
36498         * malloc/mtrace.c: Likewise.
36499         * misc/error.c: Likewise.
36500         * misc/syslog.c: Likewise.
36501         * stdio-common/asprintf.c: Likewise.
36502         * stdio-common/fxprintf.c: Likewise.
36503         * stdio-common/getw.c: Likewise.
36504         * stdio-common/isoc99_fscanf.c: Likewise.
36505         * stdio-common/isoc99_scanf.c: Likewise.
36506         * stdio-common/isoc99_vfscanf.c: Likewise.
36507         * stdio-common/isoc99_vscanf.c: Likewise.
36508         * stdio-common/isoc99_vsscanf.c: Likewise.
36509         * stdio-common/printf-prs.c: Likewise.
36510         * stdio-common/printf_fp.c: Likewise.
36511         * stdio-common/printf_fphex.c: Likewise.
36512         * stdio-common/printf_size.c: Likewise.
36513         * stdio-common/putw.c: Likewise.
36514         * stdio-common/scanf.c: Likewise.
36515         * stdio-common/sprintf.c: Likewise.
36516         * stdio-common/tmpfile.c: Likewise.
36517         * stdio-common/vfprintf.c: Likewise.
36518         * stdio-common/vfscanf.c: Likewise.
36519         * stdlib/strfmon_l.c: Likewise.
36520         * sunrpc/openchild.c: Likewise.
36521         * sunrpc/xdr_stdio.c: Likewise.
36522         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36523         * sysdeps/mach/hurd/tmpfile.c: Likewise.
36524
36525 2012-05-24  Roland McGrath  <roland@hack.frob.com>
36526
36527         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36528
36529         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36530         in the third column, to generate for the shared library an IFUNC
36531         that uses _dl_vdso_vsym.
36532         * Makerules (COMPILE.c, compile-stdin.c): New variables.
36533         * Makeconfig (object-suffixes-noshared): New variable.
36534
36535         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36536         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36537         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36538         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36539
36540         [BZ #14132]
36541         * include/sys/time.h (__gettimeofday): Remove macro.
36542         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36543         * time/gettimeofday.c (__gettimeofday): Remove #undef.
36544         Remove INTDEF.
36545         (__gettimeofday): Add libc_hidden_def.
36546         (gettimeofday): Add libc_hidden_weak.
36547         * sysdeps/mach/gettimeofday.c: Likewise.
36548         * sysdeps/posix/gettimeofday.c: Likewise.
36549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36550         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36551         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36552         (__gettimeofday_internal): Remove strong_alias.
36553         (__gettimeofday): Add libc_hidden_def.
36554         (gettimeofday): Add libc_hidden_weak.
36555         * sysdeps/unix/syscalls.list (gettimeofday):
36556         Remove __gettimeofday_internal alias.
36557
36558 2012-05-24  Daniel Jacobowitz  <drow@false.org>
36559             H.J. Lu  <hongjiu.lu@intel.com>
36560
36561         [BZ #12495]
36562         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36563         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36564         (largebin_index_32_big): New.
36565         (largebin_index): Use it for 16-byte alignment.
36566         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
36567         correction with front_misalign.
36568
36569 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
36570
36571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36573         Likewise.
36574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36575         Likewise.
36576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36577         Likewise.
36578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36579         Likewise.
36580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36581         Likewise.
36582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36583         Likewise.
36584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36585         Likewise.
36586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36587         Likewise.
36588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36589         Likewise.
36590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36591         Likewise.
36592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36593         Likewise.
36594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36595         Likewise.
36596
36597         * scripts/data/c++-types-x32-linux-gnu.data: New file.
36598         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36599
36600 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
36601
36602         [BZ #10846]
36603         [BZ #14036]
36604         * math/libm-test.inc (exp_test): Add test from bug 14036.
36605         (pow_test): Add test from bug 10846.
36606
36607         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36608         and other flags.
36609         (special_function): Do not include flags in test name.
36610         (parse_args): Likewise.
36611         * sysdeps/i386/fpu/libm-test-ulps: Update.
36612         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36613         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36614         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36616
36617         * math/gen-libm-test.pl (%beautify): Add entries for underflow
36618         exceptions.
36619         * math/libm-test.inc ("Philosophy"): Update comment about
36620         exception testing.
36621         (UNDERFLOW_EXCEPTION): New macro.
36622         (UNDERFLOW_EXCEPTION_OK): Likewise.
36623         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36624         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36625         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36626         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36627         (INVALID_EXCEPTION_OK): Update value.
36628         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36629         (OVERFLOW_EXCEPTION_OK): Likewise.
36630         (IGNORE_ZERO_INF_SIGN): Likewise.
36631         (test_exceptions): Handle underflow exceptions.
36632         (acos_test): Update for underflow exception expectations.
36633         (cexp_test): Likewise.
36634         (clog_test): Likewise.
36635         (clog10_test): Likewise.
36636         (csqrt_test): Likewise.
36637         (ctan_test): Likewise.
36638         (ctanh_test): Likewise.
36639         (exp_test): Likewise.
36640         (exp10_test): Likewise.
36641         (exp2_test): Likewise.
36642         (expm1_test): Likewise.
36643         (fma_test): Likewise.
36644         (j0_test): Likewise.
36645         (jn_test): Likewise.
36646         (nexttoward_test): Likewise.
36647         (pow_test): Likewise.
36648         (scalbn_test): Likewise.
36649         (scalbln_test): Likewise.
36650         (tan_test): Likewise.
36651         (y1_test): Likewise.
36652         * sysdeps/i386/fpu/libm-test-ulps: Update.
36653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36654
36655 2012-05-23  David S. Miller  <davem@davemloft.net>
36656
36657         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36658         (__libc_sigaction): Remove unused local variables.
36659
36660 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36661
36662         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36663
36664 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
36665
36666         mktime: avoid signed integer overflow
36667         * time/mktime.c (__mktime_internal): Do not mishandle the case
36668         where diff == INT_MIN.
36669
36670         mktime: simplify computation of average
36671         * time/mktime.c (ranged_convert): Use new time_t_avg function
36672         instead of rolling our own (probably-slower) code.
36673
36674         mktime: do not assume signed right shift propagates sign bit
36675         * time/mktime.c (isdst_differ): New static function.
36676         (__mktime_internal): No need to normalize tm_isdst now.
36677         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36678         tm_isdst values.
36679
36680         mktime: merge another wrapv change from gnulib
36681         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36682         from some compilers.
36683
36684         mktime: remove incorrect attempt at unusual arithmetics
36685         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36686         The code didn't really work on such machines anyway.
36687         (TYPE_MINIMUM): Assume two's complement.
36688         (twos_complement_arithmetic): Verify that long_int and time_t
36689         are two's complement (or unsigned, in the latter case).
36690
36691         mktime: check signed shifts on long_int and time_t, too
36692         * time/mktime.c (SHR): Check that shifts work as desired
36693         on the types long_int and time_t too, as SHR is used on
36694         such types.
36695
36696         mktime: do not assume 'long' is wide enough
36697         * time/mktime.c (verify): Move decl up.
36698         (long_int): New type.
36699         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36700         to remove assumption in the code that 'long' is wide enough to
36701         store year values.  This assumption is not true on x32 and on
36702         some non-glibc platforms.
36703
36704         mktime: merge wrapv change from gnulib
36705         * time/mktime.c (WRAPV): New macro.
36706         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36707         (guess_time_tm, __mktime_internal): Do not assume that signed
36708         integer overflow wraps around; modern compilers generate code
36709         where this assumption is no longer valid.
36710
36711 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36712
36713         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36714         Replace "jmp L(pseudo_end)" with "ret".
36715         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36716         Likewise.
36717
36718 2012-05-23  Andreas Jaeger  <aj@suse.de>
36719
36720         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36721         * sysdeps/unix/sysv/linux/poll.c: Remove file.
36722
36723 2012-05-23  Andreas Jaeger  <aj@suse.de>
36724             Maximilian Attems  <max@stro.at>
36725
36726         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36727         New macros.
36728
36729 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
36730
36731         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36732         code so that pseudo_end is just ret and the stack pointer is
36733         correct also for static library in error case.
36734
36735 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
36736
36737         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36738         move to syscalls.list.
36739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36743
36744         * manual/install.texi (Running make install): Do not mention Linux
36745         kernel version for which pt_chown is not needed.
36746         (Linux): Do not mention problems with nscd with 2.0 kernels.
36747         * INSTALL: Regenerated.
36748
36749 2012-05-23  Andreas Jaeger  <aj@suse.de>
36750
36751         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36752         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36753         macro.
36754         * sysdeps/unix/sysv/linux/s390/bits/mman.h
36755         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36756         * sysdeps/unix/sysv/linux/sh/bits/mman.h
36757         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36758         * sysdeps/unix/sysv/linux/i386/bits/mman.h
36759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36760         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36762         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36764         * sysdeps/unix/sysv/linux/bits/in.h
36765         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36766
36767 2012-05-22  Roland McGrath  <roland@hack.frob.com>
36768
36769         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36770         (PREPARE_VERSION): Just use assert instead, it will be elided
36771         under [NDEBUG] anyway.
36772
36773 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36774
36775         * sysdeps/unix/sysv/linux/Makefile: Include
36776         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36777         (sysdep_routines): Remove sysctl.
36778         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36779         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36780         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36781         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36782         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36783
36784 2012-05-22  Andreas Jaeger  <aj@suse.de>
36785
36786         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36787         that pseudo_end is just ret and the stack pointer is correct also
36788         for static library in error case.
36789
36790 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36791
36792         [BZ #14122]
36793         * nss/nsswitch.c (defconfig_entries): New variable.
36794         (__nss_database_lookup): Don't leak defconfig entries.
36795         (nss_parse_service_list): Don't leak on error paths.
36796         (free_database_entries): New function.
36797         (free_defconfig): New function.
36798         (free_mem): Move common code to free_database_entries.
36799
36800 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36801
36802         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36803         Add arch_prctl.
36804         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36805
36806         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36807         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36808         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36809         New macro.
36810         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36811         (INTERNAL_SYSCALL_TYPES): Likewise.
36812         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36813         (LOAD_REGS_TYPES_[1-6]): Likewise.
36814         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36815         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36816
36817 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36818
36819         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36820         copysignl for GLIBC_2_0.
36821         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36822         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36824         logbl for GLIBC_2_0.
36825         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36826         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36827
36828 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36829
36830         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36831         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36832
36833         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36834         Use "neg %eax".
36835
36836         * time/mktime.c: Update copyright years.
36837
36838 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36839
36840         mktime: merge comment-quoting-style change from gnulib
36841         * time/mktime.c: Quote 'like this' in comments.
36842         The GNU coding standards suggest that we no longer quote `like this',
36843         as "`" and "'" are typically rendered asymmetrically nowadays.
36844         The typical gnulib style is to quote 'like this' when quoting
36845         code, and "like this" when quoting English.
36846
36847         * time/mktime.c (compile-command): Add "-I.".
36848
36849         mktime: merge mktime-internal.h change from gnulib
36850         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36851
36852         mktime: merge time_r change from gnulib
36853         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36854
36855         mktime: merge DEBUG change from gnulib
36856         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36857         case system <time.h> has a #define.
36858
36859         mktime: merge <sys/types.h> change from gnulib
36860         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36861         since <time.t> is now guaranteed to define time_t.
36862
36863         mktime: merge HAVE_CONFIG_H change from gnulib
36864         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36865
36866 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36867
36868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36869         Use "neg %eax".
36870
36871         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36872         __rlim_t cast.
36873         (struct rusage): Use anonymous union to pad each field to
36874         __syscall_slong_t.
36875
36876 2012-05-21  David S. Miller  <davem@davemloft.net>
36877
36878         * Makefules (o-iterator): Remove .s cases.
36879         (compile-command.s): Delete.
36880         (COMPILE.s): Delete.
36881         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36882
36883 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36884
36885         * configure.in (libc_cv_predef_stack_protector): Only consider
36886         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36887         * configure: Regenerated.
36888
36889 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36890
36891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36892         New macro.  Use R*LP on int and pointer.
36893         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36894         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36895         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36896         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36897
36898         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36899         [__WORDSIZE_TIME64_COMPAT32] instead of
36900         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36901         (struct utmp): Likewise.
36902         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36903         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36904         Renamed to ...
36905         (__WORDSIZE_TIME64_COMPAT32): This.
36906         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36907         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36908         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36909         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36910         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36911         (__WORDSIZE_TIME64_COMPAT32): New macro.
36912
36913 2012-05-21  Andreas Jaeger  <aj@suse.de>
36914
36915         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36916         only if [SHARED]. Add prototype for __wcschr_ia32.
36917
36918 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36919
36920         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36921         of %rbp unmolested in the jmp_buf while mangling the low bits.
36922         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36923         unmolested high bits of %rbp while demangling the low bits.
36924         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36925
36926 2012-05-21  Andreas Jaeger  <aj@suse.de>
36927
36928         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36929         * sunrpc/svc_simple.c: Use it for registerrpc.
36930         * sunrpc/xcrypt.c: Use it for passwd2des.
36931
36932         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36933
36934 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36935
36936         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36937         Don't define if [__SYSCALL_WORDSIZE != 32].
36938         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36939         New macro.
36940
36941 2012-05-21  Bruno Haible  <bruno@clisp.org>
36942             Andreas Jaeger  <aj@suse.de>
36943
36944         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36945         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36946         inptr and inend for must_buffer_ch.
36947         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36948         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36949         * stdio-common/Makefile (tests): Remove bug15.
36950         (bug15-ENV): Remove macro.
36951         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36952         anymore.
36953
36954 2012-05-19  Andreas Jaeger  <aj@suse.de>
36955             Roland McGrath  <roland@hack.frob.com>
36956
36957         * manual/contrib.texi: Completely rewritten. It contains now an
36958         alphabetical list of contributors and their contributions.
36959
36960 2012-05-21  Richard Henderson  <rth@twiddle.net>
36961
36962         * misc/getauxval.c (__getauxval): Use unsigned long int.
36963         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36964         (getauxval): Use unsigned long int.
36965
36966 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36967
36968         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36969
36970 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36971
36972         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36973         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36974         __alignof__ (long double).
36975
36976 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36977
36978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36979
36980 2012-05-20  Richard Henderson  <rth@twiddle.net>
36981
36982         * misc/getauxval.c: New file.
36983         * misc/sys/auxv.h: New file.
36984         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36985         (routines): Add getauxval.
36986         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36987         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36988         * elf/dl-sysdep.c (_dl_auxv): Remove.
36989         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36990         * elf/dl-support.c (_dl_auxv): New variable.
36991         (_dl_aux_init): Initialize it.
36992         * manual/startup.texi (Auxiliary Vector): New node.
36993         * sysdeps/generic/bits/hwcap.h: New file.
36994         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36995         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36996         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36997         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36998         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36999         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37001         Update.
37002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37005         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37010
37011 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37012
37013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37014
37015 2012-05-19  David S. Miller  <davem@davemloft.net>
37016
37017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37018
37019 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37020
37021         [BZ #14123]
37022         * math/s_ccosh.c: Include <float.h>
37023         (__ccosh): Avoid internal overflow calculating sinh and cosh
37024         values before multiplying by sin and cos values.
37025         * math/s_ccoshf.c: Likewise.
37026         * math/s_ccoshl.c: Likewise.
37027         * math/s_csin.c: Likewise.
37028         * math/s_csinf.c: Likewise.
37029         * math/s_csinl.c: Likewise.
37030         * math/s_csinh.c: Likewise.
37031         * math/s_csinhf.c: Likewise.
37032         * math/s_csinhl.c: Likewise.
37033         * math/libm-test.inc (ccos_test): Add more tests.
37034         (ccosh_test): Likewise.
37035         (csin_test): Likewise.
37036         (csinh_test): Likewise.
37037         * sysdeps/i386/fpu/libm-test-ulps: Update.
37038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37039
37040 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
37041
37042         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37043         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37044
37045         * sysdeps/x86_64/x32/_itoa.h: Add comment.
37046
37047 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
37048
37049         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37050         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37051         * sysdeps/powerpc/soft-fp/Versions: Likewise.
37052         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37053         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37054         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37055         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37056         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37057         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37058         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37059         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37060         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37061         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37062         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37063         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37064         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37065         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37066         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37067         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37068         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37069         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37070         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37071         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37072         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37073         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37074         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37075         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37076         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37077         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37078         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37079         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37080
37081 2012-05-18  Andreas Jaeger  <aj@suse.de>
37082
37083         * csu/.gitignore: Delete.
37084
37085 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37086
37087         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37088         (timex): Use __syscall_slong_t.
37089
37090 2012-05-18  Andreas Jaeger  <aj@suse.de>
37091             Carlos O'Donell  <carlos_odonell@mentor.com>
37092
37093         * manual/install.texi (Configuring and compiling): Update
37094         description about files modified in the source directory.
37095         * INSTALL: Regenerated.
37096
37097 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37098
37099         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37100         value.  Use "or" to set return value to -1.
37101         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37102         negate return value.
37103
37104 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37105
37106         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37107         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37108         failure if the compiler has Graphite support disabled.
37109         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37110         Likewise.
37111         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37112         (CFLAGS-memmove.c): Likewise.
37113         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37114         Likewise.
37115
37116 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
37117
37118         * sysdeps/x86_64/x32/_itoa.h: New file.
37119
37120         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37121         getdents system call only if kernel and user dirents have the
37122         same d_ino and d_off.
37123
37124         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37125         LLONG_MAX != LONG_MAX.
37126         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37127         (_fitoa_word): Likewise.
37128
37129         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37130         years.
37131         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37132         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37133         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37134
37135         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37136         include <bits/wordsize.h>.  Check __x86_64__ instead of
37137         __WORDSIZE.
37138         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37139         if __x86_64__ is defined.  Use anonymous union on fpstate.
37140
37141         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37142         anonymous union.
37143
37144 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
37145
37146         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37147         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37148         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37149         Refer to _rtld_local_ro instead of _rtld_global_ro.
37150         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37151         Likewise.
37152         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37153         Likewise.
37154         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37155         Likewise.
37156         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37157         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37158         of _rtld_global, and rtld_progname instead of _dl_argv[0].
37159
37160         * sysdeps/powerpc/powerpc32/dl-machine.c
37161         (__elf_machine_runtime_setup) [PROF]: Don't reference
37162         _dl_prof_resolve.
37163
37164 2012-05-18  Andreas Jaeger  <aj@suse.de>
37165
37166         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37167         function only available for GCCs before 3.4 since GCC 3.4
37168         introduced a builtin.
37169         (lrint): Likewise.
37170         (llrintf): Likewise.
37171         (llrint): Likewise.
37172         (fmaxf): Likewise.
37173         (fmax): Likewise.
37174         (fminf): Likewise.
37175         (fmin): Likewise.
37176         (rint): Likewise.
37177         (rintf): Likewise.
37178         (nearbyint): Likewise.
37179         (nearbyintf): Likewise.
37180         (ceil): Likewise.
37181         (ceilf): Likewise.
37182         (floor): Likewise.
37183         (floorf): Likewise.
37184
37185 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37186
37187         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37188         on both fields and cast pointer to __syscall_ulong_t.
37189
37190         * bits/types.h (__fsword_t): New type.
37191         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37192         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37193         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37194         (__FSWORD_T_TYPE): Likewise.
37195         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37196         (__FSWORD_T_TYPE): Likewise.
37197         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37198         (__FSWORD_T_TYPE): Likewise.
37199         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37200         (__FSWORD_T_TYPE): Likewise.
37201         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37202         __SWORD_TYPE with __fsword_t.
37203         (statfs64): Likewise.
37204
37205 2012-05-17  David S. Miller  <davem@davemloft.net>
37206
37207         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37208
37209 2012-05-17  Andreas Jaeger  <aj@suse.de>
37210
37211         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37212         warning.
37213
37214 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37215
37216         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37217
37218 2012-05-17  Andreas Jaeger  <aj@suse.de>
37219
37220         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37221         when it is used.
37222
37223 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37224
37225         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37226
37227 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
37228
37229         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37230         * sysdeps/x86_64/tst-mallocalign1.c: New file.
37231
37232 2012-05-17  Andreas Jaeger  <aj@suse.de>
37233             Carlos O'Donell  <carlos_odonell@mentor.com>
37234
37235         [BZ #14059]
37236         * sysdeps/x86_64/multiarch/init-arch.h
37237         (bit_YMM_Usable): Rename to...
37238         (bit_AVX_Usable): ... this.
37239         (bit_FMA4_Usable): New macro.
37240         (bit_XMM_state): New macro.
37241         (bit_YMM_state): New macro.
37242         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37243         [__ASSEMBLER__] (index_AVX_Usable): ... this.
37244         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37245         (CPUID_OSXSAVE): New macro.
37246         (CPUID_AVX): New macro.
37247         (CPUID_FMA4): New macro.
37248         (index_YMM_Usable): Rename to...
37249         (index_AVX_Usable): ... this.
37250         (HAS_AVX): Use HAS_ARCH_FEATURE.
37251         (HAS_FMA4): Likewise.
37252         (HAS_YMM_USABLE): Remove.
37253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37254         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37255         are present.
37256         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37257         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37258         * sysdeps/x86_64/multiarch/Makefile: Likewise.
37259         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37260         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37261
37262 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
37263
37264         * math/libm-test.c: Support platforms without multiple rounding modes.
37265         * math/bug-nextafter.c: Support platforms without FP exceptions.
37266         * math/bug-nexttoward.c: Likewise.
37267         * math/test-fenv.c: Likewise.
37268         * math/test-misc.c: Likewise.
37269         * stdlib/bug-getcontext.c: Likewise.
37270
37271 2012-05-17  Andreas Jaeger  <aj@suse.de>
37272
37273         * manual/examples/search.c (critter_cmp): Change signature to
37274         avoid warnings.
37275         * manual/string.texi (Collation Functions): Likewise.
37276
37277 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37278
37279         * bits/types.h: Fold copyright years.
37280         * bits/typesizes.h: Likewise.
37281         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37283         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37284         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37285         * time/time.h: Likewise.
37286
37287 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
37288
37289         [BZ #208]
37290         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37291         in instead of returning them.  Return void.
37292         (__libc_mallinfo): Accumulate over all arenas.
37293         (__malloc_stats): Adjust for change in int_mallinfo interface.
37294
37295 2012-05-16  Roland McGrath  <roland@hack.frob.com>
37296
37297         [BZ #10375]
37298         * configure.in (NM): Add AC_CHECK_TOOL for it.
37299         (libc_extra_cflags): New substituted variable.
37300         Check for -fstack-protector being used implicitly.
37301         * configure: Regenerated.
37302         * config.make.in (config-extra-cflags): New variable,
37303         gets @libc_extra_cflags@.
37304         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37305
37306         [BZ #10375]
37307         * configure.in: Check for _FORTIFY_SOURCE being predefined.
37308         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37309         * configure: Regenerated.
37310         * config.make.in (CPPUNDEFS): New substituted variable.
37311         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37312         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37313         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37314
37315 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37316
37317         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37318         (mq_attr): Use __syscall_slong_t.
37319
37320 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37321
37322         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37323         Check __x86_64__ instead of __WORDSIZE.
37324         (_STAT_VER_LINUX): Likewise.
37325         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
37326         __syscall_ulong_t and __syscall_slong_t.
37327         (stat64): Likewise.
37328
37329 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37330
37331         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37332
37333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37334
37335         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37336
37337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37338
37339         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37340         __syscall_ulong_t.
37341
37342         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37343         include <bits/wordsize.h>.  Check __x86_64__ instead of
37344         __WORDSIZE.
37345         (greg_t): Use "__extension__ long long int" if __x86_64__ is
37346         defined.
37347         (mcontext_t): Replace "unsigned long" with "unsigned long long".
37348
37349         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37350         include <bits/wordsize.h>.  Check __x86_64__ instead of
37351         __WORDSIZE.
37352         (user_regs_struct): Use "__extension__ unsigned long long"
37353         instead of "unsigned long" if __x86_64__ is defined.
37354         (user): Likewise.  Pad after pointer field if __ILP32__ is
37355         defined.
37356
37357 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
37358
37359         * configure.in (makeinfo): Require version 4.5 or later.  Allow
37360         versions 5 to 9.
37361         * configure: Regenerated.
37362         * manual/install.texi (texinfo): Increase version requirement to
37363         4.5 or later.
37364         * INSTALL: Regenerated.
37365
37366         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37367
37368 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
37369
37370         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37371
37372         * sysdeps/x86_64/x32/ffs.c: New file.
37373
37374         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37375         __syscall_ulong_t.
37376         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37377         defined.  Use __syscall_ulong_t.
37378         (shminfo): Use __syscall_ulong_t.
37379         (shm_info): Likewise.
37380
37381         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37382         __syscall_ulong_t.
37383
37384         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37385         <bits/wordsize.h>.
37386         (msgqnum_t): Use __syscall_ulong_t.
37387         (msglen_t): Likewise.
37388         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
37389         __syscall_ulong_t.
37390
37391         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37392         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37393
37394         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37395
37396         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37397         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37398
37399         * sysvipc/sys/msg.h (msgbuf): Replace long int with
37400         __syscall_slong_t.
37401
37402         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37403         include <bits/wordsize.h>.  Check __x86_64__ instead of
37404         __WORDSIZE.
37405
37406         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37407         "unsigned long long int" if __x86_64__ is defined.
37408         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37409
37410         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37411         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
37412         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37413
37414         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37415         <stdint.h>.
37416         (GET_PC): Cast to uintptr_t first.
37417         (GET_FRAME): Likewise.
37418         (GET_STACK): Likewise.
37419
37420         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37421         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37422         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37423         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37424         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37425         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37426         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37427         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37428         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37429         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37430         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37432         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37433         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37434         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37435         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37437         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37438         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37439         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37440         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37441         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37442         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37443         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37444         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37445         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37446         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37447         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37448         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37449
37450 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
37451
37452         * Makerules (+depfiles): Also collect depfiles from .oS in
37453         $(extra-objs).
37454         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37455         .oS, $(libnldbl-routines)).
37456
37457         * Makerules (native-compile-mkdep-flags): Define.
37458         * sunrpc/Makefile (extra-objs): Add $(addprefix
37459         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37460         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37461         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
37462         calling $(make-target-directory).
37463
37464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37465
37466         * bits/types.h (__snseconds_t): Removed.
37467         * time/time.h (struct timespec): Replace __snseconds_t with
37468         __syscall_slong_t.
37469         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37470         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37471         Likewise.
37472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37473         (__SNSECONDS_T_TYPE): Likewise.
37474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37475         (__SNSECONDS_T_TYPE): Likewise.
37476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37477         (__SNSECONDS_T_TYPE): Likewise.
37478
37479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37480
37481         * sysdeps/mach/hurd/bits/typesizes.h
37482         (__SYSCALL_SLONG_TYPE): New macro.
37483         (__SYSCALL_ULONG_TYPE): Likewise.
37484
37485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37486
37487         * bits/types.h (__syscall_slong_t): New type.
37488         (__syscall_ulong_t): Likewise.
37489
37490         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37491         (__SYSCALL_ULONG_TYPE): Likewise.
37492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37493         (__SYSCALL_SLONG_TYPE): Likewise.
37494         (__SYSCALL_ULONG_TYPE): Likewise.
37495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37496         (__SYSCALL_SLONG_TYPE): Likewise.
37497         (__SYSCALL_ULONG_TYPE): Likewise.
37498         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37499         (__SYSCALL_SLONG_TYPE): Likewise.
37500         (__SYSCALL_ULONG_TYPE): Likewise.
37501
37502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37503
37504         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37505         Add sigaltstack-offsets.sym.
37506         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37507         <sigaltstack-offsets.h>.
37508         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
37509         longjmp_msg pointer.
37510         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
37511         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37512         signal stack.
37513         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37514
37515 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37516
37517         * elf/stackguard-macros.h: Remove file.
37518         * sysdeps/generic/stackguard-macros.h: New file.
37519         * sysdeps/i386/stackguard-macros.h: Likewise.
37520         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37521         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37522         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37523         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37524         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37525         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37526         * sysdeps/x86_64/stackguard-macros.h: Likewise.
37527         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37528         <elf/stackguard-macros.h>.
37529
37530         [BZ #14109]
37531         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37532         __aligned__ in attribute.
37533         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37534         (gregset_t): Likewise.
37535
37536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37537
37538         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37539         * sysdeps/x86_64/64/Implies-after: Here.  New file.
37540         * sysdeps/x86_64/x32/Implies-after: New file.
37541
37542 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37543
37544         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37545         and access return value for _dl_profile_fixup.  Use R10_LP to
37546         load frame size.
37547
37548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37549
37550         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37551
37552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37553
37554         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37555         * sysdeps/x86_64/x32/sysdep.h: New file.
37556
37557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37558
37559         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37560         * sysdeps/x86_64/setjmp.S: Likewise.
37561
37562 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37563
37564         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37565         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37566         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37567         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37568         remove unused global constant.
37569
37570 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
37571
37572         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37573         include of <not-cancel.h>.
37574
37575 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37576
37577         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37578
37579 2012-05-15  Jeff Law  <law@redhat.com>
37580             Andreas Jaeger  <aj@suse.de>
37581
37582         [BZ #13594]
37583         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37584         out from...
37585         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37586         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37587         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37588         code changing __hst_map_handle.map.
37589
37590 2012-05-15  Roland McGrath  <roland@hack.frob.com>
37591
37592         * configure.in (sysnames): Look for Implies-before and Implies-after
37593         files.
37594         * configure: Regenerated.
37595
37596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37597
37598         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37599         8-byte data alignment with LP_SIZE alignment.
37600
37601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37602
37603         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37604         into R10_LP.
37605
37606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37607
37608         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37609
37610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37611
37612         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37613         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37614         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37615         Likewise.
37616         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37617
37618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37619
37620         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37621         (stackinfo_sub_sp): Likewise.
37622
37623 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37624
37625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37626         RAX_LP.
37627
37628 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37629
37630         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37631         into R*_LP.
37632
37633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37634
37635         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37636         sizes into R*_LP.
37637
37638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37639
37640         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37641
37642 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37643
37644         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37645         into R11_LP and load __x86_64_shared_cache_size_half into
37646         R8_LP.
37647
37648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
37649
37650         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37651         R8_LP.
37652
37653 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37654
37655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37656         logb for POWER7.
37657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37658         logbf for POWER7.
37659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37660         logbl for POWER7.
37661         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37662         powerpc32/power7/fpu/s_logb.c via #include.
37663         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37664         powerpc32/power7/fpu/s_logbf.c via #include.
37665         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37666         powerpc32/power7/fpu/s_logbl.c via #include.
37667
37668 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
37669
37670         * README.libm: Remove file.
37671
37672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37673
37674         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37675         count for x32.  Use R*_LP and omit operand-size suffix.
37676
37677 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37678
37679         * shlib-versions: Move x86_64-.*-linux.* entries to ...
37680         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
37681         * sysdeps/x86_64/x32/shlib-versions: New file.
37682
37683 2012-05-14  Roland McGrath  <roland@hack.frob.com>
37684
37685         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37686         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37687         Use _dl_fatal_printf instead.
37688
37689 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37690
37691         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37692         set if not set by the user.  Do not allow for being unset.
37693         * sysdeps/unix/sysv/linux/configure: Regenerated.
37694
37695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37696
37697         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37698         the `q' suffix from lea and replace .quad with ASM_ADDR.
37699
37700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37701
37702         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37703         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
37704         instead of $17.
37705         (PTR_DEMANGLE): Likewise.
37706
37707 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37708
37709         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37710         (LP_OP): Likewise.
37711         (ASM_ADDR): Likewise.
37712         (RAX_LP): Likewise.
37713         (RBP_LP): Likewise.
37714         (RBX_LP): Likewise.
37715         (RCX_LP): Likewise.
37716         (RDI_LP): Likewise.
37717         (RSI_LP): Likewise.
37718         (RSP_LP): Likewise.
37719         (R8_LP): Likewise.
37720         (R9_LP): Likewise.
37721         (R10_LP): Likewise.
37722         (R10_LP): Likewise.
37723         (R11_LP): Likewise.
37724         (R12_LP): Likewise.
37725         (R13_LP): Likewise.
37726         (R14_LP): Likewise.
37727         (R15_LP): Likewise.
37728
37729 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37730
37731         * sysdeps/x86_64/x32/dl-machine.h: New file.
37732
37733 2012-05-14  Andreas Jaeger  <aj@suse.de>
37734
37735         * manual/Makefile (subdir): Remove export of subdir.
37736         (all): Remove target.
37737         (.PHONY): Remove all from list.
37738         (mkinstalldirs): Remove.
37739         (.PHONY): Remove installdirs from list.
37740         ($(inst_infodir)/libc.info): Use make-target-directory.
37741         (installdirs): Remove.
37742         (subdir_%): Remove.
37743         (glibc-targets): Remove.
37744         (lib): Remove.
37745         (stubs): Remove.
37746         ($(objpfx)stubs ../po/manual.pot): Remove.
37747         ($(objpfx)stamp%): Remove.
37748         (make-target-directory): Remove.
37749         (subdir_install): Remove.
37750         (routines): Remove.
37751         (aux): Remove.
37752         (sources): Remove.
37753         (objects): Remove.
37754         (headers): Remove.
37755
37756         [BZ #13750]
37757         * manual/.gitignore: Remove, it's not needed anymore.
37758         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37759         all files in it.
37760         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37761         directory.
37762         (texis): Renamed to $(objpfx)texis.
37763         (texis-path): New, contains path to generated files.
37764         (chapters.%): Use texis-path for complete path, add extra argument
37765         libc-texinfo.sh.
37766         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37767         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37768         (summary,texi, stamp-summary): Use complete path of
37769         files. Generate files in build dir.
37770         (dir-add.texi): Build in build dir.
37771         (libm-err.texi,stamp-libm-err): Likewise.
37772         (version.texi, stamp-version): Likewise.
37773         (.%c.texi): Likewise.
37774         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37775         (mostlyclean): Remove target.
37776         (realclean): Remove target.
37777         (generated): Add new variable with contents from mostlyclean and
37778         realclean, remove entries duplicated in common-mostlyclean, add
37779         stamp-libm-err and stamp-version.
37780         (generated-dirs): Add libc directory.
37781         ($(inst_infodir)/libc.info): Install files from build dir.
37782
37783         * manual/install.texi (Configuring and compiling): Adjust since
37784         the info files are not part of the tar ball anymore.
37785
37786 2012-05-14  Andreas Jaeger  <aj@suse.de>
37787
37788         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37789         variable.
37790
37791 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37792
37793         [BZ #13717]
37794         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37795         to 2.2.0 where earlier.
37796         * sysdeps/unix/sysv/linux/configure: Regenerated.
37797         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37798         Remove conditional code.
37799         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37800         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37801         Remove conditional code.
37802         [!__NR_lchown]: Likewise.
37803         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37804         [__NR_lchown]: Likewise.
37805         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37806         comment referencing __ASSUME_LCHOWN_SYSCALL.
37807         * sysdeps/unix/sysv/linux/i386/sigaction.c
37808         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37809         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37810         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37811         Remove conditional code.
37812         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37813         (__protocol_available): Remove #if 0 code.
37814         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37815         conditional code.
37816         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37817         * sysdeps/unix/sysv/linux/kernel-features.h
37818         (__ASSUME_GETCWD_SYSCALL): Don't define.
37819         (__ASSUME_REALTIME_SIGNALS): Likewise.
37820         (__ASSUME_PREAD_SYSCALL): Likewise.
37821         (__ASSUME_PWRITE_SYSCALL): Likewise.
37822         (__ASSUME_POLL_SYSCALL): Likewise.
37823         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37824         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37825         non-SPARC.
37826         (__ASSUME_SIOCGIFNAME): Don't define.
37827         (__ASSUME_MSG_NOSIGNAL): Likewise.
37828         (__ASSUME_SENDFILE): Define unconditionally.
37829         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37830         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37831         conditional code.
37832         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37833         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37834         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37835         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37836         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37837         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37838         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37840         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37841         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37843         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37844         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37846         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37847         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37849         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37850         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37852         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37853         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37855         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37858         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37859         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37861         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37863         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37864         Remove conditional code.
37865         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37866         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37867         Remove conditional code.
37868         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37869         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37870         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37871         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37872         Remove conditional code.
37873         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37874         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37875         Remove conditional code.
37876         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37877         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37878         Remove conditional code.
37879         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37880         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37881         Remove conditional code.
37882         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37883         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37884         Remove conditional code.
37885         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37886         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37887         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37889         * sysdeps/unix/sysv/linux/sigaction.c
37890         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37891         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37892         * sysdeps/unix/sysv/linux/sigpending.c
37893         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37894         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37895         * sysdeps/unix/sysv/linux/sigprocmask.c
37896         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37897         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37898         * sysdeps/unix/sysv/linux/sigsuspend.c
37899         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37900         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37901         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37902         (__libc_missing_rt_sigs): Remove.
37903         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37904         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37905         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37906         Remove conditional code.
37907         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37908         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37909         return 1.
37910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37911         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37912         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37913         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37914
37915 2012-05-14  Andreas Jaeger  <aj@suse.de>
37916
37917         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37918         it's not used in glibc.
37919         (__coshm1): Likewise.
37920         (__acosh1p): Likewise.
37921         (__sgn): Likewise.
37922
37923         * manual/string.texi (Copying and Concatenation): Add missing
37924         variable in concat example.
37925         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37926
37927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37928
37929         [BZ #14103]
37930         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37931         __builtin_clzl with __builtin_clzll.
37932
37933 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37934
37935         [BZ #14104]
37936         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37937         libc_freeres_ptr.
37938
37939 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37940
37941         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37942         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37943         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37944         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37945
37946 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37947
37948         * NEWS: Update ia64 info.
37949
37950 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37951
37952         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37953         used as bcopy.
37954
37955 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37956
37957         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37958         * sysdeps/unix/syscalls.list (dup3): Likewise.
37959         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37960         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37961
37962 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37963
37964         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37965         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37966
37967 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37968
37969         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37970         thread pointer.
37971         (TLS_IE): Use mov/add instead of movq/addq to load thread
37972         pointer.
37973         (TLS_GD_PREFIX): New.
37974         (TLS_GD): Use it.
37975
37976 2012-05-11  David S. Miller  <davem@davemloft.net>
37977
37978         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37979         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37980         (_FPU_SETCW): Likewise.
37981
37982 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37983
37984         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37985         is 32-byte aligned.
37986
37987 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37988
37989         [BZ #11837]
37990         * iconvdata/gb18030.c: Update tables.
37991         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37992         characters specially.
37993         (BODY for TO_LOOP): Add encoding of missing ranges.
37994
37995 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37996
37997         [BZ #13673]
37998         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37999         * sysdeps/mach/hurd/dup3.c: Likewise.
38000         * sysdeps/mach/hurd/readlinkat.c: Likewise.
38001         * sysdeps/powerpc/memmove.c:: Likewise.
38002
38003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38004
38005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38006         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38007
38008 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38009
38010         * elf/elf.h (R_X86_64_RELATIVE64): New.
38011         (R_X86_64_NUM): Updated.
38012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38013         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
38014         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38015         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38016         tst-quad1pie tst-quad2pie
38017         (modules-names): Add tst-quadmod1 tst-quadmod2.
38018         ($(objpfx)tst-quad1): New dependency.
38019         ($(objpfx)tst-quad2): Likewise.
38020         ($(objpfx)tst-quad1pie): Likewise.
38021         ($(objpfx)tst-quad2pie): Likewise.
38022         * sysdeps/x86_64/tst-quad1.c: New file.
38023         * sysdeps/x86_64/tst-quad1pie.c: New file.
38024         * sysdeps/x86_64/tst-quad2.c: Likewise.
38025         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38026         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38027         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38028         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38029         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38030
38031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38032
38033         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38034         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38035         * streams/stropts.h (t_scalar_t): Define type.
38036
38037         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38038         (_PATH_PRESERVE): Set to "/var/lib".
38039         (_PATH_RWHODIR): Set to "/var/spool/rwho".
38040
38041         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38042         instead of int.
38043
38044         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38045         if __dir_mkfile succeeded.
38046
38047         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38048         checking for _hurd_dtablesize.  Unlock it right after having
38049         finished _hurd_dtable allocation.
38050
38051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38052
38053         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38054         * sysdeps/mach/hurd/configure: Regenerated.
38055         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38056         special-casing to...
38057         * sysdeps/gnu/configure.in: ... this new file.
38058         * sysdeps/unix/sysv/linux/configure: Regenerated.
38059         * sysdeps/gnu/configure: New generated file.
38060
38061         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38062         for Linux: use nsec instead of usec, as well as:
38063         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38064         members of type struct timespec.
38065         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38066         New macros.
38067         (struct stat64): Likewise.
38068         (_STATBUF_ST_NSEC): New macro.
38069         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38070
38071         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38072         __strtoul_internal rather than strtoul.
38073
38074 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38075
38076         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38077         and reject them.
38078
38079 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38080
38081         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38082         which preserves existing values.
38083         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38084
38085 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38086
38087         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38088         TIMEOUT values.  Return EINVAL for NFDS values either negative or
38089         greater than FD_SETSIZE.
38090
38091 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38092
38093         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38094         allocated, call __vm_protect to finish enabling the existing space, and
38095         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38096         allocate the remainder.
38097
38098 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38099
38100         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38101         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
38102
38103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38104
38105         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38106         sysdeps/mach/hurd/readlink.c.
38107
38108         * posix/tst-sysconf.c (posix_options): Only use
38109         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38110         _POSIX_SYNCHRONIZED_IO when they are defined
38111         * sysdeps/mach/hurd/bits/posix_opt.h:
38112         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38113         (_XOPEN_REALTIME): Undefine macro.
38114         (_XOPEN_REALTIME_THREADS): Undefine macro.
38115         (_XOPEN_SHM): Undefine macro.
38116         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38117         macro to -1.
38118         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38119         macro to -1.
38120         (_POSIX_ASYNC_IO): Undefine macro.
38121         (_POSIX_PRIORITIZED_IO): Undefine macro.
38122         (_POSIX_SPIN_LOCKS): Define macro to -1.
38123
38124         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38125         SA_NODEFER, SA_RESETHAND.
38126         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38127         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38128         F_DUPFD_CLOEXEC.
38129
38130 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38131
38132         * elf/Makefile (pldd-modules): Define unconditionally.
38133
38134 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38135
38136         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38137
38138 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38139
38140         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38141         Return ENOENT when name is empty.
38142         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38143
38144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38145
38146         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38147
38148         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38149
38150 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38151
38152         Fix mlock in all cases except non-readable pages.
38153         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38154         instead of VM_PROT_ALL as parameter to __vm_wire function.
38155
38156         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38157         (__mkdir): When path is `/', just fail with EEXIST.
38158         * sysdeps/mach/hurd/mkdirat.c: Likewise.
38159
38160 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38161
38162         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38163         <sys/uio.h> (for writev).
38164         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38165         and <sys/param.h> (for MIN).
38166
38167 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
38168
38169         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38170         REQUESTED_TIME.  Properly set the remaining time and return EINTR
38171         if interrupted.
38172
38173 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38174
38175         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38176         Depend on against $(link-rpcuserlibs).
38177
38178 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38179
38180         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38181         (__libc_stack_end): Do not use attribute_relro.
38182         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38183         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38184         to libthread-provided value.
38185         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38186         attribute_relro.
38187
38188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38189
38190         [BZ #3748]
38191         * bits/libc-lock.h (__libc_once_get): New macro.
38192         * sysdeps/mach/bits/libc-lock.h: Likewise.
38193         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38194         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38195         instead of using implementation details.
38196
38197         * libio/fileops.c: Unconditionally include <kernel-features.h>.
38198         * libio/freopen.c: Likewise.
38199         * libio/freopen64.c: Likewise.
38200         * misc/syslog.c: Likewise.
38201         * nscd/connections.c: Likewise.
38202         * nscd/netgroupcache.c: Likewise.
38203         * sysdeps/posix/getcwd.c: Likewise.
38204
38205 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38206
38207         * math/w_ilogbf.c: Add #include <limits.h>.
38208
38209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38210
38211         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38212         path instead of returning without unlocking.
38213
38214         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38215         immediate-write ioctls.
38216         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38217
38218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38219
38220         * sysdeps/mach/hurd/i386/init-first.c (init): Use
38221         __builtin_frame_address instead of making assumptions about the
38222         location of the return address relative to DATA.  Force early load of
38223         the return address.
38224         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38225         __builtin_frame_address.
38226
38227         dup3 for GNU Hurd.
38228         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38229         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
38230         implement dup3 and do some further code clean-ups.
38231         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38232         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38233
38234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38235
38236         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38237
38238         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38239         HURD_CRITICAL_END around holding _hurd_dtable_lock.
38240         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38241         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38242         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38243         d->port.lock.
38244
38245         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38246         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
38247         when handler == SIG_ERR, not when handler != SIG_ERR.
38248
38249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38250
38251         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38252         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38253         definitions.
38254
38255         accept4 for GNU Hurd.
38256         * include/sys/socket.h (__libc_accept4): New prototype.
38257         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
38258         to implement __libc_accept4.
38259         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38260         __libc_accept4.
38261         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38262
38263         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38264         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38265         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38266         signal-defines.sym.
38267
38268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38269
38270         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38271
38272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
38273
38274         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38275         assertion on O_CLOEXEC flag.
38276         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38277         * hurd/intern-fd.c: Likewise.
38278         * hurd/port2fd.c: Likewise.
38279
38280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38281
38282         [BZ #3906]
38283         * bits/in.h (IPV6_PKTINFO): Define new macro.
38284         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38285
38286 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38287
38288         [BZ #13954]
38289         [BZ #13955]
38290         [BZ #13956]
38291         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38293         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38294         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38295         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38296         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38297         * math/libm-test.inc (logb_test) : Additional logb tests.
38298
38299 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
38300             Andreas Jaeger  <aj@suse.de>
38301
38302         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38303         * configure: Regenerated.
38304         * config.h.in (LINK_OBSOLETE_RPC): New macro.
38305         * config.make.in (link-obsolete-rpc): New substituted variable.
38306         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38307         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38308         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38309         (shared-only-routines): Don't set it under [link-obsolete-rpc],
38310         so that libc.a contains the symbols.
38311         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38312         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38313         * sunrpc/auth_none.c: Likewise.
38314         * sunrpc/auth_unix.c: Likewise.
38315         * sunrpc/authdes_prot.c: Likewise.
38316         * sunrpc/authuxprot.c: Likewise.
38317         * sunrpc/clnt_gen.c: Likewise.
38318         * sunrpc/clnt_perr.c: Likewise.
38319         * sunrpc/clnt_raw.c: Likewise.
38320         * sunrpc/clnt_simp.c: Likewise.
38321         * sunrpc/clnt_tcp.c: Likewise.
38322         * sunrpc/clnt_udp.c: Likewise.
38323         * sunrpc/clnt_unix.c: Likewise.
38324         * sunrpc/des_crypt.c: Likewise.
38325         * sunrpc/des_soft.c: Likewise.
38326         * sunrpc/get_myaddr.c: Likewise.
38327         * sunrpc/key_call.c: Likewise.
38328         * sunrpc/key_prot.c: Likewise.
38329         * sunrpc/netname.c: Likewise.
38330         * sunrpc/pm_getmaps.c: Likewise.
38331         * sunrpc/pm_getport.c: Likewise.
38332         * sunrpc/pmap_clnt.c: Likewise.
38333         * sunrpc/pmap_prot.c: Likewise.
38334         * sunrpc/pmap_prot2.c: Likewise.
38335         * sunrpc/pmap_rmt.c: Likewise.
38336         * sunrpc/publickey.c: Likewise.
38337         * sunrpc/rpc_cmsg.c: Likewise.
38338         * sunrpc/rpc_common.c: Likewise.
38339         * sunrpc/rpc_dtable.c: Likewise.
38340         * sunrpc/rpc_prot.c: Likewise.
38341         * sunrpc/rpc_thread.c: Likewise.
38342         * sunrpc/rtime.c: Likewise.
38343         * sunrpc/svc.c: Likewise.
38344         * sunrpc/svc_auth.c: Likewise.
38345         * sunrpc/svc_raw.c: Likewise.
38346         * sunrpc/svc_run.c: Likewise.
38347         * sunrpc/svc_tcp.c: Likewise.
38348         * sunrpc/svc_udp.c: Likewise.
38349         * sunrpc/svc_unix.c: Likewise.
38350         * sunrpc/svcauth_des.c: Likewise.
38351         * sunrpc/xcrypt.c: Likewise.
38352         * sunrpc/xdr.c: Likewise.
38353         * sunrpc/xdr_array.c: Likewise.
38354         * sunrpc/xdr_float.c: Likewise.
38355         * sunrpc/xdr_intXX_t.c: Likewise.
38356         * sunrpc/xdr_mem.c: Likewise.
38357         * sunrpc/xdr_rec.c: Likewise.
38358         * sunrpc/xdr_ref.c: Likewise.
38359         * sunrpc/xdr_sizeof.c: Likewise.
38360         * sunrpc/xdr_stdio.c: Likewise.
38361
38362 2012-05-10  Roland McGrath  <roland@hack.frob.com>
38363
38364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38365         change.  Update copyright years.
38366
38367 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38368
38369         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38370
38371 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
38372             Joseph Myers  <joseph@codesourcery.com>
38373             Paul Pluzhnikov  <ppluzhnikov@google.com>
38374
38375         [BZ #14012]
38376         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38377         requiring rpcgen.
38378         [cross-compiling] (extra-libs): Likewise.
38379         [cross-compiling] (extra-libs-others): Likewise.
38380         [cross-compiling] (librpcsvc-routines): Likewise.
38381         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38382         [cross-compiling] (omit-deps): Likewise.
38383         (sunrpc-CPPFLAGS): New variable.
38384         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38385         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38386         (cross-rpcgen-objs): New variable.
38387         (extra-objs): Append $(cross-rpcgen-objs).
38388         ($(cross-rpcgen-objs)): New rule.
38389         ($(objpfx)cross-rpcgen): Likewise.
38390         (rpcgen-cmd): Define to use $(built-program-file).  Expand
38391         comment.
38392         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38393         ($(objpfx)x%.stmp): Likewise.
38394         * sunrpc/proto.h [IS_IN_build] (_): Define.
38395         [IS_IN_build] (_libc_intl_domainname): Likewise.
38396
38397 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
38398
38399         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38400         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38401         and R_X86_64_TPOFF64.
38402
38403 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
38404
38405         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38406         sysdeps/unix/sysv/syscalls.list.
38407         (stime): Likewise.
38408         (utime): Likewise.
38409         * sysdeps/unix/sysv/syscalls.list: Remove file.
38410
38411 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
38412
38413         [BZ #3440]
38414         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38415         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38416         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38417         (__LC_IDENTIFICATION): Make these macros useful in #if
38418         expressions, as required by C99.
38419
38420 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
38421
38422         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38423         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
38424         after this.
38425
38426 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
38427
38428         * stdlib/longlong.h: Updated from GCC.
38429
38430 2012-05-09  Andreas Jaeger  <aj@suse.de>
38431
38432         * nscd/nscd.c (run_modes): Make named enum, reorder so that
38433         default is first entry.
38434         (run_mode): Set type.
38435         (main): Remove informal message about syslog.
38436         (options): Fix typo.
38437
38438         [BZ #14053]
38439         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38440         to asm.
38441         (lrint): Likewise.
38442         (llrintf): Likewise.
38443         (llrint): Likewise.
38444         (rint): Likewise.
38445         (rintf): Likewise.
38446         (nearbyint): Likewise.
38447         (nearbyintf): Likewise.
38448
38449 2012-05-09  Andreas Jaeger  <aj@suse.de>
38450             Pedro Alves  <palves@redhat.com>
38451
38452         * nscd/nscd.c (run_mode): Use enum.
38453         (main): Cleanup coding style issue.
38454
38455 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
38456             Andreas Jaeger  <aj@suse.de>
38457
38458         * nscd/nscd.c (go_background): Replaced with...
38459         (run_mode): ... this.
38460         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38461         (options): Add -F --foreground.
38462         (main): Implement it.
38463         (parse_opt): Parse it.
38464
38465 2012-05-09  Andreas Jaeger  <aj@suse.de>
38466
38467         [BZ #14083]
38468         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38469         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38470         -Wconversion warning.
38471         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38472         Likewise.
38473
38474 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
38475
38476         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
38477         == 0.
38478         (LC_ALL): Use macro-int-constant.
38479         (LC_COLLATE): Likewise.
38480         (LC_CTYPE): Likewise.
38481         (LC_MESSAGES): Likewise.
38482         (LC_MONETARY): Likewise.
38483         (LC_NUMERIC): Likewise.
38484         (LC_TIME): Likewise.
38485         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38486         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38487         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38488         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38489         Specify type.
38490         [C99-based standards] (float_t): Expect type.
38491         [C99-based standards] (double_t): Expect type.
38492         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
38493         type.
38494         [C99-based standards] (HUGE_VALL): Likewise.
38495         [C99-based standards] (INFINITY): Likewise.
38496         [C99-based standards] (NAN): Likewise.
38497         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38498         [C99-based standards] (FP_NAN): Likewise.
38499         [C99-based standards] (FP_NORMAL): Likewise.
38500         [C99-based standards] (FP_SUBNORMAL): Likewise.
38501         [C99-based standards] (FP_ZERO): Likewise.
38502         [C99-based standards] (FP_FAST_FMA): Use
38503         optional-macro-int-constant.  Specify type.  Require == 1.
38504         [C99-based standards] (FP_FAST_FMAF): Likewise.
38505         [C99-based standards] (FP_FAST_FMAL): Likewise.
38506         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38507         [C99-based standards] (FP_ILOGBNAN): Likewise.
38508         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38509         Specify type.
38510         [C99-based standards] (MATH_ERREXCEPT): Likewise.
38511         [C99-based standards] (math_errhandling): Specify type.
38512         [ISO99 || ISO11] (signgam): Do not allow.
38513         [non-C99-based standards] (copysignf): Do not allow.
38514         [non-C99-based standards] (exp2f): Likewise.
38515         [non-C99-based standards] (log2f): Likewise.
38516         [non-C99-based standards] (modff): Allow.
38517         [non-C99-based standards] (erff): Do not allow.
38518         [non-C99-based standards] (erfcf): Likewise.
38519         [non-C99-based standards] (gammaf): Likewise.
38520         [non-C99-based standards] (hypotf): Likewise.
38521         [non-C99-based standards] (j0f): Likewise.
38522         [non-C99-based standards] (j1f): Likewise.
38523         [non-C99-based standards] (jnf): Likewise.
38524         [non-C99-based standards] (lgammaf): Likewise.
38525         [non-C99-based standards] (tgammaf): Likewise.
38526         [non-C99-based standards] (y0f): Likewise.
38527         [non-C99-based standards] (y1f): Likewise.
38528         [non-C99-based standards] (ynf): Likewise.
38529         [non-C99-based standards] (isnanf): Likewise.
38530         [non-C99-based standards] (acoshf): Likewise.
38531         [non-C99-based standards] (asinhf): Likewise.
38532         [non-C99-based standards] (atanhf): Likewise.
38533         [non-C99-based standards] (cbrtf): Likewise.
38534         [non-C99-based standards] (expm1f): Likewise.
38535         [non-C99-based standards] (ilogbf): Likewise.
38536         [non-C99-based standards] (log1pf): Likewise.
38537         [non-C99-based standards] (logbf): Likewise.
38538         [non-C99-based standards] (nextafterf): Likewise.
38539         [non-C99-based standards] (remainderf): Likewise.
38540         [non-C99-based standards] (rintf): Likewise.
38541         [non-C99-based standards] (scalbf): Likewise.
38542         [non-C99-based standards] (copysignl): Likewise.
38543         [non-C99-based standards] (exp2l): Likewise.
38544         [non-C99-based standards] (log2l): Likewise.
38545         [non-C99-based standards] (modfl): Allow.
38546         [non-C99-based standards] (erfl): Do not allow.
38547         [non-C99-based standards] (erfcl): Likewise.
38548         [non-C99-based standards] (gammal): Likewise.
38549         [non-C99-based standards] (hypotl): Likewise.
38550         [non-C99-based standards] (j0l): Likewise.
38551         [non-C99-based standards] (j1l): Likewise.
38552         [non-C99-based standards] (jnl): Likewise.
38553         [non-C99-based standards] (lgammal): Likewise.
38554         [non-C99-based standards] (tgammal): Likewise.
38555         [non-C99-based standards] (y0l): Likewise.
38556         [non-C99-based standards] (y1l): Likewise.
38557         [non-C99-based standards] (ynl): Likewise.
38558         [non-C99-based standards] (isnanl): Likewise.
38559         [non-C99-based standards] (acoshl): Likewise.
38560         [non-C99-based standards] (asinhl): Likewise.
38561         [non-C99-based standards] (atanhl): Likewise.
38562         [non-C99-based standards] (cbrtl): Likewise.
38563         [non-C99-based standards] (expm1l): Likewise.
38564         [non-C99-based standards] (ilogbl): Likewise.
38565         [non-C99-based standards] (log1pl): Likewise.
38566         [non-C99-based standards] (logbl): Likewise.
38567         [non-C99-based standards] (nextafterl): Likewise.
38568         [non-C99-based standards] (remainderl): Likewise.
38569         [non-C99-based standards] (rintl): Likewise.
38570         [non-C99-based standards] (scalbl): Likewise.
38571         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38572         [non-C99-based standards] (FP_*): Do not allow.
38573         [C99-based standards] (FP_*): Change to
38574         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38575         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38576         allow.
38577         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38578         (SIG_ERR): Likewise.
38579         [X/Open-based standards] (SIG_HOLD): Likewise.
38580         (SIG_IGN): Likewise.
38581         (SIGABRT): Use macro-int-constant.  Specify type.  Require
38582         positive value.
38583         (SIGFPE): Likewise.
38584         (SIGILL): Likewise.
38585         (SIGINT): Likewise.
38586         (SIGSEGV): Likewise.
38587         (SIGTER): Likewise.
38588         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38589         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38590         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38591         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38592         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38593         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38594         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38595         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38596         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38597         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38598         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38599         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38600         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38601         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38602         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38603         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38604         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38605         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38606         [X/Open-based standards] (SIGTRAP): Likewise.
38607         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38608         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38609         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38610         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38611         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38612         allow.
38613
38614 2012-05-08  Ian Wienand  <ianw@vmware.com>
38615
38616         [BZ #14080]
38617         * time/tzset.c (__tzset_parse_tz): Update default rules for
38618         daylight time changes in the Energy Policy Act of 2005.
38619
38620 2012-05-09  Andreas Jaeger  <aj@suse.de>
38621
38622         [BZ #13983]
38623         * elf/ldconfig.c (parse_conf): Change string to make clear that
38624         ldconfig only issued a warning if ld.so.conf does not exist.
38625
38626 2012-05-08  David S. Miller  <davem@davemloft.net>
38627
38628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38629         movxtod instead of popping the value on the stack.
38630
38631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38632
38633 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
38634
38635         * config.h.in: Add HAVE_ARM_PCS_VFP.
38636
38637 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
38638
38639         [BZ #13979]
38640         * include/features.h: Warn if user requests __FORTIFY_SOURCE
38641         checking but the checks are disabled for any reason.
38642
38643 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
38644
38645         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38646         and ELF64_R_TYPE with ELFW(R_TYPE).
38647
38648 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
38649
38650         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38651         (ulimit): Likewise.
38652
38653         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38654         (settimeofday): Likewise.
38655
38656 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
38657
38658         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
38659         a struct th_u2 inside the union, and move tu_block/tu_code into
38660         a new th_u3 union of tu_block/tu_code inside of that.  Move
38661         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
38662         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
38663         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38664         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38665         (th_stuff): Change to th_u1.tu_stuff.
38666         (th_data): Define.
38667         (th_msg): Change to th_u1.th_u2.tu_data.
38668
38669 2012-05-07  David S. Miller  <davem@davemloft.net>
38670
38671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38672
38673         [BZ #14074]
38674         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38675         (SETUP_PIC_REG): Use it.
38676         (SETUP_PIC_REG_LEAF): Use it.
38677
38678 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
38679
38680         [BZ #13885]
38681         [BZ #13923]
38682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38683         USE_AS_EXPM1L.
38684         (EXPL_FINITE): Likewise.
38685         (FLDLOG): Likewise.
38686         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38687         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38688         e_expl.S.
38689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38690         USE_AS_EXPM1L.
38691         (EXPL_FINITE): Likewise.
38692         (FLDLOG): Likewise.
38693         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38694         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38695         e_expl.S.
38696         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
38697         test of -max_value argument for long double.
38698         * sysdeps/i386/fpu/libm-test-ulps: Update.
38699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38700
38701 2012-05-06  David S. Miller  <davem@davemloft.net>
38702
38703         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38704         quad soft-float symbols whose references which are compiler
38705         generated.
38706         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38707
38708 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
38709
38710         [BZ #13884]
38711         [BZ #13914]
38712         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38713         USE_AS_EXP10L.
38714         (EXPL_FINITE): Likewise.
38715         (FLDLOG): Likewise.
38716         (c0): Likewise.
38717         (c1): Likewise.
38718         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38719         Adjust comments for base varying.
38720         (__expl_finite): Change alias to EXPL_FINITE.
38721         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38722         e_expl.S.
38723         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38724         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38725         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38726         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38727         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38728         USE_AS_EXP10L.
38729         (EXPL_FINITE): Likewise.
38730         (FLDLOG): Likewise.
38731         (c0): Likewise.
38732         (c1): Likewise.
38733         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
38734         Adjust comments for base varying.
38735         (__expl_finite): Change alias to EXPL_FINITE.
38736         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
38737         tests for bugs.
38738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38739
38740         [BZ #14064]
38741         * math/libm-test.inc (check_float_internal): Correct ulp
38742         calculation for subnormal expected results.
38743
38744 2012-05-06  Andreas Jaeger  <aj@suse.de>
38745
38746         * Makeconfig (+math-flags): New, set to -frounding-math.
38747         (+cflags): Add +math-flags so that all of glibc gets compiled with
38748         it.
38749
38750         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38751
38752 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
38753
38754         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38755         Disable one test.
38756
38757         [BZ #13787]
38758         [BZ #13922]
38759         [BZ #14036]
38760         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38761         (__ieee754_expl): Allow for and saturate large arguments.
38762         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38763         (u_threshold): Likewise.
38764         (__exp): Call __ieee754_exp before checking for overflow and
38765         underflow.
38766         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38767         (u_threshold): Likewise.
38768         (__expf): Call __ieee754_expf before checking for overflow and
38769         underflow.
38770         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38771         (u_threshold): Likewise.
38772         (__expl): Call __ieee754_expl before checking for overflow and
38773         underflow.
38774         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38775         (__ieee754_expl): Allow for and saturate large arguments.
38776         * math/libm-test.inc (exp_test): Add another test.  Do not allow
38777         missing overflow exception on overflow.
38778         (expm1_test): Do not allow missing overflow exception on overflow.
38779
38780         * sysdeps/i386/fpu/e_expl.c: Move to ...
38781         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38782         rather than using inline asm.
38783         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38784         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38785         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38786
38787         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38788         (nice): Likewise.
38789         (poll): Likewise.
38790         (signal): Likewise.
38791         (time): Likewise.
38792         (times): Likewise.
38793
38794 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38795
38796         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38797         sysdeps/unix/common/syscalls.list.
38798         (fchmod): Likewise.
38799         (fchown): Likewise.
38800         (ftruncate): Likewise.
38801         (getrusage): Likewise.
38802         (gettimeofday): Likewise.
38803         (setpgid): Likewise.
38804         (setregid): Likewise.
38805         (setreuid): Likewise.
38806         (sigaction): Likewise.
38807         (truncate): Likewise.
38808         (vhangup): Likewise.
38809         * sysdeps/unix/common/syscalls.list: Remove file.
38810         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38811         * sysdeps/unix/sysv/linux/Implies: Likewise.
38812
38813 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38814
38815         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38817         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38818         Moved to ...
38819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38820         Here.
38821         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38822         to ...
38823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38824         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38825         to ...
38826         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38827         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38828         to ...
38829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38830         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38831         to ...
38832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38833         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38834         to ...
38835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38836         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38837         to ...
38838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38839         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38840         to ...
38841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38842         Here.
38843         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38844         to ...
38845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38846         Here.
38847         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38848         to ...
38849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38850         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38851         Moved to ...
38852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38853         Here.
38854         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38855         to ...
38856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38857
38858 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38859
38860         * sysdeps/unix/common/bits/dirent.h: Remove file.
38861         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38862
38863         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38864         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38865         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38866         * sysdeps/unix/bsd/isatty.c: Likewise.
38867         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38868         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38869         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38870
38871 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38872
38873         [BZ #13563]
38874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38875         long double comparison inaccuracies.
38876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38878
38879 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38880
38881         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38882         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38883
38884 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38885
38886         [BZ #14049]
38887         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38888         nonzero digits before rounding a hex value.
38889         * stdlib/tst-strtod.c (tests): Add another test.
38890
38891 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38892
38893         * sysdeps/s390/fpu/libm-test-ulps: Update.
38894
38895 2012-05-03  Andreas Jaeger  <aj@suse.de>
38896
38897         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38898         does not get optimized out.
38899         (malloc_opt_barrier): New.
38900
38901 2012-05-03  Andreas Jaeger  <aj@suse.de>
38902             Roland McGrath  <roland@hack.frob.com>
38903
38904         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38905         intermediate file deletion.
38906         (generated): Add .symlist files.
38907
38908 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38909
38910         [BZ #13775]
38911         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38912         Redirect under this condition.
38913         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38914         [__USE_GNU] (__dprintf_chk): Not under this condition.
38915         [__USE_GNU] (__vdprintf_chk): Likewise.
38916         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38917         under this condition.
38918         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38919         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38920         [__USE_XOPEN2K8] (vdprintf): Likewise.
38921         [__USE_GNU] (__dprintf_chk): Not under this condition.
38922         [__USE_GNU] (__vdprintf_chk): Likewise.
38923         [__USE_GNU] (dprintf): Likewise.
38924         [__USE_GNU] (vdprintf): Likewise.
38925
38926 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38927
38928         * elf/Makefile (common-generated): Set this instead of generated for
38929         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38930         $(all-built-dso)-derived lists.
38931
38932 2012-05-03  Andreas Jaeger  <aj@suse.de>
38933
38934         * sysdeps/i386/fpu/libm-test-ulps: Update.
38935
38936         * FAQ: Removed.
38937         * FAQ.in: Likewise.
38938         * scripts/gen-FAQ.pl: Likewise.
38939         * manual/install.texi (Installation): Point to online location of
38940         FAQ.
38941         * Makefile (files-for-dist): Remove FAQ.
38942         (FAQ): Remove.
38943
38944 2012-05-02  Allan McRae  <allan@archlinux.org>
38945
38946         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38947         (LDFLAGS-reldepmod5.so): Likewise.
38948         (LDFLAGS-reldep6mod1.so): Likewise.
38949         (LDFLAGS-reldep6mod4.so): Likewise.
38950         (LDFLAGS-reldep8mod3.so): Likewise.
38951         (LDFLAGS-unload4mod1.so): Likewise.
38952         (LDFLAGS-unload4mod2.so): Likewise.
38953         (LDFLAGS-tst-initorder): Likewise.
38954         (LDFLAGS-tst-initordera2.so): Likewise.
38955         (LDFLAGS-tst-initordera3.so): Likewise.
38956         (LDFLAGS-tst-initordera4.so): Likewise.
38957         (LDFLAGS-tst-initorderb2.so): Likewise.
38958         (LDFLAGS-noload): Likewise.
38959         (LDFLAGS-next): Likewise.
38960         (LDFLAGS-order2mod1.so): Likewise.
38961         (LDFLAGS-order2mod2.so): Likewise.
38962         (LDFLAGS-tst-initorder2): Likewise.
38963         (LDFLAGS-tst-initorder2a.so): Likewise.
38964         (LDFLAGS-tst-initorder2b.so): Likewise.
38965         (LDFLAGS-tst-initorder2c.so): Likewise.
38966         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38967
38968 2012-05-02  David S. Miller  <davem@davemloft.net>
38969
38970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38971
38972 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38973
38974         [BZ #14055]
38975         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38976
38977 2012-05-02  Andreas Jaeger  <aj@suse.de>
38978
38979         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38980         since we manipulate rounding mode.
38981         (CPPFLAGS-test-idouble.c): Likewise.
38982         (CPPFLAGS-test-ifloat.c): Likewise.
38983         (CFLAGS-test-ldouble.c): Likewise.
38984         (CFLAGS-test-double.c): Likewise.
38985         (CFLAGS-test-float.c): Likewise.
38986         (CFLAGS-test-misc.c): Likewise.
38987         (CFLAGS-test-test-fenv.c): Likewise.
38988
38989 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38990
38991         [BZ #2550]
38992         [BZ #2570]
38993         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38994         comparisons to determine direction to adjust input.
38995
38996 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38997
38998         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38999         output to the target.
39000
39001         * scripts/localplt.awk: New file.
39002         * elf/Makefile ($(objpfx)check-localplt): Target removed.
39003         (check-localplt-CFLAGS): Variable removed.
39004         ($(all-built-dso:=.jmprel)): New static pattern rule.
39005         (generated): Add those targets.
39006         (localplt-built-dso): New variable.
39007         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39008
39009         * elf/check-localplt.c: File removed.
39010
39011         * scripts/check-execstack.awk: New file.
39012         * elf/Makefile ($(objpfx)check-execstack): Target removed.
39013         (check-execstack-CFLAGS): Variable removed.
39014         ($(objpfx)check-execstack.h): Target removed.
39015         ($(objpfx)execstack-default): New target.
39016         (generated): Add that instead of check-execstack.h.
39017         ($(all-built-dso:=.phdr)): New static pattern rule.
39018         (generated): Add those targets.
39019         * elf/check-execstack.c: File removed.
39020
39021         * scripts/check-textrel.awk: New file.
39022         * elf/Makefile ($(objpfx)check-textrel): Target removed.
39023         (check-textrel-CFLAGS): Variable removed.
39024         (all-built-dso): Use := to define.o
39025         ($(all-built-dso:=.dyn)): New static pattern rule.
39026         (generated): Add those targets.
39027         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39028         * config.make.in (READELF): New substituted variable.
39029         * elf/check-textrel.c: File removed.
39030
39031 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39032
39033         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39034         allow.
39035         * conform/data/ctype.h-data [C99-based standards] (isblank):
39036         Expect function.
39037         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39038         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39040         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39041         Specify type.  Require positive value.
39042         (EILSEQ): Likewise.
39043         (ERANGE): Likewise.
39044         [ISO || POSIX] (EILSEQ): Do not expect.
39045         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39046         Specify type.  Require positive value.
39047         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39048         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39049         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39050         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39051         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39052         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39053         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39054         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39055         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39056         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39057         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39058         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39059         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39060         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39061         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39062         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39063         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39064         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39065         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39066         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39067         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39068         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39069         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39070         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39071         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39072         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39073         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39074         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39075         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39076         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39077         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39078         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39079         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39080         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39081         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39082         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39083         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39084         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39085         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39086         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39087         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39088         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39089         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39090         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39091         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39092         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39093         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39094         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39095         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39096         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39097         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39098         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39099         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39100         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39101         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39102         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39103         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39104         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39105         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39106         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39107         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39108         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39109         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39110         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39111         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39112         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39113         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39114         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39115         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39116         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39117         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39118         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39119         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39120         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39121         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39122         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39123         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39124         Require >= 2.
39125         (FLT_ROUNDS): Expect as macro, not constant.
39126         (FLT_MANT_DIG): Use macro-int-constant.
39127         (DBL_MANT_DIG): Likewise.
39128         (LDBL_MANT_DIG): Likewise.
39129         (FLT_DIG): Likewise.
39130         (DBL_DIG): Likewise.
39131         (LDBL_DIG): Likewise.
39132         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
39133         (DBL_MIN_EXP): Likewise.
39134         (LDBL_MIN_EXP): Likewise.
39135         (FLT_MAX_EXP): Use macro-int-constant.
39136         (DBL_MAX_EXP): Likewise.
39137         (LDBL_MAX_EXP): Likewise.
39138         (FLT_MAX_10_EXP): Likewise.
39139         (DBL_MAX_10_EXP): Likewise.
39140         (LDBL_MAX_10_EXP): Likewise.
39141         (FLT_MAX): Use macro-constant.
39142         (DBL_MAX): Likewise.
39143         (LDBL_MAX): Likewise.
39144         (FLT_EPSILON): Use macro-constant.  Give upper bound.
39145         (DBL_EPSILON): Likewise.
39146         (LDBL_EPSILON): Likewise.
39147         (FLT_MIN): Likewise.
39148         (DBL_MIN): Likewise.
39149         (LDBL_MIN): Likewise.
39150         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39151         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39152         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39153         [ISO11] (FLT_HAS_SUBNORM): Likewise.
39154         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39155         [ISO11] (DBL_DECIMAL_DIG): Likewise.
39156         [ISO11] (FLT_DECIMAL_DIG): Likewise.
39157         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39158         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39159         [ISO11] (FLT_TRUE_MIN): Likewise.
39160         [ISO11] (LDBL_TRUE_MIN): Likewise.
39161         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39162         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39163         (SCHAR_MIN): Use macro-int-constant.  Specify type.
39164         (SCHAR_MAX): Likewise.
39165         (UCHAR_MAX): Likewise.
39166         (CHAR_MIN): Likewise.
39167         (CHAR_MAX): Likewise.
39168         (MB_LEN_MAX): Use macro-int-constant.
39169         (SHRT_MIN): Use macro-int-constant.  Specify type.
39170         (SHRT_MAX): Likewise.
39171         (USHRT_MAX): Likewise.
39172         (INT_MAX): Likewise.
39173         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
39174         bound negative.
39175         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39176         bound with "U".
39177         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39178         bound with "L".
39179         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
39180         bound negative.  Suffix upper bound with "L".
39181         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
39182         bound with "UL".
39183         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39184         Specify type.
39185         [C99-based standards] (LLONG_MAX): Likewise.
39186         [C99-based standards] (ULLONG_MAX): Likewise.
39187         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
39188         == 0.
39189         [ISO11] (max_align_t): Require type.
39190         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39191
39192         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39193         from $CFLAGS, without defining away __attribute__ calls.
39194         (checknamespace): Use $CFLAGS_namespace.
39195
39196         * conform/conformtest.pl (@keywords): Only include C99 keywords
39197         for standards based on C99 or C11.
39198
39199         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39200         Disable tests.
39201         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39202         UNIX98]: Likewise.
39203
39204         * conform/conformtest.pl: Handle "macro-int-constant" and test for
39205         usability of symbols in #if.
39206
39207         * conform/conformtest.pl: If macro or constant types start
39208         "promoted:", expect the symbol to be of the following type
39209         promoted by the integer promotions.
39210
39211         * conform/conformtest.pl: Parse all "constant" and "macro" lines
39212         in one place.  Also handle "macro-constant".
39213
39214         * conform/conformtest.pl: Only accept expected macro values with
39215         "==".  Parse all "macro" lines in one place.
39216         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39217
39218         * conform/conformtest.pl: Handle braced types on "constant" lines
39219         instead of handling "typed-constant".
39220         * conform/data/signal.h-data: Use "constant" instead of
39221         "typed-constant".
39222
39223         * conform/conformtest.pl: Handle "optional-" at start of lines in
39224         one place rather than duplicating several cases.  Handle each
39225         format of "macro" line with initial "optional-".
39226
39227         * conform/conformtest.pl: Only accept expected constant or
39228         optional-constant values with "==".  Parse all "constant" lines in
39229         one place.  Parse all "optional-constant" lines in one place.
39230         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39231         * conform/data/fmtmsg.h-data: Likewise.
39232         * conform/data/netinet/in.h-data: Likewise.
39233         * conform/data/tar.h-data: Likewise.
39234         * conform/data/limits.h-data: Use "==" form on "constant" and
39235         "optional-constant" lines.
39236
39237         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39238         Use -std=c99 for XOPEN2K.
39239         (@knownproblems): Remove.
39240         (newtoken): Don't check %isknown.
39241
39242         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39243         Do not expect macro.
39244         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39245         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39246         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39247         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39248         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39249         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39250         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39251         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39252         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39253         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39254         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39255         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39256         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39257         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39258         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39259         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39260         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39261         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39262         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39263         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39264         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39265         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39266         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39267         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39268         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39269         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39270         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39271         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39272         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39273         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39274         [XPG3] (acosh): Likewise.
39275         [XPG3] (asinh): Likewise.
39276         [XPG3] (atanh): Likewise.
39277         [XPG3] (cbrt): Likewise.
39278         [XPG3] (expm1): Likewise.
39279         [XPG3] (ilogb): Likewise.
39280         [XPG3] (log1p): Likewise.
39281         [XPG3] (logb): Likewise.
39282         [XPG3] (nextafter): Likewise.
39283         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39284         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39285         [XPG3] (remainder): Likewise.
39286         [XPG3] (rint): Likewise.
39287         [XPG3 || XPG4 || UNIX98] (round): Likewise.
39288         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39289         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39290         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39291         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39292         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39293         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39294         [UNIX98 || XOPEN2K] (scalb): Expect.
39295         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39296         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39297         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39298         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39299         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39300         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39301         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39302         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39303         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39304         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39305         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39306         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39307         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39308         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39309         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39310         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39311         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39312         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39313         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39314         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39315         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39316         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39317         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39318         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39319         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39320         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39321         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39322         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39323         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39324         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39325         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39326         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39327         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39328         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39329         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39330         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39331         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39332         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39333         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39334         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39335         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39336         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39337         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39338         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39339         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39340         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39341         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39342         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39343         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39344         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39345         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39346         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39347         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39348         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39349         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39350         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39351         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39352         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39353         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39354         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39355         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39356         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39357         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39358         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39359         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39360         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39361         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39362         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39363         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39364         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39365         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39366         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39367         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39368         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39369         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39370         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39371         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39372         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39373         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39374         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39375         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39376         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39377         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39378         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39379         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39380         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39381         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39382         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39383         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39384         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39385         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39386         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39387         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39388         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39389         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39390         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39391         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39392         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39393         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39394         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39395         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39396         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39397         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39398         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39399         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39400         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39401         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39402         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39403         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39404         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39405         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39406         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39407         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39408         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39409         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39410         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39411         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39412         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39413         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39414         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39415         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39416         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39417         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39418         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39419         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39420         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39421         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39422         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39423         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39424         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39425         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39426         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39427         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39428         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39429         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39430         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39431         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39432
39433         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39434         _XOPEN_SOURCE_EXTENDED for XPG4.
39435
39436         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39437
39438         * Makeconfig (localtime): Remove variable.
39439         (inst_localtime-file): Likewise.
39440
39441 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39442
39443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39444         Update.
39445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39446         Update.
39447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39448         Update.
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39450         Update.
39451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39452         Update.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39454         Update.
39455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39456         Update.
39457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39458         Update.
39459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39460         Update.
39461
39462 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
39463
39464         [BZ #2550]
39465         [BZ #2570]
39466         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39467         comparisons to determine direction to adjust input.
39468         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39469         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39470         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39471         Likewise.
39472         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39473         Likewise.
39474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39475         Likewise.
39476         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39477         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39478         Likewise.
39479         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39480         Likewise.
39481         * math/libm-test.inc (nexttoward_test): Add more tests.
39482
39483 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39484
39485         [BZ #14040]
39486         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39487         in version GLIBC_2.1, not GLIBC_2.0.
39488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39489         Likewise.
39490
39491 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
39492
39493         [BZ #13942]
39494         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39495         (1 - x) * (1 + x).
39496         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39497         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39498         * math/libm-test.inc (acos_test): Add more tests.
39499         (asin_test): Likewise.
39500         * sysdeps/i386/fpu/libm-test-ulps: Update.
39501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39502
39503         [BZ #14034]
39504         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39505         of square root.
39506         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39507         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39508         * math/libm-test.inc (acos_test_tonearest): New function.
39509         (acos_test_towardzero): Likewise.
39510         (acos_test_downward): Likewise.
39511         (acos_test_upward): Likewise.
39512         (asin_test_tonearest): Likewise.
39513         (asin_test_towardzero): Likewise.
39514         (asin_test_downward): Likewise.
39515         (asin_test_upward): Likewise.
39516         (main): Call the new functions.
39517         * sysdeps/i386/fpu/libm-test-ulps: Update.
39518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39519
39520         [BZ #13884]
39521         [BZ #13924]
39522         * math/e_exp10.c: Include <float.h>.
39523         (__ieee754_exp10): Handle underflow here rather than multiplying
39524         large negative argument by M_LN10.
39525         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39526         of __ieee754_expf.
39527         * math/e_exp10l.c: Include <float.h>.
39528         (__ieee754_exp10l): Handle underflow here rather than multiplying
39529         large negative argument by M_LN10l.
39530         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
39531         spurious overflow exception on underflow.
39532
39533 2012-04-29  Marek Polacek  <polacek@redhat.com>
39534
39535         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39536         (__fortify_function): New macro.
39537         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39538         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39539         __extern_always_inline.
39540         * libio/bits/stdio2.h: Likewise.
39541         * libio/bits/stdio.h: Likewise.
39542         * string/string.h: Likewise.
39543         * string/bits/string3.h: Likewise.
39544         * include/stdio.h: Likewise.
39545         * stdlib/bits/stdlib.h: Likewise.
39546         * stdlib/stdlib.h: Likewise.
39547         * rt/bits/mqueue2.h: Likewise.
39548         * rt/mqueue.h: Likewise.
39549         * posix/bits/unistd.h: Likewise.
39550         * posix/unistd.h: Likewise.
39551         * io/bits/poll2.h: Likewise.
39552         * io/bits/fcntl2.h: Likewise.
39553         * io/fcntl.h: Likewise.
39554         * io/sys/poll.h: Likewise.
39555         * misc/bits/syslog.h: Likewise.
39556         * misc/bits/syslog-ldbl.h: Likewise.
39557         * misc/sys/syslog.h: Likewise.
39558         * socket/bits/socket2.h: Likewise.
39559         * socket/sys/socket.h: Likewise.
39560         * debug/tst-chk1.c: Likewise.
39561         * wcsmbs/bits/wchar2.h: Likewise.
39562         * wcsmbs/bits/wchar-ldbl.h: Likewise.
39563         * wcsmbs/wchar.h: Likewise.
39564
39565 2012-04-29  Andreas Jaeger  <aj@suse.de>
39566
39567         * Makerules (tests): Remove enable-check-abi protection.
39568         (check-abi-warn): Remove.
39569         (check-abi-%): Remove check-abi-warn usage.
39570
39571         * configure.in: Remove check-abi configure option.
39572         * configure: Regenerated.
39573         * config.make.in (enable-check-abi): Remove.
39574
39575 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
39576
39577         [BZ #14033]
39578         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39579         double functions to double *_finite functions.
39580
39581         [BZ #13941]
39582         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39583         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39584         LDBL_MIN_EXP.
39585         * stdio-common/Makefile (tests): Add tst-sprintf3.
39586         * stdio-common/tst-sprintf3.c: New file.
39587
39588         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39589         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39590
39591 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39592
39593         * conform/conformtest.pl: Remove duplicate typed-constant
39594         handling.
39595
39596 2012-04-28  David S. Miller  <davem@davemloft.net>
39597
39598         * Makerules (%.abilist): Add vpath on sysdep_dirs.
39599         (check-abi-%): Remove AWK script prerequisite and explicit
39600         abilist directory.
39601         (check-abi): Rewrite to just diff the symlist with the abilist.
39602         (config-tls, config-abi-config): Delete, no longer used.
39603         (update-abi-%): Remove AWK script and explicit abilist directory.
39604         (update-abi): Rewrite to simply compare and conditionally copy the
39605         symlist and the sysdep abilist file.  Remove update-abi-config
39606         checks.
39607         * abilist/ld.abilist: Remove.
39608         * abilist/libBrokenLocale.abilist: Remove.
39609         * abilist/libanl.abilist: Remove.
39610         * abilist/libcrypt.abilist: Remove.
39611         * abilist/libdl.abilist: Remove.
39612         * abilist/librt.abilist: Remove.
39613         * abilist/libthread_db.abilist: Remove.
39614         * abilist/libutil.abilist: Remove.
39615         * scripts/extract-abilist.awk: Remove.
39616         * scripts/merge-abilist.awk: Remove.
39617         * sysdeps/generic/libcidn.abilist: New file.
39618         * sysdeps/generic/libnss_compat.abilist: New file.
39619         * sysdeps/generic/libnss_db.abilist: New file.
39620         * sysdeps/generic/libnss_dns.abilist: New file.
39621         * sysdeps/generic/libnss_files.abilist: New file.
39622         * sysdeps/generic/libnss_hesiod.abilist: New file.
39623         * sysdeps/generic/libnss_nis.abilist: New file.
39624         * sysdeps/generic/libnss_nisplus.abilist: New file.
39625         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39626         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39627         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39628         file.
39629         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39630         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39631         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39632         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39633         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39634         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39635         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39636         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39637         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39638         file.
39639         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39640         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39641         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39642         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39643         file.
39644         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39645         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39646         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39647         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39648         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39649         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39650         file.
39651         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39652         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39653         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39654         file.
39655         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39657         New file.
39658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39659         New file.
39660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39661         New file.
39662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39663         New file.
39664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39665         New file.
39666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39667         New file.
39668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39669         New file.
39670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39671         New file.
39672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39673         New file.
39674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39675         New file.
39676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39677         New file.
39678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39679         New file.
39680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39681         New file.
39682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39683         file.
39684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39685         New file.
39686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39687         New file.
39688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39689         file.
39690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39691         New file.
39692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39693         New file.
39694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39695         file.
39696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39697         New file.
39698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39699         New file.
39700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39701         New file.
39702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39703         New file.
39704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39705         New file.
39706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39707         New file.
39708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39710         file.
39711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39712         New file.
39713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39714         file.
39715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39716         file.
39717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39718         file.
39719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39720         file.
39721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39722         file.
39723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39724         New file.
39725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39726         file.
39727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39728         file.
39729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39730         New file.
39731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39732         file.
39733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39735         file.
39736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39737         New file.
39738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39739         file.
39740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39741         file.
39742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39743         file.
39744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39745         file.
39746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39747         file.
39748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39749         New file.
39750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39751         file.
39752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39753         file.
39754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39755         New file.
39756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39757         file.
39758         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39759         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39760         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39761         file.
39762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39763         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39764         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39765         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39766         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39767         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39768         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39769         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39770         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39771         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39774         file.
39775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39776         New file.
39777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39778         file.
39779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39780         file.
39781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39782         file.
39783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39784         file.
39785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39786         file.
39787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39788         New file.
39789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39790         New file.
39791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39792         file.
39793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39794         New file.
39795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39796         file.
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39799         file.
39800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39801         New file.
39802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39803         file.
39804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39805         file.
39806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39807         file.
39808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39809         file.
39810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39811         file.
39812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39813         New file.
39814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39815         New file.
39816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39817         file.
39818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39819         New file.
39820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39821         file.
39822
39823 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39824
39825         * conform/conformtest.pl: Fix typo in handling typed-constant from
39826         allow-header.
39827
39828 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39829
39830         * README: Cut down references to pre-2.6 Linux kernels and
39831         Linuxthreads.  Update lists of configurations in libc and ports
39832         and sort alphabetically.  Say "or newer" with Linux kernel version
39833         requirements.
39834
39835         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39836
39837 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39838
39839         [BZ #887]
39840         * math/libm-test.inc (logb_test_downward): New test to expose
39841         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39842         rounding mode.
39843
39844 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39845
39846         [BZ #14027]
39847         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39848         to be done.
39849         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39850         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39851
39852 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39853
39854         * sysdeps/unix/i386/brk.S: Remove file.
39855         * sysdeps/unix/i386/dl-brk.S: Likewise.
39856         * sysdeps/unix/i386/pipe.S: Likewise.
39857         * sysdeps/unix/i386/sigreturn.S: Likewise.
39858         * sysdeps/unix/i386/syscall.S: Likewise.
39859         * sysdeps/unix/i386/vfork.S: Likewise.
39860         * sysdeps/unix/i386/wait.S: Likewise.
39861
39862         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39863         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39864
39865         * configure.in (arm*-none*): Do not allow without
39866         --enable-hacker-mode.
39867         (netbsd*): Remove case setting base_os.
39868         (386bsd*): Likewise.
39869         (freebsd*): Likewise.
39870         (bsdi*): Likewise.
39871         (osf*): Likewise.
39872         (sunos*): Likewise.
39873         (ultrix*): Likewise.
39874         (newsos*): Likewise.
39875         (dynix*): Likewise.
39876         (*bsd*): Likewise.
39877         (sysv*): Likewise.
39878         (isc*): Likewise.
39879         (esix*): Likewise.
39880         (sco*): Likewise.
39881         (minix*): Likewise.
39882         (irix4*): Likewise.
39883         (irix6*): Likewise.
39884         (solaris[2-9]*): Likewise.
39885         (none): Likewise.
39886         * configure: Regenerated.
39887
39888 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39889
39890         [BZ #11521]
39891         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39892         overflow or cancellation in calculating denominator.
39893         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39895         down expression to avoid unexpected rounding in newer GCCs.
39896         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39897
39898 2012-04-26  David S. Miller  <davem@davemloft.net>
39899
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39901         long-double compat symbols.
39902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39915
39916 2012-04-25  David S. Miller  <davem@davemloft.net>
39917
39918         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39919         HWCAP_* values only after the memory barriers have been defined.
39920         (atomic_full_barrier): Define.
39921         (atomic_read_barrier): Define.
39922         (atomic_write_barrier): Define.
39923
39924 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39925
39926         * shlib-versions: Add libgcc_s version information.
39927         * sysdeps/generic/libgcc_s.h: Remove.
39928         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39929         libgcc_s.h.
39930         * sysdeps/gnu/unwind-resume.c: Likewise.
39931         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39932
39933 2012-04-25  David S. Miller  <davem@davemloft.net>
39934
39935         * sysdeps/unix/sparc/brk.S: Delete.
39936         * sysdeps/unix/sparc/dl-brk.S: Delete.
39937         * sysdeps/unix/sparc/pipe.S: Delete.
39938         * sysdeps/unix/sparc/sysdep.S: Delete.
39939         * sysdeps/unix/sparc/sysdep.h: Delete.
39940         * sysdeps/unix/sparc/vfork.S: Delete.
39941         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39942         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39943         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39944         (ret_ERRVAL, r0, r1, MOVE): Define.
39945         (JUMPTARGET): Remove.
39946         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39947         sysdeps/unix/sparc/sysdep.h
39948         (ENTRY, END): Remove.
39949         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39950
39951 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39952
39953         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39954         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39955         -DIS_IN_build.
39956
39957         * timezone/README: Update upstream location and email address for
39958         tzcode and tzdata.
39959         * timezone/zdump.c: Update from tzcode 2012b.
39960         * timezone/zic.c: Likewise.
39961
39962         * configure.in (libc_cv_as_needed): Remove test.
39963         * configure: Regenerated.
39964         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39965         conditional definition.
39966         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39967         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39968         * config.make.in (have-as-needed): Remove variable.
39969
39970 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39971             Paul Pluzhnikov  <ppluzhnikov@google.com>
39972
39973         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39974         strings correctly.
39975
39976 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39977
39978         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39979         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39980         * sysdeps/sh/strlen.S: Likewise.
39981
39982 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39983
39984         * sysdeps/unix/fork.S: Remove file.
39985         * sysdeps/unix/i386/fork.S: Likewise.
39986         * sysdeps/unix/sparc/fork.S: Likewise.
39987
39988         * sysdeps/unix/system.c: Remove file.
39989         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39990
39991         * sysdeps/unix/getegid.S: Remove file.
39992         * sysdeps/unix/geteuid.S: Likewise.
39993
39994 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39995
39996         * scripts/check-localplt.awk: New file.
39997         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39998         of diff.
39999         * scripts/data/localplt-generic.data: Add a comment.
40000
40001         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40002         NODE when __dir_mkfile failed.
40003         * sysdeps/mach/hurd/symlinkat.c: Likewise.
40004         Reported by Ludovic Courtès <ludo@gnu.org>.
40005
40006 2012-04-24  Andreas Jaeger  <aj@suse.de>
40007
40008         * Makerules (common-clean): Also remove gen-as-const-headers
40009         files.
40010
40011 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40012
40013         * Makerules (native-compile): Do not change working directory for
40014         build.  Use $(OUTPUT_OPTION) in command.
40015         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40016
40017 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40018
40019         [BZ #13886]
40020         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40021         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40022         * math/libm-test.inc (floor_test): Add more tests.
40023         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40024
40025 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
40026
40027         * sysdeps/unix/getdents.c: Remove file.
40028         * sysdeps/unix/sysv/getdents.c: Likewise.
40029         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40030
40031         * sysdeps/unix/syscalls.list (madvise): Add syscall from
40032         sysdeps/unix/mman/syscalls.list.
40033         (mmap): Likewise.
40034         (mprotect): Likewise.
40035         (msync): Likewise.
40036         (munmap): Likewise.
40037         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40038         * sysdeps/unix/mman/syscalls.list: Remove.
40039         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40040
40041         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40042         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40043         * configure: Regenerated.
40044         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40045         $(libgcc_s_suffix).
40046         * config.make.in (libgcc_s_suffix): Remove variable.
40047
40048 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
40049
40050         * sysdeps/unix/sysv/gethostname.c: Move to ...
40051         * sysdeps/posix/gethostname.c: ... here.
40052
40053         * sysdeps/unix/execve.S: Remove file.
40054
40055         * sysdeps/unix/_exit.S: Remove file.
40056
40057 2012-04-23  Andreas Jaeger  <aj@suse.de>
40058
40059         [BZ #13739]
40060         * manual/Makefile: Remove make dist support, there's no
40061         need for a stand-alone documentation tar ball.
40062         (TEXI2DVI): Define always, it's not in Makeconfig.
40063         (dist): Removed.
40064         (tar-it): Removed.
40065         (edition): Removed.
40066         (glibc-doc-$(edition).tar): Removed
40067         (%.Z): Removed.
40068         (%.gz): Removed.
40069         (%.uu): Removed.
40070         (ETAGS): Remove, it's in Makeconfig.
40071         (move-if-change): Remove, it's in Makeconfig.
40072
40073 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
40074
40075         [BZ #13970]
40076         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40077         (strtod, strtof, strtold, strtol, strtoul, strtoq)
40078         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40079         (strtod_l, strtof_l, strtold_l): Remove __wur.
40080         It is not necessarily an error to ignore strtol's return value.
40081         One can reliably look at the stored endptr to decide whether
40082         the number had valid syntax.
40083
40084 2012-04-21  Andreas Jaeger  <aj@suse.de>
40085
40086         [BZ #13739]
40087         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40088
40089 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
40090
40091         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40092         * sysdeps/unix/sysv/Versions: Remove file.
40093
40094 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
40095
40096         [BZ #13927]
40097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40098
40099 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
40100
40101         [BZ #7064]
40102         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40103         version from __vm86.
40104
40105 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
40106
40107         * sysdeps/unix/common/lxstat.c: Remove file.
40108         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40109
40110         * sysdeps/unix/sysv/Makefile: Remove file.
40111
40112         * sysdeps/unix/sysv/direct.h: Remove file.
40113
40114         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40115         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40116         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40117         * sysdeps/unix/sysv/bits/signum.h: Likewise.
40118         * sysdeps/unix/sysv/bits/stat.h: Likewise.
40119         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40120         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40121
40122         * sysdeps/unix/sysv/setrlimit.c: Remove file.
40123
40124         * sysdeps/unix/xmknod.c: Remove file.
40125         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40126
40127         * sysdeps/unix/sysv/settimeofday.c: Remove file.
40128
40129         * sysdeps/unix/sysv/i386/time.S: Remove file.
40130
40131         * sysdeps/unix/fxstat.c: Remove file.
40132         * sysdeps/unix/xstat.c: Likewise.
40133         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40134
40135         * sysdeps/unix/sysv/sigaction.c: Remove file.
40136
40137         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40138         (sysdep_headers): Remove variable.
40139         [termio.h not in sysdep_headers] (generated): Likewise.
40140         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40141         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40142         * sysdeps/unix/sysv/tcdrain.c: Likewise.
40143         * sysdeps/unix/sysv/tcflow.c: Likewise.
40144         * sysdeps/unix/sysv/tcflush.c: Likewise.
40145         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40146         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40147         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40148         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40149         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40150
40151         * sysdeps/unix/siglist.c: Remove file.
40152
40153         * sysdeps/unix/getppid.S: Remove file.
40154
40155         * sysdeps/unix/mkdir.c: Remove file.
40156         * sysdeps/unix/rmdir.c: Likewise.
40157
40158 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
40159
40160         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40161         ERR_MAX value.
40162         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40163         errlist-compat value.
40164
40165 2012-04-18  David S. Miller  <davem@davemloft.net>
40166
40167         * sysdeps/generic/memcopy.h (reg_char): Delete.
40168         * debug/strcat_chk.c: Use char, not reg_char.
40169         * debug/strcpy_chk.c: Likewise.
40170         * debug/strncat_chk.c: Likewise.
40171         * debug/strncpy_chk.c: Likewise.
40172         * string/memchr.c: Likewise.
40173         * string/memrchr.c: Likewise.
40174         * string/rawmemchr.c: Likewise.
40175         * string/strcat.c: Likewise.
40176         * string/strchr.c: Likewise.
40177         * string/strchrnul.c: Likewise.
40178         * string/strcmp.c: Likewise.
40179         * string/strcpy.c: Likewise.
40180         * string/strncat.c: Likewise.
40181         * string/strncmp.c: Likewise.
40182         * string/strncpy.c: Likewise.
40183
40184 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40185
40186         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40187         __builtin_memcopy is called when src and dest ranges are known to not
40188         overlap.
40189
40190 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40191
40192         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40193         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40194         fwd_align_merge macro call.
40195         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40196         bwd_align_merge macro call.
40197         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40198
40199 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
40200
40201         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40202         bwd_align_merge macros.
40203         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40204         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40206
40207 2012-04-18  David S. Miller  <davem@davemloft.net>
40208
40209         * sysdeps/sparc/sparc64/memcopy.h: Delete.
40210
40211 2012-04-18  Andreas Jaeger  <aj@suse.de>
40212
40213         [BZ# 6794]
40214         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40215         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40216         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40217
40218         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40219         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40220         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40221
40222         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40223         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40224         Adjust for changed ldbl-128 files.
40225
40226         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40227         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40229
40230 2012-04-17  David S. Miller  <davem@davemloft.net>
40231
40232         * sysdeps/sparc/sparc32/memcopy.h: Delete.
40233
40234 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
40235
40236         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40237         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40238         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40239         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40240         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40241         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40242
40243 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40244
40245         [BZ #6794]
40246         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40247         * math/libm-test.inc: Add ilogb errno and exception tests.
40248         * math/w_ilogb.c: New file: ilogb wrapper.
40249         * math/w_ilogbf.c: New file: ilogbf wrapper.
40250         * math/w_ilogbl.c: New file: ilogbl wrapper.
40251         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40252         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40253         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40254         exception being thrown with 0.0 as argument.
40255         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40256         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40257         exception being thrown with 0.0 as argument.
40258         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40259         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40260         exception being thrown with 0.0 as argument.
40261         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40262         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40263         exception being thrown with 0.0 as argument.
40264         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40265         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40266         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40267         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40268         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40269         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40270         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40271         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40272         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40273
40274 2012-04-17  Petr Baudis  <pasky@ucw.cz>
40275
40276         * include/sys/uio.h: Change __vector to __iovec to avoid clash
40277         with altivec.
40278
40279 2012-04-16  Marek Polacek  <polacek@redhat.com>
40280
40281         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40282
40283 2012-04-16  Marek Polacek  <polacek@redhat.com>
40284
40285         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40286         operands of fdivp instruction.
40287
40288 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40289
40290         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40291         * elf/tst-auditmod3b.c: Likewise.
40292         * elf/tst-auditmod4b.c: Likewise.
40293         * elf/tst-auditmod5b.c: Likewise.
40294         * elf/tst-auditmod6b.c: Likewise.
40295         * elf/tst-auditmod6c.c: Likewise.
40296         * elf/tst-auditmod7b.c: Likewise.
40297         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40298         * sysdeps/x86_64/preconfigure.in: Likewise.
40299         * sysdeps/x86_64/preconfigure: Regenerated.
40300
40301 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
40302
40303         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40304         __ILP32__.
40305
40306 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
40307
40308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40309         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40310
40311 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
40312
40313         [BZ #13973]
40314         * locale/iso-639.def: Fix gl language name. Spotted by
40315         Yaron Shahrabani.
40316
40317 2012-04-12  Roland McGrath  <roland@hack.frob.com>
40318
40319         [BZ #2074]
40320         * libio/libio.h (__io_write_fn): Update comment.
40321
40322 2012-04-12  Petr Baudis  <pasky@ucw.cz>
40323
40324         [BZ #2074]
40325         * stdio.texi (Hook Functions): The user provided writer function
40326         is not allowed to return -1.
40327
40328 2012-04-11  David S. Miller  <davem@davemloft.net>
40329
40330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40331
40332 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
40333
40334         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40335         Add a leading slash to rtkaio.
40336
40337 2012-04-11  Jim Meyering  <meyering@redhat.com>
40338
40339         [BZ #11959]
40340         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40341         It is not necessarily an error to ignore fwrite's return
40342         value.  One can reliably use ferror to test for errors after
40343         the fact.
40344
40345 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40346
40347         * bits/types.h (__snseconds_t): New type.
40348         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40349
40350         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40351         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40352         (__SNSECONDS_T_TYPE): Likewise.
40353         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40354         (__SNSECONDS_T_TYPE): Likewise.
40355         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40356         (__SNSECONDS_T_TYPE): Likewise.
40357
40358 2012-04-10  Andreas Jaeger  <aj@suse.de>
40359
40360         [BZ #2636]
40361         * manual/time.texi (Processor Time): Return type of times is
40362         elapsed real time since an arbitrary point in the past.
40363         (CPU Time): Move CLK_TCK from here...
40364         (Processor Time): ...to here.  Correct description.
40365         * manual/conf.texi (Constants for Sysconf): Correct description of
40366         _SC_CLK_TCK.
40367
40368 2012-04-10  David S. Miller  <davem@davemloft.net>
40369
40370         [BZ #13967]
40371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40372         where the is a gap between DT_REL(A) and DT_JMPREL.
40373
40374 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
40375
40376         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40377         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40378         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40379
40380 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40381
40382         * elf/dl-support.c (_dl_inhibit_cache): New variable.
40383         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40384         (dl_main): Handle --inhibit-cache.
40385         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40386         _dl_inhibit_cache.
40387         * elf/dl-load.c (_dl_map_object): Use it.
40388         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40389
40390 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40391
40392         [BZ #13872]
40393         * sysdeps/i386/fpu/e_powl.S (p78): New object.
40394         (__ieee754_powl): Saturate large exponents rather than testing for
40395         overflow of y*log2(x).
40396         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40397         * math/libm-test.inc (pow_test): Do not permit spurious overflow
40398         exceptions.
40399
40400         [BZ #11521]
40401         * math/s_ctan.c: Include <float.h>.
40402         (__ctan): Avoid internal overflow or cancellation in calculating
40403         denominator.
40404         * math/s_ctanf.c: Likewise.
40405         * math/s_ctanl.c: Likewise.
40406         * math/s_ctanh.c: Likewise.
40407         * math/s_ctanhf.c: Likewise.
40408         * math/s_ctanhl.c: Likewise.
40409         * math/libm-test.inc (ctan_test): Add more tests.
40410         (ctanh_test): Likewise.
40411         * sysdeps/i386/fpu/libm-test-ulps: Update.
40412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40413
40414 2012-04-09  Andreas Jaeger  <aj@suse.de>
40415
40416         [BZ #6894]
40417         * manual/filesys.texi (Directory Entries): Mention that d_namlen
40418         is an optional BSD extension.
40419
40420         [BZ #10254]
40421         * manual/stdio.texi (Opening Streams): Document additional fopen
40422         parameters.
40423
40424 2012-04-09  Roland McGrath  <roland@hack.frob.com>
40425
40426         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40427         %eax without telling the compiler.
40428
40429 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
40430
40431         [BZ # 13963]
40432         * manual/install.texi: Use sourceware.org.
40433
40434 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
40435
40436         [BZ #13873]
40437         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40438         (__ieee754_pow): Generate overflow and underflow using huge*huge
40439         and tiny*tiny rather than just returning constant infinity or zero
40440         for large exponents.
40441         * math/libm-test.inc (pow_test): Require overflow exceptions for
40442         applicable cases of large exponents.
40443
40444         [BZ #706]
40445         * sysdeps/i386/fpu/e_pow.S (p10): New object.
40446         (__ieee754_pow): Use iterative multiplication algorithm only for
40447         integer exponents with absolute value below 1024.  Check for odd
40448         integer exponents when using algorithm for real exponents.
40449         * math/libm-test.inc (pow_test): Add more tests.
40450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40451
40452 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
40453
40454         [BZ #13705]
40455         * math/libm-test.inc (exp_test): Do not allow overflow exception
40456         on underflow test.
40457
40458 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
40459
40460         [BZ #13705]
40461         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40462         instead of __kernel_standard_f.
40463
40464 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
40465
40466         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40467         * sysdeps/x86_64/memset_chk.S: Likewise.
40468
40469 2012-04-08  Andreas Jaeger  <aj@suse.de>
40470
40471         [BZ #10153]
40472         * manual/startup.texi (Environment Access): Describe return value
40473         for putenv and setenv.
40474
40475         [BZ #6895]
40476         * manual/filesys.texi (Directory Entries): Add description for
40477         DT_LNK.
40478
40479         [BZ #6890]
40480         * manual/filesys.texi (Directory Entries): Clarify that it's file
40481         system not operating system in the description of DT_UNKNOWN.
40482
40483         [BZ #6578]
40484         * manual/syslog.texi (closelog): Fix reference, it's openlog.
40485
40486 2012-04-08  Stephen Compall  <s11@member.fsf.org>
40487
40488         [BZ #6649]
40489         * manual/llio.texi (Opening and Closing Files): Add cross
40490         reference to explain mode argument.
40491
40492 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
40493
40494         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40495         * sysdeps/x86_64/memset_chk.S: Likewise.
40496
40497 2012-04-07  David S. Miller  <davem@davemloft.net>
40498
40499         * elf/elf.h (R_SPARC_WDISP10): Define.
40500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40501         R_SPARC_SIZE32.
40502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40503         R_SPARC_SIZE64 and R_SPARC_H34.
40504
40505 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
40506
40507         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40508         conditions and remove no longer applicable assertion.
40509
40510 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40511
40512         * bits/byteswap.h: Include <features.h>.
40513         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40514         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40515
40516 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
40517
40518         * bits/byteswap.h (__bswap_16): Removed.
40519         Include <bits/byteswap-16.h> to get __bswap_16.
40520         * sysdeps/i386/bits/byteswap.h: Likewise.
40521         * sysdeps/s390/bits/byteswap.h: Likewise.
40522         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40523         * bits/byteswap-16.h: New file.
40524         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40525         * sysdeps/s390/bits/byteswap-16.h: Likewise.
40526         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40527         * string/Makefile (headers): Add bits/byteswap-16.h.
40528
40529 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40530
40531         [BZ #13895]
40532         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40533         extra indirection.
40534         * nss/Makefile (tests-static, tests): Add tst-nss-static.
40535         * nss/tst-nss-static.c: New.
40536
40537 2012-04-06  Robert Millan  <rmh@gnu.org>
40538
40539         [BZ #6486]
40540         * manual/llio.texi (File Position Primitive): lseek
40541         refers to WHENCE when it really means OFFSET.
40542
40543 2012-04-06  Andreas Jaeger  <aj@suse.de>
40544
40545         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40546         strncmp declarations.
40547
40548         * abilist/libc.abilist: Add __poll and __ppoll.
40549
40550 2012-04-05  David S. Miller  <davem@davemloft.net>
40551
40552         * scripts/check-local-headers.sh: Accept a host triplet in the
40553         path matched by the exclude regexp.
40554
40555         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40556         definition.
40557         * sysdeps/powerpc/powerpc32/dl-machine.h
40558         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40559         * sysdeps/s390/s390-32/dl-machine.h
40560         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40561         * sysdeps/sparc/sparc32/dl-machine.h
40562         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40563         * sysdeps/sparc/sparc64/dl-machine.h
40564         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40565
40566         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40567         lazy binding.
40568         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40569         undefined symbol errors.
40570
40571         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40572         DT_NEEDED entries.
40573
40574 2012-04-05  Michael Matz  <matz@suse.de>
40575
40576         [BZ #13592]
40577         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40578
40579 2012-04-05  Andreas Jaeger  <aj@suse.de>
40580
40581         [BZ #13908]
40582         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40583         comment.
40584
40585 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40586
40587         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40588         which ROUND is no valid rounding mode.
40589
40590 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40591
40592         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40593         read again.
40594         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40595
40596 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40597
40598         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40599         an exception using FPU order intentionally.
40600
40601 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40602
40603         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40604         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40605         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40606         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40607
40608 2012-04-05  Simon Josefsson  <simon@josefsson.org>
40609
40610         [BZ #12340]
40611         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40612         EINVAL when BUFLEN is too smal.
40613
40614 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
40615
40616         [BZ #13553]
40617         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40618         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40619
40620 2012-04-03  Andreas Jaeger  <aj@suse.de>
40621
40622         [BZ #13938]
40623         * manual/setjmp.texi (System V contexts): Fix sentence.
40624
40625         [BZ #13926]
40626         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40627         New macro for this case.
40628         [!__GNUC__] (__bswap_64): New inline function for this case.
40629         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40630         * bits/byteswap.h: Likewise.
40631         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40632         ull, guard with __GLIBC_HAVE_LONG_LONG.
40633
40634         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40635         __GLIBC_HAVE_LONG_LONG.
40636
40637         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40638         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40639
40640 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40641
40642         [BZ #13691]
40643         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40644         inptr and inend, rather than using last_ch.
40645
40646 2012-04-02  David S. Miller  <davem@davemloft.net>
40647
40648         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40649         * stdio-common/printf-parse.h (read_int): Change return type to
40650         'int', return -1 on INT_MAX overflow.
40651         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40652         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
40653         overflows INT_MAX.  Check for overflow of in-format-string precision
40654         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
40655         SIZE_MAX not INT_MAX for integer overflow test.
40656         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40657         skip the construct in the format string but do not record anything.
40658         * stdio-common/bug22.c: Adjust to test both width/prevision
40659         INT_MAX overflow as well as total length INT_MAX overflow.  Check
40660         explicitly for proper errno values.
40661
40662 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
40663
40664         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40665         CHAR_MAX.
40666         * string/test-strcmp.c [! WIDE]: Likewise.
40667         * time/tst-mktime2.c: Likewise for INT_MAX.
40668         * string/test-string.h: #include <sys/param.h> for MIN.
40669
40670         * csu/init-first.c (__libc_init_first): Call __ctype_init.
40671         * sysdeps/i386/init-first.c (init): Likewise.
40672         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40673         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40674         * sysdeps/sh/init-first.c (init): Likewise.
40675
40676 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
40677
40678         * po/ru.po: Update from translation team.
40679         * po/vi.po: Likewise.
40680
40681 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40682
40683         * resolv/nss_dns/dns-host.c: Merge copyright years.
40684
40685 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40686
40687         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40688         Optimize memcpy with prefetch if
40689         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
40690         src, dst pointers have unequal 16 byte alignments.
40691
40692 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40693
40694         [BZ #13928]
40695         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40696         from a CNAME entry and return the minimum ttl for the query.
40697         (gaih_getanswer_slice): Likewise.
40698
40699 2012-03-30  Jeff Law  <law@redhat.com>
40700
40701         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40702         due to long keys.
40703         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40704         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40705
40706         * resolv/nss_dns/dns-host.c: Update copyright year.
40707
40708 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
40709
40710         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40711         requests to save a system call.  Fix check that all bytes are sent.
40712
40713         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40714         comments for sendmmsg.
40715
40716 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40717
40718         [BZ #13691]
40719         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40720         with only 1 character between 0x0041 and 0x01b0.
40721         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40722         * wcsmbs/tst-mbsnrtowcs.c: New file.
40723
40724 2012-03-29  David S. Miller  <davem@davemloft.net>
40725
40726         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40727         small copies by hand.
40728
40729 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40730
40731         [BZ #13761]
40732         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40733         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40734         group memberships.
40735
40736 2012-03-28  David S. Miller  <davem@davemloft.net>
40737
40738         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40739         that branches into memcpy.
40740         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40742         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40743         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40745         bits.
40746         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40747         implementation too.
40748         * sysdeps/sparc/mempcpy.S: New file.
40749
40750         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40751         the IFUNC routine in the libc case.
40752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40753
40754         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40755         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40756         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40757         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40758         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40759         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40760         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40761         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40762
40763         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40764         loop to 256 bytes instead of 64 bytes and fix test signedness.
40765
40766         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40767         * sysdeps/sparc/sparc32/Makefile: rather than here...
40768         * sysdeps/sparc/sparc64/Makefile: and here.
40769
40770 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
40771
40772         * malloc/mallocbug.c: Avoid warnings about unused variables.
40773
40774 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40775
40776         [BZ #13760]
40777         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40778         in the right place. Discard and retry query if response is
40779         larger than input buffer size.
40780
40781 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40782
40783         [BZ #369]
40784         [BZ #2678]
40785         [BZ #3866]
40786         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40787         x for large integer exponent.
40788         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40789         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40790         sign of result as needed afterwards.
40791         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40792         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40793         result for underflowing pow the same as for overflow.
40794         (__kernel_standard_l): Handle powl overflow and underflow here
40795         rather than calling __kernel_standard.
40796         * math/libm-test.inc (pow_test): Add more tests.
40797
40798         [BZ #3868]
40799         [BZ #13879]
40800         [BZ #13910]
40801         [BZ #13911]
40802         [BZ #13912]
40803         [BZ #13913]
40804         [BZ #13915]
40805         [BZ #13916]
40806         [BZ #13917]
40807         [BZ #13918]
40808         [BZ #13919]
40809         [BZ #13920]
40810         [BZ #13921]
40811         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40812         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40813         (__kernel_standard_l): New function.
40814         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40815         __kernel_standard.
40816         * math/w_acosl.c (__acosl): Likewise.
40817         * math/w_asinl.c (__asinl): Likewise.
40818         * math/w_atan2l.c (__atan2l): Likewise.
40819         * math/w_atanhl.c (__atanhl): Likewise.
40820         * math/w_coshl.c (__coshl): Likewise.
40821         * math/w_exp10l.c (__exp10l): Likewise.
40822         * math/w_exp2l.c (__exp2l): Likewise.
40823         * math/w_fmodl.c (__fmodl): Likewise.
40824         * math/w_hypotl.c (__hypotl): Likewise.
40825         * math/w_j0l.c (__j0l, __y0l): Likewise.
40826         * math/w_j1l.c (__j1l, __y1l): Likewise.
40827         * math/w_jnl.c (__jnl, __ynl): Likewise.
40828         * math/w_lgammal.c (__lgammal): Likewise.
40829         * math/w_log10l.c (__log10l): Likewise.
40830         * math/w_log2l.c (__log2l): Likewise.
40831         * math/w_logl.c (__logl): Likewise.
40832         * math/w_powl.c (__powl): Likewise.
40833         * math/w_remainderl.c (__remainderl): Likewise.
40834         * math/w_scalbl.c (sysv_scalbl): Likewise.
40835         * math/w_sinhl.c (__sinhl): Likewise.
40836         * math/w_sqrtl.c (__sqrtl): Likewise.
40837         * math/w_tgammal.c (__tgammal): Likewise.
40838         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40839         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40840         * math/libm-test.inc (acos_test): Add more tests.
40841         (acosh_test): Likewise.
40842         (asin_test): Likewise.
40843         (atanh_test): Likewise.
40844         (exp_test): Likewise.
40845         (exp10_test): Likewise.
40846         (exp2_test): Likewise.
40847         (expm1_test): Likewise.
40848         (lgamma_test): Likewise.
40849         (log_test): Likewise.
40850         (log10_test): Likewise.
40851         (log1p_test): Likewise.
40852         (log2_test): Likewise.
40853         (pow_test): Do not allow some spurious overflow exceptions.
40854         (sqrt_test): Add more tests.
40855         (tgamma_test): Likewise.
40856         (y0_test): Likewise.
40857         (y1_test): Likewise.
40858         (yn_test): Likewise.
40859
40860 2012-03-27  Anton Blanchard  <anton@samba.org>
40861
40862         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40863         MAP_HUGETLB.
40864         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40865         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40866         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40867
40868 2012-03-27  David S. Miller  <davem@davemloft.net>
40869
40870         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40871
40872         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40873         have-as-vis3 check.
40874
40875 2012-03-27  Andreas Jaeger  <aj@suse.de>
40876
40877         * sysdeps/x86_64/elf/configure.in: Moved to ...
40878         * sysdeps/x86_64/configure.in: ... here.
40879         * sysdeps/x86_64/elf/start.S: Moved to ...
40880         * sysdeps/x86_64/start.S: ... here.
40881         * sysdeps/x86_64/elf/configure: Delete.
40882
40883         * sysdeps/x86_64/configure.in: Merge contents from
40884         sysdeps/i386/configure.in (without i686 check).
40885
40886         * sysdeps/i386/elf/Versions: Merge into ...
40887         * sysdeps/i386/Versions: ... this.
40888         * sysdeps/i386/elf/Versions: Delete file.
40889         * sysdeps/i386/elf/start.S: Moved to ...
40890         * sysdeps/i386/start.S: ...here.
40891         * sysdeps/i386/elf/configure.in: Merge into...
40892         * sysdeps/i386/configure.in: ...here.
40893         * sysdeps/i386/elf/configure.in: Delete file.
40894         * sysdeps/i386/elf/configure: Delete file.
40895
40896         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40897         * debug/backtracesyms.c: ... here.
40898         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40899         * debug/backtracesymsfd.c: ... here.
40900         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40901         * sysdeps/generic/ifunc-sel.h: ... here.
40902
40903         * sysdeps/unix/i386/start.c: Delete file.
40904         * sysdeps/unix/sparc/start.c: Delete file.
40905         * sysdeps/unix/start.c: Delete file.
40906
40907         * sysdeps/sh/elf/configure.in: Moved to ...
40908         * sysdeps/sh/configure.in: ... here.
40909         * sysdeps/sh/elf/start.S: Moved to ...
40910         * sysdeps/sh/start.S: ... here.
40911         * sysdeps/sh/elf/configure: Delete file.
40912
40913         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40914         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40915         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40916         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40917         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40918         * sysdeps/powerpc/powerpc64/start.S: here.
40919         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40920         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40921         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40922         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40923         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40924
40925         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40926         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40927         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40928         * sysdeps/powerpc/powerpc32/start.S: ... here.
40929         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40930         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40931         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40932
40933         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40934         * sysdeps/powerpc/ifunc-sel.h: ... here.
40935         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40936         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40937
40938         * sysdeps/sparc/elf/configure.in: Moved to ...
40939         * sysdeps/sparc/configure.in: ... here.
40940         * sysdeps/sparc/elf/configure: Delete file.
40941         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40942         * sysdeps/sparc/sparc32/start.S: ... here.
40943         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40944         * sysdeps/sparc/sparc64/start.S: ... here.
40945         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40946         * sysdeps/sparc/sparc32/Makefile: ... this.
40947         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40948         * sysdeps/sparc/sparc64/Makefile: ... this.
40949
40950         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40951         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40952         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40953         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40954         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40955         * sysdeps/s390/s390-32/setjmp.S: ... here.
40956         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40957         * sysdeps/s390/s390-32/configure.in: ... here.
40958         * sysdeps/s390/s390-32/elf/configure: Delete file.
40959         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40960         * sysdeps/s390/s390-32/start.S: ... here.
40961
40962         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40963         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40964         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40965         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40966         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40967         * sysdeps/s390/s390-64/setjmp.S: ... here.
40968         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40969         * sysdeps/s390/s390-64/configure.in: ... here
40970         * sysdeps/s390/s390-64/elf/configure: Delete file.
40971         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40972         * sysdeps/s390/s390-64/start.S: ... here.
40973         * sysdeps/s390/s390-64/elf/configure: Delete.
40974
40975         * configure.in: Remove support for elf directories in sysdeps.
40976
40977         * configure: Regenerated.
40978         * sysdeps/i386/configure: Regenerated.
40979         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40980         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40981         * sysdeps/s390/s390-32/configure: Regenerated.
40982         * sysdeps/s390/s390-64/configure: Regenerated.
40983         * sysdeps/sh/configure: Regenerated.
40984         * sysdeps/sparc/configure: Regenerated.
40985         * sysdeps/x86_64/configure: Regenerated.
40986
40987 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40988
40989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40990
40991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40992         denormal result into account.
40993
40994 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40995
40996         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40997         Reported by Allan McRae <allan@archlinux.org>.
40998
40999 2012-03-23  Jeff Law  <law@redhat.com>
41000
41001         * nss/getnssent.c (__nss_getent): Fix typo.
41002
41003 2012-03-23  David S. Miller  <davem@davemloft.net>
41004
41005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41006
41007 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
41008
41009         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41010         to pad to uint64_t for each field.
41011         (dl_tls_index): Replace unsigned long with uint64_t.
41012
41013 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
41014         Paul Pluzhnikov  <ppluzhnikov@google.com>
41015
41016         [BZ #6528]
41017         * grp/Makefile (otherlibs): Don't set it.
41018         * inet/Makefile (otherlibs): Likewise.
41019         * login/Makefile (otherlibs): Likewise.
41020         * nscd/Makefile (otherlibs): Likewise.
41021         * posix/Makefile (otherlibs): Likewise.
41022         * pwd/Makefile (otherlibs): Likewise.
41023         * rt/Makefile (otherlibs): Likewise.
41024         * sunrpc/Makefile (otherlibs): Likewise.
41025         * nss/Makefile (otherlibs): Likewise.
41026         Add libnss_files to routines and static-only-routines.
41027         ($(objpfx)getent): Remove rule.
41028         * resolv/Makefile: Add libnss_dns and libresolv to routines and
41029         static-only-routines.
41030
41031 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41032
41033         [BZ #13892]
41034         * math/s_cexp.c: Include <float.h>.
41035         (__cexp): Handle exp result overflowing not necessarily
41036         overflowing both real and imaginary parts of result.
41037         * math/s_cexpf.c: Likewise.
41038         * math/s_cexpl.c: Likewise.
41039         * math/libm-test.inc (cexp_test): Add more tests.
41040         * sysdeps/i386/fpu/libm-test-ulps: Update.
41041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41042
41043 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41044
41045         * include/link.h (ELFW): New macro.
41046         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41047         Replace ELF64_R_TYPE with ELFW(R_TYPE).
41048
41049 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41050
41051         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41052         with uint64_t.
41053
41054 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41055
41056         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41057         declaration.
41058         (struct La_x32_retval): Likewise.
41059
41060 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
41061
41062         * sysdeps/x86_64/preconfigure.in: New file.
41063         * sysdeps/x86_64/preconfigure: New generated file.
41064
41065 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
41066
41067         [BZ #13824]
41068         * math/e_exp2l.c: Include <float.h>.
41069         (__ieee754_exp2l): Handle overflow and underflow cases
41070         separately.  Only pass fractional part of argument to
41071         __ieee754_expl.
41072         * math/libm-test.inc (exp2_test): Add more tests.
41073
41074         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41075         negating x to take absolute value.
41076         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41077         Likewise.
41078         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41080         Likewise.
41081         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41082         computing low part if x was negated.
41083         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41084
41085 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41086
41087         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41088         la_x32_gnu_pltexit.
41089         (pltexit): Cast int_retval to ptrdiff_t.
41090         * elf/tst-auditmod3b.c: Likewise.
41091         * elf/tst-auditmod4b.c: Likewise.
41092         * elf/tst-auditmod5b.c: Likewise.
41093         * elf/tst-auditmod6b.c: Likewise.
41094         * elf/tst-auditmod6c.c: Likewise.
41095         * elf/tst-auditmod7b.c: Likewise.
41096
41097         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41098         and x32_gnu_pltexit.
41099
41100         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41101         __ELF_NATIVE_CLASS.
41102         (La_x32_regs): New macro.
41103         (La_x32_retval): Likewise.
41104         (la_x32_gnu_pltenter): New function prototype.
41105         (la_x32_gnu_pltexit): Likewise.
41106
41107 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
41108
41109         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41110         exponent.
41111
41112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41113
41114         * configure.in (libc_cv_cc_nofma): Check for option to disable
41115         generation of FMA instructions.
41116         * configure: Regenerate.
41117         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41118         * sysdeps/ieee754/dbl-64/Makefile: New file.
41119         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41120         Remove brandred-fma4.
41121         (CFLAGS-brandred-fma4.c): Remove.
41122         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41123         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41124         define.
41125         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41126         define.
41127
41128 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41129
41130         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41131         LLONG_MAX != LONG_MAX.
41132         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41133         (_fitoa_word): Likewise.
41134         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41135         LLONG_MAX != LONG_MAX.
41136         * stdio-common/_itowa.h: Include <_itoa.h>.
41137         (_itowa_word): Use _ITOA_WORD_TYPE on value.
41138         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
41139         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
41140         only if not defined.
41141         (_ITOA_WORD_TYPE): Likewise.
41142         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41143         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41144
41145 2012-03-21  David S. Miller  <davem@davemloft.net>
41146
41147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41148
41149 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
41150
41151         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41152         of x86_64 when setting libc_cv_slibdir, libdir and
41153         libc_cv_localedir.
41154         * sysdeps/unix/sysv/linux/configure: Regenerated.
41155
41156 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41157
41158         * manual/lang.texi (Old Varargs): Remove section.
41159         (How Variadic): Update menu.
41160         (va_start): Do not mention varargs.h.
41161
41162 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41163             Joseph Myers  <joseph@codesourcery.com>
41164
41165         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41166         link test.
41167         * configure: Regenerated.
41168
41169 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
41170
41171         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41172         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41173         conformtest.pl
41174
41175 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41176
41177         * NOTES: Remove.
41178         * Makefile (files-for-dist): Remove NOTES.
41179         (NOTES): Remove rule.
41180         * README: Don't refer to NOTES.
41181         * manual/creature.texi: Don't include macros.texi.
41182         * manual/intro.texi (creature.texi): Remove comment referring to
41183         NOTES.
41184
41185         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41186         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41187         * configure: Regenerated.
41188         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41189         LIBC_TRY_CC_OPTION.
41190         (libc_cv_as_i686): Likewise.
41191         (libc_cv_cc_avx): Likewise.
41192         (libc_cv_cc_sse2avx): Likewise.
41193         (libc_cv_cc_fma4): Likewise.
41194         (libc_cv_cc_novzeroupper): Likewise.
41195         * sysdeps/i386/configure: Regenerated.
41196
41197         [BZ #13883]
41198         * sysdeps/i386/fpu/s_cexp.S: Remove.
41199         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41200         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41201         * math/libm-test.inc (cexp_test): Add more tests.
41202         * sysdeps/i386/fpu/libm-test-ulps: Update.
41203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41204
41205 2012-03-21  Allan McRae  <allan@archlinux.org>
41206
41207         * timezone/Makefile: Do not install iso3166.tab and zone.tab
41208
41209 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
41210
41211         [BZ #13871]
41212         * math/w_exp2.c: Do not include <float.h>.
41213         (o_threshold, u_threshold): Remove.
41214         (__exp2): Calculate result before checking finiteness and calling
41215         __kernel_standard.
41216         * math/w_exp2f.c: Likewise.
41217         * math/w_exp2l.c: Likewise.
41218         * math/libm-test.inc (exp2_test): Require overflow exception for
41219         1e6 input.
41220
41221         [BZ #3866]
41222         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41223         range of signed 64-bit integers before using fistpll.  Remove
41224         checks for whether integers fit in mantissa bits.
41225         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41226         the range of signed 32-bit integers before using fistpl.  Remove
41227         checks for whether integers fit in mantissa bits.
41228         * sysdeps/i386/fpu/e_powl.S (p64): New object.
41229         (__ieee754_powl): Test for y outside the range of signed 64-bit
41230         integers before using fistpll.  Reduce 64-bit values to 63-bit
41231         ones as needed.
41232         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41233         divide-by-zero is raised for zero to large negative powers.
41234         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41235         (__ieee754_powl): Test for y outside the range of signed 64-bit
41236         integers before using fistpll.  Reduce 64-bit values to 63-bit
41237         ones as needed.
41238         * math/libm-test.inc (pow_test): Add more tests.
41239
41240 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41241
41242         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41243         <stdio-common/_itoa.h>.
41244         * debug/segfault.c: Likewise.
41245         * elf/dl-cache.c: Likewise.
41246         * elf/dl-minimal.c: Likewise.
41247         * elf/dl-misc.c: Likewise.
41248         * elf/dl-sysdep.c: Likewise.
41249         * elf/dl-version.c: Likewise.
41250         * elf/rtld.c: Likewise.
41251         * hurd/hurdsock.c: Likewise.
41252         * hurd/lookup-retry.c: Likewise.
41253         * malloc/malloc.c: Likewise.
41254         * malloc/mtrace.c: Likewise.
41255         * nscd/nscd_getgr_r.c: Likewise.
41256         * nscd/nscd_getpw_r.c: Likewise.
41257         * nscd/nscd_getserv_r.c: Likewise.
41258         * posix/getopt_init.c: Likewise.
41259         * posix/wordexp.c: Likewise.
41260         * stdio-common/_itoa.c: Likewise.
41261         * stdio-common/printf_fphex.c: Likewise.
41262         * stdio-common/vfprintf.c: Likewise.
41263         * string/_strerror.c: Likewise.
41264         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41265         * sysdeps/i386/i686/hp-timing.h: Likewise.
41266         * sysdeps/mach/_strerror.c: Likewise.
41267         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41268         * sysdeps/mach/hurd/sethostid.c: Likewise.
41269         * sysdeps/mach/hurd/xmknodat.c: Likewise.
41270         * sysdeps/mach/xpg-strerror.c: Likewise.
41271         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41272         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41273         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41274         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41275         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41276         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41277         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41278         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41279         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41280         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41281         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41282         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41283         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41284         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41285         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41286         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41287         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41288         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41289         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41290         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41291         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41292
41293         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41294
41295         * stdio-common/_itoa.h: Moved to ...
41296         * sysdeps/generic/_itoa.h: Here.
41297
41298         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41299
41300         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41301         instead of "_itoa.h" and "_itowa.h".
41302         * stdio-common/vfprintf.: Likewise.
41303
41304 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41305
41306         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41307         <bits/wordsize.h>.
41308         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41309         (__signbit): Likwise.
41310         (llrintf): Likwise.
41311         (llrint): Likwise.
41312
41313 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
41314
41315         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41316         __WORDSIZE != 64.
41317
41318 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
41319
41320         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41321         OVERFLOW_EXCEPTION_OK.
41322         * math/libm-test.inc ("Philosophy"): Update comment about
41323         exception testing.
41324         (OVERFLOW_EXCEPTION): Define.
41325         (OVERFLOW_EXCEPTION_OK): Likewise.
41326         (INVALID_EXCEPTION_OK): Renumber.
41327         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41328         (IGNORE_ZERO_INF_SIGN): Likewise.
41329         (test_exceptions): Handle FE_OVERFLOW.
41330         (exp10_test): Expect overflow exceptions.
41331         (exp2_test): Likewise.
41332         (expm1_test): Likewise.
41333         (nextafter_test): Likewise.
41334         (pow_test): Likewise.
41335         (scalbn_test): Likewise.
41336         (scalbln_test): Likewise.
41337
41338 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41339
41340         * sysdeps/x86_64/bits/atomic.h
41341         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41342         64bit integer.
41343         (atomic_exchange_acq): Likewise.
41344         (__arch_exchange_and_add_body): Likewise.
41345         (__arch_add_body): Likewise.
41346         (atomic_add_negative): Likewise.
41347         (atomic_add_zero): Likewise.
41348
41349 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41350
41351         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41352         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41353
41354 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41355
41356         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41357         Check __x86_64__ instead of __WORDSIZE.
41358
41359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41360
41361         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41362
41363 2012-03-19  David S. Miller  <davem@davemloft.net>
41364
41365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41366
41367         * sysdeps/sparc/fpu/fenv_private.h: New file.
41368         * sysdeps/sparc/fpu/math_private.h: Use it.
41369         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41370         Remove.
41371         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41372         (libc_feholdexcept_setroundl): Remove.
41373         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41374         Remove.
41375         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41376         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41377
41378 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41379
41380         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41381         int64_t instead of long int.
41382         (INSERT_WORDS64): Likwise.
41383
41384 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
41385
41386         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41387         _Unwind_GetCFA return to _Unwind_Ptr first.
41388
41389 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
41390
41391         [BZ #13629]
41392         * math/s_clog.c: Include <float.h>.
41393         (__clog): Scale large or subnormal inputs.
41394         * math/s_clogf.c: Likewise.
41395         * math/s_clogl.c: Likewise.
41396         * math/s_clog10.c: Include <float.h>.
41397         (M_LOG10_2): Define.
41398         (__clog10): Scale large or subnormal inputs.
41399         * math/s_clog10f.c: Likewise.
41400         * math/s_clog10l.c: Likewise.
41401         * math/libm-test.inc (clog_test): Add more tests.
41402         (clog10_test): Likewise.
41403         * sysdeps/i386/fpu/libm-test-ulps: Update.
41404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41405
41406         [BZ #11451]
41407         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41408         x and y.
41409         * math/libm-test.inc (atan2_test): Add another test.
41410
41411         * Makerules (common-objdir-compile): Remove.
41412         * sysdeps/unix/Makefile (config-generated): Do not add
41413         $(unix-generated) to variable.
41414         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41415         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41416         Remove rule.
41417         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41418         Likewise.
41419         [generic bits/local_lim.h] (before-compile): Do not append to
41420         variable.
41421         [generic bits/local_lim.h] (common-generated): Likewise.
41422         [generic sys/param.h] (before-compile): Do not append to variable.
41423         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41424         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41425         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41426         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41427         include.
41428         [generic sys/param.h] (sys/param.h-includes): Remove variable.
41429         [generic sys/param.h] (sys/param.h-includes): Remove rule.
41430         [generic sys/param.h] ($(addprefix
41431         $(common-objpfx),$(sys/param.h-includes))): Likewise.
41432         [generic sys/param.h] (common-generated): Do not append to
41433         variable.
41434         [generic sys/param.h] (sysdep_headers): Likewise.
41435         [generic bits/errno.h] (before-compile): Do not append to
41436         variable.
41437         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41438         rule.
41439         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41440         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41441         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41442         [generic bits/errno.h] (common-generated): Do not append to
41443         variable.
41444         [generic bits/ioctls.h] (before-compile): Do not append to
41445         variable.
41446         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41447         rule.
41448         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41449         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41450         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41451         rule.
41452         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41453         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41454         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41455         [generic bits/ioctls.h] (common-generated): Do not append to
41456         variable.
41457         [generic sys/syscall.h] (syscall.h): Remove variable.
41458         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41459         rule.
41460         [generic sys/syscall.h] (before-compile): Do not append to
41461         variable.
41462         [generic sys/syscall.h] (common-generated): Likewise.
41463         * sysdeps/unix/errnos-tmpl.c: Remove file.
41464         * sysdeps/unix/errnos.awk: Likewise.
41465         * sysdeps/unix/ioctls-tmpl.c: Likewise.
41466         * sysdeps/unix/ioctls.awk: Likewise.
41467         * sysdeps/unix/mk-local_lim.c: Likewise.
41468         * sysdeps/unix/snarf-ioctls: Likewise.
41469
41470 2012-03-19  Richard Henderson  <rth@twiddle.net>
41471
41472         * sysdeps/i386/fpu/fenv_private.h: New file.
41473         * sysdeps/i386/fpu/math_private.h: Use it.
41474         (math_opt_barrier, math_force_eval): Remove.
41475         (libc_feholdexcept_setround_53bit): Remove.
41476         (libc_feupdateenv_53bit): Remove.
41477         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41478         (math_opt_barrier, math_force_eval): Remove.
41479         (libc_feholdexcept): Remove.
41480         (libc_feholdexcept_setround): Remove.
41481         (libc_fetestexcept, libc_fesetenv): Remove.
41482         (libc_feupdateenv_test): Remove.
41483         (libc_feupdateenv, libc_feholdsetround): Remove.
41484         (libc_feresetround): Remove.
41485
41486         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41487         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41488
41489         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41490         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41491         (libc_feupdateenv_testl): New.
41492         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41493         (libc_feupdateenv_testf): New.
41494         (libc_feupdateenv): Use libc_feupdateenv_test.
41495         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41496         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41497
41498         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41499         (libc_feholdsetroundf, libc_feholdsetroundl): New.
41500         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41501         (libc_feresetround_noex): New.
41502         (libc_feresetround_noexf): New.
41503         (libc_feresetround_noexl): New.
41504         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41505         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41506         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41507         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41508         SET_RESTORE_ROUND.
41509         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41510         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41511         (__cos): Likewise.
41512         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41514         SET_RESTORE_ROUND_NOEX.
41515         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41516         SET_RESTORE_ROUND_NOEXF.
41517         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41518         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41519         (libc_feholdsetroundf): New.
41520         (libc_feresetround, libc_feresetroundf): New.
41521
41522         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41523         (libc_feholdexcept_setround_53bit): Convert from macro to function.
41524         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
41525
41526         * sysdeps/generic/math_private.h: Include <fenv.h>.
41527         (default_libc_feholdexcept): New.
41528         (default_libc_feholdexcept_setround): New.
41529         (default_libc_fesetenv, default_libc_feupdateenv): New.
41530         (libc_feholdexcept): Only define if undefined.
41531         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41532         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41533         (libc_feholdexcept_setroundl): Likewise.
41534         (libc_feholdexcept_setround_53bit): Likewise.
41535         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41536         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41537         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41538         (libc_feupdateenv_53bit): Likewise.
41539         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41540         (libc_feholdexcept): Convert from macro to inline function.
41541         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41542         (libc_fesetenv, libc_feupdateenv): Likewise.
41543
41544         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41545         not previously defined.
41546         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41547         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41548         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41549         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41550         * sysdeps/ieee754/flt-32/math_private.h: New file.
41551         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41552         math_private.h below SET_FLOAT_WORD.
41553         (__isnan, __isinf_ns, __finite): Remove.
41554         (__isnanf, __isinf_nsf, __finitef): Remove.
41555
41556 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
41557
41558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41559
41560 2012-03-17  David S. Miller  <davem@davemloft.net>
41561
41562         [BZ #6471]
41563         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41564         for 2.16.
41565
41566 2012-03-16  David S. Miller  <davem@davemloft.net>
41567
41568         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41569         warnings.
41570
41571         [BZ #6471]
41572         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41573         properly.
41574         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41575         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41576         sysdep_routines when subdir is sysvipc.
41577         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41578         __getshmlba helper.
41579
41580         * sysdeps/sparc/fpu/libm-test/ulps: Update.
41581
41582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41583
41584         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41585         [__LP64__].
41586
41587 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41588
41589         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41590         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41591         (__lround): Renamed to ...
41592         (__llround): This.  Replace long int with long long int.
41593         Define lround functions as aliases of llround functions.
41594         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41595
41596 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41597
41598         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41599         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
41600         adresses to uintptr_t.  Replace "long int" and "unsigned long
41601         int" with "greg_t" on va_arg.
41602
41603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41604
41605         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41606         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41607
41608         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41609         Move e_machine check before EI_CLASS check.  Handle x32
41610         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41611         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41612         SKIP_EM_IA_64 and include
41613         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41614
41615         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41616         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41617         (add_system_dir): New macro.
41618
41619         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41620         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41621
41622 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41623
41624         [BZ #2551]
41625         [BZ #2552]
41626         [BZ #2553]
41627         [BZ #2554]
41628         [BZ #2562]
41629         [BZ #2563]
41630         [BZ #2565]
41631         [BZ #2566]
41632         [BZ #2576]
41633         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41634         (y0): Likewise.
41635         * math/w_j0f.c (j0f): Likewise.
41636         (y0f): Likewise.
41637         * math/w_j0l.c (__j0l): Likewise.
41638         (__y0l): Likewise.
41639         * math/w_j1.c (j1): Likewise.
41640         (y1): Likewise.
41641         * math/w_j1f.c (j1f): Likewise.
41642         (y1f): Likewise.
41643         * math/w_j1l.c (__j1l): Likewise.
41644         (__y1l): Likewise.
41645         * math/w_jn.c (jn): Likewise.
41646         (yn): Likewise.
41647         * math/w_jnf.c (jnf): Likewise.
41648         (ynf): Likewise.
41649         * math/w_jnl.c (__jnl): Likewise.
41650         (__ynl): Likewise.
41651         * math/libm-test.inc (j0_test): Add more tests.
41652         (j1_test): Likewise.
41653         (jn_test): Likewise.  Add trailing semicolon to existing test.
41654         (y0_test): Likewise.
41655         (y1_test): Likewise.
41656         * sysdeps/i386/fpu/libm-test-ulps: Update.
41657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41658
41659         [BZ #13851]
41660         [BZ #13854]
41661         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41662         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41663         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41664         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41665         (__tanl): Set errno for infinite argument.
41666         * sysdeps/i386/fpu/mptan.c: Remove.
41667         * sysdeps/i386/fpu/s_tan.S: Likewise.
41668         * sysdeps/i386/fpu/s_tanl.S: Likewise.
41669         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41670         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41671         * math/libm-test.inc (tan_test): Add more tests and enable more
41672         tests for double and long double.
41673         * sysdeps/i386/fpu/libm-test-ulps: Update.
41674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41675
41676 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
41677
41678         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41679         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41680
41681 2012-03-16  Roland McGrath  <roland@hack.frob.com>
41682
41683         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41684         * configure.in: Use it for both main tree and add-ons.
41685         * configure: Regenerated.
41686
41687 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
41688
41689         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41690
41691 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
41692
41693         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41694         in comment.
41695
41696         [BZ #13851]
41697         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41698         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41702         infinite argument.
41703         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41704         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41705         != 0 for prec == 2.
41706         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41707         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41708         * sysdeps/i386/fpu/s_cosl.S: Likewise.
41709         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41710         * sysdeps/i386/fpu/s_sinl.S: Likewise.
41711         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41712         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41713         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41714         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41715         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41716         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41717         * math/libm-test.inc (cos_test): Add more tests and enable more
41718         tests for long double.
41719         (sin_test): Likewise.
41720         (sincos_test): Likewise.
41721         * sysdeps/i386/fpu/libm-test-ulps: Update.
41722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41723
41724 2012-03-16  David S. Miller  <davem@davemloft.net>
41725
41726         * sysdeps/sparc/fpu/math_private.h: New file.
41727
41728 2012-03-15  David S. Miller  <davem@davemloft.net>
41729
41730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41731         file.
41732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41734         file.
41735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41736         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41737         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41740         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41741         sysdep routines.
41742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41743
41744         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41745         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41746
41747         * sysdeps/sparc/sparc-ifunc.h: New file.
41748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41749         sparc-ifunc.h
41750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41752         Likewise.
41753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41754         Likewise.
41755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41759         Likewise.
41760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41765         Likewise.
41766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41767         Likewise.
41768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41786         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41787         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41788         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41789         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41790         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41791         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41792
41793 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41794
41795         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41796         scaling.
41797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41798
41799 2012-03-15  Andreas Jaeger  <aj@suse.de>
41800
41801         [BZ #13852]
41802         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41803         ieee754/flt-32 implementation for sin, cos and sincos.
41804         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41805         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41806         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41807         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41808         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41809         ieee754/flt-32 implementation for tan.
41810
41811         * math/libm-test.inc (cos_test): Enable some large input tests for
41812         float as well
41813         (sin_test): Likewise.
41814         (sincos_test): Likewise.
41815         (tan_test): Add tests for large input.
41816
41817         * sysdeps/i386/fpu/libm-test-ulps: Update.
41818
41819 2012-03-15  Andreas Jaeger  <aj@suse.de>
41820
41821         [BZ #13658]
41822         * math/libm-test.inc (cos_test): Add more test cases.
41823         (sin_test): Likewise.
41824         (sincos_test): Likewise.
41825
41826 2012-03-15  Andreas Jaeger  <aj@suse.de>
41827
41828         [BZ #13837]
41829         * math/libm-test.inc (cos_test): Add a test case for large input
41830         value.
41831         (sin_test): Likewise.
41832         (sincos_test): Likewise.
41833
41834 2012-03-15  Andreas Jaeger  <aj@suse.de>
41835             Joseph Myers  <joseph@codesourcery.com>
41836
41837         [BZ #13658]
41838         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41839         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41840         * sysdeps/i386/fpu/branred.c: Likewise.
41841         * sysdeps/i386/fpu/dosincos.c: Likewise.
41842         * sysdeps/i386/fpu/mpa.c: Likewise.
41843         * sysdeps/i386/fpu/s_cos.S: Likewise.
41844         * sysdeps/i386/fpu/s_sin.S: Likewise.
41845         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41846         * sysdeps/i386/fpu/sincos32.c: Likewise.
41847
41848         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41849         Define.
41850         (libc_feupdateenv_53bit): Define.
41851         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41852         Define.
41853         (libc_feupdateenv_53bit): Define.
41854
41855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41856         53 bit (without extend i386 double precision).
41857
41858         * math/libm-test.inc (sincos_test): Add tests for large input.
41859         (sin): Likewise.
41860         (cos): Likewise.
41861
41862         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41863
41864 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41865
41866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41867
41868 2012-03-15  David S. Miller  <davem@davemloft.net>
41869
41870         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41871         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41872         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41873         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41886         file.
41887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41889         file.
41890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41892         file.
41893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41895         file.
41896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41898         fmin/fmax sysdep routines.
41899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41900
41901 2012-03-14  David S. Miller  <davem@davemloft.net>
41902
41903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41904         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41907         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41908         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41909         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41910         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41911         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41912         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41916         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41923         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41924         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41927         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41928         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41932         routines.
41933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41934         file.
41935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41937         file.
41938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41940         file.
41941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41943         file.
41944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41946         file.
41947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41949         file.
41950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41951         file.
41952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41953         file.
41954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41955         file.
41956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41957         New file.
41958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41959         file.
41960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41961         file.
41962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41964         file.
41965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41967         file.
41968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41970         file.
41971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41973         VIS3 routines.
41974
41975         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41976         New file.
41977
41978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41979
41980         * sysdeps/sparc/configure.in: New file.
41981         * sysdeps/sparc/configure: Generate.
41982         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41983         * configure: Regenerate.
41984         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41985         * config.make.in (have-as-vis3): New.
41986         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41987         available use -Av9d instead of -Av9a.
41988         * sysdeps/sparc/sparc64/Makefile: Likewise.
41989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41991         New file.
41992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41993         file.
41994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41995         New file.
41996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41997         file.
41998         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41999         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42000         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42002         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42003
42004         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42005         fzeros/fnegs to load 0x80000000 into a float register instead of
42006         using the stack.
42007         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42008
42009 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42010
42011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42012         bits/syscall.h.
42013         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42014         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42015         ($(inst_includedir)/bits/syscall.h): Remove rule.
42016         ($(objpfx)bits/syscall.d): Include instead of
42017         $(objpfx)syscall-list.d.
42018         (generated): Change syscall-list.h and syscall-list.d to
42019         bits/syscall.h and bits/syscall.d.
42020
42021 2012-03-14  Roland McGrath  <roland@hack.frob.com>
42022
42023         [BZ #13846]
42024         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42025
42026 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
42027
42028         [BZ #13841]
42029         * math/s_csqrt.c: Include <float.h>.
42030         (__csqrt): Scale large or subnormal inputs.
42031         * math/s_csqrtf.c: Likewise.
42032         * math/s_csqrtl.c: Likewise.
42033         * math/libm-test.inc (csqrt_test): Add more tests.
42034         * sysdeps/i386/fpu/libm-test-ulps: Update.
42035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42036
42037         [BZ #13840]
42038         * math/libm-test.inc (hypot_test): Add more tests.
42039
42040 2012-03-13  David S. Miller  <davem@davemloft.net>
42041
42042         [BZ #13840]
42043         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42044         double-precision for the calculation instead of scaling.
42045
42046 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
42047
42048         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42049         manipulate bits before adding and subtracting TWO52[sx].
42050         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42051         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42052         Likewise.
42053         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42054
42055 2012-03-13  David S. Miller  <davem@davemloft.net>
42056
42057         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42058         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42059         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42060         rtld-global-offsets.h
42061         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42062
42063         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42064         large parameters.
42065
42066         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42067
42068         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42069         'err' in the ifdef scope in which it is actually used.
42070
42071         * nss/nss_db/db-init.c: Include string.h
42072
42073 2012-03-12  David S. Miller  <davem@davemloft.net>
42074
42075         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42076         masking out of the most significant byte of random value used.
42077         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42078         Fix coding style in previous change.
42079
42080         * sysdeps/unix/sysv/linux/kernel-features.h
42081         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42082         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42083         expression.
42084         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42085         later.
42086
42087 2012-03-11  David S. Miller  <davem@davemloft.net>
42088
42089         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42090         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42092         for 'resultvar' otherwise things get truncated on 64-bit.
42093
42094         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42095         Fix masking out of the most significant byte of random value used.
42096
42097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42098
42099 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
42100
42101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42102
42103 2012-03-09  David S. Miller  <davem@davemloft.net>
42104
42105         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42106         variables with appropriate CPP guards.
42107         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42108         from the frame pointer, not the stack pointer.  Correct layout
42109         comments.  Fix test on resulting framesize and the management of
42110         the outregs buffer for pltexit.  Preserve floating point return
42111         values across _dl_call_pltexit call.
42112         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42113         framesize and the management of the outregs buffer for pltexit.
42114         Preserve floating point return values across _dl_call_pltexit
42115         call.
42116         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42117         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42118         (la_sparc64_gnu_pltexit): New functions.
42119         (print_exit): Fix format string for return register value.
42120
42121 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
42122
42123         * sunrpc/Makefile (others): Add rpcgen.
42124         ($(objpfx)rpcgen): Remove special build rule and dependency on
42125         libc.
42126         * sunrpc/rpcgen.c: New file.
42127
42128 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
42129
42130         [BZ #13673]
42131         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42132         * stdio-common/bug-vfprintf-nargs.c: Likewise.
42133         * sysdeps/i386/crti.S: Likewise.
42134         * sysdeps/i386/crtn.S: Likewise.
42135         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42136         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42137         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42138         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42139         * sysdeps/sh/crti.S: Likewise.
42140         * sysdeps/sh/crtn.S: Likewise.
42141         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42142
42143         [BZ #13673]
42144         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42145         with URL.
42146         * locale/programs/locfile-kw.gperf: Likewise.
42147         * locale/programs/charmap-kw.h: Regenerated.
42148         * locale/programs/locfile-kw.h: Likewise.
42149
42150         [BZ #13673]
42151         * intl/plural.y: Replace FSF snail mail address with URL.
42152         * intl/plural.c: Regenerated.
42153
42154 2012-03-09  Richard Henderson  <rth@twiddle.net>
42155
42156         * include/math_private.h: Remove file.
42157         * math/math_private.h: Move file ...
42158         * sysdeps/generic/math_private.h: ... here.
42159
42160         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42161         * sysdeps/powerpc/fpu/math_private.h: Likewise.
42162         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42163
42164         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42165         and <math_private.h>.
42166         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42167         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42168         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42169         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42170         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42171         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42172         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42177         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42178         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42179         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42180         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42181         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42187         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42188         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42190         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42191         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42192         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42196         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42203         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42204         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42206         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42207         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42208         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42209         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42210         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42212         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42213         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42216         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42217         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42218         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42219         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42220         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42221         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42222         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42224         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42225         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42226         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42227         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42230         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42236         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42239         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42249         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42250         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42253         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42254         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42255         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42256         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42257         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42259         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42260         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42270         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42271         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42272         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42273         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42274         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42276         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42277         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42278         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42279         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42280         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42281         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42283         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42284         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42285         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42286         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42287         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42288         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42289         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42290         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42291         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42293         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42294         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42295         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42296         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42297         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42298         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42299         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42300         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42301         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42302         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42303         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42304         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42305         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42306         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42307         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42308         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42309         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42310         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42311         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42312         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42313         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42314         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42315         * sysdeps/ieee754/k_standard.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42333         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42334         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42342         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42343         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42344         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42347         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42349         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42350         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42352         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42353         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42354         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42359         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42360         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42361         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42362         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42364         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42367         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42368         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42369         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42370         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42371         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42372         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42373         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42374         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42375         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42376         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42377         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42378         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42385         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42393         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42394         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42395         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42396         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42401         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42402         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42404         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42407         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42408         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42409         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42412         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42413         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42414         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42415         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42420         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42423         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42425         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42426         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42427         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42428         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42431         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42432         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42435         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42438         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42443         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42449         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42450         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42451         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42452         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42453         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42454         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42455         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42456         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42457         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42458         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42459         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42460         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42461         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42462         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42463         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42464         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42465         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42466         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42467         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42470         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42471         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42472         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42473         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42474         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42475         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42476         * sysdeps/ieee754/s_lib_version.c: Likewise.
42477         * sysdeps/ieee754/s_matherr.c: Likewise.
42478         * sysdeps/ieee754/s_signgam.c: Likewise.
42479         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42480         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42481         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42482         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42483         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42484         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42485         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42486         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42487         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42488         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42489         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42490         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42491         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42492         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42493         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42494         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42496         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42497         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42499         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42500
42501 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42502
42503         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42504         * sunrpc/rpc_main.c: Likewise.
42505         * sunrpc/rpc_svcout.c: Likewise.
42506
42507 2012-03-09  David S. Miller  <davem@davemloft.net>
42508
42509         * include/math_private.h: New file.
42510
42511 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
42512
42513         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42514         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42515         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42516         from <bits/socket_type.h>.
42517         (enum __socket_type): Don't define here.
42518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42520         bits/socket_type.h.
42521
42522         [BZ #13566]
42523         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42524         checking __USE_GNU.
42525
42526         * Makerules ($(inst_includedir)/%.h): New rule.
42527         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42528         (install-others): Remove variable setting.
42529         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42530
42531 2012-03-08  Richard Henderson  <rth@twiddle.net>
42532
42533         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42534         from macro to inline function; merge with the
42535         !__LIBC_INTERNAL_MATH_INLINES version.
42536         (__ieee754_sqrtf): Likewise.
42537
42538         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42539         to inline function.
42540         (__rintf, __floor, __floorf): Likewise.
42541
42542         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42543         macro to inline function.
42544         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42545
42546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42547         not <math/math_private.h>.
42548
42549 2012-03-08  David S. Miller  <davem@davemloft.net>
42550
42551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42552         copyright year.
42553         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42554
42555 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
42556
42557         * resolv/gai_misc.c (handle_requests): Fix struct timespec
42558         normalization.
42559         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42560         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42561
42562 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
42563
42564         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
42565         be defined individually, they must be defined as a block.  Define
42566         S for printing a string instead of hidint the different by using a
42567         macro for adding the 'l'.
42568         * stdio-common/tst-fphex-wide.c: Adjust.
42569
42570 2012-03-07  Marek Polacek  <polacek@redhat.com>
42571
42572         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42573
42574 2012-03-08  Marek Polacek  <polacek@redhat.com>
42575
42576         [BZ #13806]
42577         * stdio-common/Makefile (tests): Add tst-fphex-wide.
42578         * stdio-common/tst-fphex.c: Define a few macros to make the
42579         test reusable.  Use them.
42580         * stdio-common/tst-fphex-wide.c: New file.
42581
42582 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
42583
42584         [BZ #6911]
42585         * manual/macros.texi (gnusystems): New macro.
42586         (nongnusystems): Likewise.
42587         (gnulinuxhurdsystems): Likewise.
42588         (gnuhurdsystems): Likewise..
42589         (gnulinuxsystems): Likewise.
42590         * manual/charset.texi: Use new macros or @theglibc{} to refer to
42591         variants of the GNU system, not "GNU system".
42592         * manual/conf.texi: Likewise.
42593         * manual/errno.texi: Likewise.  Update example of errno macro
42594         expansion.
42595         * manual/filesys.texi: Likewise.
42596         (getumask): Document as specific to GNU/Hurd.
42597         * manual/install.texi: Likewise.  Reword some references to
42598         GNU/Linux.
42599         * manual/intro.texi: Likewise.
42600         * manual/io.texi: Likewise.
42601         (File Name Portability): Detail which constraints are inapplicable
42602         to all GNU systems and which are only inapplicable to GNU/Hurd.
42603         * manual/job.texi: Likewise.
42604         * manual/llio.texi: Likewise.
42605         (O_NOCTTY): Document as present on GNU/Linux.
42606         * manual/maint.texi: Likewise.
42607         * manual/memory.texi: Likewise.
42608         * manual/pattern.texi: Likewise.
42609         * manual/pipe.texi: Likewise.
42610         * manual/process.texi: Likewise.
42611         * manual/resource.texi: Likewise.
42612         (RUSAGE_CHILDREN): Remove statement about specifying a particular
42613         child on GNU/Hurd.
42614         * manual/setjmp.texi: Likewise.
42615         * manual/signal.texi: Likewise.
42616         * manual/startup.texi: Likewise.
42617         * manual/stdio.texi: Likewise.
42618         * manual/terminal.texi: Likewise.
42619         (ONLCR): Document as POSIX.
42620         (OXTABS): Document availability on GNU/Linux as XTABS.
42621         (ONOEOT): Document availability separately from other bits.
42622         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42623         * manual/time.texi: Likewise.
42624         * manual/users.texi: Likewise.
42625         * INSTALL: Regenerated.
42626         * sysdeps/gnu/errlist.c: Regenerated.
42627
42628         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42629         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42630         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
42631         puts.
42632         * configure: Regenerated.
42633
42634 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
42635
42636         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42637         default includes instead of AC_HEADER_CHECK.
42638         * sysdeps/i386/configure: Regenerated.
42639
42640         [BZ #10716]
42641         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42642         * math/s_cacoshf.c (__cacoshf): Likewise.
42643         * math/s_cacoshl.c (__cacoshl): Likewise.
42644         * math/s_casinh.c (__casinh): Set signs of result from argument.
42645         * math/s_casinhf.c (__casinhf): Likewise.
42646         * math/s_casinhl.c (__casinhl): Likewise.
42647         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42648         (casinh_test): Add more tests.
42649         * sysdeps/i386/fpu/libm-test-ulps: Update.
42650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42651
42652 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
42653
42654         * po/zh_TW.po: Update from translation team.
42655
42656         * login/Makefile (distribute): Remove variable.
42657         * catgets/Makefile: Likewise.
42658         * mach/Makefile: Likewise.
42659         * malloc/Makefile: Likewise.
42660         * misc/Makefile: Likewise.
42661         * iconv/Makefile: Likewise.
42662         * nscd/Makefile: Likewise.
42663         * hurd/Makefile: Likewise.
42664         * manual/Makefile: Likewise.
42665         * locale/Makefile: Likewise.
42666         * intl/Makefile: Likewise.
42667         * conform/Makefile: Likewise.
42668         * nss/Makefile: Likewise.
42669         * time/Makefile: Likewise.
42670         * soft-fp/Makefile: Likewise.
42671         * dirent/Makefile: Likewise.
42672         * gmon/Makefile: Likewise.
42673         * po/Makefile: Likewise.
42674         * rt/Makefile: Likewise.
42675         * socket/Makefile: Likewise.
42676         * math/Makefile: Likewise.
42677         * signal/Makefile: Likewise.
42678         * debug/Makefile: Likewise.
42679         * elf/Makefile: Likewise.
42680         * timezone/Makefile: Likewise.
42681         * stdlib/Makefile: Likewise.
42682         * iconvdata/Makefile: Likewise.
42683         * sunrpc/Makefile: Likewise.
42684         * io/Makefile: Likewise.
42685         * argp/Makefile: Likewise.
42686         * inet/Makefile: Likewise.
42687         * hesiod/Makefile: Likewise.
42688         * grp/Makefile: Likewise.
42689         * csu/Makefile: Likewise.
42690         * wctype/Makefile: Likewise.
42691         * crypt/Makefile: Likewise.
42692         * libio/Makefile: Likewise.
42693         * string/Makefile: Likewise.
42694         * nis/Makefile: Likewise.
42695         * resolv/Makefile: Likewise.
42696         * stdio-common/Makefile: Likewise.
42697         * wcsmbs/Makefile: Likewise.
42698         * dlfcn/Makefile: Likewise.
42699         * posix/Makefile: Likewise.
42700
42701         [BZ #6959]
42702         * timezone/Makefile: Don't install timezone files, just the programs
42703         and scripts.
42704
42705 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
42706
42707         * nss/databases.def: Add missing gshadow entry.
42708
42709         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
42710
42711 2012-03-06  Marek Polacek  <polacek@redhat.com>
42712
42713         [BZ #13726]
42714         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42715         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42716         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42717         * stdio-common/tst-long-dbl-fphex.c: New file.
42718
42719 2012-03-06  David S. Miller  <davem@davemloft.net>
42720
42721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42722         (set_obp_int): New function.
42723         (get_obp_int): New function.
42724         (__get_clockfreq_via_dev_openprom): Likewise.
42725         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42726         Avoid unused variable warnings on 'val' and use builtin_expect.
42727         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42728         __builtin_expect.
42729         (INLINE_CLONE_SYSCALL): Likewise.
42730
42731 2012-03-05  David S. Miller  <davem@davemloft.net>
42732
42733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42734
42735 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
42736
42737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42738
42739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42740         only for |x| >= 40.
42741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42742
42743 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
42744
42745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42746         Replace gettimeofday with __vdso_gettimeofday.
42747
42748         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42749         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42750         __vdso_clock_gettime and __vdso_getcpu.
42751
42752         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42753         time with __vdso_time.
42754
42755 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42756
42757         * manual/lang.texi (size_t): Note types to which size_t may be
42758         equivalent with the GNU C Library, but do not describe when
42759         differences between them are significant.
42760
42761 2012-03-05  Andreas Jaeger  <aj@suse.de>
42762
42763         * sysdeps/i386/fpu/libm-test-ulps: Update.
42764
42765 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
42766
42767         [BZ #3976]
42768         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42769         (__ieee754_pow): Save and restore rounding mode and use
42770         round-to-nearest for main computations.
42771         * math/libm-test.inc (pow_test_tonearest): New function.
42772         (pow_test_towardzero): Likewise.
42773         (pow_test_downward): Likewise.
42774         (pow_test_upward): Likewise.
42775         (main): Call the new functions.
42776         * sysdeps/i386/fpu/libm-test-ulps: Update.
42777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42778
42779         [BZ #3976]
42780         * math/libm-test.inc (cosh_test_tonearest): New function.
42781         (cosh_test_towardzero): Likewise.
42782         (cosh_test_downward): Likewise.
42783         (cosh_test_upward): Likewise.
42784         (sinh_test_tonearest): Likewise.
42785         (sinh_test_towardzero): Likewise.
42786         (sinh_test_downward): Likewise.
42787         (sinh_test_upward): Likewise.
42788         (main): Call the new functions.
42789         * sysdeps/i386/fpu/libm-test-ulps: Update.
42790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42791
42792 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42793
42794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42795         default stack guard is set in last bytes.
42796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42797
42798 2012-03-05  Kees Cook  <keescook@chromium.org>
42799
42800         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42801
42802         [BZ #13656]
42803         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42804         possibly allocate from heap instead of stack.
42805         * stdio-common/bug-vfprintf-nargs.c: New file.
42806         * stdio-common/Makefile (tests): Add nargs overflow test.
42807
42808 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42809
42810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42811
42812 2012-03-03  Marek Polacek  <polacek@redhat.com>
42813
42814         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42815         * math/math_private.h: Likewise.
42816         * stdlib/tst-strtod.c: Likewise.
42817         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42818         * sysdeps/x86_64/bits/atomic.h: Likewise.
42819
42820 2012-03-02  David S. Miller  <davem@davemloft.net>
42821
42822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42826         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42827         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42828         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42829         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42830
42831 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42832
42833         [BZ #13792]
42834         * manual/examples/README: New file, says the example source files
42835         can be used under GPL>=2.
42836         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42837         line containing just "*/".
42838         * manual/examples/add.c: Add copyright header (GPL>=2).
42839         * manual/examples/argp-ex1.c: Likewise.
42840         * manual/examples/argp-ex2.c: Likewise.
42841         * manual/examples/argp-ex3.c: Likewise.
42842         * manual/examples/argp-ex4.c: Likewise.
42843         * manual/examples/atexit.c: Likewise.
42844         * manual/examples/db.c: Likewise.
42845         * manual/examples/dir.c: Likewise.
42846         * manual/examples/dir2.c: Likewise.
42847         * manual/examples/execinfo.c: Likewise.
42848         * manual/examples/filecli.c: Likewise.
42849         * manual/examples/filesrv.c: Likewise.
42850         * manual/examples/fmtmsgexpl.c: Likewise.
42851         * manual/examples/genpass.c: Likewise.
42852         * manual/examples/inetcli.c: Likewise.
42853         * manual/examples/inetsrv.c: Likewise.
42854         * manual/examples/isockad.c: Likewise.
42855         * manual/examples/longopt.c: Likewise.
42856         * manual/examples/memopen.c: Likewise.
42857         * manual/examples/memstrm.c: Likewise.
42858         * manual/examples/mkfsock.c: Likewise.
42859         * manual/examples/mkisock.c: Likewise.
42860         * manual/examples/mygetpass.c: Likewise.
42861         * manual/examples/pipe.c: Likewise.
42862         * manual/examples/popen.c: Likewise.
42863         * manual/examples/rprintf.c: Likewise.
42864         * manual/examples/search.c: Likewise.
42865         * manual/examples/select.c: Likewise.
42866         * manual/examples/setjmp.c: Likewise.
42867         * manual/examples/sigh1.c: Likewise.
42868         * manual/examples/sigusr.c: Likewise.
42869         * manual/examples/stpcpy.c: Likewise.
42870         * manual/examples/strdupa.c: Likewise.
42871         * manual/examples/strftim.c: Likewise.
42872         * manual/examples/strncat.c: Likewise.
42873         * manual/examples/subopt.c: Likewise.
42874         * manual/examples/swapcontext.c: Likewise.
42875         * manual/examples/termios.c: Likewise.
42876         * manual/examples/testopt.c: Likewise.
42877         * manual/examples/testpass.c: Likewise.
42878         * manual/examples/timeval_subtract.c: Likewise.
42879
42880         [BZ #13792]
42881         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42882         function to ...
42883         * manual/timeval_subtract.c.texi: ... here, new file.
42884
42885 2012-03-02  David S. Miller  <davem@davemloft.net>
42886
42887         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42888
42889 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42890
42891         [BZ #3976]
42892         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42893         (__sin): Save and restore rounding mode and use round-to-nearest
42894         for all computations.
42895         (__cos): Save and restore rounding mode and use round-to-nearest
42896         for all computations.
42897         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42898         <fenv.h>.
42899         (tan): Save and restore rounding mode and use round-to-nearest for
42900         all computations.
42901         * math/libm-test.inc (cos_test_tonearest): New function.
42902         (cos_test_towardzero): Likewise.
42903         (cos_test_downward): Likewise.
42904         (cos_test_upward): Likewise.
42905         (sin_test_tonearest): Likewise.
42906         (sin_test_towardzero): Likewise.
42907         (sin_test_downward): Likewise.
42908         (sin_test_upward): Likewise.
42909         (tan_test_tonearest): Likewise.
42910         (tan_test_towardzero): Likewise.
42911         (tan_test_downward): Likewise.
42912         (tan_test_upward): Likewise.
42913         (main): Call the new functions.
42914         * sysdeps/i386/fpu/libm-test-ulps: Update.
42915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42916
42917         [BZ #10135]
42918         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42919         small n, then large n, before computing and testing k+n.
42920         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42922         Likewise.
42923         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42924         Likewise.
42925         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42926         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42933         * math/libm-test.inc (scalbn_test): Add more tests.
42934         (scalbln_test): Likewise.
42935
42936         * manual/filesys.texi (mode_t): Describe constraints on size and
42937         signedness, not exact equivalence to a particular type.
42938         (ino_t): Likewise.
42939         (ino64_t): Likewise.
42940         (dev_t): Likewise.
42941         (nlink_t): Likewise.
42942         (blkcnt_t): Likewise.
42943         (blkcnt64_t): Likewise.
42944         * manual/llio.texi (off_t): Likewise.
42945
42946         [BZ #3976]
42947         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42948         (__ieee754_exp): Save and restore rounding mode and use
42949         round-to-nearest for all computations.
42950         * math/libm-test.inc (exp_test_tonearest): New function.
42951         (exp_test_towardzero): Likewise.
42952         (exp_test_downward): Likewise.
42953         (exp_test_upward): Likewise.
42954         (main): Call the new functions.
42955         * sysdeps/i386/fpu/libm-test-ulps: Update.
42956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42957
42958 2012-03-01  Chris Demetriou  <cgd@google.com>
42959
42960         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42961         have predictable order.
42962
42963 2012-03-01  David S. Miller  <davem@davemloft.net>
42964
42965         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42966
42967         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42968         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42969         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42970         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42971
42972         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42973         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42974         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42976         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42977         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42978         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42979         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42980         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42981
42982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42983
42984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42985         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42986         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42987
42988         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42989         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42990         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42991         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42992         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42993         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42994         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42995         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42996         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42997         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42998         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43001         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43004         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43005         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43006         * sysdeps/sparc/elf/configure: Regenerated.
43007
43008 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
43009
43010         * configure.in (AS, LD): Require binutils 2.20 or later.
43011         * configure: Regenerated.
43012         * manual/install.texi (Tools for Compilation): Give binutils 2.20
43013         as required minimum version.
43014         * INSTALL: Regenerated.
43015
43016         [BZ #2541]
43017         [BZ #4108]
43018         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43019         before squaring exponent.
43020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43021         bottom long double and 27 bits of top long double before squaring
43022         exponent.
43023         * math/libm-test.inc (erfc_test): Add more tests.
43024         * sysdeps/i386/fpu/libm-test-ulps: Update.
43025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43027
43028 2012-03-01  Kai Tietz  <ktietz@redhat.com>
43029
43030         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43031         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43032         containing bit-fields.
43033         * soft-fp/extended.h (_FP_UNION_E): Likewise.
43034         * soft-fp/single.h (_FP_UNION_S): Likewise.
43035         * soft-fp/double.h (_FP_UNION_D): Likewise.
43036
43037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43038
43039         [BZ #13786]
43040         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43041         not include ../strcmp.S.
43042         [USE_AS_STRNCASECMP_L]: Likewise.
43043         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43044         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43045         * sysdeps/i386/i686/multiarch/strncase_l-c.c
43046         (__strncasecmp_l_ia32): Define as alias to
43047         __strncasecmp_l_nonascii.
43048
43049         [BZ #5794]
43050         * math/libm-test.inc (expm1_test): Add test for bug 5794.
43051         * sysdeps/i386/fpu/libm-test-ulps: Update.
43052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43053
43054         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43056
43057 2012-02-29  Jeff Law  <law@redhat.com>
43058
43059         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43060         out of bounds read.
43061
43062 2012-02-29  Marek Polacek  <polacek@redhat.com>
43063
43064         [BZ #13706]
43065         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43066         * elf/Makefile: Add rules to run tst-unused-dep.out.
43067
43068 2012-02-28  David S. Miller  <davem@davemloft.net>
43069
43070         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43071         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43072         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43073         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43074         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43075         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43076
43077 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
43078
43079         * math/libm-test.inc (llround_test): Move one test from
43080         lround_test.  Use TEST_f_L in moved test.
43081         (lround_test): Move misplaced test to llround_test.  Add testcase
43082         from bug 2561.
43083
43084 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
43085
43086         * sysdeps/x86_64/fpu/e_expf.S: New file.
43087         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43088
43089 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
43090
43091         [BZ #13637]
43092         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43093         of remain_len that may cause incomplete multi-byte character and
43094         false match.
43095         * posix/bug-regex33.c: New file.
43096         * posix/Makefile (tests): Add bug-regex33.
43097
43098 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
43099
43100         * manual/macros.texi: New file.
43101         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43102         * manual/libc.texinfo: Include macros.texi.
43103         * manual/creatute.texi: Likewise.
43104         * manual/install.texi: Likewise.
43105         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43106         @glibcadj{} in references to the GNU C Library.
43107         * manual/charset.texi: Likewise.
43108         * manual/conf.texi: Likewise.
43109         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
43110         when not using those macros.
43111         * manual/creature.texi: Likewise.
43112         * manual/crypt.texi: Likewise.
43113         * manual/errno.texi: Likewise.
43114         * manual/filesys.texi: Likewise.
43115         * manual/header.texi: Likewise.
43116         * manual/install.texi: Likewise.
43117         * manual/intro.texi: Likewise.
43118         * manual/io.texi: Likewise.
43119         * manual/job.texi: Likewise.
43120         * manual/lang.texi: Likewise.
43121         * manual/libc.texiinfo: Likewise.
43122         * manual/llio.texi: Likewise.
43123         * manual/locale.texi: Likewise.
43124         * manual/maint.texi: Likewise.
43125         * manual/math.texi: Likewise.
43126         * manual/memory.texi: Likewise.
43127         * manual/message.texi: Likewise.
43128         * manual/nss.texi: Likewise.
43129         * manual/pattern.texi: Likewise.
43130         * manual/process.texi: Likewise.
43131         * manual/resource.texi: Likewise.
43132         * manual/search.texi: Likewise.
43133         * manual/setjmp.texi: Likewise.
43134         * manual/signal.texi: Likewise.
43135         * manual/socket.texi: Likewise.
43136         * manual/startup.texi: Likewise.
43137         * manual/stdio.texi: Likewise.
43138         * manual/string.texi: Likewise.
43139         * manual/sysinfo.texi: Likewise.
43140         * manual/syslog.texi: Likewise.
43141         * manual/terminal.texi: Likewise.
43142         * manual/time.texi: Likewise.
43143         * manual/users.texi: Likewise.
43144         * INSTALL: Regenerated.
43145         * NOTES: Regenerated.
43146         * sysdeps/gnu/errlist.c: Regenerated.
43147
43148 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
43149
43150         * include/dirent.h: Include <dirstream.h> before
43151         <dirent/dirent.h>.
43152
43153 2012-02-28  David S. Miller  <davem@davemloft.net>
43154
43155         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43156         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43157         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43158         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43159
43160 2012-02-27  David S. Miller  <davem@davemloft.net>
43161
43162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43164         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43165         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43166
43167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43168         frame pointer instead of stack pointer relative arg slot.
43169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43170         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43171         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43172
43173 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
43174
43175         [BZ #3992]
43176         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43177
43178 2012-02-27  David S. Miller  <davem@davemloft.net>
43179
43180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43184         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43185         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43186         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43187         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43188
43189 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43190
43191         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43192         later.  Allow versions 5-9.
43193         * configure: Regenerated.
43194         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43195         required minimum version and 4.6 as recommended version.  Do not
43196         mention bugs in GCC 2.7 and 2.8.
43197         * INSTALL: Regenerated.
43198
43199 2012-02-27  David S. Miller  <davem@davemloft.net>
43200
43201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43205         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43206         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43207         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43208         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43209
43210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43211         manipulate bits before adding and subtracting TWO112[sx].
43212         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43213
43214 2012-02-27  Roland McGrath  <roland@hack.frob.com>
43215
43216         [BZ #13775]
43217         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43218         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43219         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43220         being in POSIX, because they are in 1003.1-2008.
43221
43222         * rt/tst-aio.c: Include <fcntl.h>.
43223         * rt/tst-aio7.c: Likewise.
43224         * rt/tst-aio64.c: Likewise.
43225
43226         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43227
43228 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
43229
43230         * manual/install.texi (--with-headers): Describe headers as
43231         interface headers, not private headers.
43232         (Specific advice for GNU/Linux systems): Describe use of headers
43233         from "make headers_install", not private headers from older
43234         kernels.
43235         * INSTALL: Regenerated.
43236         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43237         Change to 2.6.19.
43238         * sysdeps/unix/sysv/linux/configure: Regenerated.
43239
43240         * manual/llio.texi (fclean): Remove documentation.
43241
43242         * manual/Makefile (libc-texi-generated): New variable.  Include
43243         version.texi.
43244         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43245         $(libc-texi-generated), not duplicated list of files.
43246         (version.texi, stamp-version): New rules.
43247         (realclean): Remove $(libc-texi-generated), not individual files
43248         from that list.  Do not remove dir-add.texinfo.
43249         * manual/libc.texinfo: Comment out uses of edition numbers and
43250         references to printed manual.  Remove last-updated dates.
43251         (EDITION): Comment out.
43252         (ISBN): Likewise.
43253         (VERSION, UPDATED): Remove.
43254         (version.texi): Include.
43255
43256 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
43257
43258         * sysdeps/posix/spawni.c: Include <signal.h>.
43259         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43260         * sysdeps/pthread/aio_fsync.c: Likewise.
43261
43262 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
43263
43264         * conform/Makefile (tests): Run only when not cross-compiling and
43265         when fast-check is not defined.
43266
43267         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43268         * conform/data/limits.h-data: Fixes for POSIX2008.
43269         * conform/run-conformtest.sh: Run all tests.
43270         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43271         headers.
43272         * include/bits/dlfcn.h: Likewise.
43273         * include/langinfo.h: Likewise.
43274         * include/monetary.h: Likewise.
43275         * include/sys/poll.h: Likewise.
43276
43277         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43278         for __USE_GNU.
43279         * posix/spawn.h: Define __need_sigset_t.
43280         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43281         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43282         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
43283         to get sigevent_t only.
43284         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43285         only for __USE_GNU.
43286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43287         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43288         process_vm_writev only for __USE_GNU.
43289         * termios/termios.h: Declare tcgetsid also for POSIX2008.
43290
43291         * conform/Makefile: For now ignore errors from run-conformtest.
43292         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
43293         POSIX to avoid namespace pollution.  Don't prepend headers.
43294         * conform/data/aio.h-data: Fixes for POSIX testing.
43295         * conform/data/fcntl.h-data: Likewise.
43296         * conform/data/glob.h-data: Likewise.
43297         * conform/data/grp.h-data: Likewise.
43298         * conform/data/pthread.h-data: Likewise.
43299         * conform/data/pwd.h-data: Likewise.
43300         * conform/data/signal.h-data: Likewise.
43301         * conform/data/spawn.h-data: Likewise.
43302         * conform/data/stdio.h-data: Likewise.
43303         * conform/data/stdlib.h-data: Likewise.
43304         * conform/data/stropts.h-data: Likewise.
43305         * conform/data/sys/mman.h-data: Likewise.
43306         * conform/data/sys/stat.h-data: Likewise.
43307         * conform/data/sys/types.h-data: Likewise.
43308         * conform/data/sys/wait.h-data: Likewise.
43309         * conform/data/time.h-data: Likewise.
43310         * conform/data/unistd.h-data: Likewise.
43311         * conform/data/utime.h-data: Likewise.
43312
43313         * io/sys/stat.h: fchmod was always in POSIX.
43314         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43315         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43316         * rt/aio.h: Define __need_timespec before including <time.h>.
43317         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43318         struct.  Add forward declaration of pthread_attr_t and use it in
43319         sigevent.
43320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43321         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43322         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43323         always remove CLK_TCK definition.
43324
43325 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
43326
43327         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43328
43329 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
43330
43331         * conform/run-conformtest.sh: New file.
43332         * conform/Makefile: Run run-conformtest for tests.
43333         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
43334         support.
43335
43336         * conform/data/uchar.h-data: New file.
43337         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43338         * conform/data/arpa/inet.h-data: Likewise.
43339         * conform/data/assert.h-data: Likewise.
43340         * conform/data/complex.h-data: Likewise.
43341         * conform/data/cpio.h-data: Likewise.
43342         * conform/data/ctype.h-data: Likewise.
43343         * conform/data/dirent.h-data: Likewise.
43344         * conform/data/dlfcn.h-data: Likewise.
43345         * conform/data/errno.h-data: Likewise.
43346         * conform/data/fcntl.h-data: Likewise.
43347         * conform/data/float.h-data: Likewise.
43348         * conform/data/fmtmsg.h-data: Likewise.
43349         * conform/data/fnmatch.h-data: Likewise.
43350         * conform/data/ftw.h-data: Likewise.
43351         * conform/data/glob.h-data: Likewise.
43352         * conform/data/grp.h-data: Likewise.
43353         * conform/data/iconv.h-data: Likewise.
43354         * conform/data/inttypes.h-data: Likewise.
43355         * conform/data/langinfo.h-data: Likewise.
43356         * conform/data/libgen.h-data: Likewise.
43357         * conform/data/limits.h-data: Likewise.
43358         * conform/data/locale.h-data: Likewise.
43359         * conform/data/math.h-data: Likewise.
43360         * conform/data/monetary.h-data: Likewise.
43361         * conform/data/mqueue.h-data: Likewise.
43362         * conform/data/ndbm.h-data: Likewise.
43363         * conform/data/net/if.h-data: Likewise.
43364         * conform/data/netdb.h-data: Likewise.
43365         * conform/data/netinet/in.h-data: Likewise.
43366         * conform/data/nl_types.h-data: Likewise.
43367         * conform/data/poll.h-data: Likewise.
43368         * conform/data/pthread.h-data: Likewise.
43369         * conform/data/pwd.h-data: Likewise.
43370         * conform/data/regex.h-data: Likewise.
43371         * conform/data/sched.h-data: Likewise.
43372         * conform/data/search.h-data: Likewise.
43373         * conform/data/semaphore.h-data: Likewise.
43374         * conform/data/setjmp.h-data: Likewise.
43375         * conform/data/signal.h-data: Likewise.
43376         * conform/data/spawn.h-data: Likewise.
43377         * conform/data/stdarg.h-data: Likewise.
43378         * conform/data/stdio.h-data: Likewise.
43379         * conform/data/stdlib.h-data: Likewise.
43380         * conform/data/string.h-data: Likewise.
43381         * conform/data/strings.h-data: Likewise.
43382         * conform/data/stropts.h-data: Likewise.
43383         * conform/data/sys/ipc.h-data: Likewise.
43384         * conform/data/sys/mman.h-data: Likewise.
43385         * conform/data/sys/msg.h-data: Likewise.
43386         * conform/data/sys/resource.h-data: Likewise.
43387         * conform/data/sys/select.h-data: Likewise.
43388         * conform/data/sys/sem.h-data: Likewise.
43389         * conform/data/sys/shm.h-data: Likewise.
43390         * conform/data/sys/socket.h-data: Likewise.
43391         * conform/data/sys/stat.h-data: Likewise.
43392         * conform/data/sys/statvfs.h-data: Likewise.
43393         * conform/data/sys/time.h-data: Likewise.
43394         * conform/data/sys/timeb.h-data: Likewise.
43395         * conform/data/sys/times.h-data: Likewise.
43396         * conform/data/sys/types.h-data: Likewise.
43397         * conform/data/sys/uio.h-data: Likewise.
43398         * conform/data/sys/un.h-data: Likewise.
43399         * conform/data/sys/utsname.h-data: Likewise.
43400         * conform/data/sys/wait.h-data: Likewise.
43401         * conform/data/syslog.h-data: Likewise.
43402         * conform/data/tar.h-data: Likewise.
43403         * conform/data/termios.h-data: Likewise.
43404         * conform/data/utime.h-data: Likewise.
43405         * conform/data/utmpx.h-data: Likewise.
43406         * conform/data/varargs.h-data: Likewise.
43407         * conform/data/wchar.h-data: Likewise.
43408         * conform/data/wctype.h-data: Likewise.
43409         * conform/data/wordexp.h-data: Likewise.
43410
43411         * include/stropts.h: New file.
43412         * include/uchar.h: New file.
43413         * include/aio.h: Changes to allow conformtest.pl to use the headers.
43414         * include/assert.h: Likewise.
43415         * include/ctype.h: Likewise.
43416         * include/dirent.h: Likewise.
43417         * include/dlfcn.h: Likewise.
43418         * include/fcntl.h: Likewise.
43419         * include/fnmatch.h: Likewise.
43420         * include/glob.h: Likewise.
43421         * include/grp.h: Likewise.
43422         * include/libio.h: Likewise.
43423         * include/locale.h: Likewise.
43424         * include/math.h: Likewise.
43425         * include/net/if.h: Likewise.
43426         * include/netdb.h: Likewise.
43427         * include/netinet/in.h: Likewise.
43428         * include/pthread.h: Likewise.
43429         * include/pwd.h: Likewise.
43430         * include/regex.h: Likewise.
43431         * include/sched.h: Likewise.
43432         * include/search.h: Likewise.
43433         * include/setjmp.h: Likewise.
43434         * include/signal.h: Likewise.
43435         * include/stdio.h: Likewise.
43436         * include/stdlib.h: Likewise.
43437         * include/string.h: Likewise.
43438         * include/sys/cdefs.h: Likewise.
43439         * include/sys/mman.h: Likewise.
43440         * include/sys/msg.h: Likewise.
43441         * include/sys/resource.h: Likewise.
43442         * include/sys/select.h: Likewise.
43443         * include/sys/socket.h: Likewise.
43444         * include/sys/stat.h: Likewise.
43445         * include/sys/statvfs.h: Likewise.
43446         * include/sys/time.h: Likewise.
43447         * include/sys/times.h: Likewise.
43448         * include/sys/uio.h: Likewise.
43449         * include/sys/utsname.h: Likewise.
43450         * include/sys/wait.h: Likewise.
43451         * include/termios.h: Likewise.
43452         * include/time.h: Likewise.
43453         * include/ulimit.h: Likewise.
43454         * include/unistd.h: Likewise.
43455         * include/utime.h: Likewise.
43456         * include/wchar.h: Likewise.
43457         * include/wctype.h: Likewise.
43458         * include/wordexp.h: Likewise.
43459
43460         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43461
43462         * time/time.h: TIME_UTC must be a macro.
43463         Make timespec_get available for ISO C11 only as well.
43464
43465 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
43466
43467         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43468         Reported by Peng Haitao <penght@cn.fujitsu.com>.
43469
43470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43471
43472         * configure.in: Use -o not -a in test for unsupported multi-arch.
43473
43474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43475
43476         * manual/texinfo.tex: Update to version 2012-01-19.16.
43477
43478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
43479
43480         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43481
43482 2012-02-24  Roland McGrath  <roland@hack.frob.com>
43483
43484         [BZ #13738]
43485         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43486         * manual/fdl-1.3.texi: New file.
43487         * manual/fdl-1.1.texi: File removed.
43488
43489         [BZ #13738]
43490         * manual/libc.texinfo (FDL_VERSION): New @set.
43491         Use it for mention of FDL in cover text.
43492         (Documentation License): Use it in @include file name.
43493
43494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43495             Roland McGrath  <roland@hack.frob.com>
43496
43497         [BZ #5461]
43498         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43499         (not LONG_LONG_MAX and LONG_LONG_MIN.
43500         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43501         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
43502         name.
43503         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43504
43505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43506
43507         [BZ #2547]
43508         [BZ #11365]
43509         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43510         manipulate bits before adding and subtracting TWO23[sx].
43511         * math/libm-test.inc (nearbyint_test): Add more tests.
43512
43513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43514
43515         [BZ #2548]
43516         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43517         bits before adding and subtracting TWO23[sx].
43518         * math/libm-test.inc (rint_test): Add more tests.
43519         (rint_test_tonearest): Likewise.
43520         (rint_test_towardzero): Likewise.
43521         (rint_test_downward): Likewise.
43522         (rint_test_upward: Likewise.
43523
43524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43525
43526         [BZ #10110]
43527         * include/stdc-predef.h: New file.  Extracted from features.h.
43528         * include/features.h: Include stdc-predef.h.
43529         * Makefile (headers): Add stdc-predef.h.
43530         * CONFORMANCE (Compiler limitations): Update.
43531
43532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
43533
43534         * manual/libc.texinfo (VERSION, UPDATED): Revert.
43535
43536 2012-02-21  David S. Miller  <davem@davemloft.net>
43537
43538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43539         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43540
43541 2012-02-20  David S. Miller  <davem@davemloft.net>
43542
43543         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43544         using a normal save/restore sequence, rather than allocating a
43545         dummy stack frame just to store a frame pointer and restore.
43546         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43547
43548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43549
43550         * manual/install.texi: Fix stray word in line-wrapped comment.
43551
43552 2012-02-20  David S. Miller  <davem@davemloft.net>
43553
43554         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43555         both binutils and gcc support GOTDATA.
43556
43557         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43558         "rd %pc" in the PIC register setup sequences.
43559
43560         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43561         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43562         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43563         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43564         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43566         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43567         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43569         (SYSCALL_ERROR_HANDLER): Likewise.
43570         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43571         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43573         (SYSCALL_ERROR_HANDLER): Likewise.
43574
43575         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43576         (HAVE_GCC_GOTDATA): New.
43577         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43578         relocation support in both binutils and gcc.
43579         * sysdeps/sparc/elf/configure: Regenerate.
43580
43581         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43582         * sysdeps/sparc/sparc32/elf/configure: Delete.
43583         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43584         * sysdeps/sparc/sparc64/elf/configure: Delete.
43585         * sysdeps/sparc/elf/configure.in: New file.
43586         * sysdeps/sparc/elf/configure: Generate.
43587
43588         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43589         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43590         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43591         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43592         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43593
43594 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43595
43596         * manual/install.texi: Do not mention specific glibc version
43597         numbers.
43598         * manual/libc.texinfo (VERSION, UPDATED): Update.
43599         (@copying): Use @copyright{} and range of years.
43600
43601 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
43602
43603         [BZ #13695]
43604         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43605         [crti.S not in sysdirs] (generated): Do not append.
43606         [crti.S not in sysdirs] (omit-deps): Likewise.
43607         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43608         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43609         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43610         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43611         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43612         Likewise.
43613         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43614         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43615         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43616         * csu/defs.awk: Remove file.
43617         * sysdeps/generic/initfini.c: Likewise.
43618         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43619         variable.
43620         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43621         Likewise.
43622
43623 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43624
43625         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43626         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43627         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43628         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43630         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43631         <bits/epoll.h>.
43632         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43633         (__EPOLL_PACKED): Define to empty if not defined by
43634         <bits/epoll.h>.
43635         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43637         bits/epoll.h.
43638
43639 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43640
43641         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43642         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43643         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43644         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43645         <bits/timerfd.h>.
43646         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43648         bits/timerfd.h.
43649
43650 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
43651
43652         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43653         in C locale.
43654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43656         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658
43659 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
43660
43661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43662         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43663
43664 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
43665
43666         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43667         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43668         defined.
43669         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43670         Likewise.
43671         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43672         entry for 2.16.
43673
43674 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
43675
43676         * math/w_acos.c: Use non-signaling floating-point comparisons.
43677         * math/w_acosf.c: Likewise.
43678         * math/w_acosh.c: Likewise.
43679         * math/w_acoshf.c: Likewise.
43680         * math/w_acoshl.c: Likewise.
43681         * math/w_acosl.c: Likewise.
43682         * math/w_asin.c: Likewise.
43683         * math/w_asinf.c: Likewise.
43684         * math/w_asinl.c: Likewise.
43685         * math/w_atanh.c: Likewise.
43686         * math/w_atanhf.c: Likewise.
43687         * math/w_atanhl.c: Likewise.
43688         * math/w_exp2.c: Likewise.
43689         * math/w_exp2f.c: Likewise.
43690         * math/w_exp2l.c: Likewise.
43691         * math/w_j0.c: Likewise.
43692         * math/w_j0f.c: Likewise.
43693         * math/w_j0l.c: Likewise.
43694         * math/w_j1.c: Likewise.
43695         * math/w_j1f.c: Likewise.
43696         * math/w_j1l.c: Likewise.
43697         * math/w_jn.c: Likewise.
43698         * math/w_jnf.c: Likewise.
43699         * math/w_log.c: Likewise.
43700         * math/w_log10.c: Likewise.
43701         * math/w_log10f.c: Likewise.
43702         * math/w_log10l.c: Likewise.
43703         * math/w_log2.c: Likewise.
43704         * math/w_log2f.c: Likewise.
43705         * math/w_log2l.c: Likewise.
43706         * math/w_logf.c: Likewise.
43707         * math/w_logl.c: Likewise.
43708         * math/w_sqrt.c: Likewise.
43709         * math/w_sqrtf.c: Likewise.
43710         * math/w_sqrtl.c: Likewise.
43711         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43712         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43713         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43714         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43715         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43716
43717 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43718
43719         [BZ #9739]
43720         * manual/string.texi (strnlen): Use correct parameter name in
43721         equivalent expression.
43722
43723 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43724
43725         [BZ #11174]
43726         * manual/users.texi (seteuid): Consistently use neweuid for
43727         argument name.
43728
43729 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
43730
43731         [BZ #13704]
43732         * manual/nss.texi (Services in the NSS configuration): Correct
43733         list of services in example configuration file.
43734
43735 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
43736
43737         [BZ #11322]
43738         * manual/arith.texi: Remove statements about negative zero
43739         behaving identically to zero.
43740
43741 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43742
43743         [BZ #5993]
43744         * manual/install.texi: Do not document upgrading from libc5.
43745
43746 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
43747
43748         [BZ #4596]
43749         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43750
43751 2012-02-18  David S. Miller  <davem@davemloft.net>
43752
43753         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43754         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43755         %o7 across the call.
43756         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43757         instead.
43758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43759         SETUP_PIC_REG_LEAF.
43760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43761         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43762         * sysdeps/sparc/crtn.S: Likewise.
43763
43764 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
43765
43766         * aout/Makefile: Remove.
43767
43768 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
43769
43770         [BZ #13058]
43771         * manual/examples/argp-ex1.c (main): Format definition in GNU
43772         style.
43773         * manual/examples/argp-ex2.c (main): Likewise.
43774         * manual/examples/argp-ex3.c (main): Likewise.
43775         * manual/examples/argp-ex4.c (main): Likewise.
43776         * manual/examples/longopt.c (main): Use new-style prototype
43777         definition.
43778         * manual/examples/strncat.c (main): Specify return type and use
43779         (void) for arguments.
43780         * manual/examples/subopt.c (main): Use char **argv argument.
43781
43782 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43783
43784         [BZ #5077]
43785         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43786         rounding modes.
43787
43788 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43789
43790         [BZ #6907]
43791         * manual/string.texi (strchr): Change when strchrnul is
43792         recommended.
43793
43794 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43795
43796         [BZ #174]
43797         * manual/locale.texi (setlocale): Document LOCPATH.
43798
43799 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43800
43801         [BZ #10210]
43802         * manual/process.texi (execle): Move @dots{} before last argument.
43803
43804 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43805
43806         [BZ #12047]
43807         * manual/charset.texi (Generic Charset Conversion): Fix typo
43808         (LC_TYPE -> LC_CTYPE).
43809
43810 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43811
43812         [BZ #5805]
43813         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43814         (scalbnf): Likewise.
43815         (scalbnl): Likewise.
43816         (scalbln): Likewise.
43817         (scalblnf): Likewise.
43818         (scalblnl): Likewise.
43819         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43820         (vwarnx): Likewise.
43821         (verr): Likewise.
43822         (verrx): Likewise.
43823         * manual/filesys.texi (telldir): Use braces around return type.
43824         * manual/llio.texi (mmap): Add space after comma.
43825         (mmap64): Likewise.
43826         * manual/math.texi (jn): Use @var{} on parameter names.
43827         (jnf): Likewise.
43828         (jnl): Likewise.
43829         (yn): Likewise.
43830         (ynf): Likewise.
43831         (ynl): Likewise.
43832         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43833         line.
43834         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43835         "...".
43836         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43837         (sched_get_priority_max): Likewise.
43838         * manual/signal.texi (sigvec): Add space after comma.
43839         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43840         names.
43841         (if_indextoname): Likewise.
43842         (if_freenameindex): Likewise.
43843         (sendto): Use ',' instead of '.' in prototype.
43844         * manual/startup.texi (syscall): Use @dots{} instead of literal
43845         "...".
43846         * manual/stdio.texi (__fpending): Separate initial words of
43847         paragraph from @deftypefun line.
43848         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43849         "...".
43850         (vsyslog): Use @var{} on parameter names.
43851         * manual/terminal.texi (stty): Use @var{} on parameter names.
43852         * manual/users.texi (getutmp): Use @var{} on parameter names.
43853         (getutmpx): Likewise.
43854
43855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43856
43857         [BZ #6884]
43858         * manual/stdio.texi (fopen): Fix typos in description of
43859         ",ccs=STRING".
43860
43861 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43862
43863         [BZ #4026]
43864         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43865         get clock_id definition.
43866
43867 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43868
43869         [BZ #4822]
43870         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43871         (madvise): Cast every argument to void on its own.
43872
43873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43874
43875         [BZ #9902]
43876         * manual/startup.texi (Exit Status): Fix typo.
43877
43878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43879
43880         [BZ #10140]
43881         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43882         * manual/examples/argp-ex2.c: Likewise.
43883         * manual/examples/argp-ex3.c: Likewise.
43884
43885 2012-02-16  Richard Henderson  <rth@redhat.com>
43886
43887         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43888         * sysdeps/s390/s390-32/initfini.c: Remove.
43889         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43890         * sysdeps/s390/s390-64/initfini.c: Remove.
43891
43892 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43893
43894         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43895         compiler output for sysdeps/generic/initfini.c.
43896         * sysdeps/sh/elf/initfini.c: Remove file.
43897
43898 2012-02-16  David S. Miller  <davem@davemloft.net>
43899
43900         [BZ #11494]
43901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43902
43903         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43904         * sysdeps/sparc/crti.S: New file.
43905         * sysdeps/sparc/crtn.S: New file.
43906         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43907         * sysdeps/sparc/sparc64/Makefile: Likewise.
43908
43909 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43910
43911         [BZ #3335]
43912         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43913
43914 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43915
43916         [BZ #4822]
43917         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43918
43919         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43920         (write, read, close): Likewise.
43921         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43922
43923 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43924
43925         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43926         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43927         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43928         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43929         <bits/signalfd.h>.
43930         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43932         bits/signalfd.h.
43933
43934 2012-02-14  Marek Polacek  <polacek@redhat.com>
43935
43936         * sysdeps/x86_64/crti.S: New file.
43937         * sysdeps/x86_64/crtn.S: New file.
43938         * sysdeps/x86_64/elf/initfini.c: Remove file.
43939
43940 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43941
43942         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43943         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43944         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43945         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43946         <bits/inotify.h>.
43947         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43949         bits/inotify.h.
43950
43951 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43952
43953         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43954         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43955         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43956         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43957         <bits/eventfd.h>.
43958         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43960         bits/eventfd.h.
43961
43962 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43963
43964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43965         __feraiseexcept instead of feraiseexcept.
43966
43967         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43968         nanosleep invocations.
43969         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43970         strings, and add error checking for a nanosleep invocations.
43971
43972 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43973
43974         Replace FSF snail mail address with URLs, as per GNU coding standards.
43975         Most of the snail mail addresses were wrong anyway, and omitting
43976         them makes the source code easier to maintain.  Almost all of the
43977         changes are to license notices and to locale LC_IDENTIFICATION
43978         addresses, except for this one:
43979         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43980         not its snail mail address.
43981
43982 2012-02-09  Richard Henderson  <rth@twiddle.net>
43983
43984         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43985         of kernel-features.h.
43986
43987         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43988
43989 2012-02-08  Marek Polacek  <polacek@redhat.com>
43990
43991         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43992         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43993         * sysdeps/gnu/_G_config.h: Likewise.
43994         * sysdeps/generic/_G_config.h: Likewise.
43995
43996 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43997
43998         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43999         tests.
44000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44001
44002         * sysdeps/powerpc/powerpc32/crti.S: New file.
44003         * sysdeps/powerpc/powerpc32/crtn.S: New file.
44004         * sysdeps/powerpc/powerpc64/crti.S: New file.
44005         * sysdeps/powerpc/powerpc64/crtn.S: New file.
44006
44007         * Makeconfig (have-initfini): Don't set.
44008         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44009         * configure.in (nopic_initfini): Don't substitute.
44010         * config.h.in (HAVE_INITFINI): Don't #undef.
44011         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44012         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44013
44014 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
44015
44016         Support crti.S and crtn.S provided directly by architectures.
44017         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44018         [crti.S in sysdirs] (omit-deps): Likewise.
44019         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44020         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44021         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44022         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44023         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44024         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44025         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44026         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44027         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44028         compiler output for sysdeps/generic/initfini.c.
44029         * sysdeps/i386/elf/Makefile: Remove file.
44030         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44031
44032 2012-02-07  Marek Polacek  <polacek@redhat.com>
44033
44034         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44035         * sysdeps/gnu/_G_config.h: Likewise.
44036         * sysdeps/mach/hurd/_G_config.h: Likewise.
44037
44038 2012-02-07  Marek Polacek  <polacek@redhat.com>
44039
44040         * math/Makefile (tests): Add tst-CMPLX2.
44041         * math/tst-CMPLX2.c: New file.
44042
44043 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
44044
44045         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44046
44047         * math/libm-test.inc (jn_test): Add missing L suffix.
44048
44049 2012-02-06  Marek Polacek  <polacek@redhat.com>
44050
44051         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44052         * sysdeps/i386/fpu/e_powf.S: Likewise.
44053         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44054         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44055         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44056         * sysdeps/i386/fpu/e_pow.S: Likewise.
44057         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44058         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44059         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44060         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44061         * sysdeps/i386/fpu/e_log2.S: Likewise.
44062         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44063         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44064         * sysdeps/i386/fpu/e_powl.S: Likewise.
44065         * sysdeps/i386/fpu/s_log1p.S: Likewise.
44066         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44067         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44068         * sysdeps/i386/fpu/e_logl.S: Likewise.
44069         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44070         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44071         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44072         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44073         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44074         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44075         * sysdeps/i386/fpu/e_log.S: Likewise.
44076         * sysdeps/i386/fpu/s_cexp.S: Likewise.
44077         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44078         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44079         * sysdeps/i386/fpu/e_logf.S: Likewise.
44080         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44081         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44082         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44083         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44084         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44085         * sysdeps/i386/fpu/e_log10.S: Likewise.
44086         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44088         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44089         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44090         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44091         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44092         * sysdeps/i386/asm-syntax.h: Likewise.
44093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44095         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44096         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44097         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44098         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44099         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44100         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44101         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44102         * sysdeps/powerpc/sysdep.h: Likewise.
44103         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44104         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44105
44106 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44107
44108         [BZ #411]
44109         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44110
44111 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
44112
44113         * sysdeps/i386/sysdep.h: Include <features.h>.
44114         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44115         version.
44116
44117 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
44118
44119         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44120         Define.
44121         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44122         LOAD_PIC_REG_STR.
44123
44124 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44125
44126         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44127         (SETUP_PIC_REG): Use GET_PC_THUNK.
44128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44129         macro.
44130
44131 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44132
44133         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44134         for non-PIC compilation.
44135         (SETUP_PIC_REG): Add .p2align directive.
44136         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44137         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44138         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44139         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44140         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44142         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44143         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44144         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44145         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44146         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44147         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44148         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44149         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44150         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44151         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44152         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44153         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44154         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44155         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44156         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44158         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44159         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44160         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44162         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44164         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44165         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44166         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44167         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44169         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44170         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44177
44178 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
44179
44180         * math/tst-CMPLX.c: Include <stdio.h>.
44181
44182 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
44183
44184         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44185         float.
44186         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44187         * sysdeps/sparc/bits/mathdef.h: Likewise.
44188
44189 2012-01-31  Marek Polacek  <polacek@redhat.com>
44190
44191         * libio/libio.h: Don't define _PARAMS.
44192         * locale/programs/config.h: Don't define PARAMS.
44193         * stdlib/strtol_l.c: Likewise.
44194         (__strtol_l): Remove PARAMS from the prototype.
44195
44196 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
44197
44198         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
44199         names.  Just use the correct names.  Remove unnecessary wrapper
44200         functions.
44201         * malloc/arena.c: Likewise.
44202         * malloc/hooks.c: Likewise.
44203
44204         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44205         ARENA_TEST says not to.  Simplify test for creation of a new arena.
44206         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44207
44208 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
44209
44210         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44211         into tail calls.
44212         (update_get_addr): New function.
44213         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44214         GET_ADDR_MODULE parameter.
44215
44216 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44217
44218         * crypt/cert.c: Remove __STDC__ conditionals.
44219         * crypt/crypt-entry.c: Likewise.
44220         * crypt/crypt_util.c: Likewise.
44221         * libio/filedoalloc.c: Likewise.
44222         * libio/fileops.c: Likewise.
44223         * libio/genops.c: Likewise.
44224         * libio/iofclose.c: Likewise.
44225         * libio/iofdopen.c: Likewise.
44226         * libio/iofopen.c: Likewise.
44227         * libio/iofopen64.c: Likewise.
44228         * libio/iogetdelim.c: Likewise.
44229         * libio/iopopen.c: Likewise.
44230         * libio/obprintf.c: Likewise.
44231         * libio/oldfileops.c: Likewise.
44232         * libio/oldiofclose.c: Likewise.
44233         * libio/oldiofdopen.c: Likewise.
44234         * libio/oldiofopen.c: Likewise.
44235         * libio/oldiopopen.c: Likewise.
44236         * libio/wfiledoalloc.c: Likewise.
44237         * libio/wgenops.c: Likewise.
44238         * locale/programs/xmalloc.c: Likewise.
44239         * misc/syslog.c: Likewise.
44240         * stdio-common/xbug.c: Likewise.
44241         * string/memchr.c: Likewise.
44242         * string/memcmp.c: Likewise.
44243         * string/memrchr.c: Likewise.
44244         * string/rawmemchr.c: Likewise.
44245         * sysdeps/posix/getcwd.c: Likewise.
44246         * time/strftime_l.c: Likewise.
44247
44248 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
44249
44250         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44251         * config.make.in (config-cflags-sse2avx): Define.
44252         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44253         Fix typo.
44254
44255 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
44256
44257         * scripts/config.guess: Update from upstream config git repository.
44258         * scripts/config.sub: Likewise.
44259
44260 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
44261
44262         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44263         (EM_NUM): Update.
44264         (R_TILEPRO_*, R_TILEGX_*): New macros.
44265
44266         * scripts/firstversions.awk: Fix bug in version range handling.
44267
44268         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44269
44270         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44271
44272         * include/sys/epoll.h: New file.
44273         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44274         libc_hidden_def.
44275
44276 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
44277
44278         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44279         Avoid unnecessary __WORDSIZE == 64 test.
44280         (fmaxf): Use VEX format if possible.
44281         (fmax): Likewise.
44282         (fminf): Likewise.
44283         (fmin): Likewise.
44284
44285         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44286         * math/math_private.h: Remove libc_fegetround* and
44287         libc_fesetround*.
44288         * sysdeps/i386/configure.in: Check for -msse2avx.
44289         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44290         also if SSE2AVX is defined.
44291         Remove libc_fegetround* and libc_fesetround*.
44292         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44293         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
44294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44295         of HAS_YMM_USABLE.
44296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44297         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44299         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44301
44302         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44303
44304 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44305
44306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44307         size is not set.
44308         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44309
44310 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
44311
44312         [BZ #13618]
44313         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44314         relocation.
44315         * Makeconfig (libm): Define.
44316         * elf/Makefile: Add rules to build and run tst-relsort1.
44317         * elf/tst-relsort1.c: New file.
44318         * elf/tst-relsort1mod1.c: New file.
44319         * elf/tst-relsort1mod2.c: New file.
44320
44321 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
44322
44323         * math/s_ldexp.c: Remove __STDC__ conditionals.
44324         * math/s_ldexpf.c: Likewise.
44325         * math/s_ldexpl.c: Likewise.
44326         * math/s_nextafter.c: Likewise.
44327         * math/s_nexttowardf.c: Likewise.
44328         * math/s_significand.c: Likewise.
44329         * math/s_significandf.c: Likewise.
44330         * math/s_significandl.c: Likewise.
44331         * math/w_jnl.c: Likewise.
44332         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44333         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44334         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44335         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44336         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44340         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44351         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44352         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44354         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44355         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44356         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44357         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44358         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44359         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44360         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44361         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44362         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44363         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44364         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44365         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44366         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44367         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44368         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44369         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44370         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44371         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44372         * sysdeps/ieee754/k_standard.c: Likewise.
44373         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44376         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44377         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44378         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44380         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44381         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44382         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44383         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44384         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44385         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44386         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44387         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44390         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44391         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44392         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44395         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44396         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44397         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44398         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44403         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44404         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44405         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44406         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44408         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44409         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44420         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44422         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44423         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44426         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44427         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44428         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44429         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44431         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44433         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44434         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44435         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44436         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44437         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44438         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44439         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44440         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44441         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44442         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44443         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44444         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44447         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44448         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44449         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44450         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44452         * sysdeps/ieee754/s_matherr.c: Likewise.
44453         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44454         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44457
44458 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44459
44460         * crypt/md5.h: Remove __STDC__ conditionals.
44461         * libio/libioP.h: Likewise.
44462         * locale/programs/config.h: Likewise.
44463         * sysdeps/generic/sysdep.h: Likewise.
44464         * sysdeps/i386/asm-syntax.h: Likewise.
44465         * sysdeps/s390/asm-syntax.h: Likewise.
44466         * sysdeps/unix/sysdep.h: Likewise.
44467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44469
44470 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
44471
44472         * libio/libio.h: Remove __STDC__ conditionals.
44473         * malloc/obstack.h: Likewise.
44474         * math/complex.h: Likewise.
44475         * math/math.h: Likewise.
44476         * sysdeps/generic/_G_config.h: Likewise.
44477         * sysdeps/gnu/_G_config.h: Likewise.
44478         * sysdeps/mach/hurd/_G_config.h: Likewise.
44479         * sysdeps/powerpc/bits/mathdef.h: Likewise.
44480         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44481         * sysdeps/sparc/bits/mathdef.h: Likewise.
44482
44483 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
44484
44485         [BZ #13583]
44486         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44487         Clean up HAS_* macros.
44488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44489         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44490         possible.
44491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44492         HAS_AVX.
44493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44498
44499 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
44500
44501         * elf/tst-unique3.cc (gets): Remove declaration.
44502         * elf/tst-unique3lib.cc (gets): Likewise.
44503         * elf/tst-unique3lib2.cc (gets): Likewise.
44504         * elf/tst-unique4.cc (gets): Likewise.
44505
44506 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
44507
44508         * include/stdio.h: Add C++ protection.  Add gets declarations and
44509         definitions.
44510         * debug/tst-chk1.c: Don't declare gets here.
44511         * stdio-common/tst-gets.c: Likewise.
44512
44513 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44514
44515         * posix/glob: Remove directory.
44516
44517 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
44518
44519         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44520
44521 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
44522
44523         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44524         of the non-standard EPFNOSUPPORT.
44525
44526 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44527
44528         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44529         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44530         ANYWHERE set to 1 only on KERN_NO_SPACE error.
44531
44532 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
44533
44534         * wcsmbs/uchar.h: Test __STDC_VERSION__.
44535
44536 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
44537
44538         * nscd/aicache.c (addhstaiX): Do not cache negative results of
44539         transient errors.
44540         * nscd/grpcache.c (cache_addgr): Likewise.
44541         * nscd/hstcache.c (cache_addhst): Likewise.
44542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44543         * nscd/pwdcache.c (cache_addpw): Likewise.
44544         * nscd/servicescache.c (cache_addserv): Likewise.
44545
44546 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
44547
44548         * malloc/malloc.c: Various cleanups.
44549         * malloc/hooks.c: Likewise.
44550
44551         * stdlib/Makefile (tests): Add bug-fmtmsg1.
44552         * stdlib/bug-fmtmsg1.c: New file.
44553
44554         * stdlib/fmtmsg.c (init): Add missing unlock.
44555         Patch by Peng Haitao <penght@cn.fujitsu.com>.
44556
44557 2012-01-12  Marek Polacek  <polacek@redhat.com>
44558
44559         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44560         and _GNU_SOURCE.
44561
44562 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44563
44564         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44565         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44566         macro to ensure uniqueness of label name.
44567         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44568         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44569
44570 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
44571
44572         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44573
44574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44575         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44578
44579 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
44580
44581         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44582
44583         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44584         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44585         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44586
44587         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44588
44589         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44590         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44591         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44593
44594         * math/bits/math-finite.h: Add ldexp support.
44595
44596 2012-01-10  Marek Polacek  <polacek@redhat.com>
44597
44598         * locale/programs/localedef.h (show_archive_content): Add noreturn
44599         attribute.
44600
44601 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
44602
44603         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44604
44605 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44606
44607         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44608
44609         * io/Makefile (headers): Add bits/poll2.h.
44610
44611 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
44612
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44614         typo #include statement.
44615
44616 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44617
44618         * include/sys/cdefs.h: Define __attribute_alloc_size.
44619         * catgets/gencat.c: Add alloc_size attribute and apply consistently
44620         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44621         * elf/pldd.c: Likewise.
44622         * iconv/iconv_charmap.c: Likewise.
44623         * iconv/iconvconfig.c: Likewise.
44624         * iconv/strtab.c: Likewise.
44625         * locale/programs/locale.c: Likewise.
44626         * locale/programs/localedef.h: Likewise.
44627         * locale/programs/simple-hash.c: Likewise.
44628         * nscd/nscd.h: Likewise.
44629         * nss/makedb.c: Likewise.
44630         * sysdeps/generic/ldconfig.h: Likewise.
44631         * locale/programs/localedef.c: Remove xmalloc prototype.
44632         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44633
44634 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44635
44636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44637         appropriate.
44638
44639 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
44640
44641         * math/Makefile (tests): Add tst-CMPLX.
44642         * math/tst-CMPLX.c: New file.
44643
44644         * math/complex.h (CMPLXL): Fix typo.
44645
44646         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44647         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44648         GLIBC_2.16.
44649         * debug/tst-chk1.c: Add poll and ppoll tests.
44650         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44651         * include/sys/poll.h: Add hidden proto for ppoll.
44652         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44653         * sysdeps/mach/hurd/ppoll.c: Likewise.
44654         * io/ppoll.c: Likewise.
44655         * debug/poll_chk.c: New file.
44656         * debug/ppoll_chk.c: New file.
44657         * include/bits/poll2.h: New file.
44658         * io/bits/poll2.h: New file.
44659
44660         [BZ #1350]
44661         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44662
44663         * configure.in: static is always set to yes.  Remove.
44664         * config.make.in: Don't set build-static.
44665         * Makeconfig: Remove use of build-static.
44666         * dlfcn/Makefile: Likewise.
44667         * elf/Makefile: Likewise.
44668         * math/Makefile: Likewise.
44669         * misc/Makefile: Likewise.
44670         * nptl/Makefile: Likewise.
44671         * sysdeps/mach/hurd/Makefile: Likewise.
44672
44673         * configure.in: PWD_P is not used anymore.
44674         * config.make.in: Remove PWD_P entry.
44675
44676         * configure.in: Remove last remnants of RANLIB.
44677         No need to check for signed size_t anymore.
44678         Don't set libc_commonpagesize and libc_relro_required here for Alpha
44679         and IA-64.
44680         Remove __builtin_expect test because we require at least gcc 3.4.
44681         * aclocal.m4: Likewise.
44682
44683         * wcsmbs/mbrtoc16.c: Implement using towc function.
44684         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44685         * wcsmbs/wcsmbsload.c: Likewise.
44686         * iconv/gconv_simple.c: Likewise.
44687         * iconv/gconv_int.h: Likewise.
44688         * iconv/gconv_builtin.h: Likewise.
44689         * iconv/iconv_prog.c: Remove CHAR16 handling.
44690
44691         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44692
44693         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44694
44695         * configure.in: Remove --with-elf and --enable-bounded options.
44696         Dont set base_machine for ia64.  More non-ELF conditions removed.
44697         Remove testing and setting of leading underscore information.
44698         * config.make.in (build-bounded): Set to no.
44699         * config.h.in: Remove NO_UNDERSCORES entry.
44700         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
44701         them.
44702         * csu/start.c: Remove !NO_UNDERSCORE code.
44703         * locale/localeinfo.h: Likewise.
44704         * sysdeps/generic/machine-gmon.h: Likewise.
44705         * sysdeps/generic/sysdep.h: Likewise.
44706         * sysdeps/i386/sysdep.h: Likewise.
44707         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44708         * sysdeps/mach/sysdep.h: Likewise.
44709         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44710         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44711         * sysdeps/sh/sysdep.h: Likewise.
44712         * sysdeps/sparc/sparc32/alloca.S: Likewise.
44713         * sysdeps/unix/i386/sysdep.S: Likewise.
44714         * sysdeps/unix/sparc/start.c: Likewise.
44715         * sysdeps/unix/sparc/sysdep.S: Likewise.
44716         * sysdeps/unix/sparc/sysdep.h: Likewise.
44717         * sysdeps/unix/start.c: Likewise.
44718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44719         * sysdeps/x86_64/sysdep.h: Likewise.
44720
44721 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
44722
44723         [BZ #13553]
44724         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44725         for non-gcc.
44726         * argp/argp-fmtstream.h: Use const instead __const.
44727         * argp/argp.h: Likewise.
44728         * assert/assert.h: Likewise.
44729         * bits/fenv.h: Likewise.
44730         * bits/sched.h: Likewise.
44731         * bits/sigset.h: Likewise.
44732         * bits/sigthread.h: Likewise.
44733         * catgets/nl_types.h: Likewise.
44734         * conform/data/pthread.h-data: Likewise.
44735         * crypt/crypt-private.h: Likewise.
44736         * crypt/crypt.h: Likewise.
44737         * crypt/crypt_util.c: Likewise.
44738         * ctype/ctype.h: Likewise.
44739         * debug/execinfo.h: Likewise.
44740         * debug/mbsnrtowcs_chk.c: Likewise.
44741         * debug/mbsrtowcs_chk.c: Likewise.
44742         * debug/wcsnrtombs_chk.c: Likewise.
44743         * debug/wcsrtombs_chk.c: Likewise.
44744         * debug/wcstombs_chk.c: Likewise.
44745         * dirent/dirent.h: Likewise.
44746         * dlfcn/dlfcn.h: Likewise.
44747         * elf/neededtest4.c: Likewise.
44748         * grp/grp.h: Likewise.
44749         * gshadow/gshadow.h: Likewise.
44750         * iconv/gconv.h: Likewise.
44751         * iconv/gconv_int.h: Likewise.
44752         * iconv/gconv_simple.c: Likewise.
44753         * iconv/iconv.h: Likewise.
44754         * iconv/loop.c: Likewise.
44755         * iconv/skeleton.c: Likewise.
44756         * include/aio.h: Likewise.
44757         * include/aliases.h: Likewise.
44758         * include/argz.h: Likewise.
44759         * include/arpa/inet.h: Likewise.
44760         * include/assert.h: Likewise.
44761         * include/dirent.h: Likewise.
44762         * include/dlfcn.h: Likewise.
44763         * include/execinfo.h: Likewise.
44764         * include/fcntl.h: Likewise.
44765         * include/fenv.h: Likewise.
44766         * include/glob.h: Likewise.
44767         * include/grp.h: Likewise.
44768         * include/libintl.h: Likewise.
44769         * include/mntent.h: Likewise.
44770         * include/netdb.h: Likewise.
44771         * include/pwd.h: Likewise.
44772         * include/rpc/netdb.h: Likewise.
44773         * include/sched.h: Likewise.
44774         * include/search.h: Likewise.
44775         * include/shadow.h: Likewise.
44776         * include/signal.h: Likewise.
44777         * include/stdio.h: Likewise.
44778         * include/stdlib.h: Likewise.
44779         * include/string.h: Likewise.
44780         * include/sys/socket.h: Likewise.
44781         * include/sys/stat.h: Likewise.
44782         * include/sys/statfs.h: Likewise.
44783         * include/sys/statvfs.h: Likewise.
44784         * include/sys/syslog.h: Likewise.
44785         * include/sys/time.h: Likewise.
44786         * include/sys/uio.h: Likewise.
44787         * include/time.h: Likewise.
44788         * include/unistd.h: Likewise.
44789         * include/utmp.h: Likewise.
44790         * include/wchar.h: Likewise.
44791         * include/wctype.h: Likewise.
44792         * inet/aliases.h: Likewise.
44793         * inet/arpa/inet.h: Likewise.
44794         * inet/netinet/ether.h: Likewise.
44795         * inet/netinet/in.h: Likewise.
44796         * intl/libintl.h: Likewise.
44797         * io/bits/fcntl2.h: Likewise.
44798         * io/fcntl.h: Likewise.
44799         * io/ftw.h: Likewise.
44800         * io/sys/poll.h: Likewise.
44801         * io/sys/stat.h: Likewise.
44802         * io/sys/statfs.h: Likewise.
44803         * io/sys/statvfs.h: Likewise.
44804         * io/utime.h: Likewise.
44805         * libio/bits/stdio.h: Likewise.
44806         * libio/bits/stdio2.h: Likewise.
44807         * libio/libio.h: Likewise.
44808         * libio/libioP.h: Likewise.
44809         * libio/stdio.h: Likewise.
44810         * locale/lc-ctype.c: Likewise.
44811         * locale/locale.h: Likewise.
44812         * login/utmp.h: Likewise.
44813         * malloc/arena.c: Likewise.
44814         * malloc/malloc.c: Likewise.
44815         * malloc/malloc.h: Likewise.
44816         * malloc/mcheck.c: Likewise.
44817         * malloc/mtrace.c: Likewise.
44818         * math/bits/mathcalls.h: Likewise.
44819         * math/fenv.h: Likewise.
44820         * math/math_private.h: Likewise.
44821         * misc/bits/error.h: Likewise.
44822         * misc/bits/syslog.h: Likewise.
44823         * misc/err.h: Likewise.
44824         * misc/error.h: Likewise.
44825         * misc/fstab.h: Likewise.
44826         * misc/mntent.h: Likewise.
44827         * misc/regexp.h: Likewise.
44828         * misc/search.h: Likewise.
44829         * misc/sgtty.h: Likewise.
44830         * misc/sys/mman.h: Likewise.
44831         * misc/sys/syslog.h: Likewise.
44832         * misc/sys/uio.h: Likewise.
44833         * misc/sys/xattr.h: Likewise.
44834         * misc/ttyent.h: Likewise.
44835         * nis/rpcsvc/ypclnt.h: Likewise.
44836         * nss/nss.h: Likewise.
44837         * posix/bits/unistd.h: Likewise.
44838         * posix/fnmatch.h: Likewise.
44839         * posix/glob.h: Likewise.
44840         * posix/sched.h: Likewise.
44841         * posix/spawn.h: Likewise.
44842         * posix/sys/wait.h: Likewise.
44843         * posix/unistd.h: Likewise.
44844         * posix/wordexp.h: Likewise.
44845         * pwd/pwd.h: Likewise.
44846         * resolv/netdb.h: Likewise.
44847         * resource/sys/resource.h: Likewise.
44848         * rt/aio.h: Likewise.
44849         * rt/bits/mqueue2.h: Likewise.
44850         * rt/mqueue.h: Likewise.
44851         * shadow/shadow.h: Likewise.
44852         * signal/signal.h: Likewise.
44853         * socket/send.c: Likewise.
44854         * socket/sendto.c: Likewise.
44855         * socket/sys/socket.h: Likewise.
44856         * stdio-common/printf.h: Likewise.
44857         * stdlib/bits/stdlib.h: Likewise.
44858         * stdlib/fmtmsg.h: Likewise.
44859         * stdlib/monetary.h: Likewise.
44860         * stdlib/stdlib.h: Likewise.
44861         * stdlib/ucontext.h: Likewise.
44862         * streams/stropts.h: Likewise.
44863         * string/argz.h: Likewise.
44864         * string/bits/string2.h: Likewise.
44865         * string/string.h: Likewise.
44866         * string/strings.h: Likewise.
44867         * sunrpc/rpc/auth.h: Likewise.
44868         * sunrpc/rpc/auth_des.h: Likewise.
44869         * sunrpc/rpc/clnt.h: Likewise.
44870         * sunrpc/rpc/netdb.h: Likewise.
44871         * sunrpc/rpc/pmap_clnt.h: Likewise.
44872         * sunrpc/rpc/xdr.h: Likewise.
44873         * sysdeps/generic/inttypes.h: Likewise.
44874         * sysdeps/generic/net/if.h: Likewise.
44875         * sysdeps/generic/sys/swap.h: Likewise.
44876         * sysdeps/gnu/net/if.h: Likewise.
44877         * sysdeps/gnu/utmpx.h: Likewise.
44878         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44879         * sysdeps/i386/i486/bits/string.h: Likewise.
44880         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44881         * sysdeps/s390/bits/string.h: Likewise.
44882         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44883         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44884         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44885         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44886         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44887         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44888         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44889         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44890         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44891         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44892         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44893         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44894         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44895         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44896         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44897         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44898         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44901         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44902         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44903         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44904         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44905         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44906         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44907         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44908         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44910         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44911         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44912         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44913         * sysvipc/sys/ipc.h: Likewise.
44914         * sysvipc/sys/msg.h: Likewise.
44915         * sysvipc/sys/sem.h: Likewise.
44916         * sysvipc/sys/shm.h: Likewise.
44917         * termios/termios.h: Likewise.
44918         * time/sys/time.h: Likewise.
44919         * time/time.h: Likewise.
44920         * wcsmbs/bits/wchar2.h: Likewise.
44921         * wcsmbs/uchar.h: Likewise.
44922         * wcsmbs/wchar.h: Likewise.
44923         * wctype/wctype.h: Likewise.
44924
44925         [BZ #13551]
44926         * Makeconfig: Remove all but ELF support including AIX support.
44927         * Makerules: Likewise.
44928         * config.h.in: Likewise.
44929         * config.make.in: Likewise.
44930         * configure: Likewise.
44931         * configure.in: Likewise.
44932         * csu/Makefile: Likewise.
44933         * csu/version.c: Likewise.
44934         * debug/Makefile: Likewise.
44935         * dlfcn/Makefile: Likewise.
44936         * elf/Makefile: Likewise.
44937         * extra-lib.mk: Likewise.
44938         * iconv/Makefile: Likewise.
44939         * include/libc-symbols.h: Likewise.
44940         * include/shlib-compat.h: Likewise.
44941         * resolv/Makefile: Likewise.
44942         * resolv/res_libc.c: Likewise.
44943         * rt/Makefile: Likewise.
44944         * sysdeps/i386/asm-syntax.h: Likewise.
44945         * sysdeps/i386/sysdep.h: Likewise.
44946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44947         * sysdeps/mach/sysdep.h: Likewise.
44948         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44949         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44950         * sysdeps/s390/asm-syntax.h: Likewise.
44951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44953         * sysdeps/sh/sysdep.h: Likewise.
44954         * sysdeps/unix/sparc/sysdep.h: Likewise.
44955         * sysdeps/wordsize-32/divdi3.c: Likewise.
44956         * sysdeps/x86_64/sysdep.h: Likewise.
44957
44958         * argp/Versions: Remove _argp_unlock_xxx.
44959
44960         [BZ #13559]
44961         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44962         * abilist/libBrokenLocale.abilist: Likewise.
44963         * abilist/libanl.abilist: Likewise.
44964         * abilist/libc.abilist: Likewise.
44965         * abilist/libcrypt.abilist: Likewise.
44966         * abilist/libdl.abilist: Likewise.
44967         * abilist/libm.abilist: Likewise.
44968         * abilist/libnsl.abilist: Likewise.
44969         * abilist/libpthread.abilist: Likewise.
44970         * abilist/libresolv.abilist: Likewise.
44971         * abilist/librt.abilist: Likewise.
44972         * abilist/libthread_db.abilist: Likewise.
44973         * abilist/libutil.abilist: Likewise.
44974         * abilist/libnss_db.abilist: New file.
44975
44976         * scripts/abilist.awk: Add support for indirect functions.
44977
44978         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44979
44980         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44981
44982         * shlib-versions: Remove entries for ports architectures.
44983
44984         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44985         files in ports.
44986         * elf/stackguard-macros.h: Remove support for IA-64.
44987         * elf/tst-auditmod1.c: Likewise.
44988         * sysdeps/generic/ldsodefs.h: Likewise.
44989
44990         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44991         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44992         configure files.
44993
44994         [BZ #13552]
44995         * configure.in: Remove --enable-omitfp support.
44996         * FAQ.in: Adjust.
44997         * config.make.in: Likewise.
44998         * Makeconfig: Likewise.
44999         * manual/install.texi: Likewise.
45000
45001         In case anyone cares, the IA-64 architecture could move to ports.
45002         * sysdeps/ia64/*: Removed.
45003         * sysdeps/unix/sysv/linux/ia64/*: Removed.
45004         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45005
45006         [BZ #13555]
45007         * configure.in: Remove entries for unsupported architectures.
45008
45009         [BZ #13533]
45010         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45011         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
45012         routines.
45013         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45014         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45015         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
45016         fall back to using wcrtomb.
45017         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45018         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
45019         renaming.
45020         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45021         * wcsmbs/tst-c16c32-1.c: New file.
45022
45023         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45024         local variable.
45025
45026         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45027
45028         * elf/tst-unique3.cc: Add explicit declaration of gets.
45029         * elf/tst-unique3lib.cc: Likewise.
45030         * elf/tst-unique3lib2.cc: Likewise.
45031         * elf/tst-unique4.cc: Likewise.
45032
45033         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45034
45035 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
45036
45037         [BZ #13566]
45038         * assert/assert.h (static_assert): Don't define for C++.
45039         * libio/stdio.h (gets): Do declare for C++ <= C++11.
45040         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45041
45042 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
45043
45044         * iconv/loop.c (single loop): Fix assertion in storing of
45045         remaining bytes.
45046
45047         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45048
45049 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
45050
45051         * posix/getconf.c: Update copyright year.
45052         * nss/getent.c: Likewise.
45053         * nss/makedb.c: Likewise.
45054         * iconv/iconvconfig.c: Likewise.
45055         * iconv/iconv_prog.c: Likewise.
45056         * elf/ldconfig.c: Likewise.
45057         * elf/pldd.c: Likewise.
45058         * elf/sotruss.ksh: Likewise.
45059         * catgets/gencat.c: Likewise.
45060         * csu/version.c: Likewise.
45061         * elf/ldd.bash.in: Likewise.
45062         * elf/sprof.c (print_version): Likewise.
45063         * locale/programs/locale.c: Likewise.
45064         * locale/programs/localedef.c: Likewise.
45065         * login/programs/pt_chown.c: Likewise.
45066         * nscd/nscd.c (print_version): Likewise.
45067         * debug/xtrace.sh: Likewise.
45068         * malloc/memusage.sh: Likewise.
45069         * malloc/mtrace.pl: Likewise.
45070         * debug/catchsegv.sh: Likewise.
45071
45072 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
45073
45074         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45075         pure attribute.
45076
45077 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
45078
45079         [BZ #13533]
45080         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45081         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45082         transformations.
45083         * iconv/gconv_int.h: Likewise.
45084         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45085         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45086         from libc for GLIBC_2.16.
45087         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45088         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45089         * wcsmbs/uchar.h: Really define mbstate_t.
45090         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45091         * wcsmbs/c16rtomb.c: New file.
45092         * wcsmbs/mbrtoc16.c: New file.
45093         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45094         for C/POSIX locale.
45095         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45096         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45097
45098         * wcsmbs/wchar.h: Add missing __restrict.
45099
45100 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45101
45102         [BZ #13532]
45103         * time/Makefile (routines): Add timespec_get.
45104         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45105         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
45106         timespec for ISO C11.
45107         * time/timespec_get.c: New file.
45108         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45109         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45110
45111         [BZ #13531]
45112         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45113         * stdlib/stdlib.h: Declare aligned_alloc.
45114         * Versions.def: Add GLIBC_2.16 for libc.
45115         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45116
45117         [BZ 13527]
45118         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45119         ISO C11.
45120
45121         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45122         code.
45123
45124         [BZ #13528]
45125         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45126
45127         [BZ #13529]
45128         * assert/assert.h (static_assert): Define.
45129
45130         * version.h: Update for 2.16 development version.
45131
45132         [BZ #13526]
45133         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45134         _ISOC11_SOURCE.
45135
45136         * version.h (RELEASE): Bump for 2.15 release.
45137         * include/features.h (__GLIBC_MINOR__): Bump to 15.
45138
45139         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45140         Patch by Marek Polacek <mpolacek@redhat.com>.
45141
45142         * bits/byteswap.h: Protect long long constants with __extension__.
45143         * sysdeps/i386/bits/byteswap.h: Likewise.
45144         * sysdeps/ia64/bits/byteswap.h: Likewise.
45145         * sysdeps/s390/bits/byteswap.h: Likewise.
45146         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45147
45148 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45149
45150         [BZ #13540]
45151         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45152         destination buffer.
45153         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45154
45155 2011-12-23  Marek Polacek  <polacek@redhat.com>
45156
45157         * elf/dl-addr.c (determine_info): Add inline keyword.
45158         * elf/tst-auditmod4b.c (check_avx): Likewise.
45159         * elf/tst-auditmod6b.c (check_avx): Likewise.
45160         * elf/tst-auditmod6c.c (check_avx): Likewise.
45161         * elf/tst-auditmod7b.c (check_avx): Likewise.
45162
45163 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
45164
45165         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45166         !__SSE_MATH__.
45167
45168 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45169
45170         [BZ #13540]
45171         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45172         processing for last bytes.
45173
45174 2011-08-06  Bruno Haible  <bruno@clisp.org>
45175
45176         [BZ #13061]
45177         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45178         U+0385, not to U+1FEE.
45179
45180         [BZ #13062]
45181         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45182         entry for U+00A5 U+0301.
45183
45184 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45185
45186         [BZ #13166]
45187         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45188         buffer for the output is too small.
45189
45190         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45191         optimization.
45192
45193         [BZ #13185]
45194         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45195         SSE flags if possible.
45196
45197 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45198
45199         [BZ #13540]
45200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45201         processing for last bytes.
45202
45203 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
45204
45205         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45206         (syscall-list-default-options, syscall-list-default-condition)
45207         (syscall-list-includes): Define.
45208         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45209         list of ABIs and options and #if conditions for each ABI.  Do not
45210         handle common syscalls between ABIs specially.
45211         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45212         Remove.
45213         (syscall-list-variants, syscall-list-32bit-options)
45214         (syscall-list-32bit-condition, syscall-list-64bit-options)
45215         (syscall-list-64bit-condition): Define.
45216         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45217         (syscall-list-variants, syscall-list-32bit-options)
45218         (syscall-list-32bit-condition, syscall-list-64bit-options)
45219         (syscall-list-64bit-condition): Define.
45220         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45221         Remove.
45222         (syscall-list-variants, syscall-list-32bit-options)
45223         (syscall-list-32bit-condition, syscall-list-64bit-options)
45224         (syscall-list-64bit-condition): Define.
45225         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45226         Remove.
45227         (syscall-list-variants, syscall-list-32bit-options)
45228         (syscall-list-32bit-condition, syscall-list-64bit-options)
45229         (syscall-list-64bit-condition): Define.
45230
45231 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
45232
45233         * locale/iso-639.def: Add brx entry.
45234
45235         [BZ #13328]
45236         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45237         Proposed by Mariusz_Cukr <marcukr@op.pl>.
45238
45239         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45240         __feraiseexcept_renamed.
45241
45242 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45243
45244         [BZ #13538]
45245         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45246         EPOLLET with unsigned values.
45247         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45249
45250         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45251         to large cancellation.
45252         * math/s_cacoshf.c: Likewise.
45253         * math/s_cacoshl.c: Likewise.
45254
45255 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
45256
45257         [BZ #13305]
45258         [BZ #12786]
45259         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45260         * math/s_cacoshf.c: Likewise.
45261         * math/s_cacoshl.c: Likewise.
45262
45263 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
45264
45265         [BZ #13439]
45266         * iconv/gconv.h: Define __GCONV_SWAP.
45267         * iconvdata/unicode.c: The swap bit must be stored in __flags.
45268         * iconvdata/utf-16.c: Likewise.
45269         * iconvdata/utf-32.c: Likewise.
45270
45271 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
45272
45273         [BZ #13524]
45274         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45275         numerator after shifting it by one limb.
45276
45277 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
45278
45279         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45280         under [__USE_EXTERN_INLINES].
45281
45282 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45283
45284         [BZ #13446]
45285         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45286
45287 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45288
45289         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45290         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45291         optimized code.
45292         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45293         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45294         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45295         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45296         for strncasecmp/strncasecmp_l compilation.
45297         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45298         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45299
45300 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
45301
45302         [BZ #13484]
45303         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45304         of __asm__.
45305
45306 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
45307
45308         [BZ #13506]
45309         * time/tzfile.c (__tzfile_read): Check values from file header.
45310
45311 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45312
45313         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45314         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45315         * powerpc/powerpc32/dl-start.S: Likewise.
45316         * powerpc/powerpc32/elf/start.S: Likewise.
45317         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45318         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45319         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45320         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45321         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45322         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45323         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45324         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45325         * powerpc/powerpc32/fpu/s_round.S: Likewise.
45326         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45327         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45328         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45329         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45330         * powerpc/powerpc32/memset.S: Likewise.
45331         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45332         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45333         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45334         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45335         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45336         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45337         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45338         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45339         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45340         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45341         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45342         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45343         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45344
45345 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45346
45347         * math/libm-test.inc: Added more nearbyint tests.
45348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45352
45353 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
45354
45355         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45356         FD_CLOEXEC.
45357
45358 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45359
45360         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45361         Add wcscpy-ssse3 wcscpy-c.
45362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45363         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45364         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45365         * sysdeps/x86_64/wcschr.S: New file.
45366         * sysdeps/x86_64/wcsrchr.S: New file.
45367         * string/test-strcmp.c: Remove checking of wcscmp function for
45368         wrong alignments.
45369         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45370         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45371         wcsrchr-sse2 wcsrchr-c.
45372         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45373         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45374         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45375         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45376         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45377         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45378         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45379         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45381         * wcsmbc/wcschr.c (WCSCHR): New macro.
45382
45383 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45384
45385         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45386         * wcsmbs/test-wcsrchr.c: New file.
45387         * string/test-strrchr.c: Add wcsrchr support.
45388         (WIDE): New macro.
45389         * wcsmbs/test-wcscpy.c: New file.
45390         * string/test-strcpy.c: Add wcscpy support.
45391         (WIDE): New macro.
45392
45393 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
45394
45395         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45396         the inner loop.
45397
45398 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
45399
45400         [BZ #13472]
45401         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45402
45403 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
45404
45405         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45406         Minor optimizations.
45407
45408         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45409         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45410         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45411
45412 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
45413
45414         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45415         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45416         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45417         for gcc to avoid warnings.
45418         * inet/Makefile (tests): Add tst-checks.
45419         * inet/tst-checks.c: New file.
45420
45421         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45422         warning.
45423
45424         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45425         __wmemcmp_sse2.
45426
45427         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45428         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45429
45430         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45431
45432 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
45433
45434         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45435         problem.
45436
45437         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45438
45439 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
45440
45441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45442         conditional on GCC version.
45443         (__arch_compare_and_exchange_val_8_acq)
45444         (__arch_compare_and_exchange_val_16_acq)
45445         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45446         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45447         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45448
45449 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
45450
45451         * sysdeps/sh/backtrace.c: New file.
45452
45453 2011-12-02  Andreas Schwab  <schwab@redhat.com>
45454
45455         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
45456         parenthesis.
45457
45458 2011-12-01  Andreas Schwab  <schwab@redhat.com>
45459
45460         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45461         falling back to utime.
45462
45463 2011-11-30  Andreas Schwab  <schwab@redhat.com>
45464
45465         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45466         expectations for float.
45467
45468 2011-11-29  Andreas Schwab  <schwab@redhat.com>
45469
45470         * locale/weight.h (findidx): Add parameter len.
45471         * locale/weightwc.h (findidx): Likewise.
45472         * posix/fnmatch_loop.c (FCT): Adjust caller.
45473         * posix/regcomp.c (build_equiv_class): Likewise.
45474         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45475         * posix/regexec.c (check_node_accept_bytes): Likewise.
45476         * string/strcoll_l.c (STRCOLL): Likewise.
45477         * string/strxfrm_l.c (STRXFRM): Likewise.
45478
45479 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
45480
45481         * Makefile.in: Remove CVSOPT handling.
45482         * configure.in: Remove use of AC_REVISION.
45483         * iconvdata/Makefile (distribute): No need to filter out CVS.
45484         * scripts/list-sources.sh: Remove CVS, subversion and monotone
45485         handling.
45486
45487 2011-11-16  Andreas Schwab  <schwab@redhat.com>
45488
45489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45490         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45491         [USE_AS_STRNCASECMP_L]: Likewise.
45492         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45493         NO_TLS_DIRECT_SEG_REFS.
45494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45495         Fix argument offsets for non-PIC.
45496         [USE_AS_STRNCASECMP_L]: Likewise.
45497         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45498         NO_TLS_DIRECT_SEG_REFS.
45499
45500 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45501
45502         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45503         O_CLOEXEC.
45504         * locale/loadlocale.c (_nl_load_locale): Likewise.
45505
45506 2011-11-15  Andreas Schwab  <schwab@redhat.com>
45507
45508         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45509         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45511         (SYSCALL_GETTIME): Set errno on error.
45512
45513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45514         count references to noai6ai_cached.
45515
45516 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
45517
45518         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45519
45520         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45521         FD_CLOEXEC for /proc/self/maps.
45522
45523         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45524         FD_CLOEXEC for /proc/meminfo.
45525
45526         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45527         gai.conf.
45528
45529         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
45530         FD_CLOEXEC for given file.
45531
45532         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45533
45534         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45535         FD_CLOEXEC for /etc/hosts.
45536         (_gethtent): Likewise.
45537
45538         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45539
45540         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45541         cancellation and set FD_CLOEXEC for /etc/netgroup.
45542
45543         * nss/nss_files/files-key.c (search): Don't allow cancellation when
45544         reading /etc/publickey.
45545
45546         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45547         allow cancellation when reading /etc/group.
45548
45549         * nss/nss_files/files-alias.c (internal_setent): Don't allow
45550         cancellation.
45551         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
45552
45553         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45554         when using data file.
45555
45556         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45557
45558         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45559         (write_nis_obj): Use "c" and "e" in fopen.
45560
45561         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45562
45563         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45564
45565         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45566
45567         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45568
45569         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45570         locale.alias.
45571
45572         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45573
45574         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45575
45576         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45577
45578         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45579         file parsing and set FD_CLOEXEC.
45580
45581 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45582
45583         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45584
45585 2011-11-14  Andreas Schwab  <schwab@redhat.com>
45586
45587         * malloc/arena.c (arena_get2): Don't call reused_arena when
45588         _int_new_arena failed.
45589
45590 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
45591
45592         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45593         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45595         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45596         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45597         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45598         to compile strcasecmp and strncasecmp.
45599         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45600         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45601
45602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45603
45604 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
45605
45606         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45607         locale-defines.sym to gen-as-const-headers.
45608         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45609         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45611         to compile strcasecmp and strncasecmp.
45612         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45613         strcasecmp_l and strncasecmp_l.
45614         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45615         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45616         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45617         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45618         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45619         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45620         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45621         * sysdeps/i386/i686/multiarch/strncase.S: New file.
45622         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45623         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45624         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45625
45626 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
45627
45628         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45629         result of SYSDEP_GETTIME_CPU to retval.
45630         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45631         parameter list to macro.  Remove trailing semicolon.  Adjust users.
45632
45633         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45634         variable.
45635
45636         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45637         mantissa words.
45638         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45639
45640         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45641         from unused variable.
45642
45643         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45644         DWARF definitions.
45645         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45646         for assembling.
45647
45648         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45649         over namespaces.
45650
45651         * sunrpc/rpc_prot.c (rejected): Fix case value.
45652
45653         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45654         unsigned long long int to avoid warnings in shift.
45655
45656         * posix/regex_internal.c (re_string_reconstruct): Actually use result
45657         of use of trans.
45658         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45659         variable tmp.
45660
45661         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45662         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45664
45665         * nis/nis_table.c (nis_list): Use variable of correct type for
45666         result of __follow_path call.
45667
45668 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45669
45670         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45671         of math functions ceil, trunc, floor, round, and sqrt, when
45672         avaliable on the platform.
45673         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45674         name clash.
45675         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45676         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45677         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45678
45679 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
45680
45681         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45682         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45683
45684 2011-11-11  Roland McGrath  <roland@hack.frob.com>
45685
45686         * include/unistd.h: Fix __readlink return type.
45687         Reported by Chris Metcalf <cmetcalf@tilera.com>.
45688
45689 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
45690
45691         * stdlib/ucontext.h: Undo last change for makecontext.
45692
45693 2011-11-11  Andreas Schwab  <schwab@redhat.com>
45694
45695         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45696
45697         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45698         * setjmp/setjmp.h: Mark functions as non-leaf.
45699         * setjmp/bits/setjmp2.h: Likewise.
45700         * stdlib/ucontext.h: Likewise.
45701
45702 2011-11-10  Andreas Schwab  <schwab@redhat.com>
45703
45704         * malloc/arena.c (_int_new_arena): Don't increment narenas.
45705         (reused_arena): Don't check arena limit.
45706         (arena_get2): Atomically check arena limit.
45707
45708 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
45709
45710         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45711         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45712
45713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45714         instructions.
45715
45716 2011-11-07  Andreas Schwab  <schwab@redhat.com>
45717
45718         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45719         handler when locking.
45720
45721         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45722         Fix size of allocated buffer.
45723
45724 2011-11-04  Andreas Schwab  <schwab@redhat.com>
45725
45726         [BZ #10103]
45727         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45728         declarations for long double functions.
45729         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45730
45731         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45732
45733 2011-11-03  Andreas Schwab  <schwab@redhat.com>
45734
45735         * nscd/nscd.c (main): Don't start AVC thread until credentials are
45736         installed.
45737
45738         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45739         is disabled.
45740
45741 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45742
45743         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45744
45745 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
45746
45747         * include/alloca.h (stackinfo_alloca_round): Define.
45748         (extend_alloca): Use it.
45749         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45750         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45751         here.
45752
45753         * scripts/check-local-headers.sh: Ignore libaudit.h.
45754
45755         * nscd/Makefile (extra-objs): Make recursively expanded.
45756
45757 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
45758
45759         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45761
45762         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45763         * posix/tst-rfc3484-2.c: Likewise.
45764         * posix/tst-rfc3484-3.c: Likewise.
45765
45766         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45767         process_vm_writev.
45768         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45769         process_vm_writev.
45770         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45771         process_vm_writev from libc using GLIBC_2.15 version.
45772
45773         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45774
45775 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
45776
45777         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45778         stack usage.
45779
45780 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45781
45782         [BZ #13367]
45783         * nss/getent.c (initgroups_keys): Show error message in case no group
45784         names are given.
45785
45786         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45787         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45788         __bump_nl_timestamp.
45789         * nscd/connections (nscd_init): When host database is served open
45790         netlink socket and request notification about configuration changes.
45791         (main_loop_poll): Track netlink file descriptor and bump timestamp
45792         in case data becomes available.
45793         (main_loop_epoll): Likewise.
45794         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45795         (database_pers_head): Add extra_data fileds.
45796         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45797         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45798         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45799         Adjust caller.
45800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45801         in6ai data, call __free_in6ai.
45802         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45803         Add -DHAVE_NETLINK.
45804         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45805         interface information.  Reuse previous data if netlink timestamp
45806         is not changed.
45807         (__bump_nl_timestamp): New function.
45808         (__free_in6ai): New function.
45809
45810 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45811
45812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45813         close_not_cancel_no_status here.
45814         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45815
45816 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45817
45818         [BZ #13276]
45819         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45820         return value.
45821
45822         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45823         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45824         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45825
45826 2011-07-03  Andreas Jaeger  <aj@suse.de>
45827
45828         [BZ #10709]
45829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45830         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45831         * math/libm-test.inc (sin_test): Add test case.
45832
45833 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45834
45835         [BZ #13337]
45836         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45838
45839         * elf/chroot_canon.c (chroot_canon): Cleanups.
45840
45841         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45842
45843         [BZ #13335]
45844         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45845         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45846
45847         * string/test-strchr.c: Make usable for strchrnul testing.
45848         * string/test-strchrnul.c: New file.
45849         * string/Makefile (strop-tests): Add strchrnul.
45850
45851         * po/it.po: Update from translation team.
45852         * po/es.po: Likewise.
45853
45854 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45855
45856         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45857         the three constants needed as parameters.  Drop the others.
45858         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45859         __m128i_strloadu_tolower.
45860         Create and initialize variable zero and use it in all the places
45861         where _mm_setzero_si128 was used.
45862
45863         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45864         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45865         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45866         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45867         anymore.
45868         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45869         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45870         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45871         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45872         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45873         __mpranred, __mptan.
45874         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45875         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45876         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45877         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45878         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45879         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45881         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45882         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45883
45884 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45885
45886         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45887         redefine if SHARED.
45888         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45889
45890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45891         wide char related routines to wcsmbs subdir.
45892
45893 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45894
45895         [BZ #13344]
45896         * misc/sys/cdefs.h (__THROWNL): Define.
45897         * posix/unistd.h: Use __THREADNL instead of __THREAD
45898         for memory synchronization functions.
45899
45900 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45901
45902         [BZ #13349]
45903         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45904         doesn't exist.
45905         * manual/stdio.texi (Obstack Streams): Node removed.
45906
45907 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45908
45909         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45911         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45912
45913         * math/math_private.h (math_force_eval): Allow non-addressable
45914         arguments.
45915         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45916
45917 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45918
45919         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45920         file is not needed.
45921
45922         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45925         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45928         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45929         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45930         Add AVX variants.
45931         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45932         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45933         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45934         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45935         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45936         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45937         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45939         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45940         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45941         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45942         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45943         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45944         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45945         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45946         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45947         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45948         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45949         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45950
45951         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45952         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45953
45954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45955         place.  Use VEX encoding when compiling for AVX.
45956
45957 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45958
45959         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45960         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45961
45962         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45963
45964 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45965
45966         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45967         useless if() expression.
45968         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45969         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45970         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45973         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45974         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45975         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45977         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45978         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45979         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45980         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45981         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45982         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45983         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45984         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45985         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45986         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45987
45988         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45989
45990 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45991
45992         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45993         condition.
45994         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45995
45996 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45997
45998         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45999         .text section.  Avoid duplicate constants.
46000         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46002         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46008         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46009         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46010         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46011         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46012         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46013         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46014         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46016         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46017         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46018         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46019         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46020         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46021         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46022         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46023         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46024         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46025         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46026         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46027         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46028         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46029         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46030         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46031         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46032         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46033         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46034         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46035         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46036         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46037         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46038         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46039         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46040         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46041         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46042         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46043         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46044         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46045
46046 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
46047
46048         * sysdeps/x86_64/dla.h: Move to ...
46049         * sysdeps/x86_64/fpu/dla.h: ...here.
46050         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46051         situations.  Use __builtin_fma only for gcc 4.6 and up.
46052
46053         * config.make.in: Add have-mfma4 entry.
46054         * configure.in: Substitute libc_cv_cc_fma4.
46055         * math/Makefile (dbl-only-routines): Add sincostab.
46056         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46057         Use __sincostab not sincos.
46058         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46059         name is a macro.
46060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46062         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46063         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
46064         using __copysign.
46065         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
46066         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
46067         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46068         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46069         and __inv.
46070         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46071         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46072         __copysign.
46073         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
46074         define aliases when function name is a macro.
46075         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46076         sysdeps/ieee754/dbl-64/sincos.tbl.
46077         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46078         fma4-enabled routines.
46079         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46080         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46081         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46082         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46083         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46084         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46086         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46088         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46089         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46090         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46091         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46092         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46094         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46095         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46096         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46097         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46098         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46099         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46100         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46101         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46102         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46103         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46104         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46106         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46107         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46108         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46109
46110         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46111         rename.
46112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46118         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46119         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46120
46121 2011-10-24  Andreas Schwab  <schwab@redhat.com>
46122
46123         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46124
46125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46126
46127         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46128
46129         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46130         prediction.
46131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46132
46133         * string/strnlen.c: Don't define STRNLEN, reverse logic.
46134         Remove unused variable magic_bits.
46135         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46136
46137         * string/strnlen.c: Define and use STRNLEN macro.
46138         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46139         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46141         * wcsmbs/wcslen.c: Define and use WCSLEN.
46142         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46143         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46144         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46145         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46146         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46147         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46148         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46149
46150 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46151
46152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46153         strnlen-sse2-no-bsf.
46154         Rename strlen-no-bsf to strlen-sse2-no-bsf.
46155         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46156         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46157         Add strnlen support.
46158         (USE_AS_STRNLEN): New macro.
46159         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46161         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46162         * sysdeps/x86_64/wcslen.S: New file.
46163
46164 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
46165
46166         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46167         XMM-moves are used for copying on small sizes.
46168
46169 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46170
46171         * wcsmbs/Makefile (strop-tests): Add wcschr.
46172         * wcsmbs/test-wcschr.c: New file.
46173         * string/test-strchr.c: Update.
46174         Add wcschr support.
46175         (WIDE): New macro.
46176
46177 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46178
46179         * wcsmbs/Makefile (strop-tests): Add wcslen.
46180         * wcsmbs/test-wcslen.c: New file.
46181         * string/test-strlen.c: Update.
46182         Add wcslen support.
46183         (WIDE): New macro.
46184
46185 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46186
46187         * po/it.po: Update from translation team.
46188
46189 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46190
46191         * sysdeps/x86_64/wcscmp.S: Update.
46192         Fix wrong comparison semantics.
46193         wcscmp shall use signed comparison not unsigned.
46194         Don't use substraction to avoid overflow bug.
46195         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46196         * wcsmbc/wcscmp.c: Likewise.
46197         * string/test-strcmp.c: Likewise.
46198         Add new tests to check cases with negative values.
46199
46200 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
46201
46202         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46203         * sysdeps/x86_64/dla.h: ...here.  New file.
46204         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46213
46214 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
46215
46216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46217         __ynl_finite aliases.
46218
46219 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46220
46221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46222
46223         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46224         define DLA_FMA.
46225         [DLA_FMA] (EMULV): Use DLA_FMA.
46226         [DLA_FMA] (MUL12): Use EMULV.
46227         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46228         that are not needed.
46229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46236
46237 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
46238
46239         * math/s_nan.c: Undef __nan.
46240         * math/s_nanf.c: Undef __nanf.
46241         * math/s_nanl.c: Undef __nanl.
46242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46243         "math_private.h".
46244
46245 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
46246
46247         * math/s_catan.c: Add branch predictions.
46248         * math/s_catanf.c: Likewise.
46249         * math/s_catanh.c: Likewise.
46250         * math/s_catanhf.c: Likewise.
46251         * math/s_catanhl.c: Likewise.
46252         * math/s_catanl.c: Likewise.
46253         * math/s_cexp.c: Likewise.
46254         * math/s_cexpf.c: Likewise.
46255         * math/s_cexpl.c: Likewise.
46256         * math/s_clog.c: Likewise.
46257         * math/s_clog10.c: Likewise.
46258         * math/s_clog10f.c: Likewise.
46259         * math/s_clog10l.c: Likewise.
46260         * math/s_clogf.c: Likewise.
46261         * math/s_clogl.c: Likewise.
46262         * math/s_csqrt.c: Likewise.
46263         * math/s_csqrtf.c: Likewise.
46264         * math/s_csqrtl.c: Likewise.
46265         * math/s_ctanf.c: Likewise.
46266         * math/s_ctanh.c: Likewise.
46267         * math/s_ctanhf.c: Likewise.
46268         * math/s_ctanhl.c: Likewise.
46269         * math/s_ctanl.c: Likewise.
46270
46271         * math/math_private.h: Define __nan, __nanf, __nanl.
46272         * math/s_cacosh.c: Include <math_private.h>.
46273         * math/s_cacoshl.c: Likewise.
46274         * math/s_casinh.c: Likewise.
46275         * math/s_casinhf.c: Likewise.
46276         * math/s_casinhl.c: Likewise.
46277         * math/s_ccos.c: Rely entire on ccosh.
46278         * math/s_ccosf.c: Rely entire on ccoshf.
46279         * math/s_ccosl.c: Rely entirely on ccoshl.
46280         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
46281         Remove tests for FE_INVALID.
46282         * math/s_ccoshf.c: Likewise.
46283         * math/s_ccoshl.c: Likewise.
46284         * math/s_csin.c: Likewise.
46285         * math/s_csinf.c: Likewise.
46286         * math/s_csinh.c Likewise.
46287         * math/s_csinhf.c: Likewise.
46288         * math/s_csinhl.c: Likewise.
46289         * math/s_csinl.c: Likewise.
46290         * math/s_ctan.c: Likewise.
46291         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46292         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46294
46295 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
46296
46297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46298         compilation problems.
46299
46300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46301         __builtin_expect.
46302
46303 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
46304
46305         * sysdeps/i386/configure.in: Test for -mfma4 option.
46306         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46307         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46308         COMMON_CPUID_INDEX_80000001.
46309         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46310         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46311         use it if FMA3 is not supported.
46312         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46313
46314         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46315         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46316
46317 2011-10-20  Andreas Schwab  <schwab@redhat.com>
46318
46319         [BZ #12892]
46320         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46321         it would create a cycle with a link time dependency.
46322
46323 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
46324
46325         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46326         instruction.
46327         * string/Makefile (strop-tests): Add rawmemchr.
46328         * string/test-rawmemchr.c: New file.
46329
46330         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
46332         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
46333         when compiling str{,n}casecmp and when AVX is available.  Hook up
46334         new optimized code in initializers.
46335
46336 2011-10-19  Andreas Schwab  <schwab@redhat.com>
46337
46338         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46339         __feraiseexcept instead of feraiseexcept.
46340
46341 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
46342
46343         * math/math_private.h: Define defaults for libc_fetestexcept and
46344         libc_feupdateenv.
46345         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46346         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46347         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46349         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46350         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46351         libc_fetestexcept and libc_feupdateenv.
46352
46353         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46354         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46355         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46356         * sysdeps/x86_64/fpu/math_private.h: Define special version of
46357         libc_feholdexcept_setround.
46358
46359         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46360         Add s_nearbyint-c and s_nearbyintf-c.
46361         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46362         nearbyintf inlines.
46363         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46364         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46365         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46366         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46367
46368         * math/math_private.h: Define defaults for libc_fegetround,
46369         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46370         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46371         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46373         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46374         standard functions.
46375         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46376         Remove comments and hacks for old compiler versions.
46377         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46378         libc_fegetround, libc_fesetround, libc_feholdexcept, and
46379         libc_feholdexceptl.
46380
46381 2011-10-18  Andreas Schwab  <schwab@redhat.com>
46382
46383         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46384         (__feraiseexcept_renamed): Add __NTH.
46385         (feraiseexcept): Add __NTH.  Rename local variables to fix
46386         namespace violations.
46387
46388 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
46389
46390         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46391
46392         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46393
46394         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46395         recently added interfaces.
46396         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46397
46398         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46399         about macro parameter expansion.
46400
46401         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46402         __NO_MATH_INLINES is defined.  Cleanups.
46403
46404         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46405         and __floorf is target has SSE4.1.
46406         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46407         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46408         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46409         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46410
46411         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46412         name.
46413         (floorf): Likewise.
46414
46415         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46416
46417 2011-10-17  Andreas Schwab  <schwab@redhat.com>
46418
46419         * misc/sys/cdefs.h: Fix last change.
46420
46421         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46422         database lookup.
46423
46424 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
46425
46426         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46427
46428         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46429         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46433         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46434         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46435         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46436         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46437         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46438         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46439         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46440         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46441         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46442         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46443         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46444         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46445         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46446         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46447         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46448         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46449         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46450
46451         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46452         ceil, ceilf, floor, floorf.
46453
46454         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46455         Perform IRELATIVE relocations last.
46456
46457         * elf/do-rel.h: Add another parameter nrelative, replacing the
46458         local variable with the same name.  Change name of the function
46459         to end in Rel or Rela (uppercase).
46460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46461         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
46462         elf_dynamic_do_##reloc function.
46463
46464 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46465
46466         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46467         is sufficient, at least on modern CPUs.
46468
46469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46470
46471         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46472         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46473
46474         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46475         __expl_finite.
46476         * math/bits/math-finite.h: Add entries for exp.
46477         * math/e_expl.c: Add __*_finite alias.
46478         * sysdeps/i386/fpu/e_exp.S: Likewise.
46479         * sysdeps/i386/fpu/e_expf.S: Likewise.
46480         * sysdeps/i386/fpu/e_expl.c: Likewise.
46481         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46482         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46485         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46486         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46487         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46488
46489         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46490         is sufficient, at least on modern CPUs.
46491
46492         * ctype/ctype-info.c (__ctype_init): Define.
46493         * include/ctype.h (__ctype_init): Declare.
46494         (__ctype_b_loc): The variable is always initialized.
46495         (__ctype_toupper_loc): Likewise.
46496         (__ctype_tolower_loc): Likewise.
46497         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46498         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46499
46500 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
46501
46502         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46503
46504         * configure.in: Also look in $cxxmachine/include for C++ system
46505         headers.
46506
46507 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46508
46509         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46510         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46511         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46512         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
46513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46514         (USE_AS_WMEMCMP): New macro.
46515         Fixing indents.
46516         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46517         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46518         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46519         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46521         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46522         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46523         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46524         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46525         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46527         (USE_AS_WMEMCMP): New macro.
46528         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46529         * sysdeps/string/test-memcmp.c: Update.
46530         Fix simple_wmemcmp.
46531         Add new tests.
46532         * wcsmbs/wmemcmp.c: Update.
46533         (WMEMCMP): New macro.
46534         Fix overflow bug.
46535
46536 2011-10-12  Andreas Jaeger  <aj@suse.de>
46537
46538         [BZ #13268]
46539         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46540
46541 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
46542
46543         * libio/iofwide.c (do_length): Avoid warning.
46544
46545         * ctype/ctype.h (__isctype_f): Add missing __THROW.
46546
46547 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
46548
46549         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46550
46551         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46552         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46553         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46554         * sysdeps/i386/i686/fpu/e_log.S: New file.
46555         * sysdeps/i386/i686/fpu/e_logf.S: New file.
46556         * sysdeps/i386/i686/fpu/e_logl.S: New file.
46557
46558         * ctype/ctype.h: Add support for inlined isXXX functions when
46559         compiling C++ code.
46560
46561 2011-10-14  Andreas Schwab  <schwab@redhat.com>
46562
46563         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46564
46565         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46566
46567 2011-10-13  Roland McGrath  <roland@hack.frob.com>
46568
46569         [BZ #13291]
46570         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46571
46572 2011-10-13  Andreas Schwab  <schwab@redhat.com>
46573
46574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46575         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46576         feraiseexcept.
46577
46578         * sysdeps/x86_64/memrchr.S: Check for zero size.
46579
46580         * string/stratcliff.c: Add memrchr tests.
46581
46582 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46583
46584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46585         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46586         rawmemchr-sse2 rawmemchr-sse2-bsf.
46587         * sysdeps/i386/i686/multiarch/memchr.S: New file.
46588         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46589         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46590         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46591         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46592         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46594         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46595         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46596         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46597         * string/memrchr.c (MEMRCHR): New macro.
46598
46599 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
46600
46601         Add integration with gcc's -ffinite-math-only and optimize wrapper
46602         functions in libm.
46603         * Versions.def: Define GLIBC_2.15 version for libm.
46604         * math/Makefile (headers): Add bits/math-finite.h.
46605         * math/bits/math-finite.h: New file.
46606         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46607         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46608         * math/e_acoshl.c: Add __*_finite alias.
46609         * math/e_acosl.c: Likewise.
46610         * math/e_asinl.c: Likewise.
46611         * math/e_atan2l.c: Likewise.
46612         * math/e_atanhl.c: Likewise.
46613         * math/e_coshl.c: Likewise.
46614         * math/e_exp10.c: Likewise.
46615         * math/e_exp10f.c: Likewise.
46616         * math/e_exp10l.c: Likewise.
46617         * math/e_exp2l.c: Likewise.
46618         * math/e_fmodl.c: Likewise.
46619         * math/e_gammal_r.c: Likewise.
46620         * math/e_hypotl.c: Likewise.
46621         * math/e_j0l.c: Likewise.
46622         * math/e_j1l.c: Likewise.
46623         * math/e_jnl.c: Likewise.
46624         * math/e_lgammal_r.c: Likewise.
46625         * math/e_log10l.c: Likewise.
46626         * math/e_log2l.c: Likewise.
46627         * math/e_logl.c: Likewise.
46628         * math/e_powl.c: Likewise.
46629         * math/e_sinhl.c: Likewise.
46630         * math/e_sqrtl.c: Likewise.
46631         * math/e_scalb.c: Completely rewritten and optimized.
46632         * math/e_scalbf.c: Likewise.
46633         * math/e_scalbl.c: Likewise.
46634         * math/w_acos.c: Likewise.
46635         * math/w_acosf.c: Likewise.
46636         * math/w_acosl.c: Likewise.
46637         * math/w_acosh.c: Likewise.
46638         * math/w_acoshf.c: Likewise.
46639         * math/w_acoshl.c: Likewise.
46640         * math/w_asin.c: Likewise.
46641         * math/w_asinf.c: Likewise.
46642         * math/w_asinl.c: Likewise.
46643         * math/w_atan2.c: Likewise.
46644         * math/w_atan2f.c: Likewise.
46645         * math/w_atan2l.c: Likewise.
46646         * math/w_atanh.c: Likewise.
46647         * math/w_atanhf.c: Likewise.
46648         * math/w_atanhl.c: Likewise.
46649         * math/w_exp10.c: Likewise.
46650         * math/w_exp10f.c: Likewise.
46651         * math/w_exp10l.c: Likewise.
46652         * math/w_fmod.c: Likewise.
46653         * math/w_fmodf.c: Likewise.
46654         * math/w_fmodl.c: Likewise.
46655         * math/w_j0.c: Likewise.
46656         * math/w_j0f.c: Likewise.
46657         * math/w_j0l.c: Likewise.
46658         * math/w_j1.c: Likewise.
46659         * math/w_j1f.c: Likewise.
46660         * math/w_j1l.c: Likewise.
46661         * math/w_jn.c: Likewise.
46662         * math/w_jnf.c: Likewise.
46663         * math/w_log.c: Likewise.
46664         * math/w_logf.c: Likewise.
46665         * math/w_logl.c: Likewise.
46666         * math/w_log10.c: Likewise.
46667         * math/w_log10f.c: Likewise.
46668         * math/w_log10l.c: Likewise.
46669         * math/w_log2.c: Likewise.
46670         * math/w_log2f.c: Likewise.
46671         * math/w_log2l.c: Likewise.
46672         * math/w_pow.c: Likewise.
46673         * math/w_powf.c: Likewise.
46674         * math/w_powl.c: Likewise.
46675         * math/w_remainder.c: Likewise.
46676         * math/w_remainderf.c: Likewise.
46677         * math/w_remainderl.c: Likewise.
46678         * math/w_scalb.c: Likewise.
46679         * math/w_scalbf.c: Likewise.
46680         * math/w_scalbl.c: Likewise.
46681         * math/w_sqrt.c: Likewise.
46682         * math/w_sqrtf.c: Likewise.
46683         * math/w_sqrtl.c: Likewise.
46684         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46685         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
46686         used.
46687         * math/math_private.h: Declare __kernel_standard_f.
46688         * math/w_cosh.c: Remove cruft and optimize a bit.
46689         * math/w_coshf.c: Likewise.
46690         * math/w_coshl.c: Likewise.
46691         * math/w_exp2.c: Likewise.
46692         * math/w_exp2f.c: Likewise.
46693         * math/w_exp2l.c: Likewise.
46694         * math/w_hypot.c: Likewise.
46695         * math/w_hypotf.c: Likewise.
46696         * math/w_hypotl.c: Likewise.
46697         * math/w_lgamma.c: Likewise.
46698         * math/w_lgamma_r.c: Likewise.
46699         * math/w_lgammaf.c: Likewise.
46700         * math/w_lgammaf_r.c: Likewise.
46701         * math/w_lgammal.c: Likewise.
46702         * math/w_lgammal_r.c: Likewise.
46703         * math/w_sinh.c: Likewise.
46704         * math/w_sinhf.c: Likewise.
46705         * math/w_sinhl.c: Likewise.
46706         * math/w_tgamma.c: Likewise.
46707         * math/w_tgammaf.c: Likewise.
46708         * math/w_tgammal.c: Likewise.
46709         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46710         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46711         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46712         Minor optimizations.  Pretty printing.  Remove cruft.
46713         * sysdeps/i386/fpu/e_acosf.S: Likewise.
46714         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46715         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46716         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46717         * sysdeps/i386/fpu/e_acosl.c: Likewise.
46718         * sysdeps/i386/fpu/e_asin.S: Likewise.
46719         * sysdeps/i386/fpu/e_asinf.S: Likewise.
46720         * sysdeps/i386/fpu/e_atan2.S: Likewise.
46721         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46722         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46724         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46726         * sysdeps/i386/fpu/e_exp10.S: Likewise.
46727         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46728         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46729         * sysdeps/i386/fpu/e_exp2.S: Likewise.
46730         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46731         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46732         * sysdeps/i386/fpu/e_fmod.S: Likewise.
46733         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46734         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46735         * sysdeps/i386/fpu/e_hypot.S: Likewise.
46736         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46737         * sysdeps/i386/fpu/e_log.S: Likewise.
46738         * sysdeps/i386/fpu/e_log10.S: Likewise.
46739         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46740         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46741         * sysdeps/i386/fpu/e_log2.S: Likewise.
46742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46744         * sysdeps/i386/fpu/e_logf.S: Likewise.
46745         * sysdeps/i386/fpu/e_logl.S: Likewise.
46746         * sysdeps/i386/fpu/e_pow.S: Likewise.
46747         * sysdeps/i386/fpu/e_powf.S: Likewise.
46748         * sysdeps/i386/fpu/e_powl.S: Likewise.
46749         * sysdeps/i386/fpu/e_remainder.S: Likewise.
46750         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46751         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46752         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46753         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46754         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46755         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46756         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46757         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46778         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46779         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46780         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46781         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46782         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46783         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46784         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46785         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46786         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46787         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46789         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46792         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46793         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46794         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46795         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46796         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46797         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46798         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46799         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46800         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46801         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46802         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46803         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46804         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46808         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46828         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46829         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46832         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46835         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46836         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46839         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46840         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46841         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46842         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46843         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46846         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46847         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46851         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46852         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46853         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46854         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46855         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46856         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46857         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46858         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46859         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46860         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46861         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46862         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46863         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46864         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46865         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46866         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46867         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46868         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46869         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46870         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46871         (__isnanf): Likewise.
46872         (__isinf_ns): Likewise.
46873         (__isinf_nsf): Likewise.
46874         (__finite): Likewise.
46875         (__finitef): Likewise.
46876         (__ieee754_sqrt): Define as macro.
46877         (__ieee754_sqrtf): Define as macro.
46878         (__ieee754_sqrtl): Define as macro.
46879         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46880         inlined copy.
46881         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46882         __FINITE_MATH_ONLY__ consistent.
46883         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46884
46885 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46886
46887         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46888         of rawmemchr.
46889
46890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46891
46892 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46893
46894         * po/ja.po: Update from translation team.
46895
46896 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46897
46898         * locale/programs/locarchive.c (prepare_address_space): New function.
46899         (create_archive, enlarge_archive, open_archive): Use it.
46900
46901         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46902         inside [SHARED], where it is used.
46903
46904         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46905
46906         * nss/getent.c (netgroup_keys): Remove unused variable.
46907         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46908
46909 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46910
46911         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46912         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46914         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46915         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46916         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46917         * math/Makefile (libm-calls): Add s_isinf_ns.
46918         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46919         * math/multc3.c: Likewise.
46920         * math/s_casin.c: Likewise.
46921         * math/s_casinf.c: Likewise.
46922         * math/s_casinl.c: Likewise.
46923         * math/s_ccos.c: Likewise.
46924         * math/s_ccosf.c: Likewise.
46925         * math/s_ccosl.c: Likewise.
46926         * math/s_ctan.c: Likewise.
46927         * math/s_ctanf.c: Likewise.
46928         * math/s_ctanh.c: Likewise.
46929         * math/s_ctanhf.c: Likewise.
46930         * math/s_ctanhl.c: Likewise.
46931         * math/s_ctanl.c: Likewise.
46932         * math/w_fmod.c: Likewise.
46933         * math/w_fmodf.c: Likewise.
46934         * math/w_fmodl.c: Likewise.
46935         * math/w_remainder.c: Likewise.
46936         * math/w_remainderf.c: Likewise.
46937         * math/w_remainderl.c: Likewise.
46938         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46939         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46942         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46943         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46944         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46945         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46946
46947         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46948         of the number.
46949         * stdio-common/printf_fphex.c: Likewise.
46950         * stdio-common/printf_size.c: Likewise.
46951
46952         * math/e_exp10.c: Include math_private.h using <...> not "...".
46953         * math/e_exp10f.c: Likewise.
46954         * math/e_exp10l.c: Likewise.
46955         * math/e_exp2l.c: Likewise.
46956         * math/e_j0l.c: Likewise.
46957         * math/e_j1l.c: Likewise.
46958         * math/e_jnl.c: Likewise.
46959         * math/e_lgammal_r.c: Likewise.
46960         * math/e_rem_pio2l.c: Likewise.
46961         * math/e_scalb.c: Likewise.
46962         * math/e_scalbf.c: Likewise.
46963         * math/e_scalbl.c: Likewise.
46964         * math/k_cosl.c: Likewise.
46965         * math/k_sinl.c: Likewise.
46966         * math/k_tanl.c: Likewise.
46967         * math/s_cacoshf.c: Likewise.
46968         * math/s_catan.c: Likewise.
46969         * math/s_catanf.c: Likewise.
46970         * math/s_catanh.c: Likewise.
46971         * math/s_catanhf.c: Likewise.
46972         * math/s_catanhl.c: Likewise.
46973         * math/s_catanl.c: Likewise.
46974         * math/s_ccosh.c: Likewise.
46975         * math/s_ccoshf.c: Likewise.
46976         * math/s_ccoshl.c: Likewise.
46977         * math/s_cexp.c: Likewise.
46978         * math/s_cexpf.c: Likewise.
46979         * math/s_cexpl.c: Likewise.
46980         * math/s_clog.c: Likewise.
46981         * math/s_clog10.c: Likewise.
46982         * math/s_clog10f.c: Likewise.
46983         * math/s_clog10l.c: Likewise.
46984         * math/s_clogf.c: Likewise.
46985         * math/s_clogl.c: Likewise.
46986         * math/s_csin.c: Likewise.
46987         * math/s_csinf.c: Likewise.
46988         * math/s_csinh.c: Likewise.
46989         * math/s_csinhf.c: Likewise.
46990         * math/s_csinhl.c: Likewise.
46991         * math/s_csinl.c: Likewise.
46992         * math/s_csqrt.c: Likewise.
46993         * math/s_csqrtf.c: Likewise.
46994         * math/s_csqrtl.c: Likewise.
46995         * math/s_ctan.c: Likewise.
46996         * math/s_ctanf.c: Likewise.
46997         * math/s_ctanh.c: Likewise.
46998         * math/s_ctanhf.c: Likewise.
46999         * math/s_ctanhl.c: Likewise.
47000         * math/s_ctanl.c: Likewise.
47001         * math/s_ldexp.c: Likewise.
47002         * math/s_ldexpf.c: Likewise.
47003         * math/s_ldexpl.c: Likewise.
47004         * math/s_significand.c: Likewise.
47005         * math/s_significandf.c: Likewise.
47006         * math/s_significandl.c: Likewise.
47007         * math/w_acos.c: Likewise.
47008         * math/w_acosf.c: Likewise.
47009         * math/w_acosh.c: Likewise.
47010         * math/w_acoshf.c: Likewise.
47011         * math/w_acoshl.c: Likewise.
47012         * math/w_acosl.c: Likewise.
47013         * math/w_asin.c: Likewise.
47014         * math/w_asinf.c: Likewise.
47015         * math/w_asinl.c: Likewise.
47016         * math/w_atan2.c: Likewise.
47017         * math/w_atan2f.c: Likewise.
47018         * math/w_atan2l.c: Likewise.
47019         * math/w_atanh.c: Likewise.
47020         * math/w_atanhf.c: Likewise.
47021         * math/w_atanhl.c: Likewise.
47022         * math/w_cosh.c: Likewise.
47023         * math/w_coshf.c: Likewise.
47024         * math/w_coshl.c: Likewise.
47025         * math/w_dremf.c: Likewise.
47026         * math/w_exp10.c: Likewise.
47027         * math/w_exp10f.c: Likewise.
47028         * math/w_exp10l.c: Likewise.
47029         * math/w_exp2.c: Likewise.
47030         * math/w_exp2f.c: Likewise.
47031         * math/w_fmod.c: Likewise.
47032         * math/w_fmodf.c: Likewise.
47033         * math/w_fmodl.c: Likewise.
47034         * math/w_hypot.c: Likewise.
47035         * math/w_hypotf.c: Likewise.
47036         * math/w_hypotl.c: Likewise.
47037         * math/w_j0.c: Likewise.
47038         * math/w_j0f.c: Likewise.
47039         * math/w_j0l.c: Likewise.
47040         * math/w_j1.c: Likewise.
47041         * math/w_j1f.c: Likewise.
47042         * math/w_j1l.c: Likewise.
47043         * math/w_jn.c: Likewise.
47044         * math/w_jnf.c: Likewise.
47045         * math/w_jnl.c: Likewise.
47046         * math/w_lgamma.c: Likewise.
47047         * math/w_lgamma_r.c: Likewise.
47048         * math/w_lgammaf.c: Likewise.
47049         * math/w_lgammaf_r.c: Likewise.
47050         * math/w_lgammal.c: Likewise.
47051         * math/w_lgammal_r.c: Likewise.
47052         * math/w_log.c: Likewise.
47053         * math/w_log10.c: Likewise.
47054         * math/w_log10f.c: Likewise.
47055         * math/w_log10l.c: Likewise.
47056         * math/w_log2.c: Likewise.
47057         * math/w_log2f.c: Likewise.
47058         * math/w_log2l.c: Likewise.
47059         * math/w_logf.c: Likewise.
47060         * math/w_logl.c: Likewise.
47061         * math/w_pow.c: Likewise.
47062         * math/w_powf.c: Likewise.
47063         * math/w_powl.c: Likewise.
47064         * math/w_remainder.c: Likewise.
47065         * math/w_remainderf.c: Likewise.
47066         * math/w_remainderl.c: Likewise.
47067         * math/w_scalb.c: Likewise.
47068         * math/w_scalbf.c: Likewise.
47069         * math/w_scalbl.c: Likewise.
47070         * math/w_sinh.c: Likewise.
47071         * math/w_sinhf.c: Likewise.
47072         * math/w_sinhl.c: Likewise.
47073         * math/w_sqrt.c: Likewise.
47074         * math/w_sqrtf.c: Likewise.
47075         * math/w_sqrtl.c: Likewise.
47076         * math/w_tgamma.c: Likewise.
47077         * math/w_tgammaf.c: Likewise.
47078         * math/w_tgammal.c: Likewise.
47079
47080         * po/ja.po: Update from translation team.
47081
47082 2011-09-29  Andreas Jaeger  <aj@suse.de>
47083
47084         [BZ #13179]
47085         * sunrpc/netname.c (netname2host): Fix logic.
47086
47087         [BZ #6779]
47088         [BZ #6783]
47089         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47090         correctly.
47091         * math/w_remainder.c (__remainder): Likewise.
47092         * math/w_remainderf.c (__remainderf): Likewise.
47093         * math/libm-test.inc (remainder_test): Add test cases.
47094
47095 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47096
47097         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
47098         sdiv_qrnnd.
47099
47100 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47101
47102         * string/test-memcmp.c: Avoid unncessary #defines.
47103         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47104
47105 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47106
47107         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47108         Use new sse2 version for core i3 - i7 as it's faster
47109         than sse42 version.
47110         (bit_Prefer_PMINUB_for_stringop): New.
47111         * sysdeps/x86_64/rawmemchr.S: Update.
47112         Replace with faster SSE2 version.
47113         * sysdeps/x86_64/memrchr.S: New file.
47114         * sysdeps/x86_64/memchr.S: Update.
47115         Replace with faster SSE2 version.
47116
47117 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
47118
47119         * elf/dl-load.c (lose): Add cast to avoid warning.
47120
47121 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
47122
47123         * po/ca.po: Update from translation team.
47124
47125         * inet/getnetgrent_r.c: Hook up nscd.
47126         * nscd/Makefile (routines): Add nscd_netgroup.
47127         (nscd-modules): Add netgroupcache.
47128         (CFLAGS-netgroupcache.c): Define.
47129         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47130         (cache_search): Add const to second parameter.
47131         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47132         INNETGR.
47133         (dbs): Add netgrdb entry.
47134         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47135         (verify_persistent_db): Handle netgrdb.
47136         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47137         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47138         GETFDNETGR.
47139         (netgroup_response_header): Define.
47140         (innetgroup_response_header): Define.
47141         (datahead): Add netgroup_response_header and innetgroup_response_header
47142         elements.
47143         * nscd/nscd.conf: Add entries for netgroup cache.
47144         * nscd/nscd.h (dbtype): Add netgrdb.
47145         (_PATH_NSCD_NETGROUP_DB): Define.
47146         (netgroup_iov_disabled): Declare.
47147         (xmalloc, xcalloc, xrealloc): Move declarations here.
47148         (cache_search): Adjust prototype.
47149         Add netgroup-related prototypes.
47150         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47151         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47152         (__nscd_innetgr): Declare.
47153         * nscd/selinux.c (perms): Use access_vector_t as element type and
47154         add netgroup-related initializers.
47155         * nscd/netgroupcache.c: New file.
47156         * nscd/nscd_netgroup.c: New file.
47157         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47158         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47159         For four parameters use innetgr.
47160         * nss/nss_files/files-init.c: Add definition and callback for netgr.
47161         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47162         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47163         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47164
47165         * nscd/connections.c (register_traced_file): Don't register file
47166         for disabled databases.
47167
47168 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
47169
47170         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47171
47172         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47173         from tree and freeing node.
47174
47175 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
47176
47177         * nss/nsswitch.c (__nss_database_lookup): Handle
47178         nss_parse_service_list out of memory case.
47179
47180 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
47181
47182         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47183         out of memory case.
47184
47185 2011-10-04  Andreas Schwab  <schwab@redhat.com>
47186
47187         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47188         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47189         pass it down.
47190         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47191         elf_machine_rela, elf_machine_lazy_rel.
47192         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47193         (ELF_DYNAMIC_DO_REL): Likewise.
47194         (ELF_DYNAMIC_DO_RELA): Likewise.
47195         (ELF_DYNAMIC_RELOCATE): Likewise.
47196         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47197         to ELF_DYNAMIC_DO_REL.
47198         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47199         (dl_main): In trace mode always set __RTLD_NOIFUNC.
47200         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47201         elf_machine_rela.
47202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47203         skip_ifunc, don't call ifunc function if non-zero.
47204         (elf_machine_rela): Likewise.
47205         (elf_machine_lazy_rel): Likewise.
47206         (elf_machine_lazy_rela): Likewise.
47207         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47208         (elf_machine_lazy_rel): Likewise.
47209         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47210         Likewise.
47211         (elf_machine_lazy_rel): Likewise.
47212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47213         Likewise.
47214         (elf_machine_lazy_rel): Likewise.
47215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47216         (elf_machine_lazy_rel): Likewise.
47217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47218         (elf_machine_lazy_rel): Likewise.
47219         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47220         (elf_machine_lazy_rel): Likewise.
47221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47222         (elf_machine_lazy_rel): Likewise.
47223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47224         (elf_machine_lazy_rel): Likewise.
47225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47226         (elf_machine_lazy_rel): Likewise.
47227
47228 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
47229
47230         * nss/nss_files/files-init.c (_nss_files_init): Use static
47231         initialization for all the *_traced_file variables.
47232
47233 2011-09-28  Andreas Schwab  <schwab@redhat.com>
47234
47235         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47236
47237 2011-09-27  Roland McGrath  <roland@hack.frob.com>
47238
47239         [BZ #13226]
47240         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47241
47242 2011-09-27  Andreas Schwab  <schwab@redhat.com>
47243
47244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47245         Reread the line before reparsing it.
47246
47247 2011-09-26  Andreas Schwab  <schwab@redhat.com>
47248
47249         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47250
47251 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
47252             Maxim Kuvyrkov  <maxim@codesourcery.com>
47253             Joseph Myers  <joseph@codesourcery.com>
47254
47255         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47256         if needed for __stack_chk_guard.
47257
47258 2011-09-19  Roland McGrath  <roland@hack.frob.com>
47259
47260         * sysdeps/posix/spawni.c (script_execute): Always define it.
47261         It will be optimized away if unused.
47262         (maybe_script_execute): New function.
47263         (__spawni): Call it.
47264
47265         * Makerules: Don't include tls.make.
47266         (config-tls): Always set to thread.
47267         * tls.make.c: File removed.
47268
47269 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
47270
47271         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47272         * config.make.in (CPPFLAGS-config): New substituted variable.
47273
47274 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47275
47276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47277
47278         [BZ #13192]
47279         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47280         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47281
47282 2011-09-15  Roland McGrath  <roland@hack.frob.com>
47283
47284         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47285         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47287         (CALL_FAIL): Likewise.
47288         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47289         (CALL_FAIL): Macro removed.
47290         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47291
47292 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
47293
47294         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47295         for __FINITE_MATH_ONLY__ == 1.
47296
47297 2011-09-15  Andreas Schwab  <schwab@redhat.com>
47298
47299         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47300         __ieee754_sqrt instead of sqrt.
47301         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47302         __ieee754_sqrtf instead of sqrtf.
47303         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47304         __floorf instead of floorf.
47305         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47306         __floorf, __truncf instead of floorf, truncf.
47307
47308 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
47309
47310         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47311
47312         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47313         __extern_always_inline.
47314         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47315         32-bit.
47316
47317 2011-09-14  Andreas Schwab  <schwab@redhat.com>
47318
47319         * elf/rtld.c (dl_main): Also relocate in dependency order when
47320         doing symbol dependency testing.
47321
47322 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
47323
47324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47325         Always define `refsym'.
47326
47327 2011-09-13  Andreas Schwab  <schwab@redhat.com>
47328
47329         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47330         (__FD_ELT): Renamed from __FDELT.
47331         * misc/bits/select2.h (__FD_ELT): Likewise.
47332         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47333         __FD_MASK instead of __FDELT, __FDMASK.
47334         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47335         Likewise.
47336         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47337         Likewise.
47338
47339         * elf/Makefile (gen-ldd): Fix pattern.
47340
47341         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47342         (init_tls): Likewise.
47343
47344 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
47345
47346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47347
47348 2011-09-12  Andreas Schwab  <schwab@redhat.com>
47349
47350         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47351         `struct cmsghdr *' instead of `void *'.
47352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47353         Likewise.
47354
47355 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
47356
47357         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47358         if non-absolute.
47359         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47360         ldd_rewrite_script.
47361
47362 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
47363
47364         * configure.in: Remove --with-tls option.
47365         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47366         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47367         out in case it is missing.
47368         * sysdeps/ia64/elf/configure.in: Likewise.
47369         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47370         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47371         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47372         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47373         * sysdeps/sh/elf/configure.in: Likewise.
47374         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47375         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47376         * sysdeps/x86_64/elf/configure.in: Likewise.
47377         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47378         * sysdeps/mach/hurd/tls.h: Likewise.
47379
47380         [BZ #13067]
47381         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47382
47383         [BZ #13090]
47384         * configure.in: Fix use of AC_INIT.
47385
47386         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47387
47388 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
47389
47390         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47391         __set_errno.
47392         * malloc/hooks.c: Likewise.
47393
47394         [BZ #11929]
47395         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
47396         variables statically.
47397         (narenas): Initialize.
47398         (list_lock): Initialize.
47399         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
47400         initializtion of main_arena and list_lock.  Small cleanups.
47401         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47402         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
47403         Add initializers to main_arena and mp_.
47404         (malloc_state): Remove pagesize member.  Change all users to use
47405         GLRO(dl_pagesize).
47406
47407         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47408         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
47409         is always initialized.
47410
47411         * malloc/malloc.c: Removed unused configurations and dead code.
47412         * malloc/arena.c: Likewise.
47413         * malloc/hooks.c: Likewise.
47414         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47415
47416         * include/tls.h: Removed.  USE___THREAD must always be defined.
47417         * bits/libc-tsd.h: Don't handle !USE___THREAD.
47418         * elf/dl-libc.c: Likewise.
47419         * elf/dl-tsd.c: Likewise.
47420         * include/errno.h: Likewise.
47421         * include/netdb.h: Likewise.
47422         * include/resolv.h: Likewise.
47423         * inet/herrno-loc.c: Likewise.
47424         * inet/herrno.c: Likewise.
47425         * malloc/arena.c: Likewise.
47426         * malloc/hooks.c: Likewise.
47427         * malloc/malloc.c: Likewise.
47428         * resolv/res-state.c: Likewise.
47429         * resolv/res_libc.c: Likewise.
47430         * sysdeps/i386/dl-machine.h: Likewise.
47431         * sysdeps/ia64/dl-machine.h: Likewise.
47432         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47433         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47434         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47435         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47436         * sysdeps/sh/dl-machine.h: Likewise.
47437         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47438         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47439         * sysdeps/unix/i386/sysdep.S: Likewise.
47440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47441         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47446         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47450         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47451         * sysdeps/x86_64/dl-machine.h: Likewise.
47452         * tls.make.c: Likewise.
47453
47454         * configure.in: Remove --with-__thread option.  Make tests for
47455         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47456         tls_model attribute fail if no support is available.  Remove
47457         USE_IN_LIBIO.
47458         * Makeconfig: Adjust for dropped configure option.  All features are
47459         now mandatory.
47460         * Makerules: Likewise.
47461         * Versions.def: Likewise.
47462         * argp/argp-fmtstream.c: Likewise.
47463         * argp/argp-fmtstream.h: Likewise.
47464         * argp/argp-help.c: Likewise.
47465         * assert/assert.c: Likewise.
47466         * config.h.in: Likewise.
47467         * config.make.in: Likewise.
47468         * configure: Likewise.
47469         * configure.in: Likewise.
47470         * csu/Versions: Likewise.
47471         * csu/init.c: Likewise.
47472         * elf/tst-audit2.c: Likewise.
47473         * elf/tst-tls10.c: Likewise.
47474         * elf/tst-tls10.h: Likewise.
47475         * elf/tst-tls11.c: Likewise.
47476         * elf/tst-tls12.c: Likewise.
47477         * elf/tst-tls14.c: Likewise.
47478         * elf/tst-tlsmod11.c: Likewise.
47479         * elf/tst-tlsmod12.c: Likewise.
47480         * elf/tst-tlsmod13.c: Likewise.
47481         * elf/tst-tlsmod13a.c: Likewise.
47482         * elf/tst-tlsmod14a.c: Likewise.
47483         * elf/tst-tlsmod15b.c: Likewise.
47484         * elf/tst-tlsmod16a.c: Likewise.
47485         * elf/tst-tlsmod16b.c: Likewise.
47486         * elf/tst-tlsmod7.c: Likewise.
47487         * elf/tst-tlsmod8.c: Likewise.
47488         * elf/tst-tlsmod9.c: Likewise.
47489         * gmon/gmon.c: Likewise.
47490         * grp/fgetgrent_r.c: Likewise.
47491         * grp/putgrent.c: Likewise.
47492         * hurd/fopenport.c: Likewise.
47493         * include/libc-symbols.h: Likewise.
47494         * include/tls.h: Likewise.
47495         * intl/gettextP.h: Likewise.
47496         * intl/loadinfo.h: Likewise.
47497         * locale/global-locale.c: Likewise.
47498         * locale/localeinfo.h: Likewise.
47499         * mach/devstream.c: Likewise.
47500         * malloc/arena.c: Likewise.
47501         * malloc/set-freeres.c: Likewise.
47502         * misc/err.c: Likewise.
47503         * misc/getttyent.c: Likewise.
47504         * misc/mntent_r.c: Likewise.
47505         * posix/getopt.c: Likewise.
47506         * posix/wordexp.c: Likewise.
47507         * pwd/fgetpwent_r.c: Likewise.
47508         * resolv/Versions: Likewise.
47509         * resolv/res_hconf.c: Likewise.
47510         * shadow/fgetspent_r.c: Likewise.
47511         * shadow/putspent.c: Likewise.
47512         * stdio-common/printf_fphex.c: Likewise.
47513         * stdio-common/tmpfile.c: Likewise.
47514         * stdlib/abort.c: Likewise.
47515         * stdlib/fmtmsg.c: Likewise.
47516         * sunrpc/auth_unix.c: Likewise.
47517         * sunrpc/clnt_perr.c: Likewise.
47518         * sunrpc/clnt_tcp.c: Likewise.
47519         * sunrpc/clnt_udp.c: Likewise.
47520         * sunrpc/clnt_unix.c: Likewise.
47521         * sunrpc/openchild.c: Likewise.
47522         * sunrpc/svc_simple.c: Likewise.
47523         * sunrpc/svc_tcp.c: Likewise.
47524         * sunrpc/svc_udp.c: Likewise.
47525         * sunrpc/svc_unix.c: Likewise.
47526         * sunrpc/xdr.c: Likewise.
47527         * sunrpc/xdr_array.c: Likewise.
47528         * sunrpc/xdr_rec.c: Likewise.
47529         * sunrpc/xdr_ref.c: Likewise.
47530         * sunrpc/xdr_stdio.c: Likewise.
47531
47532 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47533
47534         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47535
47536 2011-07-03  Andreas Jaeger  <aj@suse.de>
47537
47538         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47539         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47540         regenerate with gen-libm-tests.pl.
47541
47542 2010-05-12  Petr Baudis  <pasky@suse.cz>
47543
47544         [BZ #11589]
47545         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47546         around j0() zero points by switching to j1().
47547         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47548         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47551
47552 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47553
47554         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47555         instead of 0.
47556         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47557         instead of 0.
47558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47559         Patch in part by Pavel Roskin <proski@gnu.org>.
47560
47561         [BZ #13138]
47562         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47563         realloc.
47564         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
47565         Free memory block if necessary.
47566
47567         [BZ #12847]
47568         * libio/genops.c (INTDEF): For string streams the _lock pointer can
47569         be NULL.  Don't lock in this case.
47570
47571 2011-09-09  Roland McGrath  <roland@hack.frob.com>
47572
47573         * elf/elf.h (ELFOSABI_GNU): New macro.
47574         (ELFOSABI_LINUX): Define to that.
47575
47576 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
47577
47578         * string/strncat.c (strncat): Undef the symbol in case it has been
47579         defined in bits/string.h.
47580
47581 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
47582
47583         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47584
47585         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47586         link map.
47587
47588 2011-08-17  Andreas Jaeger  <aj@suse.de>
47589
47590         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47591
47592 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47593             Ian Lance Taylor  <iant@google.com>
47594
47595         * math/libm-test.inc (lround_test): New testcase.
47596         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47597
47598 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
47599
47600         * Makefile: Remove support for automatic cvs check-ins.
47601         * Makerules: Likewise.
47602         * config.make.in: Likewise.
47603         * configure.in: Likewise.
47604         * intl/Makefile: Likewise.
47605         * locale/Makefile: Likewise.
47606         * po/Makefile: Likewise.
47607         * posix/Makefile: Likewise.
47608         * sysdeps/gnu/Makefile: Likewise.
47609         * sysdeps/mach/hurd/Makefile: Likewise.
47610         * sysdeps/sparc/sparc32/Makefile: Likewise.
47611
47612         [BZ #13118]
47613         * posix/Makefile (bug-regex32-ENV): Define.
47614         Patch by John Stanley <jpsinthemix@verizon.net>.
47615
47616         * misc/Makefile (headers): Add bits/select2.h.
47617         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47618         * misc/bits/select2.h: New file.
47619         * include/bits/select2.h: New file.
47620         * debug/Makefile (routines): Add fdelt_chk.
47621         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47622         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47623         FD_ISSET.
47624         * debug/fdelt_chk.c: New file.
47625
47626         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
47627         * wcsmbs/test-wmemcmp.c: Likewise.
47628         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47629         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47630
47631 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47632
47633         * string/Makefile (strop-tests): Add memcmp.
47634         * string/test-wmemcmp.c: New file.
47635         * string/test-memcmp.c: Add wmemcmp support.
47636
47637 2011-09-08  Roland McGrath  <roland@hack.frob.com>
47638
47639         [BZ #13153]
47640         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47641         2011-07-19 change.
47642
47643         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47644         garbage value in a __mach_port_mod_refs call in the cases of the
47645         task-self and thread-self ports.
47646
47647 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47648
47649         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47650
47651 2011-09-08  Andreas Schwab  <schwab@redhat.com>
47652
47653         * elf/dl-load.c (lose): Check for non-null L.
47654
47655 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47656
47657         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47658
47659         * elf/dl-libc.c (dlerror_run): Pass back error code from
47660         dl_catch_error.
47661
47662         [BZ #13123]
47663         * elf/dl-load.c (lose): Free l_origin if it is valid.
47664
47665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47666         names.
47667         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47668         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47669         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47670         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47671         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47672         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47673
47674 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47675
47676         * sysdeps/powerpc/fpu/e_hypot.c: New file.
47677         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47678         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47679         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47680         * sysdeps/powerpc/fpu/k_cosf.c: New file.
47681         * sysdeps/powerpc/fpu/k_sinf.c: New file.
47682         * sysdeps/powerpc/fpu/s_cosf.c: New file.
47683         * sysdeps/powerpc/fpu/s_sinf.c: New file.
47684         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47685         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47686
47687 2011-08-15  Alan Modra  <amodra@gmail.com>
47688
47689         [BZ #13092]
47690         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47691         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47692         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
47693         ppc_mcount to static-only-routines.
47694         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47695         __mcount_internal.
47696         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47697         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
47698
47699 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
47700
47701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47702         for finite and infinity parameters.
47703
47704 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47705
47706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47707         and add nop instructions for throughput optimization.
47708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47709
47710 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
47711
47712         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47713         aligned copy for power7 with vector-scalar instructions.
47714         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47715
47716 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
47717
47718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47719         AVX check.
47720
47721 2011-09-07  Andreas Schwab  <schwab@redhat.com>
47722
47723         [BZ #13144]
47724         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47725         last change.
47726
47727 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
47728
47729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47730         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47731         syscall wrapper around clock_gettime in __vdso_clock_gettime.
47732         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47733         clock_gettime.
47734
47735 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47736
47737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47738         Forgot to demangle the pointer.
47739
47740         * sysdeps/i386/sysdep.h: Define atom_text_section.
47741         * sysdeps/x86_64/sysdep.h: Likewise.
47742         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47743         section with atom_text_section.
47744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47745         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47746         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47748         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47749
47750         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47752         already be defined.  Change to take two parameters and don't assign
47753         result to variable.  Adjust all users.
47754         Define INTERNAL_GETTIME if not already defined.
47755         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47756         call.
47757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47758         HAVE_CLOCK_GETTIME_VSYSCALL.
47759         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47760
47761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47762         gettimeofday vsyscall, just use time.
47763
47764 2011-09-06  Andreas Schwab  <schwab@redhat.com>
47765
47766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47767         <errno.h>.
47768
47769 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
47770
47771         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47772         syscall on x86-64.
47773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47774         syscall.
47775         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47776         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47777         syscall if possible.
47778
47779 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47780
47781         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47782         e_ident.  Don't pass to find_mapsXX.
47783         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47784
47785 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47786
47787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47788         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47789         * sysdeps/x86_64/multiarch/strchr.S: Update.
47790         Check bit_slow_BSF bit.
47791         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47792         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47793         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47794
47795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47796
47797         [BZ #13134]
47798         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47799         before glibc 2.15.
47800         (tryshell): Define.
47801         (__spawni): Change last parameter to be flag.  Test
47802         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47803         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47804         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47805         * posix/spawni.c: Likewise.
47806         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47807         * posix/spawnp.c: Likewise.  Change normal version to use
47808         SPAWN_XFLAGS_USE_PATH.
47809         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47810         SPAWN_XFLAGS_TRY_SHELL.
47811
47812         [BZ #13150]
47813         * posix/glob.h: Remove gcc 1.x support.
47814
47815         [BZ #13068]
47816         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47817
47818 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47819
47820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47821         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47822         strrchr-sse2-bsf
47823         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47824         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47825         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47826         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47827         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47828         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47829
47830 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47831
47832         * sysdeps/x86_64/wcscmp.S: New file.
47833
47834         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47835         wcscmp-c wcscmp-sse2
47836         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47837         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47838         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47839         * wcsmbs/wcscmp.c: Allow renaming.
47840
47841 2011-09-05  David S. Miller  <davem@davemloft.net>
47842
47843         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47844         stack slot, rather than the struct return pointer slot.
47845         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47846         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47848         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47849
47850 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47851
47852         * po/ja.po: Update from translation team.
47853
47854         [BZ #13144]
47855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47856         kernel in 64-bit binaries.
47857
47858 2011-09-01  David S. Miller  <davem@davemloft.net>
47859
47860         * elf/elf.h (HWCAP_SPARC_*): Move to..
47861         * sysdeps/sparc/sysdep.h: this new file and add new values.
47862         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47863         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47864         _DL_HWCAP_COUNT to 24.
47865         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47866         entries.
47867         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47868         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47869         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47871         instead of magic constants.
47872         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47873
47874 2011-08-31  David S. Miller  <davem@davemloft.net>
47875
47876         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47878         Reimplement to do errno handling inline.
47879         (SYSCALL_ERROR_HANDLER): New macro.
47880         (__SYSCALL_STRING): Do not do errno handling in asm.
47881         (__CLONE_SYSCALL_STRING): Delete.
47882         (__INTERNAL_SYSCALL_STRING): Delete.
47883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47884         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47885         (PSEUDO): Reimplement to do errno handling inline.
47886         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47887         (SYSCALL_ERROR_HANDLER): New macro.
47888         (__SYSCALL_STRING): Do not do errno handling in asm.
47889         (__CLONE_SYSCALL_STRING): Delete.
47890         (__INTERNAL_SYSCALL_STRING): Delete.
47891         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47892         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47893         i386.
47894         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47895         (inline_syscall*): Add 'err' argument.
47896         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47897         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47898         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47899         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47900
47901         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47902         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47903
47904 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47905
47906         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47907
47908 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47909
47910         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47911         directive.
47912
47913 2011-08-24  David S. Miller  <davem@davemloft.net>
47914
47915         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47916
47917 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47918
47919         * elf/Makefile: Add rules to build and run unload8 test.
47920         * elf/unload8.c: New file.
47921         * elf/unload8mod1.c: New file.
47922         * elf/unload8mod1x.c: New file.
47923         * elf/unload8mod2.c: New file.
47924         * elf/unload8mod3.c: New file.
47925
47926         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47927         it wasn't used.
47928
47929 2011-08-23  David S. Miller  <davem@davemloft.net>
47930
47931         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47932         subtract stack bias.
47933         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47934         %sp not %fp in calculations.
47935         (_JMPBUF_UNWINDS_ADJ): Likewise.
47936
47937         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47938         (aio_suspend): Call it to force an exception region around the
47939         AIO_MISC_WAIT() invocation.
47940
47941 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47942
47943         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47944         backslash.
47945
47946 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47947
47948         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47949         protection macro.
47950         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47951         and <dl-machine.h>.
47952         (Elf64_FuncDesc): Remove.
47953
47954 2011-08-22  David S. Miller  <davem@davemloft.net>
47955
47956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47957         sigaltstack check, add missing cfi directives.
47958         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47959         missing cfi directives, and sigaltstack handling.
47960
47961 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47962
47963         [BZ #11724]
47964         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47965         object is seen twice.
47966         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47967
47968         * elf/Makefile (distribute): Add tst-initorder2.c.
47969         (tests): Add tst-initorder2.
47970         (modules-names): Add tst-initorder2a tst-initorder2b
47971         tst-initorder2c tst-initorder2d.  Add rules to build them.
47972         ($(objpfx)tst-initorder2.out): New rule.
47973         * elf/tst-initorder2.c: New file.
47974         * elf/tst-initorder2.exp: New file.
47975
47976 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47977
47978         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47979
47980         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47981         dependencies back to end of function.
47982
47983         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47984         $(elfobjdir)/ld.so.
47985
47986 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47987
47988         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47989         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47990         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47991         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47992         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47993         of __vdso_gettimeofday.
47994         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47995         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47996         attribute_hidden.
47997         (_libc_vdso_platform_setup): Remove initialization of
47998         __vdso_gettimeofday and __vdso_time.
47999
48000 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48001
48002         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48003         and fgetc_unlocked.
48004         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48005         getc_unlocked.
48006
48007         * elf/dl-open.c (add_to_global): Report additions to the global scope
48008         for LD_DEBUG=scopes.
48009         (dl_open_worker): Also print scope of newly loaded dependencies.
48010         (_dl_show_scope): Indicate if there is no scope.
48011
48012         [BZ #13114]
48013         * stdio-common/Makefile (tests): Add bug24.
48014         * stdio-common/bug24.c: New file.
48015
48016 2011-08-19  Andreas Jaeger  <aj@suse.de>
48017
48018         [BZ #13114]
48019         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48020         non-existant file when using close-on-exec mode.
48021
48022 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
48023
48024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48025         the very first instruction.
48026
48027         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48028         the CFI state in the end.
48029         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48030         inclusion of dl-trampoline.h.
48031         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48032
48033 2011-08-19  Andreas Schwab  <schwab@redhat.com>
48034
48035         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48036         expectations for long double.
48037
48038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48039         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48040
48041 2011-08-14  David S. Miller  <davem@davemloft.net>
48042
48043         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48044         artificual limit depends upon the system page size.
48045
48046 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48047
48048         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48049         * resolv/Makefile: Define CFLAGS-libresolv.
48050
48051 2011-08-17  Andreas Schwab  <schwab@redhat.com>
48052
48053         * nss/makedb.c (compute_tables): Make variables used in nested
48054         function static.
48055
48056 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
48057
48058         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48059         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48060         if buffer was too small.
48061
48062         * elf/pldd.c (main): Attach to all threads in the process.
48063         Rewrite /proc handling to use *at functions.
48064
48065 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
48066
48067         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48068         specifies first scope to show.
48069         (dl_open_worker): Update callers.  Move printing scope of new
48070         object to before the relocation.
48071         * elf/rtld.c (dl_main): Update _dl_show_scope call.
48072         * sysdeps/generic/ldsodefs.h: Update declaration.
48073
48074         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48075         string for the scope number.
48076
48077 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
48078
48079         * nscd/servicescache.c (cache_addserv): Make sure written is always
48080         initialized.
48081
48082 2011-08-14  Roland McGrath  <roland@hack.frob.com>
48083
48084         * sysdeps/i386/i486/bits/atomic.h
48085         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48086         statement expression, so as to suppress "set but not used" warning.
48087         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48088
48089         * string/strncat.c (STRNCAT): Use prototype definition.
48090
48091         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48092         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48093         -Iprograms here.
48094         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48095         (localedef-modules): Add localedef.
48096         (locale-modules): Add locale.
48097
48098         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48099         * elf/rtld.c (dl_main): Invert order of assignment in last change,
48100         to avoid a warning.
48101
48102 2011-08-14  David S. Miller  <davem@davemloft.net>
48103
48104         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48105         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48106
48107 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
48108
48109         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48110         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48111         * elf/rtld.c (dl_main): Set l_name of vDSO.
48112         Call _dl_show_scope when DL_DEBUG_SCOPES.
48113         (process_dl_debug): Recognize scopes flag and also set it for all.
48114         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48115         Declare _dl_show_scope.
48116
48117         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48118         (do_dlopen): Pass caller_dlopen to dl_open.
48119         (__libc_dlopen_mode): Initialize caller_dlopen.
48120
48121         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48122         of libc.  Make tolower call locale-independent.  Optimize a bit by
48123         using isdigit instead of isalnum.
48124         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48125
48126 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
48127
48128         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48129         was a dependency or dynamically loaded.
48130
48131 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
48132
48133         * intl/l10nflist.c: Allow architecture-specific pop function.
48134         * sysdeps/x86_64/l10nflist.c: New file.
48135
48136         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48137         classification.
48138
48139 2011-08-10  Andreas Schwab  <schwab@redhat.com>
48140
48141         * include/dirent.h: Add libc_hidden_proto for scandirat and
48142         scandirat64.  Don't declare __scandirat64.
48143         * dirent/scandirat.c: Add libc_hidden_def.
48144         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48145         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48146
48147 2011-08-10  David S. Miller  <davem@davemloft.net>
48148
48149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48150         enum.
48151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48153         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48154
48155 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
48156
48157         * Versions.def [libc]: Add GLIBC_2.15.
48158         * dirent/Makefile (routines): Add scandirat and scandirat64.
48159         * dirent/Versions [libc]: Export scandirat and scandirat64 for
48160         GLIBC_2.15.
48161         * dirent/dirent.h: Declare scandirat and scandirat64.
48162         * dirent/scandirat.c: New file.
48163         * dirent/scandirat64.c: New file.
48164         * sysdeps/wordsize-64/scandirat.c: New file.
48165         * sysdeps/wordsize-64/scandirat64.c: New file.
48166         * dirent/opendir.c: Define opendirat.
48167         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
48168         using scandirat.
48169         * dirent/scandir64.c: Adjust for scandir.c change.
48170         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
48171         __scandirat64, and __scandir_cancel_handler.
48172         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
48173         additional parameter and use openat instead of open (outside of ld.so).
48174         Add new __opendir as wrapper around __opendirat.
48175         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48176         here without requiring old scandirat implementation.
48177
48178 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
48179
48180         * dirent/scandir.c (cancel_handler): Renamed to
48181         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
48182         defined.  Adjust users.
48183         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48184         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48185
48186 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
48187
48188         * string/test-string.h (IMPL): Use __STRING to expand name and then
48189         stringify it.
48190
48191         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
48192         of cleanups.
48193
48194 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48195
48196         * string/Makefile: Update.
48197         (strop-tests): Append strncat.
48198         * string/test-wcscmp.c: New file.
48199         New comprehensive test for wcscmp.
48200         * string/test-strcmp.c: Update.
48201         (WIDE): New define.
48202
48203 2011-07-22  Andreas Schwab  <schwab@redhat.com>
48204
48205         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48206         line.
48207
48208 2011-07-26  Andreas Schwab  <schwab@redhat.com>
48209
48210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48211         encoding to ACE if AI_IDN.
48212
48213 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
48214
48215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48216         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48217
48218 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48219
48220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48221         Fix overflow bug in strncat.
48222         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48223
48224         * string/test-strncat.c: Update.
48225         Add new tests for checking overflow bugs.
48226
48227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48228
48229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48230         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48231         * sysdeps/i386/i686/multiarch/strcat.S: New file.
48232         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48233         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48234         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48235         * sysdeps/i386/i686/multiarch/strncat.S: New file.
48236         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48237         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48238
48239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48240         (USE_AS_STRCAT): Define.
48241         Add strcat and strncat support.
48242         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48243
48244 2011-07-25  Andreas Schwab  <schwab@redhat.com>
48245
48246         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48247         __n bigger than INT_MAX+1.
48248         (__strncmp_g): Likewise.
48249
48250 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
48251
48252         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48253         * libio/stido.h: Likewise.
48254
48255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48256         (AF_NFC): Define.
48257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48258         (AF_NFC): Define.
48259
48260         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48261         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48265
48266         [BZ #13021]
48267         * scripts/test-installation.pl: Don't expect libnss_test1 to be
48268         installed.
48269
48270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48271         typo.
48272         (_dl_x86_64_save_sse): Likewise.
48273
48274 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
48275
48276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48277         OSXSAVE.
48278         (_dl_x86_64_save_sse): Likewise.
48279
48280         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48281
48282         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48283
48284 2011-07-21  Andreas Schwab  <schwab@redhat.com>
48285
48286         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48287         change.
48288         (_dl_x86_64_save_sse): Use correct AVX check.
48289
48290 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48291
48292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48293         bug in strncpy/strncat.
48294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48295
48296 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
48297
48298         * string/tester.c (test_strcat): Add tests for different alignments
48299         of source and destination.
48300         (test_strncat): Likewise.
48301
48302 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48303
48304         [BZ #12852]
48305         * posix/glob.c (glob): Check passed in values before using them in
48306         expressions to avoid some overflows.
48307         (glob_in_dir): Likewise.
48308
48309         [BZ #13007]
48310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48311         check for AVX enablement so that we don't crash with old kernels and
48312         new hardware.
48313         * elf/tst-audit4.c: Add same checks here.
48314         * elf/tst-audit6.c: Likewise.
48315
48316         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48317
48318 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
48319
48320         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48321
48322 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
48323
48324         * po/cs.po: Update from translation team.
48325         * po/bg.po: Likewise.
48326
48327 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
48328
48329         * misc/sys/cdefs.h: Add support for const attribute.
48330         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48331         to gnu_dev_{major,minor,makedev} functions.
48332
48333 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
48334
48335         * intl/dcigettext.c (get_output_charset): Add missing bracket.
48336
48337 2011-07-20  Andreas Schwab  <schwab@redhat.com>
48338
48339         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48340         strlen results.
48341
48342 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48343
48344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48345         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48346         register in order to avoid conflicts with the soft frame pointer
48347         being held in r11 when necessary.
48348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48349         (INTERNAL_VSYSCALL_NCS): Likewise.
48350
48351 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
48352
48353         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48354         * elf/dl-fini.c (_dl_fini): Adjust caller.
48355         * elf/dl-close.c (_dl_close_worker): Likewise.
48356         * sysdeps/generic/ldsodefs.h: Adjust declaration.
48357
48358 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48359
48360         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48361         "aux_cache->nlibs < 0".
48362
48363         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48364         in the reload-count case.
48365
48366 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48367
48368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48369         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48370         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48371         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48372         * sysdeps/x86_64/multiarch/strcat.S: New file.
48373         * sysdeps/x86_64/multiarch/strncat.S: New file.
48374         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48375         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48376         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48377         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48378         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48379         (USE_AS_STRCAT): Define.
48380         Add strcat and strncat support.
48381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48382         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48383         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48384         * string/strncat.c: Update.
48385         (USE_AS_STRNCAT): Define.
48386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48387         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48388         and i7.
48389         * sysdeps/x86_64/multiarch/init-arch.h
48390         (bit_Prefer_PMINUB_for_stringop): New.
48391         (index_Prefer_PMINUB_for_stringop): Likewise.
48392         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48393         bit_Prefer_PMINUB_for_stringop.
48394
48395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48396
48397         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48398         buffer64.
48399         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48400         of casting of buffer.
48401         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48402         buffer32 and buffer64.
48403         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48404         writes instead of casting of buffer.
48405         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48406         buffer32.
48407         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48408         casting of buffer.
48409
48410 2011-07-19  Andreas Schwab  <schwab@redhat.com>
48411
48412         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48413
48414 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
48415
48416         * nscd/nscd.c (termination_handler): Don't do anything for a database
48417         if it has not yet been initialized.
48418
48419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48420
48421         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48422
48423 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
48424
48425         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48426
48427 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
48428
48429         * po/nl.po: Update from translation team.
48430         * po/sv.po: Likewise.
48431
48432 2011-07-16  Roland McGrath  <roland@hack.frob.com>
48433
48434         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48435         now disallowed by GCC.
48436
48437         * configure.in (use-default-link): Default to yes if a test -shared
48438         link meets our qualifications.
48439         * configure: Regenerated.
48440
48441         * config.make.in (output-format): New variable.
48442         * configure.in: Check for ld --print-output-format support.
48443         * configure: Regenerated.
48444         * Makerules ($(common-objpfx)format.lds)
48445         [$(output-format) != unknown]: Just use $(output-format),
48446         instead of the linker-script munging.
48447
48448 2011-07-14  Roland McGrath  <roland@hack.frob.com>
48449
48450         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48451         of $(common-objpfx)shlib.lds.
48452         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48453
48454         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48455         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48456
48457         * configure.in (-z relro check): Adjust test code to add a large
48458         writable data section after it.
48459         * configure: Regenerated.
48460
48461 2011-07-11  Roland McGrath  <roland@hack.frob.com>
48462
48463         * configure.in (-z relro check): Fix test code to make the variable
48464         truly const.
48465         * configure: Regenerated.
48466
48467 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
48468
48469         * nscd/nscd.h (struct traced_file): Define.
48470         (struct database_dyn): Remove inotify_descr, reset_res, and filename
48471         elements.  Add traced_files.
48472         (inotify_fd): Declare.
48473         (register_traced_file): Declare.
48474         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48475         (inotify_fd): Export.
48476         (resolv_conf_descr): Remove.
48477         (nscd_init): Move inotify descriptor creation to main.
48478         Don't register files for notification here.
48479         (register_traced_file): New function.
48480         (invalidate_cache): Don't use reset_res to determine whether to call
48481         res_init, go through the list of registered files.
48482         (main_loop_poll): The inotify descriptors are now stored in the
48483         structures for the traced files.
48484         (main_loop_epoll): Likewise
48485         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
48486         to __nss_disable_nscd.
48487         * nscd/cache.c (prune_cache): There is no single inotify descriptor
48488         for a database anymore.  Check the records for all the registered
48489         files instead.
48490         * nss/Makefile (libnss_files-routines): Add files-init.
48491         (libnss_db-routines): Add db-init.
48492         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48493         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48494         * nss/nss_db/db-init.c: New file.
48495         * nss/nss_files/files-init.c: New file.
48496         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
48497         __nss_lookup_function.
48498         (__nss_lookup_function): Call nss_load_library.
48499         (nss_load_all_libraries): New function.
48500         (__nss_disable_nscd): Take parameter with callback function for files
48501         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
48502         used for the cached services.
48503         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48504         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48505         options for features to all the files in nscd.
48506
48507         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48508
48509 2011-07-10  Roland McGrath  <roland@hack.frob.com>
48510
48511         * csu/elf-init.c (__libc_csu_init): Comment typo.
48512
48513 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
48514
48515         * po/pl.po: Update from translation team.
48516         * po/ja.po: Likewise.
48517         * po/ru.po: Likewise.
48518         * po/ko.po: Likewise.
48519         * po/fr.po: Likewise.
48520
48521 2011-07-09  Roland McGrath  <roland@hack.frob.com>
48522
48523         * configure.in (.ctors/.dtors header and trailer check):
48524         Use an empirical test on a built program.
48525         * configure: Regenerated.
48526
48527         * configure.in (-z relro check): Use an empirical test on a built DSO.
48528         Detect, but do not require, on ia64.
48529         * configure: Regenerated.
48530
48531         * configure.in (READELF): Find it with AC_CHECK_TOOL.
48532         Update tests that use readelf to use $READELF instead.
48533         * configure: Regenerated.
48534
48535 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
48536
48537         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48538         if the result is not used.
48539
48540 2011-07-05  Andreas Jaeger  <aj@suse.de>
48541
48542         [BZ#9696]
48543         * stdlib/tst-strtod.c: Add testcase.
48544
48545 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
48546
48547         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48548         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48549         The latter has a higher limit.  Take additional parameter to pass to
48550         the new function.
48551         (__pathconf): Pass file to __statfs_link_max.
48552         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48553         __statfs_link_max.
48554         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48555         __statfs_link_max.
48556
48557         [BZ #12868]
48558         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48560         Handle Lustre.
48561         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48562         (__statfs_filesize_max): Likewise.
48563         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48564
48565 2011-07-05  Andreas Jaeger  <aj@suse.de>
48566
48567         * resolv/res_comp.c (dn_skipname): Remove unused variable.
48568
48569 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
48570
48571         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48572         `status' variable.
48573         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48574         Likewise.
48575
48576 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
48577
48578         * Makefile (strop-tests): Add strncat.
48579         * string/test-strncat.c: New file.
48580
48581 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
48582
48583         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48584
48585 2011-06-21  Andreas Jaeger  <aj@suse.de>
48586
48587         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48588         Copy rule from iconvdata/Makefile.
48589
48590 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48591
48592         [BZ #12922]
48593         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48594         but no long options are defined, just return 'W'.
48595
48596 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
48597
48598         [BZ #9696]
48599         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48600
48601 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
48602
48603         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48604         netgroups to read.
48605         (innetgr): Likewise.
48606
48607 2011-07-05  Roland McGrath  <roland@hack.frob.com>
48608
48609         * config.make.in (install_root): Default to $(DESTDIR).
48610
48611 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
48612
48613         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48614
48615 2011-07-02  Roland McGrath  <roland@hack.frob.com>
48616
48617         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48618
48619         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48620         containing directory rather than embedding absolute directory names.
48621
48622         * scripts/check-local-headers.sh: Rewritten using awk.
48623         Match by word, not by line.  Print error messages for matches.
48624         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48625
48626         * Makerules [shlib-lds-flags empty]:
48627         ($(common-objpfx)libc_pic.opts): New target.
48628         ($(common-objpfx)libc_pic.os.clean): New target.
48629         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48630
48631         * config.make.in (OBJCOPY): New variable.
48632         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48633         * configure: Regenerated.
48634
48635         * config.make.in (use-default-link): New variable.
48636         * configure.in (use_default_link): Grok --with-default-link to set it.
48637         * configure: Regenerated.
48638         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48639         (shlib-lds, shlib-lds-flags): Define to empty.
48640
48641         * Makerules (shlib-lds): New variable.
48642         (shlib-lds-flags): New variable.
48643         (build-shlib, build-moduile, build-module-asneeded): Use it.
48644         ($(common-objpfx)libc.so): Use $(shlib-lds).
48645         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48646         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48647
48648         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48649         DT_FLAGS/DT_FLAGS_1 with zero flags.
48650
48651         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48652         linker script munging.
48653
48654 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
48655
48656         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48657         as 128-bit value.
48658         * crypt/sha512.c (sha512_process_block): Perform total addition using
48659         128-bit if possible.
48660         (__sha512_finish_ctx): Likewise.
48661         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48662         as 64-bit value.
48663         * crypt/sha256.c (SWAP64): Define.
48664         (sha256_process_block): Perform total addition using 64-bit if
48665         possible.
48666         (__sha256_finish_ctx): Likewise.
48667
48668 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
48669
48670         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
48671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48672         * nscd/hstcache.c (cache_addhst): Likewise.
48673         * nscd/grpcache.c (cache_addgr): Likewise.
48674         * nscd/aicache.c (addhstaiX): Likewise
48675         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48676
48677 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
48678
48679         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48681         * nscd/hstcache.c (cache_addhst): Likewise.
48682         * nscd/grpcache.c (cache_addgr): Likewise.
48683         * nscd/aicache.c (addhstaiX): Likewise
48684
48685 2011-07-01  Andreas Schwab  <schwab@redhat.com>
48686
48687         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48688         domain only when needed.
48689
48690 2011-06-30  Andreas Schwab  <schwab@redhat.com>
48691
48692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48693         is always restored.
48694
48695 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
48696
48697         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48698         are re-adding the entry.
48699         * nscd/servicescache.c (cache_addserv): Likewise.
48700
48701 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
48702
48703         * sysdeps/generic/dl-irel.h: fix protection against multiple
48704         inclusions.
48705         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48706
48707 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
48708
48709         [BZ #12935]
48710         * malloc/memusage.sh: Fix quoting in message.
48711         * debug/xtrace.sh: Likewise.
48712
48713         * configure.in: Remove support for --experimental-malloc option, make
48714         it the default.
48715         * config.make.in: Likewise.
48716         * malloc/Makefile: Likewise.
48717
48718 2011-06-27  Andreas Schwab  <schwab@redhat.com>
48719
48720         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48721         two-byte characters.
48722
48723 2011-06-27  Roland McGrath  <roland@hack.frob.com>
48724
48725         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48726         AC_CACHE_CHECK invocation.
48727         * configure: Regenerated.
48728
48729         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48730
48731 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
48732
48733         [BZ #12350]
48734         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
48735         bit from old_res_options.
48736
48737         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48738
48739         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48740         value type for setfct.
48741
48742 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
48743
48744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48745         __gettimeofday instead of gettimeofday.
48746
48747 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
48748
48749         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48750
48751 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
48752
48753         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48754
48755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48756         info.
48757
48758 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48759
48760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48761         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48762         strcpy-sse2-unaligned strncpy-sse2-unaligned
48763         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48764         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48765         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48766         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48767         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48769         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48770         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48771         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48772         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48773         (STRCPY): Support SSE2 and SSSE3 versions.
48774
48775 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
48776
48777         [BZ #12874]
48778         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48779         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48780         kernels which artificially limit size of requests.
48781
48782 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48783
48784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48785         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48786         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48787         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48788         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48789         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48790         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48791         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48793         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48794         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48795         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48796         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48797         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48798         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48800         Enable unaligned load optimization for Intel Core i3, i5 and i7
48801         processors.
48802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48803         Define.
48804         (index_Fast_Unaligned_Load): Define.
48805         (HAS_FAST_UNALIGNED_LOAD): Define.
48806
48807 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48808
48809         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48810
48811 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48812
48813         [BZ #12907]
48814         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48815         until it is clear that the information is realy needed.
48816         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48817
48818 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48819
48820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48821
48822 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48823
48824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48825         /sys/devices/system/cpu/online if it is usable.
48826
48827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48828         reading the information from the /proc filesystem to once a second.
48829
48830 2011-06-21  Andreas Jaeger  <aj@suse.de>
48831
48832         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48833         NULL after inclusion of kernel headers.
48834
48835 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48836
48837         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48838         calls to internal_setent.
48839
48840         [BZ #12885]
48841         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48842         addresses using gethostbyname4_r ignore IPv4 addresses.
48843
48844         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48845         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48846
48847         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48848
48849 2011-06-20  David S. Miller  <davem@davemloft.net>
48850
48851         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48852         inclusions.
48853         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48854
48855         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48856         (elf_irel): Use it.
48857         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48858         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48859         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48860         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48861         * sysdeps/x86_64/dl-irel.h: Likewise.
48862
48863         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48864         * elf/dl-sym.c: Likewise.
48865
48866 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48867
48868         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48869         need to dereference resplen2.
48870
48871 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48872
48873         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48874
48875 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48876
48877         * Makeconfig: Define vardbdir and inst_vardbdir.
48878         * nss/Makefile: Add rules to install db-Makefile.
48879
48880         * nss/nss_db/db-XXX.c: Cleanup.
48881
48882         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48883         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48884         GLIBC_PRIVATE.
48885         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48886         * nss/makedb.c: Implement -g option to specify that value strings
48887         are generated and should not be added to table iterated over for
48888         get*ent calls.
48889         * nss/nss_db/db-initgroups.c: New file.
48890
48891         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48892         interface.
48893
48894         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48895         (internal_getgrouplist): Adjust to name change.
48896         Update use_initgroups_entry if this is not the first call.
48897         * nss/databases.def: Add initgroups entry.
48898
48899         * nss/makedb.c (compute_tables): Check result of multiple hash table
48900         sizes to minimize maximum chain length.
48901
48902 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48903
48904         * Versions.def: Add entry for libnss_db.
48905         * shlib-versions: Likewise.
48906         * nss/Makefile: Add rules to build libnss_db.
48907         * nss/Versions: Add libnss_db information.  Organize libnss_files
48908         entries better.
48909         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48910         makedb progra.  Some minor improvements to generate smaller files.
48911         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48912         here from...
48913         * nss/makedb.c: ...here.
48914         Improve database format to be smaller and require less memory at
48915         runtime.
48916         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48917         db anymore.
48918         * nss/nss_db/db-netgrp.c: Likewise.
48919         * nss/nss_db/db-open.c: Likewise.
48920         * nss/nss_files/flies-XXX.x: Adjust comments.
48921         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48922         * nss/nss_files/files-grp.c: Likewise.
48923         * nss/nss_files/files-hosts.c: Likewise.
48924         * nss/nss_files/files-network.c: Likewise.
48925         * nss/nss_files/files-proto.c: Likewise.
48926         * nss/nss_files/files-pwd.c: Likewise.
48927         * nss/nss_files/files-rpc.c: Likewise.
48928         * nss/nss_files/files-service.c: Likewise.
48929         * nss/nss_files/files-sgrp.c: Likewise.
48930         * nss/nss_files/files-spwd.c: Likewise.
48931         * nss/nss_db/db-alias.c: Removed.
48932         * nss/nss_db/dummy-db.h: Removed.
48933
48934 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48935
48936         * nss/makedb.c: Rewritten to not use database library.
48937         * nss/Makefile: Update to build new makedb program.
48938
48939 2011-06-14  Andreas Jaeger  <aj@suse.de>
48940
48941         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48942         memset declaration.
48943
48944 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48945
48946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48947         tmpbuf.
48948
48949 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48950
48951         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48952         * elf/Makefile ($(objpfx)ld.so): Likewise.
48953
48954         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48955         Don't list ld.so twice in dependencies.
48956
48957         * posix/bug-regex31.c: Include <stdlib.h>.
48958
48959         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48960
48961         * nis/nss_compat/compat-spwd.c
48962         (getspent_next_nss_netgr): Remove unused variable.
48963         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48964
48965         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48966         nonmembers" output to use the right array.
48967
48968         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48969
48970         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48971
48972         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48973         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48974         * catgets/gencat.c (read_input_file): Likewise.
48975         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48976
48977         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48978         variable definition inside #if's controlling its use.
48979
48980         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48981
48982         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48983
48984         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48985
48986         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48987         unreachable code.
48988
48989         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48990
48991         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48992         * configure: Regenerated.
48993
48994         * Makerules: Revert last change.
48995         * elf/Makefile: Likewise.
48996
48997 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48998
48999         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49000         * elf/Makefile ($(objpfx)librtld.os): Likewise.
49001         (reloc-link): Likewise.
49002
49003 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
49004
49005         * elf/Makefile: Add rules to build pldd.
49006         * elf/pldd.c: New file.
49007         * elf/pldd-xx.c: New file.
49008
49009 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
49010
49011         * version.h: Update for 2.15 development version.
49012
49013 2011-06-07  David S. Miller  <davem@davemloft.net>
49014
49015         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49016         ifuncs.
49017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49018         elf_machine_lazy_rel): Likewise.
49019         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49021         elf_machine_lazy_rel): Likewise.
49022         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49023         dl_hwcap via passed in argument.
49024         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49025         Likewise.
49026
49027 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49028
49029         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
49030
49031 2011-06-06  Roland McGrath  <roland@hack.frob.com>
49032
49033         [BZ #12849]
49034         * manual/fdl-1.1.texi: New file, verbatim from:
49035         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49036         * manual/lgpl-2.1.texi: New file, verbatim from:
49037         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49038         * manual/Makefile (licenses): New variable, list those new file names.
49039         (texis): Use it.
49040         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49041
49042         * manual/fdl.texi: File removed.
49043         * manual/lesser.texi: File removed.
49044         * manual/libc.texinfo (Copying, Documentation License):
49045         Use new @include file names, put @appendix directive before @include.
49046
49047 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
49048
49049         [BZ #12841]
49050         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49051         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49052         (mq_open): Add __NTH.
49053
49054 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
49055
49056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49057         Assume Intel Core i3/i5/i7 processor if AVX is available.
49058
49059 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49060
49061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49062         typo.
49063
49064 2011-05-31  Andreas Schwab  <schwab@redhat.com>
49065
49066         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49067         memory.  Use alloca_account.  Fix memory leak when retrying.
49068
49069 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
49070
49071         * version.h (RELEASE): Bump for 2.14 release.
49072         * include/features.h (__GLIBC_MINOR__): Bump to 14.
49073
49074         * config.make.in (RANLIB): Remove entry.
49075
49076 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
49077
49078         * po/Makefile (po-sed-cmd): Add ksh to extensions.
49079         (libc.pot): Work around missing support for .ksh extension in xgettext.
49080
49081         [BZ #12684]
49082         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49083         if both request failed.
49084         (send_dg): In case of server errors clear resplen or *resplen2.
49085
49086         [BZ #12454]
49087         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49088         when there are multiple maps.
49089         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49090         (_dl_fini): Remove test here.
49091
49092         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49093
49094 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
49095
49096         [BZ #12350]
49097         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49098         bit from old_res_options.
49099         (gaih_inet): Likewise.
49100
49101         [BZ #11099]
49102         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49103         as signed.
49104
49105         * resolv/res_init.c (res_setoptions): Make the code more compact.
49106
49107         [BZ #11558]
49108         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49109         set RES_USEVC.
49110
49111         [BZ #11634]
49112         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49113
49114         * malloc/malloc.h: Mark malloc hook variables as deprecated.
49115
49116         [BZ #11781]
49117         * malloc/malloc.h: Declare malloc hook variables as volatile.
49118
49119         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49120         in last patch.
49121
49122         [BZ #11799]
49123         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49124         raise in the comment.
49125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49128
49129 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
49130
49131         [BZ #12811]
49132         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49133         grow the buffers more if it already has to be sufficient.
49134         (build_wcs_upper_buffer): Likewise.
49135         * posix/regexec.c (check_matching): Likewise.
49136         (clean_state_log_if_needed): Likewise.
49137         (extend_buffers): Don't enlarge buffers beyond size of the input
49138         buffer.
49139         Patches mostly by Emil Wojak <emil@wojak.eu>.
49140         * posix/bug-regex32.c: New file.
49141         * posix/Makefile (tests): Add bug-regex32.
49142
49143         * locale/findlocale.c (_nl_find_locale): Return right away if
49144         _nl_explode_name failed.
49145         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49146
49147         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49148
49149         * debug/xtrace.sh: Unify messages.
49150         * malloc/memusage.sh: Likewise.
49151
49152         [BZ #12813]
49153         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49154         time symbol from vDSO.  Substitute with vsyscall if not available.
49155         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49156         __vdso_time.
49157
49158         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49159         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49160         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49161         Add sendmmsg and internal_sendmmsg.
49162         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49163         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49164         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49165
49166         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49167         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49169
49170 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
49171
49172         [BZ #12813]
49173         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49174         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
49175         available.
49176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49177         __vdso_getcpu.
49178
49179         [BZ #12814]
49180         * iconvdata/Makefile (tests): Add bug-iconv9.
49181         * iconvdata/bug-iconv9.c: New file.
49182
49183 2011-05-27  Andreas Schwab  <schwab@redhat.com>
49184
49185         [BZ #12814]
49186         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49187
49188 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
49189
49190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49191         (struct user_regs_struct): Change intcs field back to cs.
49192
49193 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
49194
49195         * po/ja.po: Update from translation team.
49196
49197 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
49198
49199         [BZ #12795]
49200         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49201         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49202
49203 2011-05-20  Andreas Schwab  <schwab@redhat.com>
49204
49205         * stdlib/longlong.h: Update from GCC.
49206
49207 2011-05-23  Andreas Schwab  <schwab@redhat.com>
49208
49209         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49210         parameter name.
49211         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49212         Add parameter name.
49213         (__sysconf): Pass it down.
49214
49215 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
49216
49217         [BZ #12671]
49218         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49219         some situations.
49220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49221         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49222         add in in __libc_use_alloca calls.  Adjust callers.
49223         (glob): Use malloc in some situations.
49224
49225         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49226         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49227         pltexit.
49228
49229 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
49230
49231         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49232         and CLOCK_BOOTTIME_ALARM.
49233
49234         [BZ #12782]
49235         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49236         is returned.
49237
49238         * string/_strerror.c (__strerror_r): Print negative errors as signed
49239         numbers.
49240
49241         [BZ #12777]
49242         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49243         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49244         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49245
49246         * configure.in: Fix typo in redirection and correct removal of test
49247         files in two cases.
49248
49249         [BZ #12788]
49250         * locale/setlocale.c (new_composite_name): Fix test to check for
49251         identical name of all categories.
49252
49253         [BZ #12792]
49254         * libio/filedoalloc.c (local_isatty): New function.
49255         (_IO_file_doallocate): Use local_isatty.
49256         * stdio-common/perror.c (perror): In case a new stream is used
49257         forward the stream error.
49258         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49259         error flag.
49260
49261 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
49262
49263         [BZ #11869]
49264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49265         alloca.
49266         * include/alloca.h (extend_alloca_account): Define.
49267
49268         [BZ #11857]
49269         * posix/regex.h: Fix comments with documentation of user-accessible
49270         fields after compilation and describe correct free'ing of pattern
49271         after re_compile_pattern.
49272         Patch by Reuben Thomas <rrt@sc3d.org>.
49273
49274 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
49275
49276         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49277         and -mno-altivec to prevent the compiler from using Altivec and/or
49278         VSX instructions when the corresponding registers are not available.
49279
49280 2011-05-19  Andreas Schwab  <schwab@redhat.com>
49281
49282         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49283
49284 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
49285
49286         * libio/freopen.c (freopen): Use __dup2, not dup2.
49287         * libio/freopen64.c (freopen64): Likewise.
49288
49289 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49290
49291         [BZ #12775]
49292         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49293         * math/Makefile (tests): Add test-powl.
49294         (CFLAGS-test-powl.c): Define.
49295         * math/test-powl.c: New file.
49296
49297 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49298
49299         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49300
49301 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
49302
49303         [BZ #11837]
49304         * iconvdata/gb18030.c: Update to GB18020-2005.
49305
49306 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
49307
49308         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49309         RE_SYNTAX_POSIX_AWK): Update to match recent development.
49310         Patch by Aharon Robbins <arnold@skeeve.com>.
49311
49312         [BZ #11892]
49313         * stdlib/putenv.c (putenv): Don't always create copy of the variable
49314         on the stack.
49315
49316         [BZ #11895]
49317         * misc/pselect.c (__pselect): Handle timeout value errors hidden
49318         through underflows.
49319
49320         [BZ #12766]
49321         * misc/error.c (error_at_line): Ensure file_name and old_file_name
49322         point to strings before performing equality test for error_one_per_line
49323         mode.
49324
49325         [BZ #11697]
49326         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49327
49328         [BZ #11820]
49329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49330         (struct user_fpregs_struct): Avoid __uint*_t types.
49331
49332         [BZ #6420]
49333         * malloc/mtrace.c (tr_where): Add additional parameter to point to
49334         symbol info.  Use it instead of calling _dl_addr locally.
49335         (lock_and_info): New function.
49336         (tr_freehook): Call lock_and_info and pass symbol info as additional
49337         parameter to tr_where.
49338         (tr_mallochook): Likewise.
49339         (tr_reallochook): Likewise.
49340         (tr_memalignhook): Likewise.
49341
49342         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
49343         used and couldn't be at all thread-safe.
49344
49345 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
49346
49347         * libio/freopen.c (freopen): Don't close old file descriptor
49348         before the new one is opened.  Instead dup the new file descriptor
49349         to the old one after the new stream is created.
49350         * libio/freopen64.c (freopen64): Likewise.
49351         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49352         * libio/fileops.c (_IO_new_file_close_it): Handle new
49353         _IO_FLAGS2_NOCLOSE flag.
49354         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49355         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49356         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49357         _IO_FLAGS2_NOCLOSE flag.
49358         * include/unistd.h: Add hidden_proto for dup3.
49359         Define __have_dup3.
49360         * io/dup3.c: Define hidden symbol.
49361         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49362
49363         [BZ #7101]
49364         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49365         when an incomplete long option is used.
49366         * posix/tst-getopt_long1.c: New file.
49367         * posix/Makefile (tests): Add tst-getopt_long1.
49368
49369         [BZ #10138]
49370         * scripts/config.guess: Update from autoconf-2.68.
49371         * scripts/config.sub: Likewise.
49372
49373         [BZ #10157]
49374         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49375         tests into ...
49376         (has_cpuclock): ...this.  New function.
49377         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49378         macro here based on has_cpuclock code.
49379
49380         [BZ #10149]
49381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49382         First byte (not low byte) is now always NUL.
49383         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49384
49385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49386         Use non-cancelable interfaces.
49387
49388         [BZ #9809]
49389         * locale/iso-639.def: Add entry for Sorani.
49390
49391         [BZ #11901]
49392         * include/stdlib.h: Move include protection to the right place.
49393         Define abort_msg_s.  Declare __abort_msg with it.
49394         * stdlib/abort.c (__abort_msg): Adjust type.
49395         * assert/assert.c (__assert_fail_base): New function.  Majority
49396         of code from __assert_fail.  Allocate memory for __abort_msg with
49397         mmap.
49398         (__assert_fail): Now call __assert_fail_base.
49399         * assert/assert-perr.c: Remove bulk of implementation.  Use
49400         __assert_fail_base.
49401         * include/assert.hL Declare __assert_fail_base.
49402         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49403         mmap.
49404         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49405
49406 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
49407
49408         [BZ #11952]
49409         [BZ #12453]
49410         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49411         until all modules are registered in the DTV.
49412         * elf/Makefile: Add rules to build and run tst-tls19.
49413         * elf/tst-tls19.c: New file.
49414         * elf/tst-tls19mod1.c: New file.
49415         * elf/tst-tls19mod2.c: New file.
49416         * elf/tst-tls19mod3.c: New file.
49417         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49418
49419         [BZ #12083]
49420         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49421         correctly.
49422
49423         [BZ #12601]
49424         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49425         two-byte sequence errors.
49426         * iconvdata/Makefile (tests): Add bug-iconv8.
49427         * iconvdata/bug-iconv8.c: New file.
49428
49429         [BZ #12626]
49430         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49431         buf2 definition.
49432
49433         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49434
49435         [BZ #12432]
49436         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49437         (dummy_getcfa): New function.
49438         (init): Get _Unwind_GetCFA address, use dummy if not found.
49439         (backtrace_helper): In recursion check, also check whether CFA changes.
49440         (__backtrace): Completely initialize arg.
49441
49442         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49443         storing incomplete byte sequence in state object.  Avoid testing for
49444         guaranteed too small input if we know there is enough data available.
49445
49446 2011-05-11  Andreas Schwab  <schwab@redhat.com>
49447
49448         * Makeconfig (+link-pie): Indent.
49449         * Rules (binaries-pie): Define if $(have-fpie) and
49450         $(build-shared).
49451         (binaries-shared): Also filter out $(binaries-pie).
49452         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49453         * nscd/Makefile (others-pie): Add nscd.
49454         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49455         ($(objpfx)nscd): Remove command override.
49456         * login/Makefile (others-pie): Add pt_chown.
49457         ($(objpfx)pt_chown): Remove command override.
49458         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49459         remove command overrides.
49460
49461 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
49462
49463         * libio/tst_putwc.c: Fix error messages.
49464
49465         [BZ #12724]
49466         * libio/fileops.c (_IO_new_file_close_it): Always flush when
49467         currently writing and seek to current position when not.
49468         * libio/Makefile (tests): Add bug-fclose1.
49469         * libio/bug-fclose1.c: New file.
49470
49471 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
49472
49473         [BZ #12511]
49474         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49475         don't set DF_1_NODELETE here.
49476         (do_lookup_x): When entering new entry test for copy relocation
49477         and if necessary set DF_1_NODELETE flag.
49478         * elf/tst-unique4.cc: New file.
49479         * elf/tst-unique4.h: New file.
49480         * elf/tst-unique4lib.cc: New file.
49481         * elf/Makefile: Add rules to build and run tst-unique4.
49482         Patch by Piotr Bury <pbury@goahead.com>.
49483
49484 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
49485
49486         [BZ #12052]
49487         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49488
49489         [BZ #12625]
49490         * misc/mntent_r.c (addmntent): Flush the stream after the output
49491
49492         [BZ #12393]
49493         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49494         (is_trusted_path_normalize): Skip initial colon.  Append slash
49495         to empty buffer.  Duplicate is_trusted_path code but allow
49496         constructed patch to be prefix.
49497         (is_dst): Allow $ORIGIN followed by /.
49498         (_dl_dst_substitute): Correct clearing of check_for_trusted.
49499         Correct testing of result of is_trusted_path_normalize
49500         (decompose_rpath): Fix warning.
49501
49502 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
49503
49504         [BZ #11257]
49505         * grp/initgroups.c (internal_getgrouplist): When we found the service
49506         list through the initgroups entry in nsswitch.conf do not always
49507         continue on a successful lookup.  Don't always use the
49508         __nss_group_database value if it is set.
49509         * nss/nsswitch.conf (initgroups): Change action for successful db
49510         lookup to continue for compatibility.
49511
49512 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
49513
49514         [BZ #11532]
49515         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49516         and CP774 modules.
49517         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49518         and CP774 modules.
49519         * iconvdata/tst-tables.sh: Likewise.
49520         * iconvdata/cp770.c: New file.
49521         * iconvdata/cp771.c: New file.
49522         * iconvdata/cp772.c: New file.
49523         * iconvdata/cp773.c: New file.
49524         * iconvdata/cp774.c: New file.
49525         * iconvdata/testdata/CP770: New file.
49526         * iconvdata/testdata/CP770..UTF8: New file.
49527         * iconvdata/testdata/CP771: New file.
49528         * iconvdata/testdata/CP771..UTF8: New file.
49529         * iconvdata/testdata/CP772: New file.
49530         * iconvdata/testdata/CP772..UTF8: New file.
49531         * iconvdata/testdata/CP773: New file.
49532         * iconvdata/testdata/CP773..UTF8: New file.
49533         * iconvdata/testdata/CP774: New file.
49534         * iconvdata/testdata/CP774..UTF8: New file.
49535
49536         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49537         END CHARMAP line.
49538         * iconvdata/gen-8bit-gap.sh: Likewise.
49539         * iconvdata/gen-8bit.sh: Likewise.
49540
49541         * locale/iso-639.def: Add ary entry.
49542
49543         [BZ #11258]
49544         * locale/C-translit.h.in: Add U20A1 transliteration.
49545
49546         [BZ #12178]
49547         * locale/iso-639.def: Add wae entry.
49548         Patch by Kevin Bortis <bortis@translate-wae.ch>.
49549
49550         [BZ #12545]
49551         * locale/programs/localedef.c (construct_output_path): Use ssize_t
49552         for n.
49553
49554         [BZ #12711]
49555         * locale/C-translit.h.in: Add entry for U20B9.
49556         Patch by pravin.d.s@gmail.com.
49557
49558 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
49559
49560         [BZ #12713]
49561         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49562         ENAMETOOLONG use generic getcwd.
49563         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
49564         in rtld.  Use *stat64.
49565         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49566         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49567         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49568         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49569         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49570         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49571         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49572         __fstatat64 macros.
49573         * include/dirent.h: Add libc_hidden_proto for rewinddir.
49574         * dirent/rewinddir.c: Add libc_hidden_def.
49575         * sysdeps/mach/hurd/rewinddir.c: Likewise.
49576         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
49577
49578         * include/dirent.h (__alloc_dir): Add flags parameter.
49579         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49580         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49581         __alloc_dir.
49582         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
49583         from fdopendir if O_CLOEXEC is already set.
49584
49585 2011-03-15  Alan Modra  <amodra@gmail.com>
49586
49587         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49588         l_tls_firstbyte_offset non-zero.  Save padding offset in
49589         l_tls_firstbyte_offset for later use.
49590         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49591         freeing static tls block.
49592
49593 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
49594
49595         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49596         where #ifdef was intended.  The intent is to prevent ARG_MAX from
49597         being defined by the kernel headers.
49598
49599 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
49600
49601         [BZ #12734]
49602         * resolv/resolv.h: Define RES_NOTLDQUERY.
49603         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49604         no-tld-query and set RES_NOTLDQUERY.
49605         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49606         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49607         modern BIND to search name as TLD unless forbidden.
49608
49609 2011-05-07  Petr Baudis  <pasky@suse.cz>
49610             Ulrich Drepper  <drepper@gmail.com>
49611
49612         [BZ #12393]
49613         * elf/dl-load.c (fillin_rpath): Move trusted path check...
49614         (is_trusted_path): ...to here.
49615         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49616         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49617         using is_trusted_path_normalize() in setuid scripts.
49618
49619 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49620
49621         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49622         __BEGIN/__END_DECLS.
49623
49624 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
49625
49626         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49627         NSS_STATUS_NOTFOUND if no record was found.
49628
49629 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49630
49631         * sunrpc/Makefile (headers): Add rpc/netdb.h.
49632         (headers-not-in-tirpc): Remove rpc/netdb.h
49633         * resolv/netdb.h: Revert last change.
49634
49635 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49636
49637         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49638         circular dependency between libgcc.a and libc.a.
49639
49640 2011-05-05  Andreas Schwab  <schwab@redhat.com>
49641
49642         * resolv/netdb.h: Don't include <rpc/netdb.h>.
49643         * nis/Makefile: Don't install rpcsvc/*.
49644         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49645         instead of <rpc/types.h>.
49646         (MAXHOSTNAMELEN): Define.
49647
49648 2011-05-03  Andreas Schwab  <schwab@redhat.com>
49649
49650         * elf/ldconfig.c (add_dir): Don't crash on empty path.
49651
49652 2011-04-28  Maciej Babinski  <mbabinski@google.com>
49653
49654         [BZ #12714]
49655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49656         gethostbyname4_r when IPv6 results are possible.
49657
49658 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
49659
49660         [BZ #12723]
49661         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49662         _PC_PIPE_BUF handling.
49663
49664 2011-04-30  Bruno Haible  <bruno@clisp.org>
49665
49666         [BZ #12717]
49667         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49668         * resolv/netdb.h (getnameinfo): Change type of flags parameter
49669         to 'int'.
49670         * inet/getnameinfo.c (getnameinfo): Likewise.
49671
49672 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
49673
49674         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49675         to groups setting in database lookup.
49676         * nss/nsswitch.conf: Add initgroups entry.
49677
49678 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
49679
49680         [BZ #12685]
49681         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49682         mode string.
49683         Patch by Eric Blake <eblake@redhat.com>.
49684
49685 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
49686
49687         * sunrpc/Makefile (need-export-routines): Add svc_run.
49688         (routines): Remove svc_run.
49689         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49690         * sunrpc/clnt_perr.c (clnt_perrno): Export.
49691         * sunrpc/svc_run.c (svc_run): Likewise.
49692         * sunrpc/svc_udp.c (svcudp_create): Likewise.
49693
49694 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
49695
49696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49697         problem in reallocation in last patch.
49698
49699 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
49700
49701         * sunrpc/Makefile: Move inclusion of Rules.
49702
49703 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49704
49705         * nss/nss_files/files-initgroups.c: New file.
49706         * nss/Makefile (libnss_files-routines): Add files-initgroups.
49707         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49708         _nss_files_initgroups_dyn.
49709
49710 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
49711
49712         * elf/elf.h (R_ARM_IRELATIVE): Define.
49713
49714 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
49715
49716         * po/ru.po: Update from translation team.
49717
49718 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49719
49720         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49721         dependencies.
49722
49723 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
49724
49725         [BZ #12653]
49726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49727         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49728         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49731
49732 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
49733
49734         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49735         differing bytes.
49736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49737         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49739
49740 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
49741
49742         [BZ #12420]
49743         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49744         storing it.
49745         * stdlib/bug-getcontext.c: New file.
49746         * stdlib/Makefile: Add rules to build and run bug-getcontext.
49747
49748 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49749
49750         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49751         instructions into .machine "z9-109".
49752         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49753         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49754
49755 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49756
49757         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49758         between environment variables and auxiliary vector.
49759
49760 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
49761
49762         * Makefile: Add rules to build linkobj/libc.so.
49763         * include/libc-symbols.h: Define libc_hidden_nolink.
49764         * include/rpc/auth.h: Mark functions which are to be hidden.
49765         * include/rpc/auth_des.h: Likewise.
49766         * include/rpc/auth_unix.h: Likewise.
49767         * include/rpc/clnt.h: Likewise.
49768         * include/rpc/des_crypt.h: Likewise.
49769         * include/rpc/key_prot.h: Likewise.
49770         * include/rpc/pmap_clnt.h: Likewise.
49771         * include/rpc/pmap_prot.h: Likewise.
49772         * include/rpc/pmap_rmt.h: Likewise.
49773         * include/rpc/rpc_msg.h: Likewise.
49774         * include/rpc/svc.h: Likewise.
49775         * include/rpc/svc_auth.h: Likewise.
49776         * include/rpc/xdr.h: Likewise.
49777         * nis/Makefile: Link all DSOs against linkobj/libc.so.
49778         * nss/Makefile: Likewise.
49779         * sunrpc/Makefile: Don't install headers.  Build library with normal
49780         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49781         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49782         for the compat linking library.  Remove use of INTDEF/INTUSE.
49783         * sunrpc/auth_none.c: Likewise.
49784         * sunrpc/auth_unix.c: Likewise.
49785         * sunrpc/authdes_prot.c: Likewise.
49786         * sunrpc/authuxprot.c: Likewise.
49787         * sunrpc/clnt_gen.c: Likewise.
49788         * sunrpc/clnt_perr.c: Likewise.
49789         * sunrpc/clnt_raw.c: Likewise.
49790         * sunrpc/clnt_simp.c: Likewise.
49791         * sunrpc/clnt_tcp.c: Likewise.
49792         * sunrpc/clnt_udp.c: Likewise.
49793         * sunrpc/clnt_unix.c: Likewise.
49794         * sunrpc/des_crypt.c: Likewise.
49795         * sunrpc/des_soft.c: Likewise.
49796         * sunrpc/get_myaddr.c: Likewise.
49797         * sunrpc/key_call.c: Likewise.
49798         * sunrpc/key_prot.c: Likewise.
49799         * sunrpc/netname.c: Likewise.
49800         * sunrpc/pm_getmaps.c: Likewise.
49801         * sunrpc/pm_getport.c: Likewise.
49802         * sunrpc/pmap_clnt.c: Likewise.
49803         * sunrpc/pmap_prot.c: Likewise.
49804         * sunrpc/pmap_prot2.c: Likewise.
49805         * sunrpc/pmap_rmt.c: Likewise.
49806         * sunrpc/publickey.c: Likewise.
49807         * sunrpc/rpc_cmsg.c: Likewise.
49808         * sunrpc/rpc_common.c: Likewise.
49809         * sunrpc/rpc_dtable.c: Likewise.
49810         * sunrpc/rpc_prot.c: Likewise.
49811         * sunrpc/rpc_thread.c: Likewise.
49812         * sunrpc/rtime.c: Likewise.
49813         * sunrpc/svc.c: Likewise.
49814         * sunrpc/svc_auth.c: Likewise.
49815         * sunrpc/svc_authux.c: Likewise.
49816         * sunrpc/svc_raw.c: Likewise.
49817         * sunrpc/svc_run.c: Likewise.
49818         * sunrpc/svc_simple.c: Likewise.
49819         * sunrpc/svc_tcp.c: Likewise.
49820         * sunrpc/svc_udp.c: Likewise.
49821         * sunrpc/svc_unix.c: Likewise.
49822         * sunrpc/svcauth_des.c: Likewise.
49823         * sunrpc/xcrypt.c: Likewise.
49824         * sunrpc/xdr.c: Likewise.
49825         * sunrpc/xdr_array.c: Likewise.
49826         * sunrpc/xdr_float.c: Likewise.
49827         * sunrpc/xdr_intXX_t.c: Likewise.
49828         * sunrpc/xdr_mem.c: Likewise.
49829         * sunrpc/xdr_rec.c: Likewise.
49830         * sunrpc/xdr_ref.c: Likewise.
49831         * sunrpc/xdr_sizeof.c: Likewise.
49832         * sunrpc/xdr_stdio.c: Likewise.
49833
49834 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49835
49836         [BZ #12650]
49837         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49838         * sysdeps/ia64/dl-tls.h: Likewise.
49839         * sysdeps/powerpc/dl-tls.h: Likewise.
49840         * sysdeps/s390/dl-tls.h: Likewise.
49841         * sysdeps/sh/dl-tls.h: Likewise.
49842         * sysdeps/sparc/dl-tls.h: Likewise.
49843         * sysdeps/x86_64/dl-tls.h: Likewise.
49844         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49845
49846 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49847
49848         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49849         rpath element also skip the following colon.
49850         (expand_dynamic_string_token): Add is_path parameter and pass
49851         down to DL_DST_REQUIRED and _dl_dst_substitute.
49852         (decompose_rpath): Call expand_dynamic_string_token with
49853         non-zero is_path.  Ignore empty rpaths.
49854         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49855         with zero is_path.
49856
49857 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49858
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49860         Make cancelable.
49861
49862 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49863
49864         [BZ #12655]
49865         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49866         Patch by Filipe David Manana <fdmanana@apache.org>.
49867
49868 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49869
49870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49871         Maintain aligned stack.
49872         (CHECK_RSP): Remove unused macro.
49873
49874 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49875
49876         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49877         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49878
49879 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49880
49881         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49882
49883         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49884
49885 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49886
49887         [BZ #12518]
49888         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49889         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49890         * sysdeps/x86_64/memmove.c: New file.
49891         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49892         (memcpy): Renamed to ...
49893         (__new_memcpy): This.
49894         (memcpy): Provide GLIBC_2_14 memcpy.
49895         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49896         (memcpy): Provide GLIBC_2_2_5 memcpy.
49897
49898 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49899
49900         [BZ #12631]
49901         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49902
49903 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49904
49905         * misc/syncfs.c: New file.
49906         * misc/Makefile (routines): Add syncfs.
49907         * posix/unistd.h: Declare syncfs.
49908         * sysdeps/unix/syscalls.list: Add syncfs.
49909
49910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49911
49912         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49913         open_by_handle_at.
49914         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49915         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49917         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49919         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49921
49922 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49923
49924         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49925         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49926         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49928         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49931
49932         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49933         sync_file_range.c with -fexceptions.
49934         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49935         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49936         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49937         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49938         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49939         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49941         sync_file_range as cancellation point
49942         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49943         now a wrapper around __call_sync_file_range with cancellation handling.
49944         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49945         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49946         function name to __call_sync_file_range.
49947         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49948         Add call_sync_file_range.
49949
49950 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49951
49952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49953         bits/timex.h.
49954
49955 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49956
49957         * iconv/iconv.h: Fix typo in comment.
49958         * io/fcntl.h: Likewise.
49959         * libio/stdio.h: Likewise.
49960         * posix/spawn.h: Likewise.
49961         * posix/unistd.h: Likewise.
49962         * stdlib/stdlib.h: Likewise.
49963         * time/time.h: Likewise.
49964         * wcsmbs/wchar.h: Likewise.
49965
49966         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49967         open_by_handle): Add.
49968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49969         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49970         Augment a few comments.
49971         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49976         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49977         open_by_handle.
49978
49979         * io/fcntl.h (AT_EMPTY_PATH): Define.
49980
49981 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49982
49983         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49984         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49985         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49986         to...
49987         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49988         * Versions.def: Add GLIBC_2.14.
49989         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49990         Export.
49991
49992 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49993
49994         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49995         round counter.
49996         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49997
49998 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49999
50000         [BZ #12597]
50001         * string/test-strncmp.c (do_page_test): New function.
50002         (check2): Likewise.
50003         (test_main): Call check2.
50004         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50005
50006 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
50007
50008         [BZ #12587]
50009         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50010         Handle cache information in CPU leaf 4.
50011         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50012
50013 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
50014
50015         [BZ #12583]
50016         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50017         character representation.
50018         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50019
50020 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
50021
50022         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50023         END(__isnan) to END(__isnanf) to match function entry point/label
50024         EALIGN(__isnanf,...).
50025
50026 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
50027
50028         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50029
50030 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
50031
50032         [BZ #12510]
50033         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50034         copy from the symbol referenced in the relocation to initialize the
50035         used variable.
50036         Patch by Piotr Bury <pbury@goahead.com>.
50037         * elf/Makefile: Add rules to build and tst-unique3.
50038         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50039         * elf/tst-unique3.cc: New file.
50040         * elf/tst-unique3.h: New file.
50041         * elf/tst-unique3lib.cc: New file.
50042         * elf/tst-unique3lib2.cc: New file.
50043
50044         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50045
50046 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
50047
50048         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50049         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
50050         to _start.
50051
50052 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
50053
50054         * elf/dl-load.c (_dl_map_object): If we are looking for the first
50055         to-be-loaded object along a path to loader is ld.so.
50056
50057 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50058             Ulrich Drepper  <drepper@gmail.com>
50059
50060         * sysdeps/x86_64/memset.S: After aligning destination, code
50061         branches to different locations depending on the value of
50062         misalignment, when multiarch is enabled. Fix this.
50063
50064 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
50065
50066         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50067         Set _x86_64_preferred_memory_instruction for AMD processsors.
50068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50069         Set bit_Prefer_SSE_for_memop for AMD processors.
50070
50071 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
50072
50073         * libio/fmemopen.c (fmemopen): Optimize a bit.
50074
50075 2011-03-03  Andreas Schwab  <schwab@redhat.com>
50076
50077         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50078
50079 2011-03-03  Roland McGrath  <roland@redhat.com>
50080
50081         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50082
50083 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
50084
50085         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50086         __bzero_ultra1 instead of __memset_ultra1.
50087
50088 2011-02-23  Andreas Schwab  <schwab@redhat.com>
50089             Ulrich Drepper  <drepper@gmail.com>
50090
50091         [BZ #12509]
50092         * include/link.h (struct link_map): Add l_orig_initfini.
50093         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50094         returning unsuccessfully.
50095         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50096         close of a file loaded at startup, restore the original l_initfini
50097         list.
50098         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50099         list, store the pointer.
50100         * elf/Makefile ($(objpfx)noload-mem): New rule.
50101         (noload-ENV): Define.
50102         (tests): Add $(objpfx)noload-mem.
50103         * elf/noload.c: Include <memcheck.h>.
50104         (main): Call mtrace.  Close all opened handles.
50105
50106 2011-02-17  Andreas Schwab  <schwab@redhat.com>
50107
50108         [BZ #12454]
50109         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50110         dependencies are missing.
50111
50112 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50113
50114         Fix __if_freereq crash: Unlike the generic version which uses free,
50115         Hurd needs munmap.
50116         * sysdeps/mach/hurd/ifreq.h: New file.
50117
50118 2011-01-27  Petr Baudis  <pasky@suse.cz>
50119             Ulrich Drepper  <drepper@gmail.com>
50120
50121         [BZ 12445]#
50122         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50123         to extend_alloca().
50124         * stdio-common/bug23.c: New file.
50125         * stdio-common/Makefile (tests): Add bug23.
50126
50127 2010-09-28  Andreas Schwab  <schwab@redhat.com>
50128             Ulrich Drepper  <drepper@gmail.com>
50129
50130         [BZ #12489]
50131         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50132         before performing relro protection.  At old place add assertion
50133         to make sure nothing changed.
50134
50135 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
50136             Glauber de Oliveira Costa  <glommer@gmail.com>
50137
50138         * elf/elf.h: Add new ARM TLS relocs.
50139
50140 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
50141
50142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50143         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50144         cast from r3.
50145         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
50146         'tests' variable.
50147         * sysdeps/wordsize-64/tst-writev.c: New file.
50148
50149 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
50150
50151         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50152         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50153         insns in _dl_start to prevent a TOC reference before relocs are
50154         resolved.
50155
50156 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
50157
50158         [BZ #12469]
50159         * Makeconfig: Remove RANLIB definition.
50160         * Makerules: Don't use RANLIB.
50161         * aclocal.m4: Remove ranlib test.
50162         * configure.in: No need to check for ranlib.
50163         * elf/rtld-Rules: Don't use RANLIB.
50164
50165 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50166
50167         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50168         protection macro.
50169         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50170         inclusion protection macro.
50171
50172         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50173         SIGRTMIN and SIGRTMAX and print information in that case only when
50174         SIGRTMIN is defined.
50175
50176 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
50177
50178         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50179         arginfo fn returning -1.
50180
50181         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50182         and thousands string is zero terminated.
50183
50184 2011-02-03  Andreas Schwab  <schwab@redhat.com>
50185
50186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50187         sysdeps/unix/sysv/linux/bits/socket.h.
50188
50189 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50190
50191         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50192         (__CPU_COUNT): Remove old macros.
50193         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50194         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50195         (__CPU_ALLOC, __CPU_FREE): Add macros.
50196         (__sched_cpualloc, __sched_cpufree): Add declarations.
50197
50198 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
50199
50200         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50201         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50202         * nscd/aicache.c (addhstaiX): Return timeout of added value.
50203         (readdhstai): Return value of addhstaiX call.
50204         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50205         (addgrbyX): Return value returned by cache_addgr.
50206         (readdgrbyname): Return value returned by addgrbyX.
50207         (readdgrbygid): Likewise.
50208         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50209         (addpwbyX): Return value returned by cache_addpw.
50210         (readdpwbyname): Return value returned by addhstbyX.
50211         (readdpwbyuid): Likewise.
50212         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50213         (addservbyX): Return value returned by cache_addserv.
50214         (readdservbyname): Return value returned by addservbyX:
50215         (readdservbyport): Likewise.
50216         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50217         (addhstbyX): Return value returned by cache_addhst.
50218         (readdhstbyname): Return value returned by addhstbyX.
50219         (readdhstbyaddr): Likewise.
50220         (readdhstbynamev6): Likewise.
50221         (readdhstbyaddrv6): Likewise.
50222         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50223         (readdinitgroups): Return value returned by addinitgroupsX.
50224         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50225         (prune_cache): Keep track of timeout value of re-added entries.
50226         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50227         * nscd/nscd.h: Adjust prototypes of readd* functions.
50228
50229 2011-02-04  Roland McGrath  <roland@redhat.com>
50230
50231         * nis/nis_server.c (nis_servstate): Use the right name for 0.
50232         (nis_stats): Likewise.
50233         * nis/nis_modify.c (nis_modify): Likewise.
50234         * nis/nis_remove.c (nis_remove): Likewise.
50235         * nis/nis_add.c (nis_add): Likewise.
50236
50237         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50238
50239         * posix/fnmatch_loop.c: Add some consts.
50240
50241         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50242
50243 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
50244
50245         [BZ #12460]
50246         * config.make.in (config-cflags-novzeroupper): Define.
50247         * configure.in: Substitute libc_cv_cc_novzeroupper.
50248         * elf/Makefile (AVX-CFLAGS): Define.
50249         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50250         (CFLAGS-tst-auditmod4a.c): Likewise.
50251         (CFLAGS-tst-auditmod4b.c): Likewise.
50252         (CFLAGS-tst-auditmod6b.c): Likewise.
50253         (CFLAGS-tst-auditmod6c.c): Likewise.
50254         (CFLAGS-tst-auditmod7b.c): Likewise.
50255         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50256
50257 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
50258
50259         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50260         function to the callback.
50261         Patch partly by Jiri Olsa <jolsa@redhat.com>.
50262
50263 2011-02-02  Andreas Schwab  <schwab@redhat.com>
50264
50265         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50266         of errno.
50267
50268 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
50269
50270         [BZ #11724]
50271         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50272         of constructors.
50273         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50274         of destructors.
50275         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50276
50277         [BZ #11724]
50278         * elf/Makefile: Add rules to build and run new test.
50279         * elf/tst-initorder.c: New file.
50280         * elf/tst-initorder.exp: New file.
50281         * elf/tst-initordera1.c: New file.
50282         * elf/tst-initordera2.c: New file.
50283         * elf/tst-initordera3.c: New file.
50284         * elf/tst-initordera4.c: New file.
50285         * elf/tst-initorderb1.c: New file.
50286         * elf/tst-initorderb2.c: New file.
50287         * elf/tst-order-a1.c: New file.
50288         * elf/tst-order-a2.c: New file.
50289         * elf/tst-order-a3.c: New file.
50290         * elf/tst-order-a4.c: New file.
50291         * elf/tst-order-b1.c: New file.
50292         * elf/tst-order-b2.c: New file.
50293         * elf/tst-order-main.c: New file.
50294         New test case by George Gensure <werkt0@gmail.com>.
50295
50296 2010-10-01  Andreas Schwab  <schwab@redhat.com>
50297
50298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50299         decoding ACE if AI_CANONIDN.
50300
50301 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
50302
50303         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50304
50305 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
50306
50307         * version.h (RELEASE): Bump for 2.13 release.
50308         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50309
50310         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50311
50312         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50313         MADV_NOHUGEPAGE.
50314         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50315         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50316         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50317         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50318         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50319         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50320
50321         * posix/getconf.c: Update copyright year.
50322         * catgets/gencat.c: Likewise.
50323         * csu/version.c: Likewise.
50324         * debug/catchsegv.sh: Likewise.
50325         * debug/xtrace.sh: Likewise.
50326         * elf/ldconfig.c: Likewise.
50327         * elf/ldd.bash.in: Likewise.
50328         * elf/sprof.c (print_version): Likewise.
50329         * iconv/iconv_prog.c: Likewise.
50330         * iconv/iconvconfig.c: Likewise.
50331         * locale/programs/locale.c: Likewise.
50332         * locale/programs/localedef.c: Likewise.
50333         * malloc/memusage.sh: Likewise.
50334         * malloc/mtrace.pl: Likewise.
50335         * nscd/nscd.c (print_version): Likewise.
50336         * nss/getent.c: Likewise.
50337
50338         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50339         PF_CAIF, and PF_ALG.
50340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50341
50342 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
50343
50344         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50345         (modules-names): Use them.
50346         (ifunc-test-modules, ifunc-pie-tests): Define.
50347         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50348         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50349         (test-extras): Likewise.
50350         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50351         $(compile-command.c).
50352         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50353         (all-built-dso): Define.
50354         (check-textrel.out, check-execstack.out): Depend on it.
50355
50356         * configure.in: Don't override --enable-multi-arch.
50357
50358 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
50359
50360         [BZ #6812]
50361         * nscd/hstcache.c (tryagain): Define.
50362         (cache_addhst): Return tryagain not notfound for temporary errors.
50363         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50364         failed.
50365
50366 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
50367
50368         [BZ #10563]
50369         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50370         to make the syscall.
50371         * sysdeps/unix/sysv/linux/setgroups.c: New file.
50372
50373         [BZ #12378]
50374         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50375         and fall back to matching as normal character if the string ends before
50376         the matching ']' is found.  This is what POSIX requires.
50377         * posix/testfnm.c: Adjust test result.
50378         * posix/globtest.sh: Adjust test result.  Add new test.
50379         * posix/tst-fnmatch.input: Likewise.
50380         * posix/tst-fnmatch2.c: Add new test.
50381
50382 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
50383
50384         * elf/Makefile (check-execstack): Revert last change.  Depend on
50385         check-execstack.h.
50386         (check-execstack.h): New target.
50387         (generated): Add check-execstack.h.
50388         * elf/check-execstack.c: Include "check-execstack.h".
50389         (main): Revert last change.
50390         (handle_file): Return zero if GNU_STACK is absent and
50391         DEFAULT_STACK_PERMS doesn't include PF_X.
50392
50393 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
50394
50395         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50396         in child fails because the descriptor is already closed.
50397         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50398         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50400
50401         [BZ #12397]
50402         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50403         syscall.
50404
50405         [BZ #10484]
50406         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50407         temporary buffer used to handle multi lookups locally.
50408         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50409
50410 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50411
50412         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50413         loader is ld.so.
50414
50415 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
50416
50417         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50418         alignment for SSE2.
50419
50420 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
50421
50422         [BZ #12394]
50423         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50424         characters.  When rounding increased number of integer digits recompute
50425         number of groups.
50426         * stdio-common/tst-grouping.c: New file.
50427         * stdio-common/Makefile: Add rules to build and run tst-grouping.
50428
50429 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
50430
50431         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50432         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
50433
50434         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50435         void.
50436         * bits/select.h: Likewise.
50437
50438 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
50439
50440         * po/ja.po: Update from translation team.
50441
50442 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
50443
50444         [BZ #11155]
50445         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50446         implementation just like for lxstat, fxstatat, et al.
50447
50448 2010-12-27  Jim Meyering  <meyering@redhat.com>
50449
50450         [BZ #12348]
50451         * posix/regexec.c (build_trtable): Return failure indication upon
50452         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
50453
50454 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
50455
50456         [BZ #12201]
50457         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50458         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50459         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50460         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50461
50462         [BZ #12207]
50463         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50464
50465         [BZ #12204]
50466         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50467         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50468
50469 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
50470
50471         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50472         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50473         script has SORT_BY_INIT_PRIORITY.
50474         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50475         NO_CTORS_DTORS_SECTIONS is defined.
50476         * elf/soinit.c: Likewise.
50477         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50478         NO_CTORS_DTORS_SECTIONS is defined.
50479         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50480         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50481         * sysdeps/sh/init-first.c: Likewise.
50482         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50483
50484 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
50485
50486         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50487         always use the slow path.
50488
50489 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
50490
50491         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50492         similar rule which adds the sysdep directories to the header search in
50493         order to pick up the correct platform stackinfo.h.
50494         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50495         perform test if it is, otherwise return successfully without testing.
50496         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50497         DEFAULT_STACK_PERMS define in stackinfo.h.
50498         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50499         defined in stackinfo.h.
50500         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50501         DEFAULT_STACK_PERMS defined in stackinfo.h.
50502         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50503         * sysdeps/ia64/stackinfo.h: Likewise.
50504         * sysdeps/s390/stackinfo.h: Likewise.
50505         * sysdeps/sh/stackinfo.h: Likewise.
50506         * sysdeps/sparc/stackinfo.h: Likewise.
50507         * sysdeps/x86_64/stackinfo.h: Likewise.
50508         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50509         PF_X for powerpc64.  Retain PF_X for powerpc32.
50510
50511 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
50512
50513         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50514         accurately.
50515         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50516         GETDENTS_64BIT_ALIGNED.
50517
50518 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
50519
50520         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50521
50522 2010-12-10  Andreas Schwab  <schwab@redhat.com>
50523
50524         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50525         _GNU_SOURCE.
50526
50527         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50528         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50529         Remove __restrict.
50530         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50531         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50532
50533 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
50534
50535         [BZ #11655]
50536         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50537         are initialized.
50538
50539 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
50540
50541         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50542
50543 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
50544
50545         * po/it.po: Update from translation team.
50546
50547 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
50548
50549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50550         unused codes.
50551
50552 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
50553
50554         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50555
50556 2010-11-24  Andreas Schwab  <schwab@redhat.com>
50557
50558         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50559         specially.
50560         (gaih_getanswer_slice): Likewise.
50561
50562 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
50563
50564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50565
50566 2010-05-31  Petr Baudis  <pasky@suse.cz>
50567
50568         [BZ #11149]
50569         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50570         silently even in the chroot mode.
50571
50572 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
50573
50574         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50575         last patch a bit.  Pretty printing
50576
50577 2010-05-31  Petr Baudis <pasky@suse.cz>
50578
50579         [BZ #10085]
50580         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50581         initialization of skip_initgroups_dyn.
50582
50583 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
50584
50585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50587
50588 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
50589
50590         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50591
50592 2010-11-11  Andreas Schwab  <schwab@redhat.com>
50593
50594         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50595         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50596         (tst-fnmatch-ENV): Set MALLOC_TRACE.
50597         ($(objpfx)tst-fnmatch-mem): New rule.
50598         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50599         * posix/tst-fnmatch.c (main): Call mtrace.
50600
50601 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
50602
50603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50604         Support Intel processor model 6 and model 0x2c.
50605
50606 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
50607
50608         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50609           signed comparison.
50610
50611 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
50612
50613         [BZ #12205]
50614         * string/test-strncasecmp.c (check_result): New function.
50615         (do_one_test): Use it.
50616         (check1): New function.
50617         (test_main): Use it.
50618         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50619         Support strcasecmp and strncasecmp.
50620
50621 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
50622
50623         [BZ #12194]
50624         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50625         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50626
50627 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
50628
50629         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50630         IFUNC support.
50631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50632         memset-x86-64.
50633         * sysdeps/x86_64/multiarch/bzero.S: New file.
50634         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50635         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50636         * sysdeps/x86_64/multiarch/memset.S: New file.
50637         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50639         Set bit_Prefer_SSE_for_memop for Intel processors.
50640         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50641         Define.
50642         (index_Prefer_SSE_for_memop): Define.
50643         (HAS_PREFER_SSE_FOR_MEMOP): Define.
50644
50645 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
50646
50647         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50648         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50649
50650 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
50651
50652         [BZ #12191]
50653         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50654         (__x86_64_raw_data_cache_size_half): Likewise.
50655         (__x86_64_raw_shared_cache_size): Likewise.
50656         (__x86_64_raw_shared_cache_size_half): Likewise.
50657
50658         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50659         (__x86_64_raw_data_cache_size_half): Likewise.
50660         (__x86_64_raw_shared_cache_size): Likewise.
50661         (__x86_64_raw_shared_cache_size_half): Likewise.
50662         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50663         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50664         and __x86_64_raw_shared_cache_size_half.  Round
50665         __x86_64_data_cache_size_half, __x86_64_data_cache_size
50666         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50667         to multiple of 256 bytes.
50668
50669 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
50670
50671         [BZ #12167]
50672         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50673         of inacessible symlinks.  Verify result of symlink before returning it.
50674         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50675         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50676
50677 2010-10-28  Erich Ritz  <erichritz@gmail.com>
50678
50679         * math/math.h (isinf): Fix typo in comment.
50680
50681 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
50682
50683         * po/da.po: Update from translation team.
50684
50685 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
50686
50687         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50688         is added to the list.
50689
50690 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50691             Ulrich Drepper  <drepper@gmail.com>
50692
50693         * elf/dl-object.c (_dl_new_object): Don't append the new object to
50694         the global list here.  Move code to...
50695         (_dl_add_to_namespace_list): ...here.  New function.
50696         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50697         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50698         * elf/dl-load.c (lose): Don't remove the element from the list.
50699         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50700         (_dl_map_object): Likewise.
50701
50702 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
50703
50704         [BZ #12159]
50705         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50706         into all bytes of SSE register.
50707         Patch by Richard Li <richardpku@gmail.com>.
50708
50709 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
50710
50711         [BZ #12140]
50712         * malloc/malloc.c (_int_free): Fill correct number of bytes when
50713         perturbing.
50714
50715 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
50716
50717         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50718         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50719         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50720         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50722         submachine.
50723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50724
50725 2010-10-22  Andreas Schwab  <schwab@redhat.com>
50726
50727         * include/dlfcn.h (__RTLD_SECURE): Define.
50728         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
50729         mode & __RTLD_SECURE instead.
50730         (open_path): Rename preloaded parameter to secure.
50731         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50732         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50733         * elf/dl-deps.c (openaux): Likewise.
50734         * elf/rtld.c (struct map_args): Remove is_preloaded.
50735         (map_doit): Don't use it.
50736         (dl_main): Likewise.
50737         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50738         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50739
50740 2010-09-09  Andreas Schwab  <schwab@redhat.com>
50741
50742         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50743         (sysd-rules-targets): Remove duplicates.
50744         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50745         rtld-%.$o dependency.
50746
50747 2010-10-18  Andreas Schwab  <schwab@redhat.com>
50748
50749         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50750         _dl_map_object do it.
50751
50752 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
50753
50754         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50755         fast fma builtins, define the macros in the C99 standard.
50756         (FP_FAST_FMAF): Likewise.
50757         (FP_FAST_FMAL): Likewise.
50758         * sysdeps/x86_64/bits/mathdef.h: Likewise.
50759
50760         * bits/mathdef.h: Update copyright year.
50761         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50762
50763 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
50764
50765         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50766         builtins, define the macros in the C99 standard.
50767         (FP_FAST_FMAF): Likewise.
50768         (FP_FAST_FMAL): Likewise.
50769         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50770         multiply/add.
50771         (FP_FAST_FMAF): Likewise.
50772
50773 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
50774
50775         [BZ #3268]
50776         * math/libm-test.inc (fma_test): Some new testcases.
50777         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50779         y and infinite z.  Do multiplication by C already in long double.
50780         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50782         y and infinite z.  Do bitwise or of inexact bit into u.d.
50783         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50784         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50785         * sysdeps/i386/fpu/s_fma.S: Removed.
50786         * sysdeps/i386/fpu/s_fmal.S: Removed.
50787
50788 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50789
50790         [BZ #3268]
50791         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50793         computation is not scheduled after fetestexcept.  Fix value
50794         of minimum denormal long double.
50795
50796 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50797
50798         [BZ #3268]
50799         * math/libm-test.inc (fma_test): Add some more tests.
50800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50801         correctly.
50802
50803 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50804
50805         * scripts/data/localplt-s390-linux-gnu.data: New file.
50806         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50807
50808 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50809
50810         [BZ #3268]
50811         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50812         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50813         instead of dbl-64.
50814         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50815         inlines.
50816         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50818         if one of x and y is very large and the other is subnormal.
50819         * sysdeps/s390/fpu/s_fmaf.c: New file.
50820         * sysdeps/s390/fpu/s_fma.c: New file.
50821         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50822         * sysdeps/powerpc/fpu/s_fma.S: New file.
50823         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50824         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50825         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50826
50827 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50828
50829         [BZ #3268]
50830         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50831         fma tests.
50832         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50833         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50834         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50835         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50836         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50837         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50838         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50839
50840 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50841
50842         [BZ #12078]
50843         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50844         * posix/bug-regex31.input: Add test case.
50845
50846 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50847
50848         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50849         * posix/bug-regex31.input: New file.
50850
50851         [BZ #12078]
50852         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50853         (parse_sub_exp): Fix last change, use postorder.
50854
50855         * posix/bug-regex31.c: New file.
50856         * posix/Makefile: Add rules to build and run bug-regex31.
50857
50858         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50859
50860         [BZ #12078]
50861         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50862
50863         [BZ #12108]
50864         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50865         to have entries in sys_siglist.
50866
50867         [BZ #12093]
50868         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50869         be NULL.
50870
50871 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50872
50873         [BZ #3268]
50874         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50875         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50876         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50877         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50878         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50879         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50880         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50881         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50882         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50883         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50884         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50885         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50886         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50887         * math/ftestexcept.c (fetestexcept): Likewise.
50888         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50889         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50890         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50891         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50892         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50893         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50894         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50895
50896 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50897
50898         [BZ #12107]
50899         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50900         newline.
50901
50902 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50903
50904         * string/bug-strstr1.c: New file.
50905         * string/Makefile: Add rules to build and run bug-strstr1.
50906
50907 2010-10-05  Eric Blake  <eblake@redhat.com>
50908
50909         [BZ #12092]
50910         * string/str-two-way.h (two_way_long_needle): Always clear memory
50911         when skipping input due to the shift table.
50912
50913 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50914
50915         [BZ #12005]
50916         * malloc/mcheck.c: Handle large requests.
50917
50918         [BZ #12077]
50919         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50920         for strncmp and strncasecmp.
50921         * string/stratcliff.c: Add tests for strcmp and strncmp.
50922         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50923
50924 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50925
50926         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50927         __set_fpscr.
50928
50929 2010-09-30  Andreas Jaeger  <aj@suse.de>
50930
50931         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50932         (CGROUP_SUPER_MAGIC): Define.
50933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50934         Handle btrfs and cgroup file systems.
50935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50936         Likewise.
50937
50938 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50939
50940         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50941         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50942
50943 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50944
50945         [BZ #12067]
50946         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50947         trying to locate the ELF header.
50948
50949 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50950
50951         [BZ #11611]
50952         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50953         Mask out sign-bit copies when constructing f_fsid.
50954
50955 2010-09-24  Petr Baudis <pasky@suse.cz>
50956
50957         * debug/stack_chk_fail_local.c: Add missing licence exception.
50958         * debug/warning-nop.c: Likewise.
50959
50960 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50961
50962         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50963         implementing getdents64 using getdents syscall, set d_type if
50964         __ASSUME_GETDENTS32_D_TYPE.
50965
50966 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50967
50968         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50969         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50970
50971 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50972
50973         [BZ #12037]
50974         * posix/unistd.h: Undo change of feature selection for ftruncate from
50975         2010-01-11.
50976
50977 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50978
50979         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50980         detection.
50981
50982 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50983
50984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50985         fanotify_mark.
50986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50987
50988 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50989
50990         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50991         variables after CHECK_SP call.
50992         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50993
50994 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50995             Ulrich Drepper  <drepper@redhat.com>
50996
50997         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50998         re-relocationg ld.so.
50999         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51000         _dl_init_paths call.
51001         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
51002         here anymore.
51003
51004 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
51005
51006         * resolv/res_init.c (__res_vinit): Count the default server we added.
51007
51008 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
51009             Ulrich Drepper  <drepper@redhat.com>
51010
51011         [BZ #11968]
51012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51013         (____longjmp_chk): Use %ebx for saving value across system call.
51014         Add unwind info.
51015
51016 2010-09-06  Andreas Schwab  <schwab@redhat.com>
51017
51018         * manual/Makefile: Don't mix pattern rules with normal rules.
51019
51020 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51021
51022         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51023         operation.
51024         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51025         * libio/iofopncook.c (_IO_cookie_init): Likewise.
51026         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51027         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51029         Likewise.
51030
51031 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
51032
51033         [BZ #11979]
51034         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51035         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51036
51037 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
51038
51039         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51040         * sysdeps/x86_64/addmul_1.S: Likewise.
51041         * sysdeps/x86_64/lshift.S: Likewise.
51042         * sysdeps/x86_64/mul_1.S: Likewise.
51043         * sysdeps/x86_64/rshift.S: Likewise.
51044         * sysdeps/x86_64/sub_n.S: Likewise.
51045         * sysdeps/x86_64/submul_1.S: Likewise.
51046
51047 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51048
51049         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51050         Define __sched_param instead of SCHED_* and sched_param when
51051         <bits/sched.h> is included with __need_schedparam defined.
51052         * bits/sched.h [__need_schedparam]
51053         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51054         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51055         (__defined_schedparam): Define to 1.
51056         (__sched_param): New structure, identical to sched_param.
51057         (__need_schedparam): Undefine.
51058
51059 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
51060
51061         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51062         (epoll_create1): Declare.
51063
51064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51065
51066 2010-08-31  Andreas Schwab  <schwab@redhat.com>
51067
51068         [BZ #7066]
51069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51070         shifting retval into place.
51071
51072 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
51073
51074         * nis/rpcsvc/nis.h: Update copyright notice.
51075         * nis/rpcsvc/nis.x: Likewise.
51076         * nis/rpcsvc/nis_callback.h: Likewise.
51077         * nis/rpcsvc/nis_callback.x: Likewise.
51078         * nis/rpcsvc/nis_object.x: Likewise.
51079         * nis/rpcsvc/nis_tags.h: Likewise.
51080         * nis/rpcsvc/yp.h: Likewise.
51081         * nis/rpcsvc/yp.x: Likewise.
51082         * nis/rpcsvc/ypupd.h: Likewise.
51083         * nis/yp_xdr.c: Likewise.
51084         * nis/ypupdate_xdr.c: Likewise.
51085
51086         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
51087         mainly the body of pmap_getport.  Add parameters to specify timeouts.
51088         (pmap_getport): Use __libc_rpc_getport.
51089         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51090         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51091         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51092
51093 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
51094
51095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51096         fanotify_mark.
51097
51098 2010-08-27  Roland McGrath  <roland@redhat.com>
51099
51100         * sysdeps/i386/i686/multiarch/Makefile
51101         (CFLAGS-varshift.c): New variable.
51102
51103 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
51104
51105         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51106         * sysdeps/i386/i686/multiarch/varshift.c: New file.
51107
51108         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51109
51110         * sysdeps/x86_64/strlen.S: Minimal code improvement.
51111
51112 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
51113
51114         * sysdeps/x86_64/strlen.S: Unroll the loop.
51115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51116         strlen-sse2 strlen-sse2-bsf.
51117         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51118         __strlen_no_bsf if bit_Slow_BSF is set.
51119         (__strlen_sse42): Removed.
51120         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51121         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51122
51123 2010-08-25  Roland McGrath  <roland@redhat.com>
51124
51125         * sysdeps/x86_64/multiarch/varshift.S: File removed.
51126         * sysdeps/x86_64/multiarch/varshift.c: New file.
51127         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51128         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51129         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51130         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51131
51132 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
51133
51134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51135         strlen-sse2 strlen-sse2-bsf.
51136         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51137         __strlen_sse2_bsf if bit_Slow_BSF is unset.
51138         (__strlen_sse2): Removed.
51139         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51142         bit_Slow_BSF for Atom.
51143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51144         (index_Slow_BSF): Define.
51145         (HAS_SLOW_BSF): Define.
51146
51147 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
51148
51149         [BZ #10851]
51150         * resolv/res_init.c (__res_vinit): When no server address at all
51151         is given default to loopback.
51152
51153 2010-08-24  Roland McGrath  <roland@redhat.com>
51154
51155         * configure.in: Remove config-name.h generation.
51156         * configure: Regenerated.
51157         * config-name.in: File removed.
51158         * scripts/config-uname.sh: New file.
51159         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51160         ($(objdir)config-name.h): New target.
51161
51162         * sunrpc/rpc_parse.h: Avoid nested comment.
51163
51164 2010-08-24  Richard Henderson  <rth@redhat.com>
51165             Ulrich Drepper  <drepper@redhat.com>
51166             H.J. Lu  <hongjiu.lu@intel.com>
51167
51168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51170         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51171         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
51172         _mm_alignr_epi8 with _mm_loadu_si128.
51173         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51174         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51175         (__m128i_shift_right): Removed.
51176         * sysdeps/i386/i686/multiarch/varshift.h: New file.
51177         * sysdeps/i386/i686/multiarch/varshift.S: New file.
51178         * sysdeps/x86_64/multiarch/varshift.h: New file.
51179         * sysdeps/x86_64/multiarch/varshift.S: New file.
51180
51181 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
51182
51183         * configure.in: Move assembler checks to before sysdep dir checking.
51184
51185 2010-08-20  Petr Baudis  <pasky@suse.cz>
51186
51187         * LICENSES: Sync the sunrpc license.
51188
51189 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
51190
51191         * sunrpc/auth_des.c: Update copyright notice once again.
51192         * sunrpc/auth_none.c: Likewise.
51193         * sunrpc/auth_unix.c: Likewise.
51194         * sunrpc/authdes_prot.c: Likewise.
51195         * sunrpc/authuxprot.c: Likewise.
51196         * sunrpc/bindrsvprt.c: Likewise.
51197         * sunrpc/clnt_gen.c: Likewise.
51198         * sunrpc/clnt_perr.c: Likewise.
51199         * sunrpc/clnt_raw.c: Likewise.
51200         * sunrpc/clnt_simp.c: Likewise.
51201         * sunrpc/clnt_tcp.c: Likewise.
51202         * sunrpc/clnt_udp.c: Likewise.
51203         * sunrpc/clnt_unix.c: Likewise.
51204         * sunrpc/des_crypt.c: Likewise.
51205         * sunrpc/des_soft.c: Likewise.
51206         * sunrpc/get_myaddr.c: Likewise.
51207         * sunrpc/getrpcport.c: Likewise.
51208         * sunrpc/key_call.c: Likewise.
51209         * sunrpc/key_prot.c: Likewise.
51210         * sunrpc/openchild.c: Likewise.
51211         * sunrpc/pm_getmaps.c: Likewise.
51212         * sunrpc/pm_getport.c: Likewise.
51213         * sunrpc/pmap_clnt.c: Likewise.
51214         * sunrpc/pmap_prot.c: Likewise.
51215         * sunrpc/pmap_prot2.c: Likewise.
51216         * sunrpc/pmap_rmt.c: Likewise.
51217         * sunrpc/rpc/auth.h: Likewise.
51218         * sunrpc/rpc/auth_unix.h: Likewise.
51219         * sunrpc/rpc/clnt.h: Likewise.
51220         * sunrpc/rpc/des_crypt.h: Likewise.
51221         * sunrpc/rpc/key_prot.h: Likewise.
51222         * sunrpc/rpc/netdb.h: Likewise.
51223         * sunrpc/rpc/pmap_clnt.h: Likewise.
51224         * sunrpc/rpc/pmap_prot.h: Likewise.
51225         * sunrpc/rpc/pmap_rmt.h: Likewise.
51226         * sunrpc/rpc/rpc.h: Likewise.
51227         * sunrpc/rpc/rpc_des.h: Likewise.
51228         * sunrpc/rpc/rpc_msg.h: Likewise.
51229         * sunrpc/rpc/svc.h: Likewise.
51230         * sunrpc/rpc/svc_auth.h: Likewise.
51231         * sunrpc/rpc/types.h: Likewise.
51232         * sunrpc/rpc/xdr.h: Likewise.
51233         * sunrpc/rpc_clntout.c: Likewise.
51234         * sunrpc/rpc_cmsg.c: Likewise.
51235         * sunrpc/rpc_common.c: Likewise.
51236         * sunrpc/rpc_cout.c: Likewise.
51237         * sunrpc/rpc_dtable.c: Likewise.
51238         * sunrpc/rpc_hout.c: Likewise.
51239         * sunrpc/rpc_main.c: Likewise.
51240         * sunrpc/rpc_parse.c: Likewise.
51241         * sunrpc/rpc_parse.h: Likewise.
51242         * sunrpc/rpc_prot.c: Likewise.
51243         * sunrpc/rpc_sample.c: Likewise.
51244         * sunrpc/rpc_scan.c: Likewise.
51245         * sunrpc/rpc_scan.h: Likewise.
51246         * sunrpc/rpc_svcout.c: Likewise.
51247         * sunrpc/rpc_tblout.c: Likewise.
51248         * sunrpc/rpc_util.c: Likewise.
51249         * sunrpc/rpc_util.h: Likewise.
51250         * sunrpc/rpcinfo.c: Likewise.
51251         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51252         * sunrpc/rpcsvc/key_prot.x: Likewise.
51253         * sunrpc/rpcsvc/klm_prot.x: Likewise.
51254         * sunrpc/rpcsvc/mount.x: Likewise.
51255         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51256         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51257         * sunrpc/rpcsvc/rex.x: Likewise.
51258         * sunrpc/rpcsvc/rstat.x: Likewise.
51259         * sunrpc/rpcsvc/rusers.x: Likewise.
51260         * sunrpc/rpcsvc/sm_inter.x: Likewise.
51261         * sunrpc/rpcsvc/spray.x: Likewise.
51262         * sunrpc/rpcsvc/yppasswd.x: Likewise.
51263         * sunrpc/rtime.c: Likewise.
51264         * sunrpc/svc.c: Likewise.
51265         * sunrpc/svc_auth.c: Likewise.
51266         * sunrpc/svc_authux.c: Likewise.
51267         * sunrpc/svc_raw.c: Likewise.
51268         * sunrpc/svc_run.c: Likewise.
51269         * sunrpc/svc_simple.c: Likewise.
51270         * sunrpc/svc_tcp.c: Likewise.
51271         * sunrpc/svc_udp.c: Likewise.
51272         * sunrpc/svc_unix.c: Likewise.
51273         * sunrpc/svcauth_des.c: Likewise.
51274         * sunrpc/xcrypt.c: Likewise.
51275         * sunrpc/xdr.c: Likewise.
51276         * sunrpc/xdr_array.c: Likewise.
51277         * sunrpc/xdr_float.c: Likewise.
51278         * sunrpc/xdr_mem.c: Likewise.
51279         * sunrpc/xdr_rec.c: Likewise.
51280         * sunrpc/xdr_ref.c: Likewise.
51281         * sunrpc/xdr_sizeof.c: Likewise.
51282         * sunrpc/xdr_stdio.c: Likewise.
51283
51284         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51285         handling.
51286
51287 2010-08-19  Andreas Schwab  <schwab@redhat.com>
51288
51289         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51290
51291 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
51292
51293         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51294         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51296         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51298         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51300         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51301         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51302         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51303         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51304         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51305         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51306         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51307
51308 2010-07-26  Anton Blanchard  <anton@samba.org>
51309
51310         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51311         * malloc/arena.c (heap_trim): Likewise.
51312
51313 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
51314
51315         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51316         here.  Not...
51317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51318         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51319
51320 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
51321
51322         * sysdeps/i386/elf/Makefile: New file.
51323
51324 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51325
51326         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51327         from fanotify_init.
51328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51330
51331 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
51332
51333         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51334         of strncasecmp_l.
51335         * sysdeps/multiarch/strcmp.S: Likewise.
51336
51337 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
51338
51339         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51340         strncase_l-nonascii.
51341         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51342         Add strncase_l-ssse3.
51343         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51344         * sysdeps/x86_64/strcmp.S: Likewise.
51345         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51346         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51347         * sysdeps/x86_64/strncase.S: New file.
51348         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51349         * sysdeps/x86_64/strncase_l.S: New file.
51350         * string/Makefile (strop-tests): Add strncasecmp.
51351         * string/test-strncasecmp.c: New file.
51352
51353         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51354         warning.
51355
51356         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51357         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51358
51359 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
51360
51361         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51362
51363 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
51364
51365         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51366         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51368
51369 2010-05-01  Alan Modra  <amodra@gmail.com>
51370
51371         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51372         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51373         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51374         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51375         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51376         tidying.  Don't tail-call __sigjmp_save for static lib.
51377         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51378         save location.
51379         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51380         (CALL_MCOUNT): Add eh info, and nop after bl.
51381         (TAIL_CALL_SYSCALL_ERROR): New macro.
51382         (PSEUDO_RET): Use it.
51383         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51384         Correct save location of integer regs and cr.
51385         (_dl_profile_resolve): Correct cr save location.  Delete nops
51386         after bl when SHARED.  Reduce cfi size a little by better
51387         placement of cfi directives.
51388         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51389         make a stack frame.  Instead use parm save area as a temp.
51390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51391         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
51392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51393         Don't make a stack frame for parent, use parm save area.
51394         Increase child stack frame to 112 bytes.  Don't save unused reg,
51395         and adjust reg usage.  Set up cfi on error recovery and
51396         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51398         (__makecontext): Add dummy nop after jump to exit.
51399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51400         Use correct parm save area and cr save, reduce stack frame.
51401         Correct cfi for possible PSEUDO_RET frame setup.
51402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51403         Branch to local label emitted by PSEUDO_RET rather than
51404         __syscall_error.
51405
51406 2010-08-12  Andreas Schwab  <schwab@redhat.com>
51407
51408         [BZ #11904]
51409         * locale/programs/locale.c (print_assignment): New function.
51410         (show_locale_vars): Use it.
51411
51412 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
51413
51414         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51415         field.
51416         (struct statfs64): Likewise.
51417         (_STATFS_F_FLAGS): Define.
51418         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51419         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51420         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51421         (ST_VALID): Define locally.
51422         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51423         __statvfs_getflags, use the provided value.
51424         * sysdeps/unix/sysv/linux/kernel-features.h: Define
51425         __ASSUME_STATFS_F_FLAGS.
51426
51427         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51428
51429         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51430         Add sys/fanotify.h.
51431         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51432         fanotify_mask for GLIBC_2.13.
51433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51434         fanotify_init and fanotify_mark.
51435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51436         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51437
51438         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51439         Add prlimit.
51440         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51441         prlimit64 for GLIBC_2.13.
51442         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51443         prlimit64.
51444         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51445         syscall.
51446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51448         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51449         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
51451         add prlimit alias.
51452         * sysdeps/unix/sysv/linux/prlimit.c: New file.
51453
51454         [BZ #11903]
51455         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51456         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51457
51458         * nss/Makefile: Add rules to build and run tst-nss-test1.
51459         * shlib-versions: Add entry for libnss_test1.
51460         * nss/nss_test1.c: New file.
51461         * nss/tst-nss-test1.c: New file.
51462
51463         * nss/nsswitch.c (__nss_database_custom): Define new variable.
51464         (__nss_configure_lookup): Set appropriate entry in
51465         __nss_configure_lookup to true.
51466         * nss/nsswitch.h: Define enum with indeces of databases in
51467         databases and __nss_database_custom arrays.  Declare
51468         __nss_database_custom.
51469         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51470         to avoid using nscd when custom rules are installed.
51471         * nss/getXXbyYY_r.c: Likewise.
51472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51473
51474         * nss/nss_files/files-parse.c: Whitespace fixes.
51475
51476 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
51477
51478         [BZ #11883]
51479         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51480         * posix/fnmatch_loop.c: Likewise.
51481
51482 2010-07-17  Andi Kleen  <ak@linux.intel.com>
51483
51484         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51485         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51486         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51487         * Versions.def [GLIBC_2.13]: Add.
51488
51489 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
51490
51491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51492         Also fail if tpwd after pwuid call is NULL.
51493
51494 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51495
51496         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51497         when converting to ms.
51498
51499 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51500
51501         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51502         EOPNOTSUPP errors with ENOTTY.
51503         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51504         EOPNOTSUPP errors with ENOTTY.
51505
51506 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
51507
51508         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51509         Add strcasecmp_l-ssse3.
51510         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51511         strcasecmp.
51512         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51513         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51514         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51515
51516 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
51517
51518         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51519
51520         * string/Makefile (strop-tests): Add strcasecmp.
51521         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51522         strcasecmp_l-nonascii.
51523         (gen-as-const-headers): Add locale-defines.sym.
51524         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51525         * sysdeps/x86_64/strcasecmp.S: New file.
51526         * sysdeps/x86_64/strcasecmp_l.S: New file.
51527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51528         * sysdeps/x86_64/locale-defines.sym: New file.
51529         * string/test-strcasecmp.c: New file.
51530
51531         * string/test-strcasestr.c: Test both ends of the range of characters.
51532         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51533
51534 2010-07-29  Roland McGrath  <roland@redhat.com>
51535
51536         [BZ #11856]
51537         * manual/locale.texi (Yes-or-No Questions): Fix example code.
51538
51539 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
51540
51541         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51542         for ld.so.
51543
51544 2010-07-27  Andreas Schwab  <schwab@redhat.com>
51545
51546         * manual/memory.texi (Malloc Tunable Parameters): Document
51547         M_PERTURB.
51548
51549 2010-07-26  Roland McGrath  <roland@redhat.com>
51550
51551         [BZ #11840]
51552         * configure.in (-fgnu89-inline check): Set and substitute
51553         gnu89_inline, not libc_cv_gnu89_inline.
51554         * configure: Regenerated.
51555         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51556
51557 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
51558
51559         * string/test-strnlen.c: New file.
51560         * string/Makefile (strop-tests): Add strnlen.
51561         * string/tester.c (test_strnlen): Add a few more test cases.
51562         * string/tst-strlen.c: Better error reporting.
51563
51564         * sysdeps/x86_64/strnlen.S: New file.
51565
51566 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
51567
51568         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51569         lower-latency instructions.
51570
51571 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
51572
51573         * string/test-strcasestr.c: New file.
51574         * string/test-strstr.c: New file.
51575         * string/Makefile (strop-tests): Add strstr and strcasestr.
51576         * string/str-two-way.h: Don't undefine MAX.
51577         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51578
51579 2010-07-21  Andreas Schwab  <schwab@redhat.com>
51580
51581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51582         strcasestr-nonascii.
51583         (CFLAGS-strcasestr-nonascii.c): Define.
51584         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51586         Remove unused attribute.
51587
51588 2010-07-20  Roland McGrath  <roland@redhat.com>
51589
51590         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51591         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
51592         ld.so.cache was broken.  With it, there is no way to disable dsocaps
51593         like LD_HWCAP_MASK can disable hwcaps.
51594
51595 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51596
51597         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51598
51599 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
51600
51601         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51602         call in strcasestr.
51603         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51604         __strcasestr_sse42_nonascii.
51605         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51606         strcasestr-nonascii.c.
51607         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51608
51609 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
51610
51611         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51612         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51613         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51614         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51615
51616 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
51617
51618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51619         fcntl.
51620
51621 2010-07-06  Andreas Schwab  <schwab@redhat.com>
51622
51623         [BZ #11577]
51624         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51625         dl_signal_cerror.
51626
51627 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
51628
51629         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51630         _PC_PIPE_BUF using F_GETPIPE_SZ.
51631
51632 2010-07-05  Roland McGrath  <roland@redhat.com>
51633
51634         * manual/arith.texi (Rounding Functions): Fix rint description
51635         implicit in round description.
51636
51637 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
51638
51639         * elf/Makefile: Fix linking for a few tests to make recent linker
51640         happy.
51641
51642 2010-06-30  Andreas Schwab  <schwab@redhat.com>
51643
51644         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51645         $(common-objpfx)libc_nonshared.a.
51646
51647 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
51648
51649         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51650         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51651         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51652         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51653         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51655         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51656         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51671         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51672         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51673         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51674         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51675         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51676         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51677         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51678         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51679         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51680         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51681         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51682         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51697
51698 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
51699
51700         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51701         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
51702         * string/memmove.c (memmove): Renamed to ...
51703         (MEMMOVE): ...this.  Default to memmove.
51704         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51705         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51706         (END_CHK): Define.
51707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51708         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51709         mempcpy-ssse3-back memmove-ssse3-back.
51710         * sysdeps/x86_64/multiarch/bcopy.S: New file .
51711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51712         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51713         * sysdeps/x86_64/multiarch/memcpy.S: New file.
51714         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51715         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51716         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51717         * sysdeps/x86_64/multiarch/memmove.c: New file.
51718         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51719         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51720         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51721         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51722         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51724         Define.
51725         (index_Fast_Copy_Backward): Define.
51726         (HAS_ARCH_FEATURE): Define.
51727         (HAS_FAST_REP_STRING): Define.
51728         (HAS_FAST_COPY_BACKWARD): Define.
51729
51730 2010-06-21  Andreas Schwab  <schwab@redhat.com>
51731
51732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51733         Restore proper fallback handling.
51734
51735 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
51736
51737         [BZ #11701]
51738         * posix/group_member.c (__group_member): Correct checking loop.
51739
51740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51741         OOM in getpwuid_r correctly.  Return error number when the caller
51742         should return, otherwise -1.
51743         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51744         call returning > 0 value.
51745         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51746
51747 2010-06-07  Andreas Schwab  <schwab@redhat.com>
51748
51749         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51750         libc_nonshared.a from targets in modules-names.
51751
51752 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
51753
51754         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51755         requires it.
51756
51757 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
51758
51759         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51760         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51763
51764 2010-06-02  Andreas Schwab  <schwab@redhat.com>
51765
51766         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51767
51768 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
51769
51770         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51771         and F_GETPIPE_SZ.
51772         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51773         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51776         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51778
51779 2010-06-14  Roland McGrath  <roland@redhat.com>
51780
51781         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51782
51783 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51784
51785         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51786         __REDIRECT followed by __THROW.
51787         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51788         * posix/getopt.h (getopt): Likewise.
51789
51790 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51791
51792         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51793         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51794         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51795         in AT_FLAGS.
51796         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51797         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51798
51799 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51800
51801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51802
51803 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51804
51805         [BZ #11640]
51806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51807         Properly check family and model.
51808
51809 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51810
51811         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51812
51813 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51814
51815         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51816
51817 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51818
51819         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51820         symbol reference.
51821
51822 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51823
51824         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51825         symbol reference.
51826
51827 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51828
51829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51830         and internal_recvmmsg.
51831         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51832         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51833         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51834         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51835
51836         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51837         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51838         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51839
51840 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51841
51842         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51843
51844 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51845
51846         POWER7 optimizations.
51847         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51848         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51849
51850 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51851
51852         * version.h: Update for 2.13 development version.
51853
51854 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51855
51856         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51857         exceptions.  Return 0.
51858
51859 2010-05-07  Roland McGrath  <roland@redhat.com>
51860
51861         * elf/ldconfig.c (main): Add a const.
51862
51863 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51864
51865         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51866         (args_options): Add no-idn option.
51867         (ahosts_keys_int): Add idn_flags to ai_flags.
51868         (parse_option): Handle 'i' option to clear idn_flags.
51869
51870         * malloc/malloc.c (_int_free): Possible race in the most recently
51871         added check.  Only act on the data if no current modification
51872         happened.
51873
51874 See ChangeLog.17 for earlier changes.